@extends('layouts.admin') @section('title',__('adminstaticwords.AllTvSeries')) @section('content')
add {{__('adminstaticwords.CreateTvSeries')}} delete {{__('adminstaticwords.DeleteSelected')}} @if (Session::has('changed_language')) translate {{__('adminstaticwords.TranslateAllTo')}} {{Session::get('changed_language')}} @endif
@if(isset($tv_serieses) && count($tv_serieses) > 0) @foreach($tv_serieses as $item)
@if($item->thumbnail != NULL) ... @elseif($item->poster != NULL) ... @else ... @endif
{{$item->title}}
{{__('Genre')}}
@php $genres = collect(); if (isset($item->genre_id)){ $genre_list = explode(',', $item->genre_id); for ($i = 0; $i < count($genre_list); $i++) { try { $genre = App\Genre::find($genre_list[$i])->name; $genres->push($genre); } catch (Exception $e) { } } } @endphp

@if (count($genres) > 0) @for($i = 0; $i < count($genres); $i++) @if($i == count($genres)-1) {{$genres[$i]}} @else {{$genres[$i]}}, @endif @endfor @endif

{{__('Ratings')}}
@php $rating = ($item->rating)/2; @endphp

{{$item->rating}}/10

{{__('Status')}}
@if($item->status == 1) {{__('adminstaticwords.Active')}} @else {{__('adminstaticwords.Deactive')}} @endif
{{__('Tvseries Emotions')}}
    @php $ifseason = App\Season::where('tv_series_id', '=', $item->id)->first(); @endphp
  • @if (isset($ifseason) && $item->status == 1) desktop_mac @else desktop_mac @endif
  • mode_edit
  • settings
  • delete
@endforeach
{!! $tv_serieses->appends(request()->query())->links() !!}
@else
{{__("Let's start :)")}}
{{__('Get Started by creating a tvseries! All of your tvseries will be displayed on this page.')}}
@endif
@endsection @section('custom-script') @endsection