@extends('layouts.theme') @php $auth = Auth::user(); $withlogin= App\Config::findOrFail(1)->withlogin; $catlog= App\Config::findOrFail(1)->catlog; @endphp @section('title',__('Hide For Me').' | ') @section('main-wrapper')
@if(isset($hideData) && count($hideData) > 0) @foreach($hideData as $item) @if($auth && getSubscription()->getData()->subscribed == true) @php if (isset($item->type) && $item->type == 'M') { $wishlist_check = \Illuminate\Support\Facades\DB::table('wishlists')->where([ ['user_id', '=', $auth->id], ['movie_id', '=', $item->id], ])->first(); } if (isset($item->type) && $item->type == 'S') { $wishlist_check = \Illuminate\Support\Facades\DB::table('wishlists')->where([ ['user_id', '=', $auth->id], ['season_id', '=', $item->id], ])->first(); } @endphp @endif @if(isset($item->type) && $item->type == "M") @if($item->movie->status == 1)
@if($item->movie->thumbnail != null || $item->movie->thumbnail != '') genre-image @else genre-image @endif @if(timecalcuate($auth->id,$item->movie->id,$item->movie->type) != 0)
@endif @if($item->movie->is_custom_label == 1) @if(isset($item->movie->label_id)) {{$item->movie->label->name}} @endif @else @if(isset($item->movie->is_upcoming) && $item->movie->is_upcoming == 1) @if($item->movie->upcoming_date != NULL) {{date('M jS Y',strtotime($item->movie->upcoming_date))}} @else {{__('Coming Soon')}} @endif @endif @endif
@if(isset($protip) && $protip == 1)
{{$item->movie->title}}
  • {{__('rating')}} {{$item->movie->rating}}
  • {{$item->movie->duration}} {{__('mins')}}
  • {{$item->movie->publish_year}}
  • {{$item->movie->maturity_rating}}
  • @if($item->movie->subtitle == 1)
  • {{__('subtitles')}}
  • @endif

{{$item->movie->detail}}

{{__('read more')}}
@if($auth && getSubscription()->getData()->subscribed == true) @if($item->movie->is_upcoming != 1) @if(checkInMovie($item->movie) == true) @if($item->movie->maturity_rating == 'all age' || $age>=str_replace('+', '', $item->movie->maturity_rating)) @if($item->movie->video_link['iframeurl'] != null) {{__('play now')}} @else {{__('play now')}} @endif @else {{__('play now')}} @endif @endif @endif @if($item->movie->trailer_url != null || $item->movie->trailer_url != '') {{__('watch trailer')}} @endif @else @if($item->movie->trailer_url != null || $item->movie->trailer_url != '') {{__('watch trailer')}} @endif @endif @if($catlog == 0 && getSubscription()->getData()->subscribed == true) @if (isset($wishlist_check->added)) {{$wishlist_check->added == 1 ? __('remove from watch list') : __('add t watch list')}} @else {{__('add to watch list')}} @endif @elseif($catlog ==1 && $auth) @if (isset($wishlist_check->added)) {{$wishlist_check->added == 1 ? __('remove from watch list') : __('add to watch list')}} @else {{__('add to watch list')}} @endif @endif
@endif
@endif @elseif(isset($item->type) && $item->type == "S") @if($item->season->tvseries->status == 1)
@if($item->season->tvseries->thumbnail != null || $item->season->tvseries->thumbnail != '') genre-image @else genre-image @endif @if($item->season->tvseries->is_custom_label == 1) @if(isset($item->season->tvseries->label_id)) {{$item->season->tvseries->label->name}} @endif @endif
{!! Form::open(['method' => 'POST', 'action' => ['HideForMeController@store', $item->season->id]]) !!}
{!! Form::close() !!} @if(isset($protip) && $protip == 1)
{{$item->season->tvseries->title}}
{{__('tmdb rating')}} {{$item->season->tvseries->rating}}
  • {{__('season')}}{{$item->season->season_no}}
  • {{$item->season->publish_year}}
  • {{$item->season->tvseries->age_req}}
  • @if($item->season->subtitle == 1)
  • {{__('sub titles')}}
  • @endif
@if ($item->season->detail != null || $item->season->detail != '')

{{$item->season->detail}}

@else

{{$item->season->tvseries->detail}}

@endif
@if($auth && getSubscription()->getData()->subscribed == true) @if(isset($item->season->episodes[0]) && checkInTvseries($item->season->tvseries) == true) @if($item->season->tvseries['age_req'] == 'all age' || $age>=str_replace('+', '', $item->season->tvseries['age_req'])) @if($item->season->episodes[0]->video_link['iframeurl'] !="") {{__('playnow')}} @else {{__('playnow')}} @endif @else {{__('playnow')}} @endif @endif @if($item->season->trailer_url != null || $item->season->trailer_url != '') {{__('watch trailer')}} @endif @else @if($item->season->trailer_url != null || $item->season->trailer_url != '') {{__('watch trailer')}} @endif @endif @if($catlog ==0 && getSubscription()->getData()->subscribed == true) @if (isset($wishlist_check->added)) {{$wishlist_check->added == 1 ? __('remove from watchlist') : __('add to watchlist')}} @else {{__('add to watchlist')}} @endif @elseif($catlog ==1 && $auth) @if (isset($wishlist_check->added)) {{$wishlist_check->added == 1 ? __('remove from watchlist') : __('add to watchlist')}} @else {{__('add to watchlist')}} @endif @endif
@endif
@endif @endif @endforeach @else @endif
@endsection