@extends('layouts.frontend') @section('content') @php if(!isset($_GET["day"]) && $d != '') { $_GET["day"] = $d . " "; $_GET["type"] = $t; } if (isset($_GET["day"])) { $sel = $_GET["day"] . $_GET["type"]; } @endphp

{{$c->category->name}}{{isset($c->group) ? ' - ' . $c->group->name : ''}}

CALENDARIO COMPLETO

Andata

ARCHIVIO STATISTICO
@foreach($games as $idx => $g) @if(strtoupper(trim($g[0]->type)) == 'ANDATA') {{str_replace('ANDATA', '', str_replace('RITORNO', '', $idx))}}ª @endif @endforeach

Ritorno

@foreach($games as $idx => $g) @if(strtoupper(trim($g[0]->type)) == 'RITORNO') {{str_replace('ANDATA', '', str_replace('RITORNO', '', $idx))}}ª @endif @endforeach
@if(isset($_GET["all"])) @foreach($games as $idx => $g)

{{$idx}}

@foreach($g as $idx => $gg) @endforeach
Data Partita Risultato
{{date("d/m/Y", strtotime($gg->date))}} {!!$gg->getHomeTeam()->name!!} {!!$gg->getAwayTeam()->name!!} {!!$gg->getResult()!!}
@endforeach @else @if(isset($_GET["day"]))
@foreach($games[$_GET["day"] . $_GET["type"]] as $idx => $gg) @endforeach
Data Partita Risultato
{{date("d/m/Y", strtotime($gg->date))}} {!!$gg->getHomeTeam()->name!!} {!!$gg->getAwayTeam()->name!!} {!!$gg->getResult()!!}
@endif @endif
@foreach($aRates as $idx => $r) @endforeach
Squadra Punti PG V N P GF GS DR
{{$r["team"]}} {{$r["POINTS"]}} {{$r["PG"]}} {{$r["V"]}} {{$r["N"]}} {{$r["P"]}} {{$r["GF"]}} {{$r["GS"]}} {{$r["DR"]}}
@foreach($aRates as $idx => $r) @if($r["penality"] != '') {{$r["penality"]}}
@endif @endforeach
@stop