@extends('layouts.theme') @section('title',__('Watchlist')) @section('main-wrapper') @php $withlogin= App\Config::first()->withlogin; $catlog= App\Config::first()->catlog; $auth=Auth::user(); $subscribed = null; @endphp @include('modal.agemodal') @include('modal.agewarning')
@if($watchlists > 0)
{{__('Watchlist')}}
@php $auth=Auth::user(); if(isset($auth) || $auth->is_admin){ $nav=App\Menu::orderBy('position','ASC')->get(); } @endphp @if (isset($nav)) @foreach ($nav as $menu) {{$menu->name}} @endforeach @endif
@if(isset($movies))
@foreach($movies as $key => $item) @if($item->type=='S') @if($item->tvseries->status == 1) @if(hidedata($item->id,$item->type) != 1)
@if($item->thumbnail != null) genre-image @elseif($item->tvseries['thumbnail'] != null) genre-image @else genre-image @endif @if($item->tvseries->is_custom_label == 1) @if(isset($item->tvseries->label_id)) {{$item->tvseries->label->name}} @endif @endif
{!! Form::open(['method' => 'DELETE', 'action' => ['WishListController@showdestroy', $item->id]]) !!}
{!! Form::close() !!} @if(isset($protip) && $protip == 1)
{{$item->tvseries['title']}}
{{__('Tmdb Rating')}} {{$item->tvseries['rating']}}
  • {{__('Season')}} {{$item->season_no}}
  • {{$item->publish_year}}
  • {{$item->tvseries['age_req']}}
  • @if($item->subtitle == 1)
  • {{__('Sub Titles')}}
  • @endif
@if ($item->detail != null || $item->detail != '')

{{$item->detail}}

@else

{{$item->tvseries['detail']}}

@endif
@if($auth && getSubscription()->getData()->subscribed == true) @if(isset($item->episodes[0]) && checkInTvseries($item->tvseries) == true && isset($item->episodes[0]->video_link)) @if($item->tvseries['age_req'] == 'all age' || $age>=str_replace('+', '', $item->tvseries['age_req']) ) @if($item->episodes[0]->video_link['iframeurl'] !="") {{__('Play Now')}} @else {{__('Play Now')}} @endif @else {{__('Play Now')}} @endif @endif @if($item->trailer_url != null || $item->trailer_url != '') {{__('Watch Trailer')}} @endif @else @if($item->trailer_url != null || $item->trailer_url != '') {{__('Watch Trailer')}} @endif @endif
@endif
@endif @endif @endif @endforeach
@endif @if(isset($movies))
@foreach($movies as $key => $movie) @if($movie->type=="M") @if($movie->status == 1) @php if(getSubscription()->getData()->subscribed == true){ foreach($movie->menus as $moviemenu){ if(array_search($moviemenu->menu_id, array_column(getSubscription()->getData()->nav_menus, 'id')) !== false) { $is_play = 1; } } } @endphp @if(hidedata($movie->id,$movie->type) != 1)
@if($auth && getSubscription()->getData()->subscribed == true) @if($movie->thumbnail != null || $movie->thumbnail != '') genre-image @else genre-image @endif @if(timecalcuate($auth->id,$movie->id,$movie->type) != 0)
@endif @else @if($movie->thumbnail != null || $movie->thumbnail != '') genre-image @else genre-image @endif @endif @if($movie->is_custom_label == 1) @if(isset($movie->label_id)) {{$movie->label->name}} @endif @else @if(isset($movie->is_upcoming) && $movie->is_upcoming == 1) @if($movie->upcoming_date != NULL) {{date('M jS Y',strtotime($movie->upcoming_date))}} @else {{__('Coming Soon')}} @endif @endif @endif
{!! Form::open(['method' => 'DELETE', 'action' => ['WishListController@moviedestroy', $movie->id]]) !!}
{!! Form::close() !!} @if(isset($protip) && $protip == 1)
{{$movie->title}}
{{__('Tmdb Rating')}} {{$movie->rating}}
  • {{$movie->duration}} {{__('Mins')}}
  • {{$movie->publish_year}}
  • {{$movie->maturity_rating}}
  • @if($movie->subtitle == 1)
  • {{__('Sub Titles')}}
  • @endif

{{$movie->detail}}

@if($auth && getSubscription()->getData()->subscribed == true) @if($movie->is_upcoming != 1) @if(checkInMovie($movie) == true && isset($movie->video_link)) @if($movie->maturity_rating == 'all age' || $age>=str_replace('+', '', $movie->maturity_rating)) @if($movie->video_link['iframeurl'] != null) {{__('Play Now')}} @else {{__('Play Now')}} @endif @else {{__('Play Now')}} @endif @endif @endif @if($movie->trailer_url != null || $movie->trailer_url != '') {{__('Watch Trailer')}} @endif @else @if($movie->trailer_url != null || $movie->trailer_url != '') {{__('Watch Trailer')}} @endif @endif
@endif
@endif @endif @endif @endforeach
@endif
@else @endif
@endsection @section('custom-script') @endsection