@include('layout.header')
@if ($allMatch->count() != 0) @foreach ($allMatch->toArray() as $allMatchData) @endforeach @else @endif @if (liveMatchData()->count() != 0) @foreach (liveMatchData()->toArray() as $index => $liveMatchData)
@if (Auth::user()->user_type == 'BE') @endif

{{ $liveMatchData['match_name'] }}

{{ 'Match ' . $liveMatchData['match_id'] }}

{{ date('d M Y', strtotime($liveMatchData['match_start_time'])) }}

  • {{ $liveMatchData['team_name1'] }} {{ number_format($liveMatchData['team1_total_score'] / $liveMatchData['team_1_members'], 1) . ' (' . $liveMatchData['team_1_members'] . ') (' . $liveMatchData['team1_total_score'] . 'RX)' }}
  • {{ $liveMatchData['team_name2'] }} {{ number_format($liveMatchData['team2_total_score'] / $liveMatchData['team_2_members'], 1) . ' (' . $liveMatchData['team_2_members'] . ') (' . $liveMatchData['team2_total_score'] . 'RX)' }}
  • 99 days
  • 23 hours
  • 59 minutes
  • 59 seconds
@endforeach @else @endif @if (upcomingMatch()->count() != 0) @foreach (upcomingMatch()->toArray() as $upcomingMatchData) @endforeach @else @endif
@include('layout.footer')