@section('title', __('site.page_pods_h1_title')) @section('head') @endsection @include('includes/header') @include('includes/topSite')

{{ __('site.page_pods_h1') }}

{{ __('site.page_pods_subtitle') }}

@if (session('success')) @endif @if (session('error')) @endif
@if($allPodcasts->count() == 0)

{{ __('site.page_pods_none_found') }}

@if($s || $catFilter) {{ __('site.page_pods_clear_filters') }} @endif
@else
@foreach($allPodcasts as $podcast) @php $epsCount = DB::connection('mysql_site_' . session('serverID'))->table('podcasts_eps')->where('podcast_id','=',$podcast->id)->count(); @endphp
Podcast
{{ $podcast->name }}
Eps
{{ $epsCount }}
Views
{{ number_format($podcast->views ?? 0, 0, ',', '.') }}
{{ __('general.table_status') }}
{{ $podcast->status == '1' ? __('general.status_active') : __('site.status_inactive') }}
@endforeach
{{ $allPodcasts->links('vendor.pagination.bootstrap-5') }}
@endif
@include('includes/footer')