2016-08-02 17:13:47 +02:00
|
|
|
<!DOCTYPE html>
|
2017-10-26 22:10:13 +02:00
|
|
|
<html lang="<%- page.language %>">
|
2016-08-02 17:13:47 +02:00
|
|
|
<head>
|
|
|
|
|
2020-01-06 23:13:30 +01:00
|
|
|
<%- include('includes/head.ejs'); -%>
|
2016-08-02 17:13:47 +02:00
|
|
|
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="kapla">
|
|
|
|
|
2020-01-06 23:13:30 +01:00
|
|
|
<%- include('includes/header.ejs'); -%>
|
2016-08-02 17:13:47 +02:00
|
|
|
|
|
|
|
<div id="contenedor">
|
|
|
|
<div class="contenido">
|
2016-10-19 03:58:52 +02:00
|
|
|
|
2016-08-02 17:13:47 +02:00
|
|
|
<div class="box">
|
2016-10-19 03:58:52 +02:00
|
|
|
|
2020-01-06 23:13:30 +01:00
|
|
|
<%- include('includes/header2.ejs'); -%>
|
2016-10-19 03:58:52 +02:00
|
|
|
|
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
|
|
|
|
2020-01-06 23:13:30 +01: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>
|
|
|
|
</div>
|
2016-08-02 17:13:47 +02:00
|
|
|
</div>
|
2020-01-06 23:13:30 +01:00
|
|
|
<div class="owl-carousel owl-theme slider1">
|
2016-08-02 17:13:47 +02:00
|
|
|
|
2020-01-06 23:13:30 +01:00
|
|
|
<% slider.forEach(function (movie) { %>
|
2016-08-02 17:13:47 +02:00
|
|
|
|
2020-01-06 23:13:30 +01:00
|
|
|
<div class="item">
|
|
|
|
<div class="imagens">
|
2021-01-04 00:52:48 +01:00
|
|
|
<a href="<%- movie.url %>"><img src="<%- movie.poster_min %>" class="lazy" data-src="<%- movie.poster %>"
|
2020-03-13 02:10:36 +01:00
|
|
|
alt="<%= movie.title %>"
|
|
|
|
title="<%= movie.title %>"
|
|
|
|
style="width: 100%; height: 100%;"></a>
|
|
|
|
<span class="imdb"><strong
|
|
|
|
class="icon-star"></strong> <%- movie.rating / 10 %></span>
|
2020-01-06 23:13:30 +01:00
|
|
|
</div>
|
2020-03-13 02:10:36 +01:00
|
|
|
<span class="ttps"
|
|
|
|
title="<%= movie.title %> (<%- movie.year %>)"><%= movie.title %></span>
|
2020-01-06 23:13:30 +01:00
|
|
|
<span class="ytps"><%- movie.year %></span>
|
|
|
|
</div>
|
2016-08-02 17:13:47 +02:00
|
|
|
|
2020-01-06 23:13:30 +01:00
|
|
|
<% }); %>
|
2016-08-02 17:13:47 +02:00
|
|
|
|
2020-01-06 23:13:30 +01:00
|
|
|
</div>
|
2016-08-02 17:13:47 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<% } %>
|
|
|
|
|
|
|
|
<div class="peliculas">
|
|
|
|
|
2018-10-21 02:44:04 +02:00
|
|
|
<h1><%- page.h1 %></h1>
|
2016-08-02 17:13:47 +02:00
|
|
|
|
2016-10-21 03:09:35 +02:00
|
|
|
<% if (page.seo) { %>
|
2020-01-06 23:13:30 +01:00
|
|
|
<div class="seo" style="border-bottom: 0; margin: auto 10px 20px auto; text-align: justify">
|
|
|
|
<%- page.seo %>
|
|
|
|
</div>
|
2016-10-21 03:09:35 +02:00
|
|
|
<% } %>
|
|
|
|
|
2017-09-22 00:24:17 +02:00
|
|
|
<% if (typeof index === 'object') {
|
2020-01-06 23:13:30 +01:00
|
|
|
for (var type in index) {
|
|
|
|
if (index.hasOwnProperty(type) && index[type].length) {
|
|
|
|
index[type].forEach(function (category) { %>
|
|
|
|
|
2020-05-05 21:02:32 +02:00
|
|
|
<% if (typeof category === 'object' && category.movies && category.movies.length) { %>
|
2020-01-06 23:13:30 +01:00
|
|
|
|
|
|
|
<h2>
|
|
|
|
<%- category.name %>
|
|
|
|
<div class="randomMovieIndex">
|
2020-03-13 02:10:36 +01:00
|
|
|
<div <% if (!category.url) { %>style="display:none"
|
|
|
|
<% } %>
|
|
|
|
class="cinemapress-random-index"
|
|
|
|
onclick="window.location.href='<%- (category.url && category.url.indexOf('?') + 1 ? category.url + '&random=' : category.url + '?random=') %><%- Math.random() %>'"
|
2020-01-06 23:13:30 +01:00
|
|
|
title="<%= page.l.random %>">
|
2020-03-13 02:10:36 +01:00
|
|
|
<img src="/themes/<%- page.theme %>/public/images/dice.svg"
|
|
|
|
alt="<%= page.l.random %>">
|
2020-01-06 23:13:30 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</h2>
|
|
|
|
|
2020-03-13 02:10:36 +01:00
|
|
|
<% category.movies.forEach(function (movie) { if (movie.hide) {
|
|
|
|
return;
|
|
|
|
} %>
|
|
|
|
|
|
|
|
<div class="items">
|
|
|
|
<div class="item">
|
|
|
|
<a href="<%- movie.url %>">
|
|
|
|
<div class="image">
|
2021-01-04 00:52:48 +01:00
|
|
|
<img src="<%- movie.poster_min %>" class="lazy" data-src="<%- movie.poster %>" alt="<%= movie.title %>"
|
2020-03-13 02:10:36 +01:00
|
|
|
title="<%= movie.title %>" style="width: 100%; height: 100%;">
|
|
|
|
<span class="player"></span>
|
|
|
|
<span class="imdb"><strong
|
|
|
|
class="icon-star"></strong> <%- movie.rating / 10 %></span>
|
2020-01-06 23:13:30 +01:00
|
|
|
</div>
|
2020-03-13 02:10:36 +01:00
|
|
|
</a>
|
|
|
|
<div class="fixyear">
|
2020-03-16 05:01:40 +01:00
|
|
|
<h3><%= movie.title %> (<% if (movie.season && movie.episode) { %><% if (movie.translate) { %><%- movie.translate %><% } %><% } else { %><%- movie.year %><% } %>)</h3>
|
|
|
|
<span class="year"><% if (movie.season && movie.episode) { %><%- movie.season %> <%- page.l.season %> <%- movie.episode %> <%- page.l.episode %><% } else { %><%- movie.genre %><% } %></span>
|
2020-01-06 23:13:30 +01:00
|
|
|
</div>
|
2020-03-13 02:10:36 +01:00
|
|
|
<% if (movie.quality) { %>
|
|
|
|
<span class="calidad2"><%- movie.quality %></span>
|
|
|
|
<% } %>
|
2016-08-02 17:13:47 +02:00
|
|
|
</div>
|
2020-03-13 02:10:36 +01:00
|
|
|
</div>
|
2016-08-02 17:13:47 +02:00
|
|
|
|
2017-09-22 00:24:17 +02:00
|
|
|
<% }); } }); } } } %>
|
2016-08-02 17:13:47 +02:00
|
|
|
|
2017-01-30 20:57:40 +01:00
|
|
|
<div style="clear: both;"></div>
|
|
|
|
|
2017-09-22 00:24:17 +02:00
|
|
|
<% if (typeof page.pagination === 'object') { %>
|
2020-01-06 23:13:30 +01:00
|
|
|
<div class="pagination">
|
|
|
|
<% if (page.pagination.first) { %>
|
2020-03-13 02:10:36 +01:00
|
|
|
<a href="<%- page.pagination.first.link %>"
|
|
|
|
rel="nofollow"><%- page.pagination.first.number %></a>
|
2020-01-06 23:13:30 +01:00
|
|
|
<span class="nav_ext">...</span>
|
|
|
|
<% } %>
|
|
|
|
<% if (page.pagination.prev.length) { %>
|
|
|
|
<% page.pagination.prev.forEach(function (prev) { %>
|
|
|
|
<a href="<%- prev.link %>" rel="nofollow"><%- prev.number %></a>
|
|
|
|
<% }); %>
|
|
|
|
<span class="nav_ext">...</span>
|
|
|
|
<% } %>
|
|
|
|
<span><%- page.pagination.current %></span>
|
|
|
|
<% if (page.pagination.next.length) { %>
|
|
|
|
<span class="nav_ext">...</span>
|
|
|
|
<% page.pagination.next.forEach(function (next) { %>
|
|
|
|
<a href="<%- next.link %>" rel="nofollow"><%- next.number %></a>
|
|
|
|
<% }); %>
|
|
|
|
<% } %>
|
|
|
|
<% if (page.pagination.last) { %>
|
|
|
|
<span class="nav_ext">...</span>
|
2020-03-13 02:10:36 +01:00
|
|
|
<a href="<%- page.pagination.last.link %>"
|
|
|
|
rel="nofollow"><%- page.pagination.last.number %></a>
|
2020-01-06 23:13:30 +01:00
|
|
|
<% } %>
|
|
|
|
</div>
|
2017-09-22 00:24:17 +02:00
|
|
|
<% } %>
|
2017-01-30 20:57:40 +01:00
|
|
|
|
2016-08-02 17:13:47 +02:00
|
|
|
</div>
|
|
|
|
|
2020-01-06 23:13:30 +01:00
|
|
|
<%- include('includes/right.ejs'); -%>
|
2016-08-02 17:13:47 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-01-06 23:13:30 +01:00
|
|
|
<%- include('includes/footer.ejs'); -%>
|
2016-08-02 17:13:47 +02:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|