@extends('admin.layouts.master') @section('title', 'All Blog - Admin') @section('maincontent') @component('components.breadcumb',['fourthactive' => 'active']) @slot('heading') {{ __('All Blog') }} @endslot @slot('menu1') {{ __('Blog') }} @endslot @slot('button')
{{ __('Add Blog') }}
@endslot @endcomponent
@if ($errors->any()) @endif
{{ __('adminstaticword.Blog') }}
@if(Auth::user()->role == 'admin') @endif @foreach($items as $item) @if(Auth::user()->role == 'admin') @endif @endforeach
# {{ __('adminstaticword.Image') }} {{ __('adminstaticword.User') }} {{ __('adminstaticword.Heading') }} {{ __('adminstaticword.Detail') }} {{ __('adminstaticword.Text') }}{{ __('adminstaticword.Approved') }} {{ __('adminstaticword.Status') }}{{ __('adminstaticword.Action') }}
1 @if($image = @file_get_contents('../public/images/blog/'.$item->image)) @endif {{$item->user->fname}} {{$item->heading}} {{ preg_replace("/\r\n|\r|\n/",'',strip_tags(html_entity_decode(str_limit($item->detail, 60)))) }} {{$item->text}}


@endsection @section('script') @endsection