@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')
@endslot @endcomponent{{ $error}}
@endforeach# | {{ __('adminstaticword.Image') }} | {{ __('adminstaticword.User') }} | {{ __('adminstaticword.Heading') }} | {{ __('adminstaticword.Detail') }} | {{ __('adminstaticword.Text') }} | @if(Auth::user()->role == 'admin'){{ __('adminstaticword.Approved') }} | {{ __('adminstaticword.Status') }} | @endif{{ __('adminstaticword.Action') }} | @foreach($items as $item)
---|---|---|---|---|---|---|---|---|
1 {{ __('Are You Sure') }} ?{{ __('Do you really want to delete selected item ? This process cannot be undone') }}. |
@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}} | @if(Auth::user()->role == 'admin')@endif |
{{ __('Delete') }}{{ __('Are You Sure ?')}}{{ __('Do you really want to delete')}} {{$item->heading}} ? {{ __('This process cannot be undone.')}} |