@extends('layouts.master') @section('title',__('All Slider')) @section('breadcum') @endsection @section('maincontent')
{{ __('Add Slide') }}
{{__("All Slider")}}
@if ($home_slides) @foreach ($home_slides as $key => $home_slide) @endforeach @endif
#
{{__('Movie')}} {{__('Tv Series')}} {{__('Slide Image')}} {{__('Active')}} {{__('Actions')}}
{{$key+1}}
{{$home_slide->movie ? $home_slide->movie->title : '-'}} {{$home_slide->tvseries ? $home_slide->tvseries->title : '-'}} @if(isset($home_slide->slide_image)) @if(isset($home_slide->movie) && $home_slide->movie_id != NULL) @if ($home_slide->movie != null && $home_slide->movie_id != NULL) slider-image @elseif ($home_slide->movie->poster != null) slider-image @endif @elseif(isset($home_slide->tvseries)&& $home_slide->tv_series_id != NULL) @if ($home_slide->slide_image != null) slider-image @elseif ($home_slide->tvseries['poster'] != null) slider-image @endif @else @if($home_slide->slide_image != null) slider-image @endif @endif @endif {{$home_slide->active == 1 ? __('Active') : __('inactive')}}
@endsection @section('script') @endsection