42 lines
1.6 KiB
PHP
42 lines
1.6 KiB
PHP
<div class="col-lg-12">
|
||
<div class="panel panel-default">
|
||
<div class="panel-heading">Yazılarım</div>
|
||
<div class="panel-body">
|
||
<div class="row">
|
||
<div class="col-lg-12">
|
||
<div class="table-responsive">
|
||
<table class="table table-striped table-bordered table-hover" id="dataTables-example"">
|
||
<thead class="thead-dark">
|
||
<tr >
|
||
<th>#</th>
|
||
<th>Tarih</th>
|
||
<th>Başlık</th>
|
||
<th>Kategori</th>
|
||
<th>Durum</th>
|
||
<th>İşlemler</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
|
||
@foreach (user_content_list(session::select('userid')) as $key)
|
||
<tr>
|
||
<td>{{$key->id}}</td>
|
||
<td>{{tcevir($key->create_date)}}</td>
|
||
<td>{{$key->title}}</td>
|
||
<td>{{category_name($key->category_id)}}</td>
|
||
<td>{{contentStatusAdmin($key->status)}}</td>
|
||
<td>
|
||
<a href="#"><button alt="Düzenle"><i class="glyphicon glyphicon-pencil"></i></button></a>
|
||
<button class="btn-danger" id="delete" data-id="{{$key->id}}" alt="Sil"><i class="glyphicon glyphicon-remove"></i></button></a>
|
||
</td>
|
||
</tr>
|
||
@endforeach
|
||
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div> |