@include('layout/backend/_header') @include('layout/backend/_navbar')
@include('layout/backend/_sidebar')

@if ( isset($_GET['s_t']) ) @endif

@if(Session::has('success'))
× {!! session('success') !!}
@endif
{{ csrf_field() }} @php $ctr = 0 @endphp @if( isset($media) && count($media) > 0 ) @foreach($media as $k => $v) @endforeach @endif
S.no. Title Description Actions
{{ ++$ctr }} {{ ( ( strlen($v['title']) > 50 ) ? ucfirst( substr($v['title'], 0, 48) ).'...' : ucfirst($v['title']) ) }} {{ ( ( strlen($v['description']) > 50 ) ? ucfirst( substr($v['description'], 0, 48) ).'...' : ucfirst($v['description']) ) }} @if ( ($currentUserRole == 'admin') || ( $currentUserRole == 'pi') )  |  @endif @if ( ($currentUserRole == 'admin')) @if( $v['status']==0 )  |  @else  |  @endif @endif
@if( count($media)==0 )
No records found
@endif
@if(count($media) > 0) {{ $media->links() }} @endif
@include('layout/backend/_footer')