@extends('layouts.theme') @section('title',__('Kids')) @section('main-wrapper')
@if(isset($kids_home_slides) && count($kids_home_slides) > 0)
@endif
@if(isset($kids_movies) && count($kids_movies) > 0)
{{__('Movies for Kids')}}
@endif @if(isset($kids_recent_tv) && count($kids_recent_tv) > 0) @php $recentlyadded = []; foreach ($kids_recent_tv as $key => $item) { $kids_rectvs = App\TvSeries:: join('seasons','seasons.tv_series_id','=','tv_series.id') ->join('episodes','episodes.seasons_id','=','seasons.id') ->join('videolinks','videolinks.episode_id','=','episodes.id') ->select('seasons.id as seasonid','tv_series.genre_id as genre_id','tv_series.id as id','tv_series.type as type','tv_series.status as status','tv_series.thumbnail as thumbnail','tv_series.title as title','tv_series.rating as rating','seasons.publish_year as publish_year','tv_series.maturity_rating as age_req','tv_series.detail as detail','seasons.season_no as season_no','videolinks.iframeurl as iframeurl','seasons.season_slug as season_slug','seasons.trailer_url as trailer_url','seasons.tmdb as tmdb','tv_series.is_custom_label as is_custom_label','tv_series.label_id as label_id') ->where('tv_series.is_kids','=' ,1) ->where('tv_series.id',$item->id)->first(); $recentlyadded[] = $kids_rectvs; } $recentlyadded = array_values(array_filter($recentlyadded)); @endphp
{{__('Tv-Shows for Kids')}}
@endif @endsection @section('custom-script') @endsection