{{$movie->title}}
@if($movie->live == 1)
@if($movie->livetvicon != NULL)
@php
$livetv = App\Config::pluck('livetvicon')->first();
@endphp
@else
@endif
@endif
- @if(Auth::check() && Auth::user() != NULL) @php $like=App\Like::orderBy('created_at','desc')->where('added','1')->where('blog_id',$movie->id)->count(); $unlike=App\Like::orderBy('created_at','desc')->where('added','-1')->where('blog_id',$movie->id)->count(); @endphp {{$like}} @endif
- مشاركة
{{__('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 @endif @endif
{{$season->tvseries->title}}
-
@if(isset($season->publish_year))
- {{$season->publish_year}} @endif @if(isset($season->season_no))
- {{$season->season_no}} {{__('staticwords.season')}} @endif @if(isset($season->tvseries->age_req))
- {{$season->tvseries->age_req}} @endif @if($configs->user_rating != 1) @if(isset($season->tvseries->rating))
- {{__('staticwords.tmdbrating')}} {{$season->tvseries->rating}} @endif @endif
- {{ views($season) ->unique() ->count() }}
{{__('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(count($season->episodes)>0) @php $subtitles = collect(); foreach ($season->episodes as $e) { foreach ($e->subtitles as $sub) { $subtitles->push($sub->sub_lang); } } $subtitles = $subtitles->unique(); @endphp @if(count($subtitles)>0)
- {{__('staticwords.subtitles')}} : @foreach($subtitles as $key=> $sub) @if($key == count($subtitles)-1) {{ $sub }} @else {{ $sub }}, @endif @endforeach @endif @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
{{__('staticwords.starring')}}
-
@foreach($actors as $key => $actor)
@if(isset($actor) && $actor != NULL)
@php
$actor_detail = App\Actor::where('name','LIKE', "%$actor%")->first()
@endphp
@if(isset($actor_detail) && $actor_detail != NULL)
- @endif @endif @endforeach
Series {{count($movie->movie_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{{__('staticwords.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 @else{{$key+1}}. {{$episode->title}}
@endif- {{$episode->duration}}{{__('staticwords.mins')}}
{{str_limit($episode->detail, 480)}}
@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)
- {{__('staticwords.comment')}} @if(getSubscription()->getData()->subscribed == true)
- {{__('staticwords.postcomment')}} @endif
{{__('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)
{{$comment->name}}
{{date('F jS, Y - g:i a',strtotime($comment->created_at))}}
{{__('staticwords.areyousure')}}
{{__('staticwords.modelmessage')}}
{{__('staticwords.replyfor')}} {{$comment->name}}
{{$name->name}}
{{date('F jS, Y - g:i a',strtotime($subcomment->created_at))}}
{{__('staticwords.areyousure')}}
{{__('staticwords.modalmessage')}}
{{__('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::where('status', 1)->get(); $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')}}
{{$item->title}}
- {{__('staticwords.tmdbrating')}} {{$item->rating}}
- {{$item->duration}} {{__('staticwords.mins')}}
- {{$item->publish_year}}
- {{$item->maturity_rating}}
{{str_limit($item->detail,100,'...')}}
@if($auth && getSubscription()->getData()->subscribed == true) {{__('staticwords.readmore')}} @else {{__('staticwords.readmore')}} @endif{{$item->tvseries->title}}
- Season {{$item->season_no}}
- {{$item->publish_year}}
- {{$item->tvseries->age_req}}
{{str_limit($item->detail,100,'...')}}
@else{{str_limit($item->tvseries->detail,100,'...')}}
@endif @if($auth && getSubscription()->getData()->subscribed == true) {{__('staticwords.readmore')}} @else {{__('staticwords.readmore')}} @endif{{__('staticwords.customeralsowatched')}}
{{__('staticwords.atthebigscreenathome')}}
{{__('لا يوجد تعليقات ! ')}}
{{__('كن أول من يشارك ما هو رأيك!')}}{{$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('comment',__('staticwords.comment'))}} {{Form::textarea('comment', null, ['class' => 'form-control', 'rows'=> '5','cols' => '10'])}}
{{Form::submit(__('staticwords.addcomment'), ['class' => 'btn btn-md btn-default'])}}