@extends('front.layout.app') @section('beforeHeadClose') @endsection @section('content') @php echo cms_edit_page("module/news",$news->id);@endphp

News Details

{{-- --}}
{{ date('M d, Y \a\t H:i A', strtotime($news->news_date_time)) }} @if (!empty($news->location)) {{ $news->location }} @endif @if ($news->is_featured) Featured @endif

{{ $news->title }}

@if (!empty($news->image) && file_exists(storage_uploads('news/' . $news->image))) {{ $news->image_alt }} @else {{ $news->image_alt }} @endif
{!! $news->description !!}
{{-- @if (!empty($news->registration_link) || !empty($news->news_link))
@if (!empty($news->registration_link) && $news->has_registration_link) REGISTER NOW @endif @if (!empty($news->news_link)) LEARN MORE @endif
@endif --}} @if ($news->is_hide_event_after_date && strtotime($news->news_date_time) < now()->timestamp)

Event Details

This event has passed. Please check the news archive for more information.

@endif
@php $prevNews = \App\Models\Back\News::where('id', '<', $news->id) ->active() ->orderBy('id', 'desc') ->first(); $nextNews = \App\Models\Back\News::where('id', '>', $news->id) ->active() ->orderBy('id', 'asc') ->first(); @endphp @if ($prevNews) Previous News @endif @if ($nextNews) Next News @endif
@endsection @section('beforeBodyClose') @endsection