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

Post List

@if(Session::has('message')) @endif @if(count($post)>0) @foreach($post as $key=>$item) @endforeach @else @endif
# Post Name Menu Category Subcategory Date & Time Status Action
{{ $key+1 }} @if($item->post_images) @else @endif {{ $item->post_name }}
thumb_up {{$item->likes}} likes
{{ $item->menu_name }} {{ $item->category_name }} {{ $item->subcategory_name }} @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->status=='0') Declined @endif @if($item->status=='1') Approved @endif @include('shared._actions', [ 'entity' => 'post', 'id' => $item->id ])

No records found!

Click here to add a new record.
@endsection