@extends('layouts.backend') @section('extra_css') @endsection @section('content')
@if (Session::get('message')) @endif
All Posts
@foreach($posts as $post) @endforeach
Id Headline Time Publisher Category Total Hit Action
{{ $post->id }} {{ $post->headline}} {{ bangla_published_time($post->created_at) }} {{ $post->User ? $post->User->name : '' }} {{ $post->categories->pluck('name')->implode(', ') }} {{ $post->view_count }}
{{ $posts->links() }}
@endsection @section('extra_js') @endsection