@extends('layouts.layout') @section('title') @if($festivalData->festval_metatitle == null) Scopri Eventi e Attività in Emilia-Romagna | ideanet @else {{ $festivalData->festval_metatitle }} | ideanet @endif @endsection @section('meta-data') @if($festivalData->festval_metatitle == null) @else @endif @if($festivalData->festval_metadesc == null) @else @endif @endsection @section("content") {{-- main section --}}
@include('frontend.includes.dropdown')
@php use App\Models\Categories; $catData = Categories::where('is_festival',1)->first(); @endphp

{{ __('mainsite.general.breadc_home') }} | {{ __('mainsite.general.breadc_festival') }} | {{ $festivalData->festval_name }}

{{--
--}} {!! $festivalData->info_box !!} {{--
--}}
@if(isset($festivalData->festivalHeaderImg) && isset($festivalData->festivalHeaderImg->image_name)) Category
@else Category @endif

@php $length = strlen($festivalData->festval_name); @endphp @if ($length > 40) {{$festivalData->festval_name}} @else {{ $festivalData->festval_name }} @endif

@if(count($uniqueCategoryImages) > 0)
@foreach($uniqueCategoryImages as $key => $image) @endforeach
@endif
{{--
--}} {!! $festivalData->info_box !!} {{--
--}}
@if(isset($festivalData->festivalHeaderImg) && isset($festivalData->festivalHeaderImg->image_name)) {{$festivalData->festval_name}}
@else {{$festivalData->festval_name}} @endif

@php $length = strlen($festivalData->festval_name); @endphp @if ($length > 40) {{$festivalData->festval_name}} @else {{ $festivalData->festval_name }} @endif

@if(count($uniqueCategoryImages) > 0)
@foreach($uniqueCategoryImages as $key => $image) @endforeach
@endif
{!! $festivalData->description !!}

    {{ __('mainsite.fest_detail.text_program') }}

    {!! $festivalData->content !!}
@if($festivalData->isValidVideoUrl())
@php $videoType = $festivalData->isValidVideoUrl(); @endphp @if($videoType == 'youtube') @php $youtubeVideoId = pathinfo(parse_url($festivalData->video_url, PHP_URL_PATH), PATHINFO_FILENAME); @endphp @elseif($videoType == 'vimeo') @php $vimeoVideoId = substr(parse_url($festivalData->video_url, PHP_URL_PATH), 1); @endphp @endif
@endif

{{ __('mainsite.fest_detail.text_info_contacts') }}

{!! $festivalData->contact !!}
@if($festivalData['pdf_attachment']) @else @endif
@if($festivalData->isValidVideoUrl())
@php $videoType = $festivalData->isValidVideoUrl(); @endphp @if($videoType == 'youtube') @php $youtubeVideoId = pathinfo(parse_url($festivalData->video_url, PHP_URL_PATH), PATHINFO_FILENAME); @endphp @elseif($videoType == 'vimeo') @php $vimeoVideoId = substr(parse_url($festivalData->video_url, PHP_URL_PATH), 1); @endphp @endif
@endif
@if ($festivalData->festval_end_date >= now())
@if($festivalData->firstBannerSlotFestival && $festivalData->firstBannerSlotFestival->filenameuri) @endif @if($festivalData->secondBannerSlotFestival && $festivalData->secondBannerSlotFestival->filenameuri) @endif @if($festivalData->thirdBannerSlotFestival && $festivalData->thirdBannerSlotFestival->filenameuri) @endif @if($festivalData->fourthBannerSlotFestival && $festivalData->fourthBannerSlotFestival->filenameuri) @endif @if($festivalData->fifthBannerSlotFestival && $festivalData->fifthBannerSlotFestival->filenameuri) @endif @if($festivalData->sixthBannerSlotFestival && $festivalData->sixthBannerSlotFestival->filenameuri) @endif
@endif @if(count($eventList) > 0)

{{ __('mainsite.fest_detail.text_fest_events') }}

@endif
@endsection @section('script') @endsection