Initial commit
This commit is contained in:
48
resources/views/themevung/catalog.blade.php
Normal file
48
resources/views/themevung/catalog.blade.php
Normal file
@@ -0,0 +1,48 @@
|
||||
@extends('themes::themevung.layout')
|
||||
|
||||
@php
|
||||
$years = Cache::remember('all_years', \Backpack\Settings\app\Models\Setting::get('site_cache_ttl', 5 * 60), function () {
|
||||
return \VsMov\Core\Models\Movie::select('publish_year')
|
||||
->distinct()
|
||||
->pluck('publish_year')
|
||||
->sortDesc();
|
||||
});
|
||||
@endphp
|
||||
|
||||
@section('content')
|
||||
<div class="path-folder-film" style="margin-top: 30px">
|
||||
<ul itemscope itemtype="http://schema.org/BreadcrumbList">
|
||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||
<a itemprop="item" itemprop="url" href="/" title="Xem phim">
|
||||
<span itemprop="name"> <i class="fa fa-home"></i> Xem phim</span>
|
||||
</a>
|
||||
<i class="fa fa-angle-right"></i>
|
||||
<meta itemprop="position" content="1" />
|
||||
</li>
|
||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||
<a itemprop="item" itemprop="url"
|
||||
href="{{ url()->current() }}"
|
||||
title="{{ $section_name ?? 'Danh Sách Phim' }}">
|
||||
<span itemprop="name"> {{ $section_name ?? 'Danh Sách Phim' }}</span>
|
||||
</a>
|
||||
<i class="fa fa-angle-right"></i>
|
||||
<meta itemprop="position" content="2" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="group-film group-film-category">
|
||||
<h1>{{$section_name}}<i class="fa fa-caret-right" aria-hidden="true"></i></h1> <span class="line-ngang"></span>
|
||||
@include('themes::themevung.inc.catalog_filter')
|
||||
<div class="row group-film-small">
|
||||
@if (count($data))
|
||||
@foreach ($data as $movie)
|
||||
@include('themes::themevung.inc.movie_card')
|
||||
@endforeach
|
||||
@else
|
||||
<p class="text-danger">Không có dữ liệu cho mục này</p>
|
||||
@endif
|
||||
</div>
|
||||
{{ $data->appends(request()->all())->links("themes::themevung.inc.pagination") }}
|
||||
</div>
|
||||
@endsection
|
||||
404
resources/views/themevung/episode.blade.php
Normal file
404
resources/views/themevung/episode.blade.php
Normal file
@@ -0,0 +1,404 @@
|
||||
@extends('themes::themevung.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="path-folder-film" style="margin-top: 20px">
|
||||
<ul itemscope itemtype="http://schema.org/BreadcrumbList">
|
||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||
<a itemprop="item" itemprop="url" href="/" title="Xem phim">
|
||||
<span itemprop="name"> <i class="fa fa-home"></i> Xem phim</span>
|
||||
</a>
|
||||
<i class="fa fa-angle-right"></i>
|
||||
<meta itemprop="position" content="1" />
|
||||
</li>
|
||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||
<a itemprop="item" itemprop="url" href="{{ $currentMovie->getUrl() }}" title="{{ $currentMovie->name }}">
|
||||
<span itemprop="name"> {{ $currentMovie->name }}</span>
|
||||
</a>
|
||||
<i class="fa fa-angle-right"></i>
|
||||
<meta itemprop="position" content="3" />
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:;"
|
||||
class="active">{{ strpos(strtolower($episode->name), 'tập') ? $episode->name : "Tập $episode->name" }}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="player-wrapper">
|
||||
<div id="player-holder" class="player-film"></div>
|
||||
<div class="buttonlight-film">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="fb-gg">
|
||||
<div class="fb-like" data-href="{{ $currentMovie->getUrl() }}" data-layout="button_count"
|
||||
data-action="like" data-size="small" data-show-faces="false" data-share="true">
|
||||
</div>
|
||||
<div class="g-plusone" data-size="medium"></div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<a id="report_error" data-toggle="modal" data-target="#ModalBaoloi">
|
||||
<i class="fa fa-exclamation-circle" aria-hidden="true"></i>Báo lỗi
|
||||
</a>
|
||||
</li>
|
||||
@foreach ($currentMovie->episodes->where('slug', $episode->slug)->where('server', $episode->server) as $server)
|
||||
<li>
|
||||
<a data-id="{{ $server->id }}" data-link="{{ $server->link }}" data-type="{{ $server->type }}"
|
||||
onclick="chooseStreamingServer(this)" class="streaming-server">
|
||||
<i class="fa fa-play" aria-hidden="true"></i>
|
||||
Nguồn #{{ $loop->index + 1 }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
<li>
|
||||
<a class="light-on show1">Tắt đèn <i class="fa fa-lightbulb-o" aria-hidden="true"></i>
|
||||
</a>
|
||||
<a class="light-off">Bật đèn <i class="fa fa-lightbulb-o" aria-hidden="true"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li class="scene-dim"></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="alert alert-warning" role="alert"> Xem tốt nhất trên trình duyệt Chrome, Safari. Nếu
|
||||
bạn không xem được phim, vui lòng <b>đổi nguồn phát</b> hoặc <b>đổi server</b>, chúc bạn xem phim
|
||||
vui vẻ.
|
||||
</div>
|
||||
|
||||
<div class="episode-film group-detail">
|
||||
@if ($currentMovie->notify && $currentMovie->notify != '')
|
||||
<p class="lichchieu"><span class="text-danger">• Thông báo</span>: {{ strip_tags($currentMovie->notify) }}</p>
|
||||
@endif
|
||||
@if ($currentMovie->showtimes && $currentMovie->showtimes != '')
|
||||
<p class="lichchieu"><span class="text-info">• Lịch chiếu</span>: {{ strip_tags($currentMovie->showtimes) }}
|
||||
</p>
|
||||
@endif
|
||||
|
||||
@foreach ($currentMovie->episodes->sortBy([['server', 'asc']])->groupBy('server') as $server => $data)
|
||||
<span class="text-success">{{ $server }}</span>
|
||||
<div class="episode-main">
|
||||
<ul>
|
||||
@foreach ($data->sortByDesc('name', SORT_NATURAL)->groupBy('name') as $name => $item)
|
||||
<li>
|
||||
<a href="{{ $item->sortByDesc('type')->first()->getUrl() }}"
|
||||
title="Xem phim {{ $currentMovie->name }} {{ $name }}"
|
||||
class="@if ($item->contains($episode)) active @endif">
|
||||
{{ $name }}
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<div class="title-film-film-0">
|
||||
<a href="{{ $currentMovie->getUrl() }}" class="">
|
||||
<h1 class="title-film-film-1">{{ $currentMovie->name }} -
|
||||
{{ strpos(strtolower($name), 'tập') ? $name : 'Tập ' . $name }}</h1> <br>
|
||||
<h2 class="title-film-film-2">{{ $currentMovie->origin_name }} ({{ $currentMovie->publish_year }})</h2>
|
||||
</a>
|
||||
</div>
|
||||
<div class="group-detail ">
|
||||
<div class="imdb">Điểm {{$currentMovie->getRatingStar()}}</div>
|
||||
<ul class="rated-star hidden-xs">
|
||||
<i id="star"></i>
|
||||
</ul>
|
||||
<span class="rated-text">({{$currentMovie->getRatingCount()}} Đánh giá)</span>
|
||||
</div>
|
||||
|
||||
<div class="group-vote-detail">
|
||||
<h2>Đánh giá phim này</h2>
|
||||
<ul>
|
||||
<li class="star" id="star-vote"></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="fbchat">
|
||||
<div class="fb-comments" data-width="100%" data-include-parent="false" data-href="{{ $currentMovie->getUrl() }}"
|
||||
data-numposts="10" data-order-by="reverse_time" data-colorscheme="dark"></div>
|
||||
</div>
|
||||
|
||||
<div class="group-film">
|
||||
<h2>phim liên quan <i class="fa fa-caret-right" aria-hidden="true"></i>
|
||||
</h2>
|
||||
<span class="line-ngang"></span>
|
||||
<div class="group-film-small">
|
||||
@foreach ($movie_related as $movie)
|
||||
@include('themes::themevung.inc.movie_card')
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('scripts')
|
||||
<div id="ModalBaoloi" class="modal fade" role="dialog">
|
||||
<div class="modal-dialog">
|
||||
<!-- Modal content-->
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||
<h4 class="modal-title">Thông báo</h4>
|
||||
</div>
|
||||
<div class="modal-body" id="p_content">
|
||||
<p class="alert-danger" id="show_msg"></p>
|
||||
<div class="form-group">
|
||||
<label for="log_des">Báo lỗi phim "{{ $currentMovie->name }} ({{ $currentMovie->origin_name }}) ({{ $currentMovie->publish_year }})"</label>
|
||||
<textarea name="log_des" id="log_des" class="form-control" style="width:100%; height: 50px;"
|
||||
placeholder="Mô tả lỗi phim {{ $currentMovie->name }} ({{ $currentMovie->origin_name }}) ({{ $currentMovie->publish_year }})"></textarea>
|
||||
</div>
|
||||
<a href="javascript:;" class="btn btn-primary" name="but_send_report" id="but_send_report">Gửi</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var rating = '{{$currentMovie->getRatingStar()}}';
|
||||
var URL_POST_RATING = '{{ route('movie.rating', ['movie' => $currentMovie->slug]) }}';
|
||||
var URL_POST_REPORT = '{{ route('episodes.report', ['movie' => $currentMovie->slug, 'episode' => $episode->slug, 'id' => $episode->id]) }}';
|
||||
</script>
|
||||
<script defer type="text/javascript" src="/themes/vung/js/rating.js"></script>
|
||||
<script defer type="text/javascript" src="/themes/vung/js/episode.js"></script>
|
||||
|
||||
<script src="/themes/vung/player/js/p2p-media-loader-core.min.js"></script>
|
||||
<script src="/themes/vung/player/js/p2p-media-loader-hlsjs.min.js"></script>
|
||||
|
||||
<script src="/js/jwplayer-8.9.3.js"></script>
|
||||
<script src="/js/hls.min.js"></script>
|
||||
<script src="/js/jwplayer.hlsjs.min.js"></script>
|
||||
|
||||
<script>
|
||||
var episode_id = {{ $episode->id }};
|
||||
const wrapper = document.getElementById('player-holder');
|
||||
const vastAds = "{{ Setting::get('jwplayer_advertising_file') }}";
|
||||
|
||||
function chooseStreamingServer(el) {
|
||||
const type = el.dataset.type;
|
||||
const link = el.dataset.link.replace(/^http:\/\//i, 'https://');
|
||||
const id = el.dataset.id;
|
||||
|
||||
const newUrl =
|
||||
location.protocol +
|
||||
"//" +
|
||||
location.host +
|
||||
location.pathname.replace(`-${episode_id}`, `-${id}`);
|
||||
|
||||
history.pushState({
|
||||
path: newUrl
|
||||
}, "", newUrl);
|
||||
episode_id = id;
|
||||
|
||||
|
||||
Array.from(document.getElementsByClassName('streaming-server')).forEach(server => {
|
||||
server.classList.remove('active');
|
||||
})
|
||||
el.classList.add('active');
|
||||
|
||||
link.replace('http://', 'https://');
|
||||
renderPlayer(type, link, id);
|
||||
}
|
||||
|
||||
function renderPlayer(type, link, id) {
|
||||
if (type == 'embed') {
|
||||
if (vastAds) {
|
||||
wrapper.innerHTML = `<div id="fake_jwplayer"></div>`;
|
||||
const fake_player = jwplayer("fake_jwplayer");
|
||||
const objSetupFake = {
|
||||
key: "{{ Setting::get('jwplayer_license') }}",
|
||||
aspectratio: "16:9",
|
||||
width: "100%",
|
||||
file: "/themes/vung/player/1s_blank.mp4",
|
||||
volume: 100,
|
||||
mute: false,
|
||||
autostart: true,
|
||||
advertising: {
|
||||
tag: "{{ Setting::get('jwplayer_advertising_file') }}",
|
||||
client: "vast",
|
||||
vpaidmode: "insecure",
|
||||
skipoffset: {{ (int) Setting::get('jwplayer_advertising_skipoffset') ?: 5 }}, // Bỏ qua quảng cáo trong vòng 5 giây
|
||||
skipmessage: "Bỏ qua sau xx giây",
|
||||
skiptext: "Bỏ qua"
|
||||
}
|
||||
};
|
||||
fake_player.setup(objSetupFake);
|
||||
fake_player.on('complete', function(event) {
|
||||
$("#fake_jwplayer").remove();
|
||||
wrapper.innerHTML = `<iframe width="100%" height="100%" src="${link}" frameborder="0" scrolling="no"
|
||||
allowfullscreen="" allow='autoplay'></iframe>`
|
||||
fake_player.remove();
|
||||
});
|
||||
|
||||
fake_player.on('adSkipped', function(event) {
|
||||
$("#fake_jwplayer").remove();
|
||||
wrapper.innerHTML = `<iframe width="100%" height="100%" src="${link}" frameborder="0" scrolling="no"
|
||||
allowfullscreen="" allow='autoplay'></iframe>`
|
||||
fake_player.remove();
|
||||
});
|
||||
|
||||
fake_player.on('adComplete', function(event) {
|
||||
$("#fake_jwplayer").remove();
|
||||
wrapper.innerHTML = `<iframe width="100%" height="100%" src="${link}" frameborder="0" scrolling="no"
|
||||
allowfullscreen="" allow='autoplay'></iframe>`
|
||||
fake_player.remove();
|
||||
});
|
||||
} else {
|
||||
if (wrapper) {
|
||||
wrapper.innerHTML = `<iframe width="100%" height="100%" src="${link}" frameborder="0" scrolling="no"
|
||||
allowfullscreen="" allow='autoplay'></iframe>`
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (type == 'm3u8' || type == 'mp4') {
|
||||
wrapper.innerHTML = `<div id="jwplayer"></div>`;
|
||||
const player = jwplayer("jwplayer");
|
||||
const objSetup = {
|
||||
key: "{{ Setting::get('jwplayer_license') }}",
|
||||
aspectratio: "16:9",
|
||||
width: "100%",
|
||||
image: "{{ $currentMovie->getPosterUrl() }}",
|
||||
file: link,
|
||||
playbackRateControls: true,
|
||||
playbackRates: [0.25, 0.75, 1, 1.25],
|
||||
sharing: {
|
||||
sites: [
|
||||
"reddit",
|
||||
"facebook",
|
||||
"twitter",
|
||||
"googleplus",
|
||||
"email",
|
||||
"linkedin",
|
||||
],
|
||||
},
|
||||
volume: 100,
|
||||
mute: false,
|
||||
autostart: true,
|
||||
logo: {
|
||||
file: "{{ Setting::get('jwplayer_logo_file') }}",
|
||||
link: "{{ Setting::get('jwplayer_logo_link') }}",
|
||||
position: "{{ Setting::get('jwplayer_logo_position') }}",
|
||||
},
|
||||
advertising: {
|
||||
tag: "{{ Setting::get('jwplayer_advertising_file') }}",
|
||||
client: "vast",
|
||||
vpaidmode: "insecure",
|
||||
skipoffset: {{ (int) Setting::get('jwplayer_advertising_skipoffset') ?: 5 }}, // Bỏ qua quảng cáo trong vòng 5 giây
|
||||
skipmessage: "Bỏ qua sau xx giây",
|
||||
skiptext: "Bỏ qua"
|
||||
}
|
||||
};
|
||||
|
||||
if (type == 'm3u8') {
|
||||
const segments_in_queue = 50;
|
||||
|
||||
var engine_config = {
|
||||
debug: !1,
|
||||
segments: {
|
||||
forwardSegmentCount: 50,
|
||||
},
|
||||
loader: {
|
||||
cachedSegmentExpiration: 864e5,
|
||||
cachedSegmentsCount: 1e3,
|
||||
requiredSegmentsPriority: segments_in_queue,
|
||||
httpDownloadMaxPriority: 9,
|
||||
httpDownloadProbability: 0.06,
|
||||
httpDownloadProbabilityInterval: 1e3,
|
||||
httpDownloadProbabilitySkipIfNoPeers: !0,
|
||||
p2pDownloadMaxPriority: 50,
|
||||
httpFailedSegmentTimeout: 500,
|
||||
simultaneousP2PDownloads: 20,
|
||||
simultaneousHttpDownloads: 2,
|
||||
// httpDownloadInitialTimeout: 12e4,
|
||||
// httpDownloadInitialTimeoutPerSegment: 17e3,
|
||||
httpDownloadInitialTimeout: 0,
|
||||
httpDownloadInitialTimeoutPerSegment: 17e3,
|
||||
httpUseRanges: !0,
|
||||
maxBufferLength: 300,
|
||||
// useP2P: false,
|
||||
},
|
||||
};
|
||||
if (Hls.isSupported() && p2pml.hlsjs.Engine.isSupported()) {
|
||||
var engine = new p2pml.hlsjs.Engine(engine_config);
|
||||
player.setup(objSetup);
|
||||
jwplayer_hls_provider.attach();
|
||||
p2pml.hlsjs.initJwPlayer(player, {
|
||||
liveSyncDurationCount: segments_in_queue, // To have at least 7 segments in queue
|
||||
maxBufferLength: 300,
|
||||
loader: engine.createLoaderClass(),
|
||||
});
|
||||
} else {
|
||||
player.setup(objSetup);
|
||||
}
|
||||
} else {
|
||||
player.setup(objSetup);
|
||||
}
|
||||
|
||||
|
||||
const resumeData = 'OPCMS-PlayerPosition-' + id;
|
||||
player.on('ready', function() {
|
||||
if (typeof(Storage) !== 'undefined') {
|
||||
if (localStorage[resumeData] == '' || localStorage[resumeData] == 'undefined') {
|
||||
console.log("No cookie for position found");
|
||||
var currentPosition = 0;
|
||||
} else {
|
||||
if (localStorage[resumeData] == "null") {
|
||||
localStorage[resumeData] = 0;
|
||||
} else {
|
||||
var currentPosition = localStorage[resumeData];
|
||||
}
|
||||
console.log("Position cookie found: " + localStorage[resumeData]);
|
||||
}
|
||||
player.once('play', function() {
|
||||
console.log('Checking position cookie!');
|
||||
console.log(Math.abs(player.getDuration() - currentPosition));
|
||||
if (currentPosition > 180 && Math.abs(player.getDuration() - currentPosition) >
|
||||
5) {
|
||||
player.seek(currentPosition);
|
||||
}
|
||||
});
|
||||
window.onunload = function() {
|
||||
localStorage[resumeData] = player.getPosition();
|
||||
}
|
||||
} else {
|
||||
console.log('Your browser is too old!');
|
||||
}
|
||||
});
|
||||
|
||||
player.on('complete', function() {
|
||||
if (typeof(Storage) !== 'undefined') {
|
||||
localStorage.removeItem(resumeData);
|
||||
} else {
|
||||
console.log('Your browser is too old!');
|
||||
}
|
||||
})
|
||||
|
||||
function formatSeconds(seconds) {
|
||||
var date = new Date(1970, 0, 1);
|
||||
date.setSeconds(seconds);
|
||||
return date.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/, "$1");
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
const episode = '{{ $episode->id }}';
|
||||
let playing = document.querySelector(`[data-id="${episode}"]`);
|
||||
if (playing) {
|
||||
playing.click();
|
||||
return;
|
||||
}
|
||||
|
||||
const servers = document.getElementsByClassName('streaming-server');
|
||||
if (servers[0]) {
|
||||
servers[0].click();
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
{!! setting('site_scripts_facebook_sdk') !!}
|
||||
@endpush
|
||||
17
resources/views/themevung/inc/aside/top_poster.blade.php
Normal file
17
resources/views/themevung/inc/aside/top_poster.blade.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<div id="widget_top_film_country_by_type_phim-bo" class="topphim-ngang">
|
||||
<h3>{{ $top['label'] }}</h3>
|
||||
<ul class="film active">
|
||||
@foreach ($top['data'] as $movie)
|
||||
<li>
|
||||
<a href="{{$movie->getUrl()}}">
|
||||
<div class="image"
|
||||
style="background-image:url({{$movie->getPosterUrl()}})">
|
||||
</div> <span class="imdb">Điểm <br> <b>{{$movie->getRatingStar()}}</b></span>
|
||||
<div class="info"> <b class="title-film">{{$movie->name}}</b>
|
||||
<p>{{$movie->origin_name}} ({{$movie->publish_year}})</p>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@@ -0,0 +1,17 @@
|
||||
<div class="top-tintuc">
|
||||
<h3>{{$top['label']}}</h3>
|
||||
<ul class="film active">
|
||||
@foreach ($top['data'] as $movie)
|
||||
<li>
|
||||
<a href="{{$movie->getUrl()}}">
|
||||
<div class="image"
|
||||
style="background-image:url({{$movie->getPosterUrl()}})">
|
||||
</div>
|
||||
<div class="info">
|
||||
<b class="title-phim">{{$movie->name}} <br /> {{$movie->origin_name}} ({{$movie->publish_year}})</b>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
17
resources/views/themevung/inc/aside/top_thumb.blade.php
Normal file
17
resources/views/themevung/inc/aside/top_thumb.blade.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<div class="topphim-doc">
|
||||
<h3>{{ $top['label'] }}</h3>
|
||||
<ul class="film">
|
||||
@foreach ($top['data'] as $movie)
|
||||
<li> <a href="{{$movie->getUrl()}}">
|
||||
<div class="image"
|
||||
style="background-image:url('{{$movie->getThumbUrl()}}')">
|
||||
</div>
|
||||
<div class="info"> <b class="title-film">{{$movie->name}}</b>
|
||||
<p>{{$movie->origin_name}} ({{$movie->publish_year}})</p>
|
||||
<span class="luotxem">Lượt xem: {{$movie->view_day}}</span>
|
||||
<span class="imdb">Điểm {{$movie->getRatingStar()}}</span>
|
||||
</div>
|
||||
</a> </li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
50
resources/views/themevung/inc/catalog_filter.blade.php
Normal file
50
resources/views/themevung/inc/catalog_filter.blade.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<ul class="locphim-category">
|
||||
<form class="form-filter" id="form_filter" method="GET">
|
||||
<li>
|
||||
<select name="filter[sort]" form="form-search" class="scroll bg-main-700 p-2 outline-none">
|
||||
<option value="">-- Sắp xếp --</option>
|
||||
<option value="update" @if (isset(request('filter')['sort']) && request('filter')['sort'] == 'update') selected @endif>Thời gian cập nhật</option>
|
||||
<option value="create" @if (isset(request('filter')['sort']) && request('filter')['sort'] == 'create') selected @endif>Thời gian đăng</option>
|
||||
<option value="year" @if (isset(request('filter')['sort']) && request('filter')['sort'] == 'year') selected @endif>Năm sản xuất</option>
|
||||
<option value="view" @if (isset(request('filter')['sort']) && request('filter')['sort'] == 'view') selected @endif>Lượt xem</option>
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<select name="filter[type]" form="form-search" class="scroll bg-main-700 p-2 outline-none">
|
||||
<option value="">-- Định dạng --</option>
|
||||
<option value="series" @if (isset(request('filter')['type']) && request('filter')['type'] == 'series') selected @endif>Phim bộ</option>
|
||||
<option value="single" @if (isset(request('filter')['type']) && request('filter')['type'] == 'single') selected @endif>Phim lẻ</option>
|
||||
</select>
|
||||
</li>
|
||||
<li class="text-center">
|
||||
<select name="filter[region]" form="form-search" class="scroll bg-main-700 p-2 outline-none">
|
||||
<option value="">-- Quốc gia --</option>
|
||||
@foreach (\VsMov\Core\Models\Region::fromCache()->all() as $item)
|
||||
<option value="{{ $item->id }}" @if ((isset(request('filter')['region']) && request('filter')['region'] == $item->id) ||
|
||||
(isset($region) && $region->id == $item->id)) selected @endif>
|
||||
{{ $item->name }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<select name="filter[category]" form="form-search" class="scroll bg-main-700 p-2 outline-none">
|
||||
<option value="">-- Thể loại --</option>
|
||||
@foreach (\VsMov\Core\Models\Category::fromCache()->all() as $item)
|
||||
<option value="{{ $item->id }}" @if ((isset(request('filter')['category']) && request('filter')['category'] == $item->id) ||
|
||||
(isset($category) && $category->id == $item->id)) selected @endif>
|
||||
{{ $item->name }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</li>
|
||||
<li>
|
||||
<select class="form-control" name="filter[year]" form="form-search">
|
||||
<option value="">-- Năm phát hành --</option>
|
||||
@foreach ($years as $year)
|
||||
<option value="{{ $year }}" @if (isset(request('filter')['year']) && request('filter')['year'] == $year) selected @endif>
|
||||
{{ $year }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</li>
|
||||
<li> <button type="submit" type="submit" form="form-search" class="submit-filter">Lọc Phim</button> </li>
|
||||
</form>
|
||||
</ul>
|
||||
23
resources/views/themevung/inc/movie_card.blade.php
Normal file
23
resources/views/themevung/inc/movie_card.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<a href="{{$movie->getUrl()}}" class="col-xs-4 col-lg-2 film-small">
|
||||
<div class="poster-film-small"
|
||||
style="background-image:url('{{$movie->getThumbUrl()}}')">
|
||||
@if ($movie->type == 'series')
|
||||
<div class="sotap">{{$movie->episode_current}}</div>
|
||||
@endif
|
||||
<ul class="tag-film">
|
||||
<li>
|
||||
<div class="hd">{{$movie->quality}}</div>
|
||||
</li>
|
||||
@if (strpos(strtolower($movie->language), 'thuyết minh'))
|
||||
<li>
|
||||
<div class="sd tm">TM</div>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
<div class="play"></div>
|
||||
</div>
|
||||
<div class="title-film-small">
|
||||
<b class="title-film">{{$movie->name}}</b>
|
||||
<p>{{$movie->origin_name}} ({{$movie->publish_year}})</p>
|
||||
</div>
|
||||
</a>
|
||||
64
resources/views/themevung/inc/nav.blade.php
Normal file
64
resources/views/themevung/inc/nav.blade.php
Normal file
@@ -0,0 +1,64 @@
|
||||
@php
|
||||
$logo = setting('site_logo', '');
|
||||
$brand = setting('site_brand', '');
|
||||
$title = isset($title) ? $title : setting('site_homepage_title', '');
|
||||
@endphp
|
||||
|
||||
<nav class="navbar navbar-default" role="navigation">
|
||||
<div class="container-fluid navbar-top">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="/" title="{{ $title }}">
|
||||
@if ($logo)
|
||||
{!! $logo !!}
|
||||
@else
|
||||
{!! $brand !!}
|
||||
@endif
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav">
|
||||
@foreach ($menu as $item)
|
||||
@if (count($item['children']))
|
||||
<li class="dropdown">
|
||||
<a href="{{$item['link']}}" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{$item['name']}} <span
|
||||
class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@foreach ($item['children'] as $children)
|
||||
<li>
|
||||
<a href="{{$children['link']}}">{{$children['name']}}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</li>
|
||||
@else
|
||||
<li>
|
||||
<a href="{{$item['link']}}">{{$item['name']}}</a>
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<form class="navbar-form" method="GET" id="form-search" action="/">
|
||||
<div class="form-group">
|
||||
<input placeholder="Tìm tên phim..." class="form-control" id="query_search" value="{{ request('search') }}" type="text" name="search" maxlength="100" autocomplete="off" />
|
||||
</div>
|
||||
<button type="submit" class="btn btn-default">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
</button>
|
||||
<div class="search-hint" id="search-hint"></div>
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
41
resources/views/themevung/inc/pagination.blade.php
Normal file
41
resources/views/themevung/inc/pagination.blade.php
Normal file
@@ -0,0 +1,41 @@
|
||||
@if ($paginator->hasPages())
|
||||
<ul class="page-category">
|
||||
@if ($paginator->onFirstPage())
|
||||
@else
|
||||
<li>
|
||||
<a href="{{ $paginator->previousPageUrl() }}" rel="prev"
|
||||
aria-label="@lang('pagination.previous')">←</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
{{-- Pagination Elements --}}
|
||||
@foreach ($elements as $element)
|
||||
{{-- "Three Dots" Separator --}}
|
||||
@if (is_string($element))
|
||||
<li class="disabled" aria-disabled="true"><a>{{ $element }}</a>
|
||||
</li>
|
||||
@endif
|
||||
|
||||
{{-- Array Of Links --}}
|
||||
@if (is_array($element))
|
||||
@foreach ($element as $page => $url)
|
||||
@if ($page == $paginator->currentPage())
|
||||
<li aria-current="page"><a class="actived">{{ $page }}</a></li>
|
||||
@else
|
||||
<li><a href="{{ $url }}">{{ $page }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endforeach
|
||||
|
||||
{{-- Next Page Link --}}
|
||||
@if ($paginator->hasMorePages())
|
||||
<li>
|
||||
<a href="{{ $paginator->nextPageUrl() }}" rel="next"
|
||||
aria-label="@lang('pagination.next')">→</a>
|
||||
</li>
|
||||
@else
|
||||
@endif
|
||||
</ul>
|
||||
@endif
|
||||
32
resources/views/themevung/inc/slider_recommended.blade.php
Normal file
32
resources/views/themevung/inc/slider_recommended.blade.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<div class="group-film">
|
||||
<h2>
|
||||
<a href="">phim đề cử <i class="fa fa-caret-right" aria-hidden="true"></i>
|
||||
</a>
|
||||
</h2>
|
||||
<span class="line-ngang"></span>
|
||||
<div class="phimdecu-slider">
|
||||
@foreach ($recommendations as $movie)
|
||||
<div class="item">
|
||||
<a href="{{$movie->getUrl()}}"
|
||||
style="background-image:url({{$movie->getThumbUrl()}})">
|
||||
<div class="black-gradient">
|
||||
<b class="title-film">{{$movie->name}}</b>
|
||||
<p>{{$movie->origin_name}} ({{$movie->publish_year}})</p>
|
||||
<div class="sotap">{{$movie->episode_current}}</div>
|
||||
<ul class="tag-film">
|
||||
<li>
|
||||
<div class="hd">{{$movie->quality}}</div>
|
||||
</li>
|
||||
@if (strpos(strtolower($movie->language), 'thuyết minh'))
|
||||
<li>
|
||||
<div class="sd tm">TM</div>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
<div class="play"></div>
|
||||
</a>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
65
resources/views/themevung/index.blade.php
Normal file
65
resources/views/themevung/index.blade.php
Normal file
@@ -0,0 +1,65 @@
|
||||
@extends('themes::themevung.layout')
|
||||
|
||||
@php
|
||||
use VsMov\Core\Models\Movie;
|
||||
|
||||
$recommendations = Cache::remember('site.movies.recommendations', setting('site_cache_ttl', 5 * 60), function () {
|
||||
return Movie::where('is_recommended', true)
|
||||
->limit(get_theme_option('recommendations_limit', 10))
|
||||
->orderBy('updated_at', 'desc')
|
||||
->get();
|
||||
});
|
||||
|
||||
$data = Cache::remember('site.movies.latest', setting('site_cache_ttl', 5 * 60), function () {
|
||||
$lists = preg_split('/[\n\r]+/', get_theme_option('latest'));
|
||||
$data = [];
|
||||
foreach ($lists as $list) {
|
||||
if (trim($list)) {
|
||||
$list = explode('|', $list);
|
||||
[$label, $relation, $field, $val, $sortKey, $alg, $limit, $link] = array_merge($list, ['Phim hot', '', 'type', 'series', 'view_total', 'desc', 12, '']);
|
||||
try {
|
||||
$data[] = [
|
||||
'label' => $label,
|
||||
'link' => $link,
|
||||
'data' => \VsMov\Core\Models\Movie::when($relation, function ($query) use ($relation, $field, $val) {
|
||||
$query->whereHas($relation, function ($rel) use ($field, $val) {
|
||||
$rel->where($field, $val);
|
||||
});
|
||||
})
|
||||
->when(!$relation, function ($query) use ($field, $val) {
|
||||
$query->where($field, $val);
|
||||
})
|
||||
->orderBy($sortKey, $alg)
|
||||
->limit($limit)
|
||||
->get(),
|
||||
];
|
||||
} catch (\Exception $e) {
|
||||
# code
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $data;
|
||||
});
|
||||
@endphp
|
||||
|
||||
@section('content')
|
||||
@if (count($recommendations))
|
||||
@include('themes::themevung.inc.slider_recommended')
|
||||
@endif
|
||||
@foreach ($data as $item)
|
||||
<div class="group-film">
|
||||
<h2>
|
||||
<a href="{{$item['link']}}">{{$item['label']}} <i class="fa fa-caret-right" aria-hidden="true"></i>
|
||||
</a>
|
||||
</h2>
|
||||
<a href="{{$item['link']}}" class="more"></a>
|
||||
<span class="line-ngang"></span>
|
||||
<div class="row group-film-small">
|
||||
@foreach ($item['data'] as $movie)
|
||||
@include('themes::themevung.inc.movie_card')
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
@endsection
|
||||
68
resources/views/themevung/layout.blade.php
Normal file
68
resources/views/themevung/layout.blade.php
Normal file
@@ -0,0 +1,68 @@
|
||||
@extends('themes::layout')
|
||||
|
||||
@php
|
||||
$menu = \VsMov\Core\Models\Menu::getTree();
|
||||
|
||||
$tops = Cache::remember('site.movies.tops', setting('site_cache_ttl', 5 * 60), function () {
|
||||
$lists = preg_split('/[\n\r]+/', get_theme_option('hotest'));
|
||||
$data = [];
|
||||
foreach ($lists as $list) {
|
||||
if (trim($list)) {
|
||||
$list = explode('|', $list);
|
||||
[$label, $relation, $field, $val, $sortKey, $alg, $limit, $template] = array_merge($list, ['Phim hot', '', 'type', 'series', 'view_total', 'desc', 4, 'top_thumb']);
|
||||
try {
|
||||
$data[] = [
|
||||
'label' => $label,
|
||||
'template' => $template,
|
||||
'data' => \VsMov\Core\Models\Movie::when($relation, function ($query) use ($relation, $field, $val) {
|
||||
$query->whereHas($relation, function ($rel) use ($field, $val) {
|
||||
$rel->where($field, $val);
|
||||
});
|
||||
})
|
||||
->when(!$relation, function ($query) use ($field, $val) {
|
||||
$query->where($field, $val);
|
||||
})
|
||||
->orderBy($sortKey, $alg)
|
||||
->limit($limit)
|
||||
->get(),
|
||||
];
|
||||
} catch (\Exception $e) {
|
||||
# code
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $data;
|
||||
});
|
||||
@endphp
|
||||
|
||||
@push('header')
|
||||
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700,700i" rel="stylesheet">
|
||||
<link rel="stylesheet" type="text/css" href="{{ asset('/themes/vung/css/v.min.css') }}" as="style" rel="preload" />
|
||||
@endpush
|
||||
|
||||
@section('body')
|
||||
@include('themes::themevung.inc.nav')
|
||||
@if (get_theme_option('ads_header'))
|
||||
{!! get_theme_option('ads_header') !!}
|
||||
@endif
|
||||
<div class="container khoi-body">
|
||||
<div class="khoi-trai">
|
||||
@yield('content')
|
||||
</div>
|
||||
<div class="khoi-phai">
|
||||
@foreach ($tops as $top)
|
||||
@include('themes::themevung.inc.aside.' . $top['template'])
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('footer')
|
||||
<script defer type="text/javascript" src="{{ asset('/themes/vung/js/v.min.js') }}"></script>
|
||||
{!! get_theme_option('footer') !!}
|
||||
@if (get_theme_option('ads_catfish'))
|
||||
{!! get_theme_option('ads_catfish') !!}
|
||||
@endif
|
||||
{!! setting('site_scripts_google_analytics') !!}
|
||||
@endsection
|
||||
179
resources/views/themevung/single.blade.php
Normal file
179
resources/views/themevung/single.blade.php
Normal file
@@ -0,0 +1,179 @@
|
||||
@extends('themes::themevung.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')
|
||||
<div class="path-folder-film" style="margin-top: 20px">
|
||||
<ul itemscope itemtype="http://schema.org/BreadcrumbList">
|
||||
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
|
||||
<a itemprop="item" itemprop="url" href="/" title="Xem phim">
|
||||
<span itemprop="name"> <i class="fa fa-home"></i> Xem phim</span>
|
||||
</a>
|
||||
<i class="fa fa-angle-right"></i>
|
||||
<meta itemprop="position" content="1" />
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:;" class="active">{{$currentMovie->name}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="group-detail" itemscope itemtype="http://schema.org/Movie">
|
||||
<div style="display: none">
|
||||
<div itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
|
||||
<span itemprop="ratingValue">{{$currentMovie->getRatingStar()}}</span>
|
||||
<meta itemprop="bestRating" content="10" />
|
||||
<meta itemprop="worstRating" content="1" />
|
||||
<span itemprop="ratingCount">{{$currentMovie->getRatingCount()}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<a href="{{ $watch_url }}" class="big-img-film-detail {{ !$watch_url ? 'comingsoon' : '' }}">
|
||||
<img src="{{ $currentMovie->getPosterUrl() ?: '/themes/vung/img/big-img-detail.jpg' }}"
|
||||
style="position: absolute; width: 100%; height: 100%" />
|
||||
<div style="position: absolute; width: 100%; height: 100%">
|
||||
<i class="fa fa-play-circle" aria-hidden="true"></i>
|
||||
</div>
|
||||
</a>
|
||||
<h1 class="title-film-detail-1" itemprop="name">{{ $currentMovie->name }} </h1>
|
||||
<h2 class="title-film-detail-2">{{ $currentMovie->origin_name }} ({{ $currentMovie->publish_year }})</h2>
|
||||
<div class="fb-gg">
|
||||
<div class="fb-like" data-href="{{$currentMovie->getUrl()}}"
|
||||
data-layout="button_count" data-action="like" data-size="small" data-show-faces="false" data-share="true">
|
||||
</div>
|
||||
<div class="g-plusone" data-size="medium"></div>
|
||||
</div>
|
||||
<div class="imdb">Điểm {{$currentMovie->getRatingStar()}}</div>
|
||||
<ul class="rated-star hidden-xs">
|
||||
<i id="star"></i>
|
||||
</ul>
|
||||
<span class="rated-text">({{$currentMovie->getRatingCount()}} Đánh giá)</span>
|
||||
<span class="hd">{{ $currentMovie->quality }}</span>
|
||||
<br>
|
||||
@if ($watch_url)
|
||||
<a href="{{ $watch_url }}" class="play-film">Xem Phim <i class="fa fa-caret-right" aria-hidden="true"></i>
|
||||
@endif
|
||||
</a>
|
||||
@if ($currentMovie->trailer_url && strpos($currentMovie->trailer_url, 'youtube'))
|
||||
<a href="{{ $currentMovie->trailer_url }}" class="play-trailer">Xem Trailer<i class="fa fa-caret-right"
|
||||
aria-hidden="true"></i></a>
|
||||
@endif
|
||||
@if ($currentMovie->notify && $currentMovie->notify != '')
|
||||
<p class="lichchieu"><span class="text-danger">• Thông báo</span>: {{ strip_tags($currentMovie->notify) }}</p>
|
||||
@endif
|
||||
@if ($currentMovie->showtimes && $currentMovie->showtimes != '')
|
||||
<p class="lichchieu"><span class="text-info">• Lịch chiếu</span>: {{ strip_tags($currentMovie->showtimes) }}
|
||||
</p>
|
||||
@endif
|
||||
<ul class="infomation-film">
|
||||
<li class="title">Thông tin:</li>
|
||||
<li>Trạng thái: <span>{{ $currentMovie->episode_current }}</span>
|
||||
</li>
|
||||
<li>Thời lượng: <span>{{ $currentMovie->episode_time }}</span>
|
||||
</li>
|
||||
<li>Đạo diễn
|
||||
{!! $currentMovie->directors->map(function ($director) {
|
||||
return '<a href="' . $director->getUrl() . '" title="' . $director->name . '">' . $director->name . '</a>';
|
||||
})->implode(', ') !!}
|
||||
</li>
|
||||
<li>Diễn viên:
|
||||
{!! $currentMovie->actors->map(function ($actor) {
|
||||
return '<a href="' . $actor->getUrl() . '" title="' . $actor->name . '">' . $actor->name . '</a>';
|
||||
})->implode(', ') !!}
|
||||
</li>
|
||||
<li>Thể loại:
|
||||
{!! $currentMovie->categories->map(function ($category) {
|
||||
return '<a href="' . $category->getUrl() . '" title="' . $category->name . '">' . $category->name . '</a>';
|
||||
})->implode(', ') !!}
|
||||
</li>
|
||||
<li>Quốc gia:
|
||||
{!! $currentMovie->regions->map(function ($region) {
|
||||
return '<a href="' . $region->getUrl() . '" title="' . $region->name . '">' . $region->name . '</a>';
|
||||
})->implode(', ') !!}
|
||||
</li>
|
||||
<li>Số tập: <span>{{ $currentMovie->episode_total }}</span>
|
||||
</li>
|
||||
<li class="tags">
|
||||
<span>TAGS: </span>
|
||||
{!! $currentMovie->tags->map(function ($tag) {
|
||||
return '<a href="' . $tag->getUrl() . '" title="' . $tag->name . '">' . $tag->name . '</a>';
|
||||
})->implode(', ') !!}
|
||||
</li>
|
||||
</ul>
|
||||
<p class="content-film">
|
||||
@if ($currentMovie->content)
|
||||
{!! strip_tags($currentMovie->content) !!}
|
||||
@else
|
||||
<p>Hãy xem phim để cảm nhận...</p>
|
||||
@endif
|
||||
</p>
|
||||
</div>
|
||||
<div class="group-vote-detail">
|
||||
<h2>Đánh giá phim này</h2>
|
||||
<ul>
|
||||
<li class="star" id="star-vote"></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="fbchat">
|
||||
<div class="fb-comments" data-width="100%" data-include-parent="false" data-href="{{ $currentMovie->getUrl() }}"
|
||||
data-numposts="10" data-order-by="reverse_time" data-colorscheme="dark"></div>
|
||||
</div>
|
||||
<div class="group-film">
|
||||
<h2>phim liên quan <i class="fa fa-caret-right" aria-hidden="true"></i>
|
||||
</h2>
|
||||
<span class="line-ngang"></span>
|
||||
<div class="group-film-small">
|
||||
@foreach ($movie_related as $movie)
|
||||
@include('themes::themevung.inc.movie_card')
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
<div class="group-tag-detail">
|
||||
<h3>
|
||||
<small>{{ $currentMovie->name }} VietSub, {{ $currentMovie->name }} thuyết minh, {{ $currentMovie->name }}
|
||||
HD, {{ $currentMovie->name }}, Vượt
|
||||
Ngục: Phần 1 full/trọn bộ, {{ $currentMovie->name }} phụ đề, {{ $currentMovie->name }} trailer, Vuot Nguc:
|
||||
Phan 1 VietSub,
|
||||
Vuot Nguc: Phan 1 thuyet minh, Vuot Nguc: Phan 1 HD, Vuot Nguc: Phan 1, Vuot Nguc: Phan 1 full/tron bo, Vuot
|
||||
Nguc: Phan 1 phu de, Vuot Nguc: Phan 1 trailer Xem phim {{ $currentMovie->originName }},
|
||||
{{ $currentMovie->originName }},
|
||||
{{ $currentMovie->originName }} VietSub, {{ $currentMovie->originName }} Thuyết minh,
|
||||
{{ $currentMovie->originName }} full HD, Prison
|
||||
Break: Season 1 bản đẹp, {{ $currentMovie->originName }} trọn bộ, {{ $currentMovie->originName }} phụ đề,
|
||||
Prison Break: Season
|
||||
1 trailer</small>
|
||||
</h3>
|
||||
</div>
|
||||
<div class="modal fade" id="mediaModal" tabindex="-1" role="dialog" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
<div class="modal-content">
|
||||
<div class="modal-body modal-padding">
|
||||
<!-- content dynamically inserted -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
|
||||
@push('scripts')
|
||||
<script>
|
||||
var rating = '{{$currentMovie->getRatingStar()}}';
|
||||
var URL_POST_RATING = '{{ route('movie.rating', ['movie' => $currentMovie->slug]) }}';
|
||||
</script>
|
||||
<script defer type="text/javascript" src="/themes/vung/js/rating.js"></script>
|
||||
<script defer type="text/javascript" src="/themes/vung/js/single.js"></script>
|
||||
|
||||
{!! setting('site_scripts_facebook_sdk') !!}
|
||||
@endpush
|
||||
Reference in New Issue
Block a user