@extends('themes::thememtyy.layout') @php $watch_url = ''; if (!$currentMovie->is_copyright && count($currentMovie->episodes) && $currentMovie->episodes[0]['link'] != '') { $watch_url = $currentMovie->episodes ->sortBy([['server', 'asc']]) ->groupBy('server') ->first() ->sortByDesc('name', SORT_NATURAL) ->groupBy('name') ->last() ->sortByDesc('type') ->first() ->getUrl(); } @endphp @section('content')
@if ($currentMovie->showtimes)

Lịch chiếu : {{$currentMovie->showtimes}}

@endif @if ($currentMovie->notify )

Thông báo : {{$currentMovie->notify}}

@endif
{{ $currentMovie->name }}
Năm{{ $currentMovie->publish_year }} {{$currentMovie->getStatus()}}
{{$currentMovie->getRatingStar()}} {!! $currentMovie->regions->map(function ($region) { return '' . $region->name . ''; })->implode('') !!} {{$currentMovie->episode_current}}
({{$currentMovie->getRatingStar()}} sao / {{$currentMovie->getRatingCount()}} đánh giá)
Đạo diễn: {!! $currentMovie->directors->map(function ($director) { return '' . $director->name . ''; })->implode(', ') !!}
Diễn viên: {!! $currentMovie->actors->map(function ($director) { return '' . $director->name . ''; })->implode(', ') !!}
Nội dung: {!! strip_tags($currentMovie->content) !!}
Xem thêm
@if($watch_url) Xem phim @endif @if ($currentMovie->trailer_url && strpos($currentMovie->trailer_url, 'youtube')) @php parse_str( parse_url( $currentMovie->trailer_url, PHP_URL_QUERY ), $my_array_of_vars ); $video_id = $my_array_of_vars['v'] ?? null; @endphp Trailer @endif

Bình luận

Đề xuất

@foreach ($movie_related as $movie) @endforeach
@push('scripts') {!! setting('site_scripts_facebook_sdk') !!} @endpush @endsection