@include('frontend.include.header') @php use App\DashboardModel; use App\blogModel; $dashboadModelInstance = new DashboardModel(); $blogModelInstance = new blogModel(); use App\MasterModel; $master_instance = new MasterModel(); @endphp
@foreach($blog_details as $blog)
@php $user_id= $blog->user_id; @endphp

{{$blog->post_title}}

@php $profile_details = $dashboadModelInstance->get_member_profile($blog->user_id); @endphp
    @if(is_numeric($blog->post_category)) @php $category = $dashboadModelInstance->get_category($blog->post_category); @endphp
  • {{$category->name}}
  • @else
  • {{$blog->post_category}}
  • @endif
  • {{date('M-d-Y', strtotime($blog->post_live_date)) }}
  • {{$blog->post_author}}
{{-- @if($blog->post_image != NULL && @file_get_contents(url('/')."/public/uploads/original/".$blog->post_image)) --}} @if($blog->post_image != NULL) img @else img @endif
Description
@if($blog->post_content == NULL)

No Description

@else

@php eval('?>' . stripslashes($blog->post_content)); @endphp

@endif
Posted By {{$profile_details->listing_type}} / {{date('M-d-Y', strtotime($blog->revision_timestamp)) }}
@php $post_category = $blog->post_category; $data_type = $blog->data_type; $post_id = $blog->post_id; $comment_id = $blog->post_id; @endphp @php $related_post = $blogModelInstance->get_related_blog($post_category, $data_type, $post_id); @endphp @if(count($related_post)>0)

Related Articles

@endif @include('frontend.include.comments') @include('frontend.include.leave_a_comment')
@include('frontend.include.member_right_sidebar')
@endforeach
{{-- @include('frontend.include.newsletter') --}} @include('frontend.include.footer')