{{-- رأس المباراة --}}
@if($match->homeTeam->profileId())
@if($match->awayTeam->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
{{ $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
معلومات المباراة
| البطولة | {{ $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
{{-- الفريق المستضيف --}}
{{-- الفريق الضيف --}}
@endif
{{ $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)
@endif
{{ $player->player_name }}
{{ $tag }}>
@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)
@endif
{{ $player->player_name }}
{{ $tag }}>
@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)
@endif
{{ $player->player_name }}
{{ $tag }}>
@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)
@endif
{{ $player->player_name }}
{{ $tag }}>
@endforeach
@if($match->status === 'scheduled')
{{-- تبويب الإحصائيات --}}
لم تبدأ المباراة بعد.
@elseif($match->status === 'postponed')
تم تأجيل المباراة.
@elseif($match->events->isEmpty())
لا توجد أحداث مسجلة.
@else
{{ $match->homeTeam->name }}
{{ $match->awayTeam->name }}
@foreach($match->events as $event)
@endif
@if($event->team_side === 'home')
@endforeach
{{ $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)
@endif
@else
@if($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
@if($match->status === 'scheduled')
@endif
لم تبدأ المباراة بعد. ستظهر الإحصائيات هنا بعد انطلاقها.
@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 }}
@if($match->news->isEmpty())
لا توجد أخبار أو فيديوهات مرتبطة بهذه المباراة.
@else
@foreach($match->news as $news)
@if($news->image)
@endif
@if($news->type === 'video')
@endif
@endif