@extends('dashboard.layout.app') @section('style') @endsection @section('content') @include('dashboard.blocks.title',['button' => true, 'route' =>route('posts.create'), 'icon' => 'plus'])
{{--
@php $active = [ '0' => 'غير مفعل', '1' => 'مفعل', ]; @endphp {!! Form::select("active",array_merge(['' => 'اختر الحالة'],$active),(array_key_exists('active', $search))? $search['active'] : null,['class'=>"form-control "])!!}
--}}
{{__('translation.clear search result')}}

{{__('translation.result_count')}} ({{$all->count()}})

@csrf @php $i = 1; @endphp {{-- --}} @foreach($rows as $item) {{-- --}} {{-- --}} {{-- --}} @endforeach @if ($rows->count() == 0) @endif
# {{__('translation.image')}} {{__('translation.title')}} {{__('translation.status')}}{{__('translation.category')}} {{__('translation.actions')}}
{{$i++}} {{-- --}} {{$i++}} {{$item->title}} id)}}" {!! (isset($item) && $item->active=='1')? 'checked':'' !!} name="active" value="1" data-plugin="switchery" onchange="switchaerych(this)" data-color="#00b19d"/> {{$item->PostCat->title ?? ''}} {{__('translation.show')}} {{__('translation.edit')}} {{__('translation.delete')}}
عفوا لا توجد نتائج .
{{ $rows->appends($search)->links() }}
@endsection @section('script') @endsection