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