@extends('frontend.layouts.amp') @section('title', $data['page']->heading) @push('head-area') {{-- --}} @endpush @section('content')

{{ $data['page']->heading }}

{!! $data['page']->content !!}

@isset($data['date'])
@foreach ($data['date'] as $year => $yearRows)
Shows for {{$year}}

@foreach($yearRows as $month => $monthRows)
{{ $monthsArray[$month] }}
@foreach($monthRows as $day => $rows) {{-- {{$day}} --}} @foreach($rows as $show) @php $image = '/up_data/shows/'.$show->image_thumbnail; $link = ''; if($show->link != '') $link = $show->link; @endphp
@if($show->image_thumbnail != '') @else
{{ $show->start_date.' / '.$show->end_date }}
{{ $show->name }}
@endif
@if($show->location != '')

{{ $show->location }}

@endif
@if($show->details_link != '' || trim(strip_tags($show->details)) != null) @php if($show->details_link != '') $link_d = $show->details_link; else $link_d = 'events/'.$show->id.'-'.str_slug($show->name); @endphp See Details @endif
@endforeach @endforeach
@endforeach @endforeach
@endisset {{-- @if($data['shows'])
@foreach($data['shows'] as $show) @php $image = '/up_data/shows/'.$show->image_thumbnail; $link = ''; if($show->link != '') $link = $show->link; @endphp
@if($show->image_thumbnail != '') @else
{{ $show->dates }}
{{ $show->name }}
@endif
@if($show->location != '')

{{ $show->location }}

@endif
@if($show->details_link != '' || trim(strip_tags($show->details)) != null) @php if($show->details_link != '') $link_d = $show->details_link; else $link_d = 'events/'.$show->id.'-'.str_slug($show->name); @endphp See Details @endif
@endforeach
{!! $data['shows']->appends( request()->except('page') )->links() !!}
@else

Sorry!, no trade shows found.

@endif --}}
@endsection