@extends('layout') @section('content')

{{ $event->title }}

{{strftime('%d. %m. %Y', strtotime($event->start_date))}} @if($event->end_date != $event->start_date) bis {{strftime('%d. %m. %Y', strtotime($event->end_date))}} @endif
{{str_limit($event->starttime, $limit = 5, $end="")}}
@foreach($event->categories as $cat) {{$cat->name}} @endforeach {!! $event->text !!}
getTimestamp()))); // just before the event (+2 bc of time zone diff) $eventDate = DateTime::createFromFormat('Y-m-d H:i:s', $event->end_date . " " . $event->starttime); ?> @if (($timeDisableReservation->getTimestamp() < $eventDate->getTimestamp()) || (Auth::check() && Auth::user()->isAdmin())) @if($event->reservation()->first()->name != "Keine")

@if(count($event->seat()->get()) == 1) @if($event->id !== 1310) Reservieren @endif @else
@endif @endif @endif
{{ Html::image("/imgs/events/".$event->image, '', array('class' => 'ui image center', "style" => "width: 100%; max-width: 500px;margin: auto;")) }}


@endsection @section('scripts') @endsection