@extends('layouts.front.main') @section('title', __('frontWords.home')) @section('style') @endsection @section('content') @php $playlist = []; $previousProgramPlaylist = []; // Get Settings home_page_banner $homePageSettings = \DB::table('settings')->where('name', 'home_page_banner')->first(); $bannerData = $homePageSettings ? json_decode($homePageSettings->value) : null; // Determine Background Image $heroBgImage = ''; if ($bannerData && isset($bannerData->background_image) && !empty($bannerData->background_image)) { $heroBgImage = asset('images/home_page/' . $bannerData->background_image); } else { // Default background if not set $heroBgImage = asset('assets/images/hero_banner.png'); } @endphp
@if (!empty($live) || $bannerData) {{-- Lathis Infomed in Group we removed on 12-02-2026 --}} {{--
@if (!empty($live)) LIVE {{ date('h:i A', strtotime($live->start_time)) . ' - ' . date('h:i A', strtotime($live->end_time)) }} @else ON-DEMAND @endif
--}}

{{ $bannerData->program_name ?? ($live->program_name ?? '') }}

{{ $bannerData->tagline_text ?? '' }}

@endif
@if ($bannerData && isset($bannerData->host_image) && !empty($bannerData->host_image)) Host @elseif (!empty($presenter_banner_img)) Host @else Host @endif

Up Next

Previous Stream

@if ($campaigns) @endif

Flagship Programs

Specialist Programs

Podcast & On-Demand

Popular Podcasts

Conversation

Only On Disrupt

How To Listen

Web Stream

Mobile App

Podcasts

Smart Speakers

{{ __('frontWords.featured') . ' ' . __('frontWords.album') }}

@if (sizeof($featured_album) > 0)
@foreach ($featured_album as $album) @php $artist_name = get_artist_name(['album_id' => $album->id]); $getLikeDislikeAlbum = getFavDataId(['column' => 'album_id', 'album_id' => $album->id]); @endphp
@if ($album->image != '' && file_exists(public_path('images/album/' . $album->image))) @else @endif

{{ $album->album_name }}

{{ rtrim($artist_name, ',') }}

@endforeach
@else

{{ __('frontWords.no_album') }}

@endif
@if (sizeof($testimonials) > 0)

{{ __('frontWords.testimonial') }} ({{ sizeof($testimonials) }})

@foreach ($testimonials as $testimonial)
@if ($testimonial->image != '' && file_exists(public_path('images/testimonial/' . $testimonial->image))) @else @endif

{{ $testimonial->client_name }}

{{ strtoupper($testimonial->designation) }}

{{ strip_tags($testimonial->detail) }}

{{ $testimonial->created_at->diffForHumans(date('Y-m-d h:i:s')) }}
@endforeach
@endif @endsection @section('script') @endsection