@php use App\DashboardModel; $dashboardModelInstance = new DashboardModel(); $session_id = session()->get('session_id'); use App\MasterModel; $master_instance = new MasterModel(); @endphp @include('frontend.include.header')
@include('frontend.include.article_sidebar_filter')
@if(count($blog_listing)>0) @foreach($blog_listing as $blog)
{{--
featured
--}}
{{-- @if($blog->post_image != NULL && @file_get_contents(url('/')."/public/uploads/display/".$blog->post_image)) --}} @if($blog->post_image != NULL) img @else img @endif @php $blog_category = $dashboardModelInstance->get_category($blog->post_category); @endphp @if($blog_category != NULL)
{{$blog_category->name}}
@endif
@if($session_id == "") @else @php $like_status = $dashboardModelInstance->get_like_status_dataposts($blog->post_id) @endphp @if($like_status == 1) @else @endif @endif
@php $count_comment = $dashboardModelInstance->get_comment_count($blog->post_id, $blog->data_id) ;@endphp
{{date('M-d-Y', strtotime($blog->post_live_date)) }} @if(strlen($blog->post_author)>35) @php $author_name = substr($blog->post_author,0,35); @endphp {{$author_name}}.. @else {{$blog->post_author}} @endif

{{$blog->post_title}}

@php echo strip_tags($blog->post_content); @endphp

Read More
@endforeach @else

No Results Found

@endif
{{ $blog_listing->appends(Request::all())->links() }}
@include('frontend.include.login_modal') {{-- @include('frontend.include.newsletter') --}} @include('frontend.include.footer')