@extends('hello') @section('content')
@if(!is_null($film->gesehen))
Gesehen am {{ \Carbon\Carbon::parse($film->gesehen)->format('d.m.Y') }}
@elseif(!is_null($film->abgelehnt))
Abgelehnt am {{ \Carbon\Carbon::parse($film->abgelehnt)->format('d.m.Y') }}
@else
admin) { echo "id='gesehen'"; } ?> style="cursor: pointer;"> Nicht gesehen
@endif {{$film->besitzer->name}}
{{ $film->name }} Poster
Originaltitel
{{ $tfilm['original_title'] }}
Erschienen
{{ \Carbon\Carbon::parse($tfilm['release_date'])->format('d.m.Y')}} - @foreach($tfilm['production_countries'] as $pc) {{$pc['iso_3166_1']}} @endforeach @foreach($tfilm['production_companies'] as $pc) - {{$pc['name']}} @endforeach
Genre
@foreach($tfilm['genres'] as $g) {{$g['name']}} @endforeach
Bewertung
{{ $tfilm['vote_average']}} von 10
@if($film->getBewertung() > 0)
Eigene Bewertung
{{$film->getBewertung()}}
@endif @for($i = 0; $i < 3 && $i < count($cast['crew']); $i++)
{{$cast['crew'][$i]['job']}}
{{$cast['crew'][$i]['name']}}
@endfor

Inhalt
{{ nl2br($tfilm['overview']) }}
@for($i = 0; $i < 10 && $i < count($cast['cast']); $i++)
{{$cast['cast'][$i]['name']}}

{{$cast['cast'][$i]['name']}}

{{$cast['cast'][$i]['character']}}
@if($i % 2 == 1)
@endif @endfor
@foreach($trail['youtube'] as $yt)

@endforeach

@if($votes > 0 || is_null($film->gesehen) || is_null($film->abgelehnt)) @if($votes > 0)

Abstimmung

Insgesamt haben {{$votes}} Personen abgestimmt. {{$vposi}} davon waren dafür. @if($uvote[0]) Du hast {{ $uvote[1] ? "dafür" : "nicht dafür"}} gestimmt. @endif

Dafür
@foreach($pv as $v) getSetting('disabled') ? 'style="color: #c77; font-style: italic;"' : '' }}> {{$v->name}}   @endforeach

Nicht dafür
@foreach($nv as $v) getSetting('disabled') ? 'style="color: #c77; font-style: italic"' : '' }}> {{$v->name}}   @endforeach
@endif @if(is_null($film->gesehen) && is_null($film->abgelehnt) && !is_null(Auth::user()))
" href="{{ url('vote', array('yes', Auth::user()->id, $film->id)) }}"> Dafür " href="{{ url('vote', array('no', Auth::user()->id, $film->id)) }}"> Nicht dafür
@endif
@endif

Kommentare

@if(is_null(Auth::user()))

Melde Dich an, um diesen Film zu kommentieren.

@else

Neuer Kommentar

{{Form::open(array('route' => 'comment'))}} @if(!is_null(Auth::user()) && !is_null($film->gesehen) && Comment::where('user', Auth::user()->id)->where('film', $film->id)->where('bewertung', '>', 0)->count() < 1 )

Bewerten:
@for($i = 1; $i < 11; $i++) @endfor

@endif
{{Form::close()}}
@endif @foreach($comments as $comment)
{{ $comment->autor->name }}
{{ $comment->autor->name }} {{\Carbon\Carbon::parse($comment->created_at)->format('d.m.Y H:i')}} @if($comment->updated_at != $comment->created_at) — Zuletzt bearbeitet: {{\Carbon\Carbon::parse($comment->updated_at)->format('d.m.Y H:i')}} @endif
@if(!is_null(Auth::user()) && Auth::user()->id === $comment->autor->id)
@if($comment->bewertung > 0)
{{$comment->bewertung}}
@endif

{{$comment->text}}

{{Form::open(array('route' => 'modcomment'))}} @if($comment->bewertung > 0)

Bewerten:
@for($i = 1; $i < 11; $i++) @endfor

@endif
{{Form::close()}}
@else @if($comment->bewertung > 0)
{{$comment->bewertung}}
@endif

{{$comment->text}}

@endif
@endforeach @stop @section('script') @stop @section('title') {{ $film->name }} ~ @stop