@extends('layouts.layout') @section('title', 'FanZ Posts') @section('content')

Fanz Post List

@if(Session::has('message')) @endif @if(count($post)>0) @foreach($post as $key=>$item) @php $postimages = DB::table('post_images')->where('post_id',$item->id)->get(); @endphp @endforeach @else @endif
# Post Name Date & Time Reported Count Status Action
{{ $key+1 }} @if(count($postimages)==1 && $item->post_type=='image') @endif @if(count($postimages) && $item->post_type=='video')
@endif @if(count($postimages) && $item->post_type=='audio')
@endif
{{ $item->post_name }}
{{ $item->post_likes }} {{ $item->post_likes }}
@if($item->updated_at) {{ date("d/m/Y h:i A",strtotime($item->updated_at))}} @else {{ date("d/m/Y h:i A",strtotime($item->created_at))}} @endif @if($item->reported>0){{ $item->reported }} view @else {{$item->reported}} @endif @if($item->status=='0') Declined @endif @if($item->status=='1') Approved @endif @include('shared._actions', [ 'entity' => 'fan_post', 'id' => $item->id ])

No records found!

Click here to add a new record.
@endsection