@extends('themes::themetoro.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('single_top')

{{ $currentMovie->name }}

{{ $currentMovie->origin_name }}

img{{$currentMovie->getRatingStar()}}
{{ $currentMovie->publish_year }} @switch($currentMovie->status) @case("ongoing") Đang chiếu @break @case("completed") Trọn bộ @break @default Trailer @endswitch {{$currentMovie->episode_time}} {{$currentMovie->view_total}} {!! $currentMovie->regions->map(function ($region) { return ''.$region->name.''; })->implode(' ') !!}

{!! strip_tags($currentMovie->content) !!}

Đạo diễn: {!! $currentMovie->directors->map(function ($director) { return ''.$director->name.''; })->implode(',') !!}

Thể loại: {!! $currentMovie->categories->map(function ($category) { return ''.$category->name.''; })->implode(', ') !!}

Diễn viên: {!! $currentMovie->actors->map(function ($actor) { return ''.$actor->name.''; })->implode(', ') !!}

@if($watch_url) Xem Phim @endif
    @if ($currentMovie->trailer_url && strpos($currentMovie->trailer_url, 'youtube'))
  • @endif
({{ $currentMovie->getRatingStar() }} sao / {{$currentMovie->getRatingCount()}} đánh giá)
Background
@endsection @section('content') @if ($currentMovie->showtimes && $currentMovie->showtimes != '')

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

@endif @if ($currentMovie->notify && $currentMovie->notify != '')

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

@endif @foreach ($currentMovie->episodes->sortBy([['server', 'asc']])->groupBy('server') as $server => $data)
@endforeach
Bình luận

Có thể bạn muốn xem?

@endsection @push('scripts') @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']; @endphp @endif {!! setting('site_scripts_facebook_sdk') !!} @endpush