@include('partials.public.head', ['title' => $match->homeTeam->name.' ضد '.$match->awayTeam->name]) @include('partials.public.navbar')
{{-- رأس المباراة --}}
@if($match->homeTeam->profileId())
{{ $match->homeTeam->name }}
@else
{{ $match->homeTeam->name }}
@endif
@if($match->status === 'live' || $match->status === 'finished') {{ $match->home_score }} - {{ $match->away_score }} @else {{ $match->match_date->format('H:i') }} @endif
@if($match->status === 'live') @if(\App\Support\MatchMinute::normalize($match->minute) !== null) مباشر {{ \App\Support\MatchMinute::normalize($match->minute) }}' @else {{ $match->minute ?: 'مباشر' }} @endif @elseif($match->status === 'finished') انتهت المباراة @elseif($match->status === 'postponed') تأجلت @else لم تبدأ @endif
@if($match->awayTeam->profileId())
{{ $match->awayTeam->name }}
@else
{{ $match->awayTeam->name }}
@endif
  • {{ $match->match_local_date ? $match->match_local_date->locale('ar')->translatedFormat('l، j F Y') : $match->match_date->setTimezone('Africa/Cairo')->locale('ar')->translatedFormat('l، j F Y') }}
  • {{ $match->match_date->format('H:i') }}
  • @if($match->stadium)
  • {{ $match->stadium }}
  • @endif @if($match->referee)
  • {{ $match->referee }}
  • @endif @if($match->channel)
  • {{ $match->channel }}
  • @endif @if($match->commentator)
  • {{ $match->commentator }}
  • @endif
{{-- التبويبات --}}
معلومات المباراة
@if($match->stadium)@endif @if($match->referee)@endif @if($match->channel)@endif @if($match->commentator)@endif
البطولة{{ $match->championship->name }}
التاريخ{{ $match->match_date->locale('ar')->translatedFormat('l، j F Y') }}
الوقت{{ $match->match_date->format('H:i') }}
الملعب{{ $match->stadium }}
الحكم{{ $match->referee }}
القناة الناقلة{{ $match->channel }}
المعلق{{ $match->commentator }}
@if($match->status === 'scheduled')
لم تبدأ المباراة بعد.
@elseif($match->lineups->isEmpty())
لا توجد تشكيلة مسجلة.
@else
{{-- الفريق المستضيف --}}
{{ $match->homeTeam->name }}
الأساسيون
@foreach($match->lineups->where('team_side', 'home')->where('is_starting', true) as $player) @php $tag = $player->btolat_player_id ? 'a' : 'div'; $href = $player->btolat_player_id ? 'href=' . route('player.show', $player->btolat_player_id) : ''; @endphp <{{ $tag }} {!! $href !!} class="player-card" style="text-decoration: none; color: inherit;"> {{ $player->shirt_number }} @if($player->player_image) {{ $player->player_name }} @endif {{ $player->player_name }} @endforeach
البدلاء
@foreach($match->lineups->where('team_side', 'home')->where('is_starting', false) as $player) @php $tag = $player->btolat_player_id ? 'a' : 'div'; $href = $player->btolat_player_id ? 'href=' . route('player.show', $player->btolat_player_id) : ''; @endphp <{{ $tag }} {!! $href !!} class="player-card substitute" style="text-decoration: none; color: inherit;"> {{ $player->shirt_number }} @if($player->player_image) {{ $player->player_name }} @endif {{ $player->player_name }} @endforeach
{{-- الفريق الضيف --}}
{{ $match->awayTeam->name }}
الأساسيون
@foreach($match->lineups->where('team_side', 'away')->where('is_starting', true) as $player) @php $tag = $player->btolat_player_id ? 'a' : 'div'; $href = $player->btolat_player_id ? 'href=' . route('player.show', $player->btolat_player_id) : ''; @endphp <{{ $tag }} {!! $href !!} class="player-card" style="text-decoration: none; color: inherit;"> {{ $player->shirt_number }} @if($player->player_image) {{ $player->player_name }} @endif {{ $player->player_name }} @endforeach
البدلاء
@foreach($match->lineups->where('team_side', 'away')->where('is_starting', false) as $player) @php $tag = $player->btolat_player_id ? 'a' : 'div'; $href = $player->btolat_player_id ? 'href=' . route('player.show', $player->btolat_player_id) : ''; @endphp <{{ $tag }} {!! $href !!} class="player-card substitute" style="text-decoration: none; color: inherit;"> {{ $player->shirt_number }} @if($player->player_image) {{ $player->player_name }} @endif {{ $player->player_name }} @endforeach
@endif
{{-- تبويب الأحداث --}}
@if($match->status === 'scheduled')
لم تبدأ المباراة بعد.
@elseif($match->status === 'postponed')
تم تأجيل المباراة.
@elseif($match->events->isEmpty())
لا توجد أحداث مسجلة.
@else
{{ $match->homeTeam->name }}
{{ $match->awayTeam->name }}
@foreach($match->events as $event)
@if($event->team_side === 'home')
{{ $event->minute }}' @if($event->type === 'goal') ⚽ @elseif($event->type === 'yellowcard') 🟨 @elseif($event->type === 'redcard') 🟥 @elseif($event->type === 'substitution') 🔄 @endif {{ $event->player_name }} @if($event->related_player_name) ({{ $event->related_player_name }}) @endif
@else
@if($event->related_player_name) ({{ $event->related_player_name }}) @endif {{ $event->player_name }} @if($event->type === 'goal') ⚽ @elseif($event->type === 'yellowcard') 🟨 @elseif($event->type === 'redcard') 🟥 @elseif($event->type === 'substitution') 🔄 @endif {{ $event->minute }}'
@endif
@endforeach
@endif
{{-- تبويب الإحصائيات --}}
@if($match->status === 'scheduled')
لم تبدأ المباراة بعد. ستظهر الإحصائيات هنا بعد انطلاقها.
@elseif(!$match->statistics)
لا توجد إحصائيات مسجلة.
@else @php $s = $match->statistics; @endphp
إحصائيات المباراة
{{ $s->possession_home }}%
الاستحواذ
{{ $s->possession_away }}%
{{ $s->shots_home }}
التسديدات
{{ $s->shots_away }}
{{ $s->shots_on_target_home }}
على المرمى
{{ $s->shots_on_target_away }}
{{ $s->saves_home }}
تصديات
{{ $s->saves_away }}
{{ $s->offsides_home }}
تسلل
{{ $s->offsides_away }}
{{ $s->yellow_cards_home }}
كروت صفراء
{{ $s->yellow_cards_away }}
{{ $s->red_cards_home }}
كروت حمراء
{{ $s->red_cards_away }}
{{ $s->fouls_home }}
الأخطاء
{{ $s->fouls_away }}
@endif
@if($match->news->isEmpty())
لا توجد أخبار أو فيديوهات مرتبطة بهذه المباراة.
@else @endif
@include('partials.public.footer') @include('partials.ads-body')