{{-- channels display for desktop --}}
Select channels
@if(isset($livebroadcastchannels)) @foreach($livebroadcastchannels as $channel) @if($channel->id === $activebroadcastchannel->id)
@else
@endif
@endforeach @endif
{{-- for desktop --}} {{-- for mobile --}}
Select channels
@if(isset($livebroadcastchannels)) @foreach($livebroadcastchannels as $channel) @if($channel->id === $activebroadcastchannel->id)
@else
@endif
@endforeach @endif
{{-- for mobile --}}
{{--check for live events --}} @if(isset($livestreamingevents)) @if($livestreamingevents->count() > 0)
live-streaming
{{$livestreamingevents->title}}

{{Str::words($livestreamingevents->sub_title)}}

{!! $livestreamingevents->description !!}
@endif @else {{--continue with normal exec logic--}} @if(isset($currentUpcomingPlayingVideo)) @php $video = $currentUpcomingPlayingVideo; @endphp @elseif(isset($currentUpcomingVideo[0])) @php $video = $currentUpcomingVideo[0]; @endphp @else @endif @if(isset($video))
live-streaming
{{$video->title}} @if(!isset($video->video_path)) @endif

{{Str::words($video->sub_title)}}

{!! $video->description !!}
@endif @endif
{{-- slider end--}}
@if(Route::is('front.livebroadcastvideos_partial')) @php $date = (isset($_GET['date'])) ? $_GET['date'] : ''; @endphp
@endif @if(count($videos)!=0)
Broadcast channels
@if(isset($livebroadcastchannels)) @foreach($livebroadcastchannels as $channel)
@endforeach @endif
@if(isset($activebroadcastchannel) && !empty($activebroadcastchannel)) Program Lineup - {{ $activebroadcastchannel->channel_name }} @else Program Lineup @endif
@endif
{{-- @if(isset($videos)) @foreach($videos as $item) @endforeach @endif --}} @if(isset($videos))
@if(isset($videos)) @if(isset($display_device) && $display_device === "mb") @php $groupedVideos = $videos->chunk(3); @endphp @elseif(isset($display_device) && $display_device === "dp") @php $groupedVideos = $videos->chunk(9); @endphp @else @php $groupedVideos = $videos->chunk(5); @endphp @endif
@foreach($groupedVideos as $group) @endforeach
{{-- pagination links --}}
{{-- pagination links --}} @endif
@endif