@extends('frontend.layouts.app') @section('title', $data['page']->meta_title) @section('meta_keywords', $data['page']->meta_keywords) @section('meta_description', $data['page']->meta_description) @section('meta_url', URL::Current()) @section('page_title', $data['page']->title) @section('product_description',$data['page']->meta_description) @php if(app()->environment() == 'dev') $site = 'dev'; else $site = 'www'; @endphp @section('image','https://'.$site.'.germedusa.com/static/assets/images/og_imag_logo.png') @section('image:width', "1200") @section('image:height', "630") @section('content') @php use Illuminate\Support\Str; @endphp
@include('includes.partials.bread-crumbs') @isset($data['date'])

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

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

{{-- {{ $data['carbon'] }} --}}
@foreach ($data['date'] as $year => $yearRows)

Shows for {{$year}}

@foreach($yearRows as $month => $monthRows)
@php $months_row_rev = $monthRows->reverse() @endphp @foreach($months_row_rev as $day => $rows) @foreach($rows as $show) @php $image = '/up_data/shows/'.$show->image_thumbnail; $link = $blog_link = $detail_link = $association_link = ''; if($show->details_link != '') $link = $association_link = $show->details_link; if(trim(strip_tags($show->details)) != null) $link = $detail_link = 'trade-shows/'.$show->id.'-'.STR::slug($show->name); if($show->link != '') $link = $blog_link = $show->link; @endphp
@if($show->image_thumbnail != '') {{ $show->heading_content }} @else
{{ $show->start_date.' / '.$show->end_date }}
{{ $show->name }}
@endif
@if($show->location != '')

{{ $show->location }}

@endif
@if($detail_link != '') {{-- See Details --}} See Details @endif @if($association_link != '') {{-- Visit Now --}} Visit Now @endif @if($blog_link != '') Learn More @endif
@endforeach @endforeach
@endforeach
@endforeach
@endisset
@endsection