Files
2026-07-01 16:44:17 +03:00

47 lines
1.9 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<a href="{{URL::base('panel/blog/new')}}"><button class="btn btn-primary">Yeni Yazı Ekle</button></a>
<a href="{{URL::base('panel/category')}}"><button class="btn btn-primary">Blog kategorileri</button></a>
<h1>Blog Yazıları</h1>
<div class="widget-box">
<div class="widget-title"><i class="icon-expand"></i>
<h5>İçerik Listesi</h5>
</div>
<div class="widget-content nopadding">
{{DB::error()}}
<table class="table table-bordered table-striped data-table">
<thead class="table-dark">
<tr>
<th width="20">#</th>
<th width="80">Ekleme Tarihi</th>
<th>Başlık</th>
<th width="20">Durumu</th>
<th width="70">Okuma Sayısı</th>
<th>Dil</th>
<th>Editör</th>
<th width="150">İşlemler</th>
</tr>
</thead>
<tbody >
@foreach (contentListAdmin() as $key)
<tr >
<td class="text-center">{{$key->id}}</td>
<td class="text-center">{{tcevir($key->create_date)}}</td>
<td> {{$key->title}}</a></td>
<td class="text-center" > {{ status($key->status) }}</td>
<td class="text-center"> {{$key->hits}}</td>
<td class="text-center">{{$key->lang}}</td>
<td class="text-center">{{yazar($key->editor)}}</td>
<td class="text-center">
<a class="btn btn-primary btn-sm" href="{{URL::base('panel/blog/edit/'.$key->id)}}"><i class="fa fa-edit"></i></a>
<a class="btn btn-success btn-sm" href="{{URL::base('panel/blog/copy/'.$key->id)}}"><i class="fas fa-copy"></i></a>
<a class="btn btn-danger btn-sm"
href="{{URL::base('panel/blog/delete/'.$key->id)}}"
onclick="return confirm('Bu kaydı silmek istediğinize eminmisiniz?')"><i class="fa fa-trash"></i></a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>