@extends('theme.master') @section('title', 'Blog') @section('content') @include('admin.message') @php $gets = App\Breadcum::first(); @endphp @if(isset($gets)) @if($gets['img'] !== NULL && $gets['img'] !== '') @else @endif {{ __('Blog Detail') }} @endif @if(isset($blogs)) @foreach($blogs->take(3) as $item) @if($item->slug != NULL) @else @endif {{ date('d-m-Y',strtotime($item['created_at'])) }} @if($item->slug != NULL) {{ $item->heading }} @else {{ $item->heading }} @endif {{substr(preg_replace("/\r\n|\r|\n/",'',strip_tags(html_entity_decode($item->detail))), 0, 400)}} @if($item->slug != NULL) {{ $item->text }} @else {{ $item->text }} @endif @endforeach @foreach($blogs as $blog) @if($blog->slug != NULL) @else @endif @if($blog->slug != NULL) {{ $blog->heading }} @else {{ $blog->heading }} @endif {{substr(preg_replace("/\r\n|\r|\n/",'',strip_tags(html_entity_decode($blog->detail))), 0, 151)}}... @endforeach {{ $blogs->links() }} @endif @endsection
{{substr(preg_replace("/\r\n|\r|\n/",'',strip_tags(html_entity_decode($item->detail))), 0, 400)}}
{{substr(preg_replace("/\r\n|\r|\n/",'',strip_tags(html_entity_decode($blog->detail))), 0, 151)}}...