@include('common-tabs.common-main-header-tabs')
@if($teams->count() > 0)
@php $tab = 0; @endphp
@foreach($teams as $key => $team)
@php ++$tab; @endphp
@endforeach
@php $activetab = 0; @endphp
@foreach($teams as $key => $team)
@if($team->count() > 0)
@foreach($team as $team_data)
@php
$exploadedImgString = explode(",", $team_data->base_url);
if(isset($exploadedImgString[1]) && !empty($exploadedImgString[1]))
{
if(substr($exploadedImgString[1], 0, 1) === "/" || substr($exploadedImgString[1], 0, 2) === "iV")
{
$imageUrl = $team_data->base_url;
}
else
{
$imageUrl = asset('images/default-country.png');
}
}
else
{
$imageUrl = asset('images/default-country.png');
}
@endphp
@endforeach
@else
No teams found. Please check back later.
@endif
@php ++$activetab; @endphp
@endforeach
@else
No teams found. Please check back later.
@endif