{{-- --}} @php // print_r($news[0]['news_outlet']);die(); @endphp
@php $hari=['','Senin','Selasa','Rabu','Kamis',"Jum'at",'Sabtu','Minggu']; @endphp
{{ $hari[date('N', strtotime($news[0]['news_post_date']))] }}, {{ date('d F Y', strtotime($news[0]['news_post_date'])) }}     {{ date('H:i', strtotime($news[0]['news_post_date'])) }}
@if($news[0]['news_second_title'] == null){{ strtoupper($news[0]['news_title']) }} @else {{ strtoupper($news[0]['news_second_title']) }} @endif
@if (isset($news[0]['news_event_date_start']) || isset($news[0]['news_event_location_name']) || isset($news[0]['news_event_location_address']) || isset($news[0]['news_event_location_phone']) || isset($news[0]['news_event_location_map']))
@if (isset($news[0]['news_event_date_start'])) @if ($news[0]['news_event_date_start'] == $news[0]['news_event_date_end'])
TANGGAL
{{ date('d F Y', strtotime($news[0]['news_event_date_start'])) }}
@else
TANGGAL
{{ date('d F', strtotime($news[0]['news_event_date_start'])) }} - {{ date('d F Y', strtotime($news[0]['news_event_date_end'])) }}
@endif @endif @if (isset($news[0]['news_event_time_start'])) @if ($news[0]['news_event_time_start'] == $news[0]['news_event_time_end'])
JAM
{{ date('H:i', strtotime($news[0]['news_event_time_start'])) }}
@else
JAM
{{ date('H:i', strtotime($news[0]['news_event_time_start'])) }} - {{ date('H:i', strtotime($news[0]['news_event_time_end'])) }}
@endif @endif @if (isset($news[0]['news_event_location_name']))
LOKASI
{{ $news[0]['news_event_location_name'] }}
@endif @if (isset($news[0]['news_event_location_address']))
ALAMAT
{{ $news[0]['news_event_location_address'] }}
@endif @if (isset($news[0]['news_event_location_phone']))
TELEPON
{{ $news[0]['news_event_location_phone'] }}
@endif @if (isset($news[0]['news_event_location_map']))
@endif
@endif
{!! $news[0]['news_content_long'] !!}
@if (isset($news[0]['news_video_text']))
@if (isset($news[0]['news_video_text']))
{{ $news[0]['news_video_text'] }} :
@endif @if (isset($news[0]['news_video']))
@else @endif
@endif @if (isset($news[0]['news_outlet_text']))
@if (isset($news[0]['news_outlet_text']))
{{ $news[0]['news_outlet_text'] }} :
@endif @if (isset($news[0]['news_outlet']))
@endif
@endif @if (isset($news[0]['news_product_text']))
@if (isset($news[0]['news_product_text']))
{{ $news[0]['news_product_text'] }} :
@endif @if (isset($news[0]['news_product']))
@endif
@endif {{ csrf_field() }} {{-- --}}