@extends("admin.admin_app") @section("content")
{!! Form::open(array('url' => 'admin/posts','class'=>'app-search','id'=>'search','role'=>'form','method'=>'get')) !!} {!! Form::close() !!}
 
 
 
  

@if(Session::has('flash_message'))
{{ Session::get('flash_message') }}
@endif
@foreach($list as $i => $data)

Post by {{ $data->users->name }}

@if($data->post_type=="Video") @endif @if($data->post_type=="Image" OR $data->post_type=="Video") {!! strip_tags(stripslashes($data->caption)) !!} @else

{!! strip_tags(Str::limit(stripslashes($data->caption),140)) !!}

@endif

@if($data->post_type!="Text") {!! strip_tags(stripslashes($data->caption)) !!} @else   @endif

@if($data->post_type=="Video") @elseif($data->post_type=="Image") @else @endif status==1) {{ 'checked' }} @endif/>
@endforeach
@include("admin.copyright")
@endsection