@extends('admin.layouts.master') @section('title', 'Blog Post') @section('maincontent') @include('admin.layouts.topbar',$data)
@if ($errors->any()) @endif
{{ __('Blog Post') }}
@can('blogs.delete') @endcan @can('blogs.create') {{ __('Add Post') }} @endcan
@if(Auth::user()->role == 'admin') @endif @foreach($items as $item) @if(Auth::user()->role == 'admin') @endif @endforeach
# {{ __('Image') }} {{ __('User') }} {{ __('Heading') }}{{ __('Approved') }} {{ __('Status') }}{{ __('Action') }}
1 @if($image = @file_get_contents('../public/images/blog/'.$item->image)) {{$item->heading}} @endif {{$item->user->fname}} {{$item->heading}}


@endsection @section('script') @endsection