@extends('hello') @section('content')
@foreach($stats as $stat)
{{$stat["name"]}}
shift() ?>
@if($stat['type'] === "User")
@endif @if($stat['type'] === "Film")
@endif

{{is_object($top->$stat['prop']) ? $top->$stat['prop']->name : dd($top)}}

{{$top->count}} {{$top->count ==1 ? $stat['entr'][0] : $stat['entr'][1] }}
@foreach($stat['vals'] as $top)
@if($stat['type'] === "User")
@endif @if($stat['type'] === "Film")
@endif
{{$top->$stat['prop']->name}} — {{$top->count}} {{$top->count ==1 ? $stat['entr'][0] : $stat['entr'][1] }}
@endforeach
@endforeach
@stop @section('title') Statistiken ~ @stop @section('script') @stop