@foreach($movies as $key => $item)
@if($item->type=='S')
@if($item->tvseries->status == 1)
@if(hidedata($item->id,$item->type) != 1)
{!! 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
@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)
{!! 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
@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