@extends('themes::themetoro.layout') @push('header') @endpush @section('single_top')
{{$currentMovie->name}}
@foreach ($currentMovie->episodes->sortBy([['server', 'asc']])->groupBy('server') as $server => $data)
@endforeach
@endsection @section('content')

{{$currentMovie->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 ($currentMovie->trailer_url && strpos($currentMovie->trailer_url, 'youtube')) Xem Trailer @endif
({{ $currentMovie->getRatingStar() }} sao / {{$currentMovie->getRatingCount()}} đánh giá)
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