{{$movie->title}}
@auth @if($configs->user_rating==1) @php $uid=Auth::user()->id; $rating=App\UserRating::where('user_id',$uid)-> where('movie_id',$movie->id)->first(); $avg_rating=App\UserRating::where('movie_id',$movie->id)->avg('rating'); @endphp{{__('staticwords.averagerating')}} {{ number_format($avg_rating, 2) }}
{!! Form::open(['method' => 'POST', 'id'=>'formrating', 'action' => 'UserRatingController@store']) !!} {!!Form::close()!!} {{-- Give Rating --}} @endif @endauth{{$movie->detail}}
-
@if($movie->live!=1)
@if (count($directors) > 0)
- {{__('staticwords.directors')}} : @for($i = 0; $i < count($directors); $i++) @if($i == count($directors)-1) {{$directors[$i]}} @else {{$directors[$i]}}, @endif @endfor @endif @if (count($actors) > 0)
- {{__('staticwords.starring')}} : @for($i = 0; $i < count($actors); $i++) @if($i == count($actors)-1) {{$actors[$i]}} @else {{$actors[$i]}}, @endif @endfor @endif @endif @if (count($genres) > 0)
- {{__('staticwords.genres')}} : @for($i = 0; $i < count($genres); $i++) @if($i == count($genres)-1) {{$genres[$i]}} @else {{$genres[$i]}}, @endif @endfor @endif @if(count($movie->subtitles)>0)
- {{__('staticwords.subtitles')}} : @foreach($movie->subtitles as $key=> $sub) @if($key == count($movie->subtitles)-1) {{ $sub['sub_lang'] }} @else {{ $sub['sub_lang'] }}, @endif @endforeach @endif @if (count($a_languages) > 0)
- {{__('staticwords.audiolanguage')}} : @if($movie->a_language != null && isset($a_languages)) @for($i = 0; $i < count($a_languages); $i++) @if($i == count($a_languages)-1) {{$a_languages[$i]}} @else {{$a_languages[$i]}}, @endif @endfor @else - @endif @endif
{{$season->tvseries->title}}
@auth @if($configs->user_rating==1) @php $uid=Auth::user()->id; $rating=App\UserRating::where('user_id',$uid)-> where('tv_id',$season->tvseries->id)->first(); $avg_rating=App\UserRating::where('tv_id',$season->tvseries->id)->avg('rating'); @endphp
{{__('staticwords.averagerating')}} {{ number_format($avg_rating, 2) }}
{!! Form::open(['method' => 'POST', 'id'=>'formratingtv', 'action' => 'UserRatingController@store']) !!} {!!Form::close()!!} {{-- Give Rating --}} @endif @endauth@if ($season->detail != null || $season->detail != '') {{$season->detail}} @else {{$season->tvseries->detail}} @endif
-
@if (count($actors) > 0)
- {{__('staticwords.starring')}} : @for($i = 0; $i < count($actors); $i++) @if($i == count($actors)-1) {{$actors[$i]}} @else {{$actors[$i]}}, @endif @endfor @endif @if (count($genres) > 0)
- {{__('staticwords.genres')}} : @for($i = 0; $i < count($genres); $i++) @if($i == count($genres)-1) {{$genres[$i]}} @else {{$genres[$i]}}, @endif @endfor @endif @if($season->a_language != null && isset($a_languages))
- {{__('staticwords.audiolanguage')}} : @for($i = 0; $i < count($a_languages); $i++) @if($i == count($a_languages)-1) {{$a_languages[$i]}} @else {{$a_languages[$i]}}, @endif @endfor @endif
{{count($movie->movie_series)}} Series
{{$single_series->title}}
@else{{$single_series->title}}
@endif- {{$single_series->duration}} {{__('staticwords.mins')}}
{{str_limit($single_series->detail,360)}} @if($auth && getSubscription()->getData()->subscribed == true) {{__('staticwords.readmore')}} @else {{__('staticwords.readmore')}} @endif
SEries{{count($filter_series)}}
{{$series->title}}
@else{{$series->title}}
@endif- {{$series->duration}} {{__('staticwords.mins')}}
{{str_limit($series->detail,360)}} @if($auth && getSubscription()->getData()->subscribed == true) {{__('staticwords.readmore')}} @else {{__('staticwords.readmore')}} @endif
@if(isset($season->episodes)) @if(count($season->episodes) > 0)
{{__('staticwords.episodes')}} {{count($season->episodes)}}
{{$key+1}}. {{$episode->title}}
@else{{$key+1}}. {{$episode->title}}
@endif @else{{$key+1}}. {{$episode->title}}
@endif @else{{$key+1}}. {{$episode->title}}
@endif- {{$episode->duration}} {{__('staticwords.mins')}}
{{$episode->detail}}
@php $elc = array(); if(isset($episode->multilinks)){ foreach ($episode->multilinks as $key => $value) { if($value->download == 1){ $elc[] = 1; }else{ $elc[] = 0; } } } @endphp @if(isset($episode->multilinks) && count($episode->multilinks) >0) @if(Auth::user() && getSubscription()->getData()->subscribed == true) @if(in_array(1, $elc)){{-- comments section start from here --}} @if(isset($movie)) @if($configs->comments == 1)
@endif @endif {{-- comments section start from here --}} @if(isset($season)) @if($configs->comments == 1)
{{__('No comments yet!')}}
{{__('Be the first to share what you think !')}}{{$season->tvseries->comments->where('status',1)->count()}} {{__('staticwords.comment')}}
@foreach ($season->tvseries->comments->where('status',1) as $comment)
{{__('staticwords.postcomment')}}:
{{Form::open( ['route' => ['tv.comment.store', $season->tvseries->id], 'method' => 'POST'])}} {{Form::label('name', __('staticwords.name'))}} {{Form::text('name', Auth::user()->name, ['class' => 'form-control','disabled'])}}
{{Form::label('email', __('staticwords.email'))}} {{Form::email('email', Auth::user()->email, ['class' => 'form-control','disabled'])}}
{{Form::label('comment',__('staticwords.comment'))}} {{Form::textarea('comment', null, ['class' => 'form-control', 'rows'=> '5','cols' => '10'])}}
{{Form::submit(__('staticwords.addcomment'), ['class' => 'btn btn-md btn-default'])}}
@endif @endif @if($prime_genre_slider == 1) @php $all = collect(); $all_fil_movies = App\Movie::all(); $all_fil_tv = App\TvSeries::all(); if (isset($movie)) { $genres = explode(',', $movie->genre_id); } elseif (isset($season)) { $genres = explode(',', $season->tvseries->genre_id); } for($i = 0; $i < count($genres); $i++) { foreach ($all_fil_movies as $fil_movie) { $fil_genre_item = explode(',', trim($fil_movie->genre_id)); for ($k=0; $k < count($fil_genre_item); $k++) { if (trim($fil_genre_item[$k]) == trim($genres[$i])) { if (isset($movie)) { if ($fil_movie->id != $movie->id) { $all->push($fil_movie); } } else { $all->push($fil_movie); } } } } } if (isset($movie)) { $all = $all->except($movie->id); } for($i = 0; $i < count($genres); $i++) { foreach ($all_fil_tv as $fil_tv) { $fil_genre_item = explode(',', trim($fil_tv->genre_id)); for ($k=0; $k < count($fil_genre_item); $k++) { if (trim($fil_genre_item[$k]) == trim($genres[$i])) { $fil_tv = $fil_tv->seasons; if (isset($season)) { $all->push($fil_tv->except($season->id)); } else { $all->push($fil_tv); } } } } } $all = $all->unique(); $all = $all->flatten(); @endphp @if (isset($all) && count($all) > 0)
{{__('staticwords.customeralsowatched')}}
{{__('staticwords.customeralsowatched')}}
{{__('staticwords.atthebigscreenathome')}}
{{__('No comments yet!')}}
{{__('Be the first to share what you think !')}}{{$movie->comments->where('status',1)->count()}} {{__('staticwords.comment')}}
@foreach ($movie->comments->where('status','1') as $comment)
{{$comment->name}}
{{date('F jS, Y - g:i a',strtotime($comment->created_at))}}
{{__('staticwords.areyousure')}}
{{__('staticwords.modelmessage')}}
{{$name->name}}
{{date('F jS, Y - g:i a',strtotime($subcomment->created_at))}}
{{__('staticwords.areyousure')}}
{{__('staticwords.modelmessage')}}
{{__('staticwords.replyfor')}} {{$comment->name}}
{{__('staticwords.postcomment')}}:
{{Form::open( ['route' => ['movie.comment.store', $movie->id], 'method' => 'POST'])}} {{Form::label('name', __('staticwords.name'))}} {{Form::text('name', Auth::user()->name, ['class' => 'form-control','disabled'])}}
{{Form::label('email', __('staticwords.email'))}} {{Form::email('email', Auth::user()->email, ['class' => 'form-control','disabled'])}}
{{Form::label('comment',__('staticwords.comment'))}} {{Form::textarea('comment', null, ['class' => 'form-control', 'rows'=> '5','cols' => '10'])}}
{{Form::submit(__('staticwords.addcomment'), ['class' => 'btn btn-md btn-default'])}}