@extends('frontend.layouts.template') @section('content')
{{ $news->subject }}
{{ date('d-m-Y', strtotime( $news->created_at ) ) }} | {{ $news->viewed }} views
@php $tagco = @json_decode( $news->news_category->description ); @endphp {{ $news->news_category->name }}
{!! $news->detail !!}
Others News
@if ($recomments) @foreach ($recomments as $item)
{{ $item->subject }}
{!! $item->description !!}
{{ date('d-m-Y', strtotime( $item->created_at) ) }} | {{ $item->viewed }} views
@php $color = @json_decode($item->news_category->description); @endphp {{ $item->news_category->name }}
@endforeach @endif
@endsection @section('javascript') @endsection @section('stylesheet') @php if( $category ){ echo ''; } @endphp @endsection