Theme-Cersei/views/picture.ejs

333 lines
18 KiB
Plaintext
Raw Normal View History

2016-08-02 17:13:47 +02:00
<!DOCTYPE html>
2017-10-26 22:10:13 +02:00
<html lang="<%- page.language %>" prefix="og: http://ogp.me/ns# video: http://ogp.me/ns/video# ya: http://webmaster.yandex.ru/vocabularies/">
2016-08-02 17:13:47 +02:00
<head>
<% include includes/head.ejs %>
</head>
<body>
<div class="kapla">
<% include includes/header.ejs %>
<div id="contenedor">
<div class="contenido">
<div class="box">
2016-10-19 03:58:52 +02:00
<% include includes/header2.ejs %>
2016-08-02 17:13:47 +02:00
<div class="box_item">
2017-09-22 00:24:17 +02:00
<% if (typeof slider === 'object' && slider.length) { %>
2016-08-02 17:13:47 +02:00
<div class="slider_box s_home">
<div class="head_slider">
<div class="controles">
<a class="prev btn"><strong class="icon-angle-left"></strong></a>
<a class="play btn"><strong class="icon-playback-play"></strong></a>
<a class="next btn"><strong class="icon-angle-right"></strong></a>
2016-08-02 17:13:47 +02:00
</div>
</div>
<div class="owl-carousel owl-theme slider1">
2017-09-22 00:24:17 +02:00
<% slider.forEach(function (movie) { %>
2016-08-02 17:13:47 +02:00
<div class="item">
<div class="imagens">
<a href="<%- movie.url %>"><img src="<%- movie.poster %>" alt="<%= movie.title %>" title="<%= movie.title %>" style="width: 100%; height: 100%;"></a>
<span class="imdb"><strong class="icon-star"></strong> <%- movie.rating/10 %></span>
2016-08-02 17:13:47 +02:00
</div>
2017-10-15 22:26:49 +02:00
<span class="ttps"><%= movie.title %> (<%- movie.year %>)</span>
2016-08-02 17:13:47 +02:00
<span class="ytps"><%- movie.year %></span>
</div>
<% }); %>
</div>
</div>
<% } %>
2017-09-22 00:24:17 +02:00
<% if (typeof page.adv === 'object' && page.adv.over) { %>
2017-01-10 01:53:58 +01:00
<div style="clear: both;"></div>
2017-01-10 01:34:10 +01:00
<div style="text-align: center; margin: 10px auto">
<%- page.adv.over %>
</div>
2017-01-10 01:53:58 +01:00
<div style="clear: both;"></div>
2017-01-10 01:34:10 +01:00
<% } %>
<div id="player2" style="height:auto;float:inherit">
2016-08-02 17:13:47 +02:00
<%- page.player %>
</div>
<div style="clear: both;"></div>
<div class="player_nav">
<ul>
<li>
<a href="<%- movie.url %>">
<%- page.l.information %>
2016-08-02 17:13:47 +02:00
</a>
</li>
2017-10-09 03:44:00 +02:00
<% if (page.urls.movies.online) { %>
2016-08-02 17:13:47 +02:00
<li>
<a href="<%- movie.url %>/<%- page.urls.movies.online %>">
<%- page.l.online %>
2016-08-02 17:13:47 +02:00
</a>
</li>
2017-10-09 03:44:00 +02:00
<% } %>
<% if (page.urls.movies.download) { %>
2016-08-02 17:13:47 +02:00
<li>
<a href="<%- movie.url %>/<%- page.urls.movies.download %>">
<%- page.l.download %>
2016-08-02 17:13:47 +02:00
</a>
</li>
2017-10-09 03:44:00 +02:00
<% } %>
<% if (page.urls.movies.trailer) { %>
2016-08-02 17:13:47 +02:00
<li>
<a href="<%- movie.url %>/<%- page.urls.movies.trailer %>">
<%- page.l.trailer %>
2016-08-02 17:13:47 +02:00
</a>
</li>
2017-10-09 03:44:00 +02:00
<% } %>
<% if (page.urls.movies.picture) { %>
2016-08-02 17:13:47 +02:00
<li>
<a href="<%- movie.url %>/<%- page.urls.movies.picture %>" class="selected">
<%- page.l.picture %>
2016-08-02 17:13:47 +02:00
</a>
</li>
2017-10-09 03:44:00 +02:00
<% } %>
2016-08-02 17:13:47 +02:00
</ul>
</div>
2017-01-10 01:34:10 +01:00
2017-09-22 00:24:17 +02:00
<% if (typeof page.adv === 'object' && page.adv.under) { %>
2017-01-10 01:53:58 +01:00
<div style="clear: both;"></div>
2017-01-10 01:34:10 +01:00
<div style="text-align: center; margin: 10px auto">
<%- page.adv.under %>
</div>
2017-01-10 01:53:58 +01:00
<div style="clear: both;"></div>
2017-01-10 01:34:10 +01:00
<% } %>
2018-04-22 13:38:43 +02:00
<div class="peliculas">
<div id="single">
<div class="post-ratings">
<div class="s_left">
<div id="uwee" class="sbox">
<div class="imagen">
<div class="fix">
<div class="cinemapress-poster">
2019-10-16 03:38:29 +02:00
<img src="<%- movie.poster %>" alt="<%= page.title %>" title="<%= page.title %>" data-cinemapress-poster="<%- movie.poster %>">
2018-04-22 13:38:43 +02:00
<% if (movie.quality) { %>
<div class="cinemapress-quality">
<span class="cinemapress-svg-quality"></span>
<%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div class="cinemapress-translate">
<span class="cinemapress-svg-translate"></span>
<%- movie.translate %>
</div>
<% } %>
2017-09-22 00:24:17 +02:00
</div>
</div>
2016-08-02 17:13:47 +02:00
</div>
2018-04-22 13:38:43 +02:00
<div class="data">
<h1><%- page.h1 %></h1>
2018-04-22 13:38:43 +02:00
<span class="titulo_o"><%= movie.title_en %>&nbsp;&nbsp;&nbsp;&nbsp;<%- movie.premiere %></span>
<p class="meta">
<% if (movie.year_url) { %>
<span>
<%- movie.year_url %>
</span>
<% } %>
&nbsp;
<% if (movie.genres_url) { %>
<i class="limpiar">
<%- movie.genres_url %>
</i>
<% } %>
</p>
<div class="imdb_r">
<div class="a">
<span><%- movie.imdb_rating/10 %></span>
</div>
<div class="b">
<div class="bar">
<span style="width: <%- movie.imdb_rating %>%"></span>
</div>
<span class="dato">
<%- page.l.imdb %>: <strong><%- movie.imdb_rating/10 %>/10</strong> <strong><%- movie.imdb_vote %> <%- page.l.votes %></strong>
2018-04-22 13:38:43 +02:00
</span>
2016-08-02 17:13:47 +02:00
</div>
</div>
2018-04-22 13:38:43 +02:00
<div class="kp_r">
<div class="a">
<span><%- movie.kp_rating/10 %></span>
</div>
<div class="b">
<div class="bar">
<span style="width: <%- movie.kp_rating %>%"></span>
</div>
<span class="dato">
<%- page.l.kp %>: <strong><%- movie.kp_rating/10 %>/10</strong> <strong><%- movie.kp_vote %> <%- page.l.votes %></strong>
2018-04-22 13:38:43 +02:00
</span>
2016-08-02 17:13:47 +02:00
</div>
</div>
2018-04-22 13:38:43 +02:00
<% if (movie.directors_url) { %>
<p class="meta_dd">
<strong class="icon-megaphone"></strong>
2018-04-22 13:38:43 +02:00
<%- movie.directors_url %>
</p>
<% } %>
<% if (movie.actors_url) { %>
<p class="meta_dd limpiar">
<strong class="icon-male"></strong>
2018-04-22 13:38:43 +02:00
<%- movie.actors_url %>
</p>
<% } %>
<% if (movie.countries_url) { %>
<p class="meta_dd">
<strong class="icon-flag"></strong>
2018-04-22 13:38:43 +02:00
<%- movie.countries_url %>
</p>
<% } %>
2019-12-02 04:35:24 +01:00
<% if (movie.tags_url) { %>
<p class="meta_dd">
<strong class="icon-attachment"></strong>
<%- movie.tags_url %>
</p>
<% } %>
2016-08-02 17:13:47 +02:00
</div>
2018-04-22 13:38:43 +02:00
</div>
2016-08-02 17:13:47 +02:00
2018-04-22 13:38:43 +02:00
<% if (movie.description) { %>
<div class="sbox">
<div class="entry-content">
<h3><%- page.l.storyline %></h3>
2018-04-22 13:38:43 +02:00
<%- movie.description %>
2017-09-22 00:24:17 +02:00
</div>
</div>
2018-04-22 13:38:43 +02:00
<% } %>
<% if (typeof contents === 'object' && contents.length) { %>
<div style="clear: both"></div>
<div class="sbox">
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
2019-12-02 04:35:24 +01:00
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
2018-04-22 13:38:43 +02:00
<div class="cinemapress-news-title">
<%= content.title %>
</div>
</a>
</div>
</div>
<% }); %>
</div>
<div style="clear: both"></div>
<% } %>
2016-10-21 03:09:35 +02:00
2018-04-22 13:38:43 +02:00
<% if (page.seo) { %>
<div class="sbox">
<div class="entry-content">
<%- page.seo %>
</div>
2016-10-21 03:09:35 +02:00
</div>
2018-04-22 13:38:43 +02:00
<% } %>
2016-10-21 03:09:35 +02:00
2018-04-22 13:38:43 +02:00
<div class="sbox episodesListBlock" style="display: none;">
<div class="entry-content">
<h3><%= movie.title %> <%- page.l.episodes %></h3>
2018-04-22 13:38:43 +02:00
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
</div>
2016-10-19 03:58:52 +02:00
</div>
2018-04-22 13:38:43 +02:00
<% if (page.comments) { %>
2016-08-02 17:13:47 +02:00
2018-04-22 13:38:43 +02:00
<div class="comentarios">
<div id="comments" class="themeform">
<%- page.comments %>
</div>
2016-08-02 17:13:47 +02:00
</div>
2018-04-22 13:38:43 +02:00
<% } %>
<% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
2016-08-02 17:13:47 +02:00
2018-04-22 13:38:43 +02:00
<% if (movies[type].length) { %>
2016-08-02 17:13:47 +02:00
2018-04-22 13:38:43 +02:00
<div class="sbox">
<div class="entry-content">
2016-08-02 17:13:47 +02:00
2018-04-22 13:38:43 +02:00
<% movies[type].forEach(function (category) { %>
2016-08-02 17:13:47 +02:00
2018-04-22 13:38:43 +02:00
<div class="slider_box" style="margin-bottom: 25px;">
<div class="head_slider">
2019-10-02 00:46:13 +02:00
<h3>
<%- category.name %>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
2019-12-03 02:10:02 +01:00
onclick="window.location.href='<%- (category.url && category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
2019-10-02 00:46:13 +02:00
title="<%- page.l.random %>">
2019-12-02 04:35:24 +01:00
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
2019-10-02 00:46:13 +02:00
</div>
</div>
</h3>
2018-04-22 13:38:43 +02:00
<div class="controles">
<a class="prev2 btn">
<strong class="icon-angle-left"></strong>
2018-04-22 13:38:43 +02:00
</a>
<a class="next2 btn">
<strong class="icon-angle-right"></strong>
2018-04-22 13:38:43 +02:00
</a>
</div>
2016-08-02 17:13:47 +02:00
</div>
2018-04-22 13:38:43 +02:00
<div class="owl-carousel owl-theme slider2">
2016-08-02 17:13:47 +02:00
2018-04-22 13:38:43 +02:00
<% if (category.movies.length) { %>
2016-08-02 17:13:47 +02:00
2018-04-22 13:38:43 +02:00
<% category.movies.forEach(function (movie) { %>
2016-08-02 17:13:47 +02:00
2018-04-22 13:38:43 +02:00
<div class="item">
<div class="imagens">
<a href="<%- movie.url %>">
<img src="<%- movie.poster %>" alt="<%= movie.title %>" title="<%= movie.title %>" style="width: 100%; height: 100%;">
2018-04-22 13:38:43 +02:00
</a>
<span class="imdb"><strong class="icon-star"></strong> <%- movie.rating/10 %></span>
2018-04-22 13:38:43 +02:00
</div>
<span class="ttps" title="<%= movie.title %> (<%- movie.year %>)"><%= movie.title %></span>
<span class="ytps"><%- movie.year %></span>
2016-08-02 17:13:47 +02:00
</div>
2018-04-22 13:38:43 +02:00
<% }); %>
2016-08-02 17:13:47 +02:00
2018-04-22 13:38:43 +02:00
<% } %>
2016-08-02 17:13:47 +02:00
2018-04-22 13:38:43 +02:00
</div>
2016-08-02 17:13:47 +02:00
</div>
2018-04-22 13:38:43 +02:00
<% }); %>
2016-08-02 17:13:47 +02:00
2018-04-22 13:38:43 +02:00
</div>
2016-08-02 17:13:47 +02:00
</div>
2018-04-22 13:38:43 +02:00
<% } %>
2016-08-02 17:13:47 +02:00
2018-04-22 13:38:43 +02:00
<% } } } %>
2016-08-02 17:13:47 +02:00
2018-04-22 13:38:43 +02:00
</div>
2016-08-02 17:13:47 +02:00
</div>
</div>
2018-04-22 13:38:43 +02:00
2016-08-02 17:13:47 +02:00
</div>
2018-04-22 13:38:43 +02:00
<% include includes/right.ejs %>
2016-08-02 17:13:47 +02:00
</div>
</div>
2018-04-22 13:38:43 +02:00
<% include includes/footer.ejs %>
2016-08-02 17:13:47 +02:00
</div>
</div>
</div>
</body>
</html>