Changed style

This commit is contained in:
zeldaroot 2020-03-13 03:29:46 +02:00
parent 1a65ebd2e0
commit 8da098549f
13 changed files with 1084 additions and 442 deletions

View File

@ -36,12 +36,15 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50"
alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<a class="author"
href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<span class="explain">
<span class="wall_fixed_label">&nbsp;</span>
</span>
@ -57,11 +60,16 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% slider.forEach(function (movie, i) { if (i > 9) {return;} %>
<% slider.forEach(function (movie, i) { if (i > 9) {
return;
} %>
<a href="<%- movie.url %>" style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<a href="<%- movie.url %>"
style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<% }); %>
@ -116,13 +124,16 @@
<div class="_post_content">
<div class="post_content">
<div class="module clear album_module _module">
<div class="module_body clear_fix" style="text-align: center;">
<div class="module_body clear_fix"
style="text-align: center;">
<% categories.forEach(function (content) { %>
<div style="float:left;width:50%;">
<div style="margin:10px;padding:0;position:relative">
<div class="cinemapress-categories" style="background-image:url('<%- content.image %>');"></div>
<a href="<%- content.url %>" class="cinemapress-categories-title"><%= content.title %></a>
<div class="cinemapress-categories"
style="background-image:url('<%- content.image %>');"></div>
<a href="<%- content.url %>"
class="cinemapress-categories-title"><%= content.title %></a>
</div>
</div>
<% }); %>

View File

@ -35,12 +35,15 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50"
alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<a class="author"
href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<span class="explain">
<span class="wall_fixed_label">&nbsp;</span>
</span>
@ -56,9 +59,14 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<% slider.forEach(function (movie, i) {if (i > 9) {return;} %>
<a href="<%- movie.url %>" style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% slider.forEach(function (movie, i) {if (i > 9) {
return;
} %>
<a href="<%- movie.url %>"
style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<% }); %>
</div>
</div>
@ -87,10 +95,14 @@
<% } %>
<div class="cinemapress-content-publish">
<% if (content.tags) { %>
<span class="cinemapress-content-publish-tags"><img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDU1LjI1IDU1LjI1IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1NS4yNSA1NS4yNTsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPgo8Zz4KCTxwYXRoIGQ9Ik0wLjUyMyw1MS45MzNsLTAuNDk3LDIuMDg1Yy0wLjAxNiwwLjA2Ny0wLjAyLDAuMTM1LTAuMDIyLDAuMjAyQzAuMDA0LDU0LjIzNCwwLDU0LjI0NiwwLDU0LjI1OSAgIGMwLjAwMSwwLjExNCwwLjAyNiwwLjIyNSwwLjA2NSwwLjMzMmMwLjAwOSwwLjAyNSwwLjAxOSwwLjA0NywwLjAzLDAuMDcxYzAuMDQ5LDAuMTA3LDAuMTEsMC4yMSwwLjE5NiwwLjI5NiAg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zOTVsLTQuNzczLDAuNTNsMC41My00Ljc3M2wyMi4zOC0yMi4zNzggICBjMC4zOTEtMC4zOTEsMC4zOTEtMS4wMjMsMC0xLjQxNHMtMS4wMjMtMC4zOTEtMS40MTQsMEwxMC40NCwzNy43MzhsLTMuMTgzLDAuMzU0TDM0Ljk0LDEwLjQwOWw5LjksOS45TDE3LjE1Nyw0Ny45OTJ6ICAgIE00Ni4yNTQsMTguODk1bC05LjktOS45bDEuNDE0LTEuNDE0bDkuOSw5LjlMNDYuMjU0LDE4Ljg5NXogTTQ5LjA4MiwxNi4wNjdsLTkuOS05LjlsMS40MTUtMS40MTVsOS45LDkuOUw0OS4wODIsMTYuMDY3eiIgZmlsbD0iI0ZGRkZGRiIvPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=" style="width: 10px;"> <%- content.tags %></span>
<span class="cinemapress-content-publish-tags"><img
src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDU1LjI1IDU1LjI1IiBzdHlsZT0iZ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AuMzkxLTAuMzkxLDEuMDIzLTAuMzkxLDEuNDE0LDBTNDYuNjU0LDE0LjYzOSw0Ni4yNjMsMTUuMDI5eiBNNTIsMzAuODc5aC0xYy0wLjU1MiwwLTEtMC40NDctMS0xczAuNDQ4LTEsMS0xaDEgICBjMC41NTIsMCwxLDAuNDQ3LDEsMVM1Mi41NTIsMzAuODc5LDUyLDMwLjg3OXoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K"
style="width: 10px;"> <%- content.publish %></span>
<% } %>
</div>
</div>
@ -107,8 +119,9 @@
<div class="randomMovieCategory">
<div class="cinemapress-random-category"
onclick="window.location.href='<%- (page.url.indexOf('?')+1 ? page.url + '&random=' : page.url + '?random=') %><%- Math.random() %>'">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%= page.l.random %>">
onclick="window.location.href='<%- (page.url.indexOf('?') + 1 ? page.url + '&random=' : page.url + '?random=') %><%- Math.random() %>'">
<img src="/themes/<%- page.theme %>/public/images/dice.svg"
alt="<%= page.l.random %>">
<span><%- page.l.lucky %></span>
<small><%- page.l.random %></small>
</div>
@ -132,12 +145,14 @@
<div class="_post_content">
<div class="post_header">
<a href="<%- movie.url %>" class="post_image">
<img src="<%- movie.poster_min %>" class="post_img" height="50" width="50" alt="<%= movie.title %>">
<img src="<%- movie.poster_min %>" class="post_img"
height="50" width="50" alt="<%= movie.title %>">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="<%- movie.url %>"><%= movie.title %></a>
<a class="author"
href="<%- movie.url %>"><%= movie.title %></a>
</h5>
<% if (movie.premiere) { %>
<div class="post_date">
@ -154,12 +169,16 @@
<% if (movie.kp_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.kp %>: <%- movie.kp_rating/10 %> <span style="color: #999">(<%- movie.kp_vote %>)</span>
<%- page.l.rating %> <%- page.l.kp %>
: <%- movie.kp_rating / 10 %> <span
style="color: #999">(<%- movie.kp_vote %>)</span>
</div>
<% } %>
<% if (movie.imdb_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.imdb %>: <%- movie.imdb_rating/10 %> <span style="color: #999">(<%- movie.imdb_vote %>)</span>
<%- page.l.rating %> <%- page.l.imdb %>
: <%- movie.imdb_rating / 10 %>
<span style="color: #999">(<%- movie.imdb_vote %>)</span>
</div>
<% } %>
@ -167,31 +186,36 @@
<% if (movie.quality) { %>
<div>
<%- page.l.quality %>: <%- movie.quality %>
<%- page.l.quality %>
: <%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div>
<%- page.l.translate %>: <%- movie.translate %>
<%- page.l.translate %>
: <%- movie.translate %>
</div>
<br>
<% } %>
<% if (movie.year) { %>
<div>
<%- page.l.year %>: <%- movie.year %>
<%- page.l.year %>
: <%- movie.year %>
</div>
<% } %>
<% if (movie.countries) { %>
<div>
<%- page.l.countries %>: <%- movie.countries %>
<%- page.l.countries %>
: <%- movie.countries %>
</div>
<% } %>
<% if (movie.genres) { %>
<div>
<%- page.l.genres %>: <%- movie.genres %>
<%- page.l.genres %>
: <%- movie.genres %>
</div>
<% } %>
@ -204,12 +228,21 @@
<% } %>
</div>
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<a href="<%- movie.url %>" style="width: 245px; height: 350px; background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover page_post_thumb_last_row fl_l"></a>
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<a href="<%- movie.url %>"
style="width: 245px; height: 350px; background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover page_post_thumb_last_row fl_l"></a>
<% var trlr = (page.urls.movies.trailer) ? movie.url + '/' + page.urls.movies.trailer : movie.url; %>
<a href="<%- trlr %>" style="width: 260px; height: 172px; background-image: url('<% if (movie.pictures[0]) { %><%- movie.pictures[0].picture_min %><% } else { %>/themes/default/public/desktop/img/player.png<% } %>')" class="page_post_thumb_wrap image_cover page_post_thumb_video page_post_thumb_last_column fl_l"><span class="page_post_video_duration">2:<%- (movie.title.length + 9 >= 60) ? '37' : movie.title.length + 9; %></span></a>
<a href="<%- trlr %>"
style="width: 260px; height: 172px; background-image: url('<% if (movie.pictures[0]) { %><%- movie.pictures[0].picture_min %><% } else { %>/themes/default/public/desktop/img/player.png<% } %>')"
class="page_post_thumb_wrap image_cover page_post_thumb_video page_post_thumb_last_column fl_l"><span
class="page_post_video_duration">2:<%- (movie.title.length + 9 >= 60) ? '37' : movie.title.length + 9; %></span></a>
<% var onln = (page.urls.movies.online) ? movie.url + '/' + page.urls.movies.online : movie.url; %>
<a href="<%- onln %>" style="width: 260px; height: 172px; background-image: url('<% if (movie.pictures[1]) { %><%- movie.pictures[1].picture_min %><% } else { %>/themes/default/public/desktop/img/player.png<% } %>')" class="page_post_thumb_wrap image_cover page_post_thumb_video page_post_thumb_last_column page_post_thumb_last_row fl_l"><span class="page_post_video_duration"><%- (movie.title.length + 10 >= 60) ? '2' : '1'; %>:<%- (movie.title.length + 20 >= 60) ? '28' : movie.title.length + 20; %>:<%- (movie.title_en.length + 10 >= 60) ? '08' : movie.title_en.length + 10; %></span></a>
<a href="<%- onln %>"
style="width: 260px; height: 172px; background-image: url('<% if (movie.pictures[1]) { %><%- movie.pictures[1].picture_min %><% } else { %>/themes/default/public/desktop/img/player.png<% } %>')"
class="page_post_thumb_wrap image_cover page_post_thumb_video page_post_thumb_last_column page_post_thumb_last_row fl_l"><span
class="page_post_video_duration"><%- (movie.title.length + 10 >= 60) ? '2' : '1'; %>:<%- (movie.title.length + 20 >= 60) ? '28' : movie.title.length + 20; %>:<%- (movie.title_en.length + 10 >= 60) ? '08' : movie.title_en.length + 10; %></span></a>
</div>
</div>
</div>
@ -227,25 +260,34 @@
<div class="page_block">
<div style="margin: auto; text-align: center; padding: 10px">
<% if (page.pagination.first) { %>
<a href="<%- page.pagination.first.link %>" class="flat_button" rel="nofollow"><%- page.pagination.first.number %></a>
<span class="flat_button" style="color: #000; background: #fff">...</span>
<a href="<%- page.pagination.first.link %>" class="flat_button"
rel="nofollow"><%- page.pagination.first.number %></a>
<span class="flat_button"
style="color: #000; background: #fff">...</span>
<% } %>
<% if (page.pagination.prev.length) { %>
<% page.pagination.prev.forEach(function (prev) { %>
<a href="<%- prev.link %>" class="flat_button" rel="nofollow"><%- prev.number %></a>
<a href="<%- prev.link %>" class="flat_button"
rel="nofollow"><%- prev.number %></a>
<% }); %>
<span class="flat_button" style="color: #000; background: #fff">...</span>
<span class="flat_button"
style="color: #000; background: #fff">...</span>
<% } %>
<span class="flat_button" style="color: #000; background: #fff"><%- page.pagination.current %></span>
<span class="flat_button"
style="color: #000; background: #fff"><%- page.pagination.current %></span>
<% if (page.pagination.next.length) { %>
<span class="flat_button" style="color: #000; background: #fff">...</span>
<span class="flat_button"
style="color: #000; background: #fff">...</span>
<% page.pagination.next.forEach(function (next) { %>
<a href="<%- next.link %>" class="flat_button" rel="nofollow"><%- next.number %></a>
<a href="<%- next.link %>" class="flat_button"
rel="nofollow"><%- next.number %></a>
<% }); %>
<% } %>
<% if (page.pagination.last) { %>
<span class="flat_button" style="color: #000; background: #fff">...</span>
<a href="<%- page.pagination.last.link %>" class="flat_button" rel="nofollow"><%- page.pagination.last.number %></a>
<span class="flat_button"
style="color: #000; background: #fff">...</span>
<a href="<%- page.pagination.last.link %>" class="flat_button"
rel="nofollow"><%- page.pagination.last.number %></a>
<% } %>
</div>
</div>
@ -265,31 +307,46 @@
</h3>
<% if (comments.config.star_rating) { %>
<div class="cinemapress-comment-star">
<div class="cinemapress-comment-star-down" data-comment-star="1"></div>
<div class="cinemapress-comment-star-award" data-comment-star="3"></div>
<div class="cinemapress-comment-star-up" data-comment-star="2"></div>
<div class="cinemapress-comment-star-down"
data-comment-star="1"></div>
<div class="cinemapress-comment-star-award"
data-comment-star="3"></div>
<div class="cinemapress-comment-star-up"
data-comment-star="2"></div>
</div>
<% } %>
<div class="cinemapress-comment-form">
<% if (comments.config.bb_codes) { %>
<div class="cinemapress-comment-form-bb">
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-b" data-bb-code="b"><%- page.l.bold.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-i" data-bb-code="i"><%- page.l.italic.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-spoiler" data-bb-code="spoiler">👻 <%- page.l.spoiler.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-search" data-bb-code="search">🔍 <%- page.l.search.toLowerCase() %></span>
<input class="cinemapress-comment-bg cinemapress-comment-form-anonymous" name="comment_anonymous" type="text" placeholder="<%- page.l.username %>">
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-b"
data-bb-code="b"><%- page.l.bold.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-i"
data-bb-code="i"><%- page.l.italic.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-spoiler"
data-bb-code="spoiler">👻 <%- page.l.spoiler.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-search"
data-bb-code="search">🔍 <%- page.l.search.toLowerCase() %></span>
<input class="cinemapress-comment-bg cinemapress-comment-form-anonymous"
name="comment_anonymous" type="text"
placeholder="<%- page.l.username %>">
</div>
<% } %>
<div>
<div class="cinemapress-comment-textarea-div">
<textarea name="comment_text" class="cinemapress-comment-bg cinemapress-comment-textarea" placeholder="<%- page.l.comment %>" autocomplete="off" autocapitalize="off" spellcheck="false"></textarea>
<textarea name="comment_text"
class="cinemapress-comment-bg cinemapress-comment-textarea"
placeholder="<%- page.l.comment %>"
autocomplete="off" autocapitalize="off"
spellcheck="false"></textarea>
<div class="cinemapress-comment-form-bg"></div>
<div class="cinemapress-comment-button-bg hover-off" data-comment-type="submit">
<div class="cinemapress-comment-button-bg hover-off"
data-comment-type="submit">
<span class="cinemapress-comment-button-text"></span>
</div>
</div>
<% if (comments.config.question) { %>
<div class="cinemapress-comment-bg cinemapress-comment-question" style="display: none">
<div class="cinemapress-comment-bg cinemapress-comment-question"
style="display: none">
<div class="cinemapress-comment-question-text"><%- comments.config.question %></div>
<div class="cinemapress-comment-question-answer">
<% if (comments.config.question_yes) { %>
@ -300,23 +357,33 @@
<% } %>
</div>
<% if (comments.config.question_yes) { %>
<div class="cinemapress-comment-question-text-yes" style="display: none">
<div class="cinemapress-comment-question-text-yes"
style="display: none">
<%- comments.config.question_yes %>
</div>
<% } %>
<% if (comments.config.question_not) { %>
<div class="cinemapress-comment-question-text-not" style="display: none">
<div class="cinemapress-comment-question-text-not"
style="display: none">
<%- comments.config.question_not %>
</div>
<% } %>
<div class="cinemapress-comment-question-bg"></div>
<% if (comments.config.question_poster) { %>
<div class="cinemapress-comment-question-bg-poster" style="background-image:url('<%- comments.config.question_poster %>')"></div>
<div class="cinemapress-comment-question-bg-poster"
style="background-image:url('<%- comments.config.question_poster %>')"></div>
<% } %>
</div>
<% } %>
</div>
<div style="font-size:8px;text-align:right;opacity:.2">This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy" style="font-size:8px" target="_blank">Privacy Policy</a> and <a href="https://policies.google.com/terms" style="font-size:8px" target="_blank">Terms of Service</a> apply.</div>
<div style="font-size:8px;text-align:right;opacity:.2">This site is
protected by reCAPTCHA and the Google <a
href="https://policies.google.com/privacy"
style="font-size:8px" target="_blank">Privacy Policy</a>
and <a href="https://policies.google.com/terms"
style="font-size:8px" target="_blank">Terms of
Service</a> apply.
</div>
</div>
<%- comments.indexer ? comments.indexer : '' %>
<% if (comments.list && comments.list.length) { %>
@ -324,7 +391,8 @@
<div class="cinemapress-comment" id="c<%- comment.id %>">
<div class="cinemapress-comment-head">
<div class="cinemapress-comment-head-avatar">
<img src="<%- comment.avatar %>" alt="<%= comment.user %>">
<img src="<%- comment.avatar %>"
alt="<%= comment.user %>">
</div>
<% if (comments.config.star_rating) { %>
<% if (comment.star === 1) { %>
@ -343,26 +411,39 @@
<% } %>
<div class="cinemapress-comment-head-meta">
<div class="cinemapress-comment-head-meta-vote">
<span class="cinemapress-comment-like" data-comment-type="like" data-comment-id="<%- comment.id %>" title="<%= page.l.like %>">
<span class="cinemapress-comment-like" data-comment-type="like"
data-comment-id="<%- comment.id %>"
title="<%= page.l.like %>">
<span class="cinemapress-comment-like-icon"></span>
<span class="cinemapress-comment-like-number"><%- comment.like %></span>
</span>
<span class="cinemapress-comment-dislike" data-comment-type="dislike" data-comment-id="<%- comment.id %>" title="<%= page.l.dislike %>">
<span class="cinemapress-comment-dislike"
data-comment-type="dislike"
data-comment-id="<%- comment.id %>"
title="<%= page.l.dislike %>">
<span class="cinemapress-comment-dislike-number"><%- comment.dislike %></span>
<span class="cinemapress-comment-dislike-icon"></span>
</span>
<span class="cinemapress-comment-reply" data-reply-id="<%- comment.id %>" data-bb-code="b" data-bb-value="<%- comment.user %>" title="<%= page.l.reply %>">
<span class="cinemapress-comment-reply"
data-reply-id="<%- comment.id %>"
data-bb-code="b"
data-bb-value="<%- comment.user %>"
title="<%= page.l.reply %>">
<span class="cinemapress-comment-reply-icon"></span>
</span>
</div>
<div class="cinemapress-comment-user" data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user"
data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user-name">
<%- comment.user %>
</div><div class="cinemapress-comment-user-said">
</div>
<div class="cinemapress-comment-user-said">
<%- page.l.said %>
</div><div class="cinemapress-comment-user-date">
</div>
<div class="cinemapress-comment-user-date">
<%- comment.date %>
</div><div class="cinemapress-comment-user-link">
</div>
<div class="cinemapress-comment-user-link">
<a href="<%- comment.url %>#c<%- comment.id %>">#</a>
</div>
</div>
@ -385,10 +466,12 @@
<% } %>
<div class="cinemapress-comment-arrow">
<% if (comments && comments.prev) { %>
<div class="cinemapress-prev-comments" onclick="window.location.href='?page=<%- comments.prev %>#cinemapress-comments'"></div>
<div class="cinemapress-prev-comments"
onclick="window.location.href='?page=<%- comments.prev %>#cinemapress-comments'"></div>
<% } %>
<% if (comments && comments.next) { %>
<div class="cinemapress-next-comments" onclick="window.location.href='?page=<%- comments.next %>#cinemapress-comments'"></div>
<div class="cinemapress-next-comments"
onclick="window.location.href='?page=<%- comments.next %>#cinemapress-comments'"></div>
<% } %>
</div>
</div>

View File

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="<%- page.language %>" prefix="og: http://ogp.me/ns# video: http://ogp.me/ns/video# ya: http://webmaster.yandex.ru/vocabularies/">
<html lang="<%- page.language %>"
prefix="og: http://ogp.me/ns# video: http://ogp.me/ns/video# ya: http://webmaster.yandex.ru/vocabularies/">
<head>
<%- include('includes/head.ejs'); -%>
@ -36,12 +37,15 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50"
alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<a class="author"
href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<span class="explain">
<span class="wall_fixed_label">&nbsp;</span>
</span>
@ -57,11 +61,16 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% slider.forEach(function (movie, i) { if (i > 9) {return;} %>
<% slider.forEach(function (movie, i) { if (i > 9) {
return;
} %>
<a href="<%- movie.url %>" style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<a href="<%- movie.url %>"
style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<% }); %>
@ -95,12 +104,14 @@
<div class="_post_content">
<div class="post_header">
<a href="<%- movie.url %>" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50" alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="<%- movie.url %>"><%= movie.title %></a>
<a class="author"
href="<%- movie.url %>"><%= movie.title %></a>
</h5>
<% if (movie.premiere) { %>
<div class="post_date">
@ -117,13 +128,17 @@
<% if (movie.kp_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.kp %>: <%- movie.kp_rating/10 %> <span style="color: #999">(<%- movie.kp_vote %>)</span>
<%- page.l.rating %> <%- page.l.kp %>
: <%- movie.kp_rating / 10 %> <span
style="color: #999">(<%- movie.kp_vote %>)</span>
</div>
<% } %>
<% if (movie.imdb_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.imdb %>: <%- movie.imdb_rating/10 %> <span style="color: #999">(<%- movie.imdb_vote %>)</span>
<%- page.l.rating %> <%- page.l.imdb %>
: <%- movie.imdb_rating / 10 %> <span
style="color: #999">(<%- movie.imdb_vote %>)</span>
</div>
<% } %>
@ -131,12 +146,14 @@
<% if (movie.quality) { %>
<div>
<%- page.l.quality %>: <%- movie.quality %>
<%- page.l.quality %>
: <%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div>
<%- page.l.translate %>: <%- movie.translate %>
<%- page.l.translate %>
: <%- movie.translate %>
</div>
<br>
<% } %>
@ -149,13 +166,15 @@
<% if (movie.countries) { %>
<div>
<%- page.l.countries %>: <%- movie.countries %>
<%- page.l.countries %>
: <%- movie.countries %>
</div>
<% } %>
<% if (movie.genres) { %>
<div>
<%- page.l.genres %>: <%- movie.genres %>
<%- page.l.genres %>
: <%- movie.genres %>
</div>
<% } %>
@ -163,13 +182,15 @@
<% if (movie.directors) { %>
<div>
<%- page.l.directors %>: <%- movie.directors %>
<%- page.l.directors %>
: <%- movie.directors %>
</div>
<% } %>
<% if (movie.actors) { %>
<div>
<%- page.l.actors %>: <%- movie.actors %>
<%- page.l.actors %>
: <%- movie.actors %>
</div>
<% } %>
@ -177,15 +198,18 @@
<% if (movie.tags_url) { %>
<div>
<%- page.l.tags %>: <%- movie.tags_url %>
<%- page.l.tags %>
: <%- movie.tags_url %>
</div>
<% } %>
<br>
<div class="episodesListBlock" style="display: none;">
<div class="episodesListBlock"
style="display: none;">
<h3><%= movie.title %> <%- page.l.episodes %></h3>
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
<div id="episodesList"
data-id="<%- movie.kp_id %>"></div>
</div>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
@ -194,7 +218,8 @@
</div>
<% } %>
<div id="cinemapress-player" style="margin: 20px auto; border-radius: 10px;">
<div id="cinemapress-player"
style="margin: 20px auto; border-radius: 10px;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
@ -202,7 +227,9 @@
<script src="/themes/default/public/desktop/js/yastatic.net/es5-shims.min.js"></script>
<script src="/themes/default/public/desktop/js/yastatic.net/share2.js"></script>
<div class="ya-share2" data-services="collections,vkontakte,facebook,odnoklassniki,moimir,twitter" data-counter="" style="float:left;"></div>
<div class="ya-share2"
data-services="collections,vkontakte,facebook,odnoklassniki,moimir,twitter"
data-counter="" style="float:left;"></div>
<div style="clear: both"></div>
@ -234,31 +261,46 @@
<% if (typeof comments === 'object' && typeof comments.config === 'object') { %>
<% if (comments.config.star_rating) { %>
<div class="cinemapress-comment-star">
<div class="cinemapress-comment-star-down" data-comment-star="1"></div>
<div class="cinemapress-comment-star-award" data-comment-star="3"></div>
<div class="cinemapress-comment-star-up" data-comment-star="2"></div>
<div class="cinemapress-comment-star-down"
data-comment-star="1"></div>
<div class="cinemapress-comment-star-award"
data-comment-star="3"></div>
<div class="cinemapress-comment-star-up"
data-comment-star="2"></div>
</div>
<% } %>
<div class="cinemapress-comment-form">
<% if (comments.config.bb_codes) { %>
<div class="cinemapress-comment-form-bb">
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-b" data-bb-code="b"><%- page.l.bold.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-i" data-bb-code="i"><%- page.l.italic.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-spoiler" data-bb-code="spoiler">👻 <%- page.l.spoiler.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-search" data-bb-code="search">🔍 <%- page.l.search.toLowerCase() %></span>
<input class="cinemapress-comment-bg cinemapress-comment-form-anonymous" name="comment_anonymous" type="text" placeholder="<%- page.l.username %>">
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-b"
data-bb-code="b"><%- page.l.bold.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-i"
data-bb-code="i"><%- page.l.italic.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-spoiler"
data-bb-code="spoiler">👻 <%- page.l.spoiler.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-search"
data-bb-code="search">🔍 <%- page.l.search.toLowerCase() %></span>
<input class="cinemapress-comment-bg cinemapress-comment-form-anonymous"
name="comment_anonymous" type="text"
placeholder="<%- page.l.username %>">
</div>
<% } %>
<div>
<div class="cinemapress-comment-textarea-div">
<textarea name="comment_text" class="cinemapress-comment-bg cinemapress-comment-textarea" placeholder="<%- page.l.comment %>" autocomplete="off" autocapitalize="off" spellcheck="false"></textarea>
<textarea name="comment_text"
class="cinemapress-comment-bg cinemapress-comment-textarea"
placeholder="<%- page.l.comment %>"
autocomplete="off" autocapitalize="off"
spellcheck="false"></textarea>
<div class="cinemapress-comment-form-bg"></div>
<div class="cinemapress-comment-button-bg hover-off" data-comment-type="submit">
<div class="cinemapress-comment-button-bg hover-off"
data-comment-type="submit">
<span class="cinemapress-comment-button-text"></span>
</div>
</div>
<% if (comments.config.question) { %>
<div class="cinemapress-comment-bg cinemapress-comment-question" style="display: none">
<div class="cinemapress-comment-bg cinemapress-comment-question"
style="display: none">
<div class="cinemapress-comment-question-text"><%- comments.config.question %></div>
<div class="cinemapress-comment-question-answer">
<% if (comments.config.question_yes) { %>
@ -269,23 +311,34 @@
<% } %>
</div>
<% if (comments.config.question_yes) { %>
<div class="cinemapress-comment-question-text-yes" style="display: none">
<div class="cinemapress-comment-question-text-yes"
style="display: none">
<%- comments.config.question_yes %>
</div>
<% } %>
<% if (comments.config.question_not) { %>
<div class="cinemapress-comment-question-text-not" style="display: none">
<div class="cinemapress-comment-question-text-not"
style="display: none">
<%- comments.config.question_not %>
</div>
<% } %>
<div class="cinemapress-comment-question-bg"></div>
<% if (comments.config.question_poster) { %>
<div class="cinemapress-comment-question-bg-poster" style="background-image:url('<%- comments.config.question_poster %>')"></div>
<div class="cinemapress-comment-question-bg-poster"
style="background-image:url('<%- comments.config.question_poster %>')"></div>
<% } %>
</div>
<% } %>
</div>
<div style="font-size:8px;text-align:right;opacity:.2">This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy" style="font-size:8px" target="_blank">Privacy Policy</a> and <a href="https://policies.google.com/terms" style="font-size:8px" target="_blank">Terms of Service</a> apply.</div>
<div style="font-size:8px;text-align:right;opacity:.2">This site
is protected by reCAPTCHA and the Google <a
href="https://policies.google.com/privacy"
style="font-size:8px" target="_blank">Privacy
Policy</a> and <a
href="https://policies.google.com/terms"
style="font-size:8px" target="_blank">Terms of
Service</a> apply.
</div>
</div>
<%- comments.indexer ? comments.indexer : '' %>
<% if (comments.list && comments.list.length) { %>
@ -293,7 +346,8 @@
<div class="cinemapress-comment" id="c<%- comment.id %>">
<div class="cinemapress-comment-head">
<div class="cinemapress-comment-head-avatar">
<img src="<%- comment.avatar %>" alt="<%= comment.user %>">
<img src="<%- comment.avatar %>"
alt="<%= comment.user %>">
</div>
<% if (comments.config.star_rating) { %>
<% if (comment.star === 1) { %>
@ -312,26 +366,39 @@
<% } %>
<div class="cinemapress-comment-head-meta">
<div class="cinemapress-comment-head-meta-vote">
<span class="cinemapress-comment-like" data-comment-type="like" data-comment-id="<%- comment.id %>" title="<%= page.l.like %>">
<span class="cinemapress-comment-like" data-comment-type="like"
data-comment-id="<%- comment.id %>"
title="<%= page.l.like %>">
<span class="cinemapress-comment-like-icon"></span>
<span class="cinemapress-comment-like-number"><%- comment.like %></span>
</span>
<span class="cinemapress-comment-dislike" data-comment-type="dislike" data-comment-id="<%- comment.id %>" title="<%= page.l.dislike %>">
<span class="cinemapress-comment-dislike"
data-comment-type="dislike"
data-comment-id="<%- comment.id %>"
title="<%= page.l.dislike %>">
<span class="cinemapress-comment-dislike-number"><%- comment.dislike %></span>
<span class="cinemapress-comment-dislike-icon"></span>
</span>
<span class="cinemapress-comment-reply" data-reply-id="<%- comment.id %>" data-bb-code="b" data-bb-value="<%- comment.user %>" title="<%= page.l.reply %>">
<span class="cinemapress-comment-reply"
data-reply-id="<%- comment.id %>"
data-bb-code="b"
data-bb-value="<%- comment.user %>"
title="<%= page.l.reply %>">
<span class="cinemapress-comment-reply-icon"></span>
</span>
</div>
<div class="cinemapress-comment-user" data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user"
data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user-name">
<%- comment.user %>
</div><div class="cinemapress-comment-user-said">
</div>
<div class="cinemapress-comment-user-said">
<%- page.l.said %>
</div><div class="cinemapress-comment-user-date">
</div>
<div class="cinemapress-comment-user-date">
<%- comment.date %>
</div><div class="cinemapress-comment-user-link">
</div>
<div class="cinemapress-comment-user-link">
<a href="<%- comment.url %>#c<%- comment.id %>">#</a>
</div>
</div>
@ -354,10 +421,12 @@
<% } %>
<div class="cinemapress-comment-arrow">
<% if (comments && comments.prev) { %>
<div class="cinemapress-prev-comments" onclick="window.location.href='?page=<%- comments.prev %>#cinemapress-comments'"></div>
<div class="cinemapress-prev-comments"
onclick="window.location.href='?page=<%- comments.prev %>#cinemapress-comments'"></div>
<% } %>
<% if (comments && comments.next) { %>
<div class="cinemapress-next-comments" onclick="window.location.href='?page=<%- comments.next %>#cinemapress-comments'"></div>
<div class="cinemapress-next-comments"
onclick="window.location.href='?page=<%- comments.next %>#cinemapress-comments'"></div>
<% } %>
</div>
</div>
@ -376,7 +445,8 @@
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
<a href="<%- content.url %>" class="cinemapress-news"
style="background-image:url('<%- content.image %>');">
<div class="cinemapress-news-title">
<%= content.title %>
</div>
@ -400,9 +470,10 @@
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- (category.url && category.url.indexOf('?')+1 ? category.url + '&random=' : category.url + '?random=') %><%- Math.random() %>'"
onclick="window.location.href='<%- (category.url && category.url.indexOf('?') + 1 ? category.url + '&random=' : category.url + '?random=') %><%- Math.random() %>'"
title="<%= page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%= page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg"
alt="<%= page.l.random %>">
</div>
</div>
</div>
@ -415,11 +486,15 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% if (category.movies.length) {
category.movies.splice(7, category.movies.length % 7);
category.movies.forEach(function (movie, i) { %>
<a href="<%- movie.url %>" style="width: 68px; height: 97px; background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 0) { %>page_post_thumb_first_column page_post_thumb_first_row<% } else if (!(i % 6)) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>" title="<%= movie.title %>"></a>
<a href="<%- movie.url %>"
style="width: 68px; height: 97px; background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 0) { %>page_post_thumb_first_column page_post_thumb_first_row<% } else if (!(i % 6)) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>"
title="<%= movie.title %>"></a>
<% }); } %>
</div>
</div>

View File

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="<%- page.language %>" prefix="og: http://ogp.me/ns# video: http://ogp.me/ns/video# ya: http://webmaster.yandex.ru/vocabularies/">
<html lang="<%- page.language %>"
prefix="og: http://ogp.me/ns# video: http://ogp.me/ns/video# ya: http://webmaster.yandex.ru/vocabularies/">
<head>
<%- include('includes/head.ejs'); -%>
@ -36,12 +37,15 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50"
alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<a class="author"
href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<span class="explain">
<span class="wall_fixed_label">&nbsp;</span>
</span>
@ -57,11 +61,16 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% slider.forEach(function (movie, i) { if (i > 9) {return;} %>
<% slider.forEach(function (movie, i) { if (i > 9) {
return;
} %>
<a href="<%- movie.url %>" style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<a href="<%- movie.url %>"
style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<% }); %>
@ -95,12 +104,14 @@
<div class="_post_content">
<div class="post_header">
<a href="<%- movie.url %>" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50" alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="<%- movie.url %>"><%= movie.title %></a>
<a class="author"
href="<%- movie.url %>"><%= movie.title %></a>
</h5>
<% if (movie.premiere) { %>
<div class="post_date">
@ -117,13 +128,17 @@
<% if (movie.kp_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.kp %>: <%- movie.kp_rating/10 %> <span style="color: #999">(<%- movie.kp_vote %>)</span>
<%- page.l.rating %> <%- page.l.kp %>
: <%- movie.kp_rating / 10 %> <span
style="color: #999">(<%- movie.kp_vote %>)</span>
</div>
<% } %>
<% if (movie.imdb_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.imdb %>: <%- movie.imdb_rating/10 %> <span style="color: #999">(<%- movie.imdb_vote %>)</span>
<%- page.l.rating %> <%- page.l.imdb %>
: <%- movie.imdb_rating / 10 %> <span
style="color: #999">(<%- movie.imdb_vote %>)</span>
</div>
<% } %>
@ -131,12 +146,14 @@
<% if (movie.quality) { %>
<div>
<%- page.l.quality %>: <%- movie.quality %>
<%- page.l.quality %>
: <%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div>
<%- page.l.translate %>: <%- movie.translate %>
<%- page.l.translate %>
: <%- movie.translate %>
</div>
<br>
<% } %>
@ -149,13 +166,15 @@
<% if (movie.countries) { %>
<div>
<%- page.l.countries %>: <%- movie.countries %>
<%- page.l.countries %>
: <%- movie.countries %>
</div>
<% } %>
<% if (movie.genres) { %>
<div>
<%- page.l.genres %>: <%- movie.genres %>
<%- page.l.genres %>
: <%- movie.genres %>
</div>
<% } %>
@ -163,13 +182,15 @@
<% if (movie.directors) { %>
<div>
<%- page.l.directors %>: <%- movie.directors %>
<%- page.l.directors %>
: <%- movie.directors %>
</div>
<% } %>
<% if (movie.actors) { %>
<div>
<%- page.l.actors %>: <%- movie.actors %>
<%- page.l.actors %>
: <%- movie.actors %>
</div>
<% } %>
@ -177,15 +198,18 @@
<% if (movie.tags_url) { %>
<div>
<%- page.l.tags %>: <%- movie.tags_url %>
<%- page.l.tags %>
: <%- movie.tags_url %>
</div>
<% } %>
<br>
<div class="episodesListBlock" style="display: none;">
<div class="episodesListBlock"
style="display: none;">
<h3><%= movie.title %> <%- page.l.episodes %></h3>
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
<div id="episodesList"
data-id="<%- movie.kp_id %>"></div>
</div>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
@ -194,7 +218,8 @@
</div>
<% } %>
<div id="cinemapress-player" style="margin: 20px auto; border-radius: 10px;">
<div id="cinemapress-player"
style="margin: 20px auto; border-radius: 10px;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
@ -202,9 +227,13 @@
<script src="/themes/default/public/desktop/js/yastatic.net/es5-shims.min.js"></script>
<script src="/themes/default/public/desktop/js/yastatic.net/share2.js"></script>
<div class="ya-share2" data-services="collections,vkontakte,facebook,odnoklassniki,moimir,twitter" data-counter="" style="float:left;"></div>
<div class="ya-share2"
data-services="collections,vkontakte,facebook,odnoklassniki,moimir,twitter"
data-counter="" style="float:left;"></div>
<div class="flat_button watchLaterBlock" style="float: right; display: none;" id="watchLater"><%- page.l.later %></div>
<div class="flat_button watchLaterBlock"
style="float: right; display: none;"
id="watchLater"><%- page.l.later %></div>
<div style="clear: both"></div>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
@ -235,31 +264,46 @@
<% if (typeof comments === 'object' && typeof comments.config === 'object') { %>
<% if (comments.config.star_rating) { %>
<div class="cinemapress-comment-star">
<div class="cinemapress-comment-star-down" data-comment-star="1"></div>
<div class="cinemapress-comment-star-award" data-comment-star="3"></div>
<div class="cinemapress-comment-star-up" data-comment-star="2"></div>
<div class="cinemapress-comment-star-down"
data-comment-star="1"></div>
<div class="cinemapress-comment-star-award"
data-comment-star="3"></div>
<div class="cinemapress-comment-star-up"
data-comment-star="2"></div>
</div>
<% } %>
<div class="cinemapress-comment-form">
<% if (comments.config.bb_codes) { %>
<div class="cinemapress-comment-form-bb">
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-b" data-bb-code="b"><%- page.l.bold.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-i" data-bb-code="i"><%- page.l.italic.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-spoiler" data-bb-code="spoiler">👻 <%- page.l.spoiler.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-search" data-bb-code="search">🔍 <%- page.l.search.toLowerCase() %></span>
<input class="cinemapress-comment-bg cinemapress-comment-form-anonymous" name="comment_anonymous" type="text" placeholder="<%- page.l.username %>">
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-b"
data-bb-code="b"><%- page.l.bold.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-i"
data-bb-code="i"><%- page.l.italic.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-spoiler"
data-bb-code="spoiler">👻 <%- page.l.spoiler.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-search"
data-bb-code="search">🔍 <%- page.l.search.toLowerCase() %></span>
<input class="cinemapress-comment-bg cinemapress-comment-form-anonymous"
name="comment_anonymous" type="text"
placeholder="<%- page.l.username %>">
</div>
<% } %>
<div>
<div class="cinemapress-comment-textarea-div">
<textarea name="comment_text" class="cinemapress-comment-bg cinemapress-comment-textarea" placeholder="<%- page.l.comment %>" autocomplete="off" autocapitalize="off" spellcheck="false"></textarea>
<textarea name="comment_text"
class="cinemapress-comment-bg cinemapress-comment-textarea"
placeholder="<%- page.l.comment %>"
autocomplete="off" autocapitalize="off"
spellcheck="false"></textarea>
<div class="cinemapress-comment-form-bg"></div>
<div class="cinemapress-comment-button-bg hover-off" data-comment-type="submit">
<div class="cinemapress-comment-button-bg hover-off"
data-comment-type="submit">
<span class="cinemapress-comment-button-text"></span>
</div>
</div>
<% if (comments.config.question) { %>
<div class="cinemapress-comment-bg cinemapress-comment-question" style="display: none">
<div class="cinemapress-comment-bg cinemapress-comment-question"
style="display: none">
<div class="cinemapress-comment-question-text"><%- comments.config.question %></div>
<div class="cinemapress-comment-question-answer">
<% if (comments.config.question_yes) { %>
@ -270,23 +314,34 @@
<% } %>
</div>
<% if (comments.config.question_yes) { %>
<div class="cinemapress-comment-question-text-yes" style="display: none">
<div class="cinemapress-comment-question-text-yes"
style="display: none">
<%- comments.config.question_yes %>
</div>
<% } %>
<% if (comments.config.question_not) { %>
<div class="cinemapress-comment-question-text-not" style="display: none">
<div class="cinemapress-comment-question-text-not"
style="display: none">
<%- comments.config.question_not %>
</div>
<% } %>
<div class="cinemapress-comment-question-bg"></div>
<% if (comments.config.question_poster) { %>
<div class="cinemapress-comment-question-bg-poster" style="background-image:url('<%- comments.config.question_poster %>')"></div>
<div class="cinemapress-comment-question-bg-poster"
style="background-image:url('<%- comments.config.question_poster %>')"></div>
<% } %>
</div>
<% } %>
</div>
<div style="font-size:8px;text-align:right;opacity:.2">This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy" style="font-size:8px" target="_blank">Privacy Policy</a> and <a href="https://policies.google.com/terms" style="font-size:8px" target="_blank">Terms of Service</a> apply.</div>
<div style="font-size:8px;text-align:right;opacity:.2">This site
is protected by reCAPTCHA and the Google <a
href="https://policies.google.com/privacy"
style="font-size:8px" target="_blank">Privacy
Policy</a> and <a
href="https://policies.google.com/terms"
style="font-size:8px" target="_blank">Terms of
Service</a> apply.
</div>
</div>
<%- comments.indexer ? comments.indexer : '' %>
<% if (comments.list && comments.list.length) { %>
@ -294,7 +349,8 @@
<div class="cinemapress-comment" id="c<%- comment.id %>">
<div class="cinemapress-comment-head">
<div class="cinemapress-comment-head-avatar">
<img src="<%- comment.avatar %>" alt="<%= comment.user %>">
<img src="<%- comment.avatar %>"
alt="<%= comment.user %>">
</div>
<% if (comments.config.star_rating) { %>
<% if (comment.star === 1) { %>
@ -313,26 +369,39 @@
<% } %>
<div class="cinemapress-comment-head-meta">
<div class="cinemapress-comment-head-meta-vote">
<span class="cinemapress-comment-like" data-comment-type="like" data-comment-id="<%- comment.id %>" title="<%= page.l.like %>">
<span class="cinemapress-comment-like" data-comment-type="like"
data-comment-id="<%- comment.id %>"
title="<%= page.l.like %>">
<span class="cinemapress-comment-like-icon"></span>
<span class="cinemapress-comment-like-number"><%- comment.like %></span>
</span>
<span class="cinemapress-comment-dislike" data-comment-type="dislike" data-comment-id="<%- comment.id %>" title="<%= page.l.dislike %>">
<span class="cinemapress-comment-dislike"
data-comment-type="dislike"
data-comment-id="<%- comment.id %>"
title="<%= page.l.dislike %>">
<span class="cinemapress-comment-dislike-number"><%- comment.dislike %></span>
<span class="cinemapress-comment-dislike-icon"></span>
</span>
<span class="cinemapress-comment-reply" data-reply-id="<%- comment.id %>" data-bb-code="b" data-bb-value="<%- comment.user %>" title="<%= page.l.reply %>">
<span class="cinemapress-comment-reply"
data-reply-id="<%- comment.id %>"
data-bb-code="b"
data-bb-value="<%- comment.user %>"
title="<%= page.l.reply %>">
<span class="cinemapress-comment-reply-icon"></span>
</span>
</div>
<div class="cinemapress-comment-user" data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user"
data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user-name">
<%- comment.user %>
</div><div class="cinemapress-comment-user-said">
</div>
<div class="cinemapress-comment-user-said">
<%- page.l.said %>
</div><div class="cinemapress-comment-user-date">
</div>
<div class="cinemapress-comment-user-date">
<%- comment.date %>
</div><div class="cinemapress-comment-user-link">
</div>
<div class="cinemapress-comment-user-link">
<a href="<%- comment.url %>#c<%- comment.id %>">#</a>
</div>
</div>
@ -355,10 +424,12 @@
<% } %>
<div class="cinemapress-comment-arrow">
<% if (comments && comments.prev) { %>
<div class="cinemapress-prev-comments" onclick="window.location.href='?page=<%- comments.prev %>#cinemapress-comments'"></div>
<div class="cinemapress-prev-comments"
onclick="window.location.href='?page=<%- comments.prev %>#cinemapress-comments'"></div>
<% } %>
<% if (comments && comments.next) { %>
<div class="cinemapress-next-comments" onclick="window.location.href='?page=<%- comments.next %>#cinemapress-comments'"></div>
<div class="cinemapress-next-comments"
onclick="window.location.href='?page=<%- comments.next %>#cinemapress-comments'"></div>
<% } %>
</div>
</div>
@ -377,7 +448,8 @@
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
<a href="<%- content.url %>" class="cinemapress-news"
style="background-image:url('<%- content.image %>');">
<div class="cinemapress-news-title">
<%= content.title %>
</div>
@ -401,9 +473,10 @@
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- (category.url && category.url.indexOf('?')+1 ? category.url + '&random=' : category.url + '?random=') %><%- Math.random() %>'"
onclick="window.location.href='<%- (category.url && category.url.indexOf('?') + 1 ? category.url + '&random=' : category.url + '?random=') %><%- Math.random() %>'"
title="<%= page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%= page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg"
alt="<%= page.l.random %>">
</div>
</div>
</div>
@ -416,11 +489,15 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% if (category.movies.length) {
category.movies.splice(7, category.movies.length % 7);
category.movies.forEach(function (movie, i) { %>
<a href="<%- movie.url %>" style="width: 68px; height: 97px; background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 0) { %>page_post_thumb_first_column page_post_thumb_first_row<% } else if (!(i % 6)) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>" title="<%= movie.title %>"></a>
<a href="<%- movie.url %>"
style="width: 68px; height: 97px; background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 0) { %>page_post_thumb_first_column page_post_thumb_first_row<% } else if (!(i % 6)) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>"
title="<%= movie.title %>"></a>
<% }); } %>
</div>
</div>

View File

@ -16,10 +16,10 @@
e.preventDefault();
var scrollToTop = window.setInterval(function() {
var pos = window.pageYOffset;
if ( pos > 0 ) {
window.scrollTo( 0, pos - 20 );
if (pos > 0) {
window.scrollTo(0, pos - 20);
} else {
window.clearInterval( scrollToTop );
window.clearInterval(scrollToTop);
}
}, 4);
}

View File

@ -4,15 +4,21 @@
<div id="page_header" class="p_head p_head_l0" style="width: 960px">
<div class="content">
<div id="top_nav" class="head_nav">
<div class="head_nav_item fl_l" style="background: url('/themes/<%- page.theme %>/public/images/logo.svg?v=<%- page.ver %>') no-repeat; background-size: auto 40px;">
<div class="head_nav_item fl_l"
style="background: url('/themes/<%- page.theme %>/public/images/logo.svg?v=<%- page.ver %>') no-repeat; background-size: auto 40px;">
<a class="top_home_link fl_l" href="/"></a>
</div>
<div class="head_nav_item fl_l head_nav_btns">
<a href="/<%- page.urls.type %>/<%- page.urls.types.movie %>" class="top_nav_link"><%- page.l.movies %></a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.mult %>" class="top_nav_link"><%- page.l.cartoons %></a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.serial %>" class="top_nav_link"><%- page.l.series %></a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.anime %>" class="top_nav_link"><%- page.l.anime %></a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.tv %>" class="top_nav_link"><%- page.l.tv %></a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.movie %>"
class="top_nav_link"><%- page.l.movies %></a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.mult %>"
class="top_nav_link"><%- page.l.cartoons %></a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.serial %>"
class="top_nav_link"><%- page.l.series %></a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.anime %>"
class="top_nav_link"><%- page.l.anime %></a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.tv %>"
class="top_nav_link"><%- page.l.tv %></a>
</div>
<div class="randomMovieMenu">
<div class="head_nav_item fl_r cinemapress-random-menu">
@ -34,7 +40,8 @@
</div>
</div>
<form method="get" action="/<%- page.urls.search %>">
<input class="text ts_input" autocomplete="off" name="q" type="text" placeholder="<%- page.l.search %>" data-autocomplete="desktop">
<input class="text ts_input" autocomplete="off" name="q" type="text"
placeholder="<%- page.l.search %>" data-autocomplete="desktop">
<button style="display: none;" type="submit"></button>
<div class="cinemapress-autocomplete" data-autocomplete="desktop"></div>
</form>

View File

@ -13,7 +13,7 @@
</li>
<% }); %>
<li class="more_div l_main"></li>
<% page.urls.years.slice(0,10).forEach(function(year) { %>
<% page.urls.years.slice(0, 10).forEach(function(year) { %>
<li class="genre_app">
<a href="<%- year.url %>" class="left_row">
<span class="left_fixer">
@ -25,7 +25,7 @@
</li>
<% }); %>
<li class="more_div"></li>
<% page.urls.countries.slice(0,10).forEach(function(country) { %>
<% page.urls.countries.slice(0, 10).forEach(function(country) { %>
<li class="genre_app">
<a href="<%- country.url %>" class="left_row">
<span class="left_fixer">

View File

@ -3,7 +3,11 @@
<div class="page_block page_photo">
<div class="page_avatar_wrap">
<div id="page_avatar" class="page_avatar">
<img class="page_avatar_img" <% if (typeof movie === 'object') { %>src="<%- movie.poster %>" data-cinemapress-poster="<%- movie.poster %>"<% } else { %>src="/themes/<%- page.theme %>/public/images/ava.png"<% } %> alt="<%= page.title %>" title="<%= page.title %>">
<img class="page_avatar_img" <% if (typeof movie === 'object') { %>src="<%- movie.poster %>"
data-cinemapress-poster="<%- movie.poster %>"
<% } else { %>src="/themes/<%- page.theme %>/public/images/ava.png"
<% } %>
alt="<%= page.title %>" title="<%= page.title %>">
</div>
</div>
</div>
@ -39,22 +43,26 @@
<%- page.l.information %>
</a>
<% if (page.urls.movies.online) { %>
<a href="<%- movie.url %>/<%- page.urls.movies.online %>" class="flat_button" style="display: block;margin: 2px auto;">
<a href="<%- movie.url %>/<%- page.urls.movies.online %>" class="flat_button"
style="display: block;margin: 2px auto;">
<%- page.l.online %>
</a>
<% } %>
<% if (page.urls.movies.download) { %>
<a href="<%- movie.url %>/<%- page.urls.movies.download %>" class="flat_button" style="display: block;margin: 2px auto;">
<a href="<%- movie.url %>/<%- page.urls.movies.download %>" class="flat_button"
style="display: block;margin: 2px auto;">
<%- page.l.download %>
</a>
<% } %>
<% if (page.urls.movies.trailer) { %>
<a href="<%- movie.url %>/<%- page.urls.movies.trailer %>" class="flat_button" style="display: block;margin: 2px auto;">
<a href="<%- movie.url %>/<%- page.urls.movies.trailer %>" class="flat_button"
style="display: block;margin: 2px auto;">
<%- page.l.trailer %>
</a>
<% } %>
<% if (page.urls.movies.picture) { %>
<a href="<%- movie.url %>/<%- page.urls.movies.picture %>" class="flat_button" style="display: block;margin: 2px auto;">
<a href="<%- movie.url %>/<%- page.urls.movies.picture %>" class="flat_button"
style="display: block;margin: 2px auto;">
<%- page.l.picture %>
</a>
<% } %>
@ -88,7 +96,8 @@
<% } else { %>
<a href="<%- sort.url %>" class="flat_button" style="display: block;margin: 2px auto;">
<a href="<%- sort.url %>" class="flat_button"
style="display: block;margin: 2px auto;">
<%- sort.name %>
</a>
@ -143,7 +152,8 @@
<div class="module_body clear_fix">
<a href="/<%- page.urls.genre %>" class="line_cell clear_fix">
<div class="fl_l thumb">
<img class="cell_img" src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
<img class="cell_img"
src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
</div>
<div class="fl_l info">
<%- page.l.allGenres %>
@ -151,7 +161,8 @@
</a>
<a href="/<%- page.urls.year %>" class="line_cell clear_fix">
<div class="fl_l thumb">
<img class="cell_img" src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
<img class="cell_img"
src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
</div>
<div class="fl_l info">
<%- page.l.allYears %>
@ -160,7 +171,8 @@
<a href="/<%- page.urls.country %>" class="line_cell
clear_fix">
<div class="fl_l thumb">
<img class="cell_img" src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
<img class="cell_img"
src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
</div>
<div class="fl_l info">
<%- page.l.allCountries %>
@ -168,7 +180,8 @@
</a>
<a href="/<%- page.urls.actor %>" class="line_cell clear_fix">
<div class="fl_l thumb">
<img class="cell_img" src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
<img class="cell_img"
src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
</div>
<div class="fl_l info">
<%- page.l.allActors %>
@ -176,7 +189,8 @@
</a>
<a href="/<%- page.urls.director %>" class="line_cell clear_fix">
<div class="fl_l thumb">
<img class="cell_img" src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
<img class="cell_img"
src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
</div>
<div class="fl_l info">
<%- page.l.allDirectors %>
@ -184,7 +198,8 @@
</a>
<a href="/<%- page.urls.content %>?tag=<%- page.l.collections %>" class="line_cell clear_fix">
<div class="fl_l thumb">
<img class="cell_img" src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
<img class="cell_img"
src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
</div>
<div class="fl_l info">
<%- page.l.collections %>
@ -212,13 +227,22 @@
<% if (category.movies.length) {
category.movies.forEach(function (movie) { %>
<div class="clear_fix clear page_album_row" <% if (movie.hide) { moreEpisodes = true; %>style="display:none" data-more-episodes="hide"<% } %>>
<div class="clear_fix clear page_album_row"
<% if (movie.hide) { moreEpisodes = true; %>style="display:none"
data-more-episodes="hide"
<% } %>
>
<a href="<%- movie.url %>" class="page_album_link">
<div class="page_album_thumb_wrap">
<img class="page_album_thumb" src="<%- movie.poster %>" alt="<%= movie.title %>">
<img class="page_album_thumb" src="<%- movie.poster %>"
alt="<%= movie.title %>">
</div>
<div class="page_album_title">
<div class="page_album_title_text" title="<%= movie.title %>"><% if (movie.season && movie.episode) { %><%- movie.season %> <%- page.l.season %> <%- movie.episode %> <%- page.l.episode %><% if (movie.translate) { %><br><%- movie.translate %><% } %><% } %></div>
<div class="page_album_title_text" title="<%= movie.title %>">
<% if (movie.season && movie.episode) { %><%- movie.season %> <%- page.l.season %> <%- movie.episode %> <%- page.l.episode %><% if (movie.translate) { %>
<br><%- movie.translate %><% } %>
<% } %>
</div>
</div>
</a>
<a class="bg"></a>
@ -227,7 +251,8 @@
<% }); } %>
<% if (moreEpisodes) { %>
<div class="moreEpisodes" onclick="var dme = document.querySelectorAll('[data-more-episodes]'); dme && dme.forEach(function(e) {e.style.display='block'});this.style.display='none'"><%- page.l.moreEpisodes %></div>
<div class="moreEpisodes"
onclick="var dme = document.querySelectorAll('[data-more-episodes]'); dme && dme.forEach(function(e) {e.style.display='block'});this.style.display='none'"><%- page.l.moreEpisodes %></div>
<% } %>
</div>
@ -264,10 +289,12 @@
<div class="clear_fix clear page_album_row">
<a href="<%- movie.url %>" class="page_album_link">
<div class="page_album_thumb_wrap">
<img class="page_album_thumb" src="<%- movie.poster %>" alt="<%= movie.title %>">
<img class="page_album_thumb" src="<%- movie.poster %>"
alt="<%= movie.title %>">
</div>
<div class="page_album_title">
<div class="page_album_title_text" title="<%= movie.title %>"><%= movie.title %></div>
<div class="page_album_title_text"
title="<%= movie.title %>"><%= movie.title %></div>
</div>
</a>
@ -286,7 +313,8 @@
<% news.forEach(function (content) { %>
<div style="float: left; width: 100%;">
<div style="margin: 0; padding: 10px 0;">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
<a href="<%- content.url %>" class="cinemapress-news"
style="background-image:url('<%- content.image %>');">
<div class="cinemapress-news-title">
<%= content.title %>
</div>
@ -312,12 +340,16 @@
<div class="cinemapress-comment-user" data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user-name">
<%- comment.user %>
</div><div class="cinemapress-comment-user-said">
</div>
<div class="cinemapress-comment-user-said">
<%- page.l.said %>
</div><div class="cinemapress-comment-user-date">
</div>
<div class="cinemapress-comment-user-date">
<%- comment.date %>
</div><div class="cinemapress-comment-user-link">
<a href="<%- comment.url %>#c<%- comment.id %>" title="<%= comment.title %>">#</a>
</div>
<div class="cinemapress-comment-user-link">
<a href="<%- comment.url %>#c<%- comment.id %>"
title="<%= comment.title %>">#</a>
</div>
</div>
</div>
@ -340,12 +372,17 @@
<div class="module_body clear_fix">
<div class="line_cell clear_fix">
<div class="fl_l thumb">
<img class="cell_img" src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
<img class="cell_img"
src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
</div>
<div class="fl_l extra_info">
<div class="people_name">Email</div>
<div class="people_desc"></div>
<div class="people_extra"><span id="mylo">Activate JS</span><script>(function(d,i,l,r){d.getElementById(i).innerHTML=l+'@'+r;})(window.document,'mylo','<%- page.email.split('@')[0] %>','<%- page.email.split('@')[1] %>');</script></div>
<div class="people_extra"><span id="mylo">Activate JS</span>
<script>(function(d, i, l, r) {
d.getElementById(i).innerHTML = l + '@' + r;
})(window.document, 'mylo', '<%- page.email.split('@')[0] %>', '<%- page.email.split('@')[1] %>');</script>
</div>
</div>
</div>
</div>
@ -356,7 +393,8 @@
<div style="margin: auto; text-align: center;">
<% if (page.social.vk) { %>
<a href="<%- page.social.vk %>" class="flat_button" style="display: block;margin: 2px auto; background: #507299">
<a href="<%- page.social.vk %>" class="flat_button"
style="display: block;margin: 2px auto; background: #507299">
<%- page.l.vk %>
</a>
<% } %>

View File

@ -35,12 +35,15 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50"
alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<a class="author"
href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<span class="explain">
<span class="wall_fixed_label">&nbsp;</span>
</span>
@ -56,9 +59,14 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<% slider.forEach(function (movie, i) { if (i > 9) {return;} %>
<a href="<%- movie.url %>" style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% slider.forEach(function (movie, i) { if (i > 9) {
return;
} %>
<a href="<%- movie.url %>"
style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<% }); %>
</div>
</div>
@ -103,10 +111,13 @@
<%- category.name %>
</h2>
<div class="randomMovieIndex">
<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() %>'"
<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() %>'"
title="<%= page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%= page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg"
alt="<%= page.l.random %>">
</div>
</div>
</div>
@ -121,12 +132,20 @@
<div class="_post_content">
<div class="post_header">
<a href="<%- movie.url %>" class="post_image">
<img src="<%- movie.poster_min %>" class="post_img" height="50" width="50" alt="<%= movie.title %>">
<img src="<%- movie.poster_min %>" class="post_img"
height="50" width="50"
alt="<%= movie.title %>">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="<%- movie.url %>"><%= movie.title %> <% if (movie.season && movie.episode) { %>(<%- movie.season %> <%- page.l.season %> <%- movie.episode %> <%- page.l.episode %>)<% } %></a>
<a class="author"
href="<%- movie.url %>"><%= movie.title %>
<% if (movie.season && movie.episode) { %>
(<%- movie.season %> <%- page.l.season %> <%- movie.episode %> <%- page.l.episode %>
)
<% } %>
</a>
</h5>
<% if (movie.premiere) { %>
<div class="post_date">
@ -143,12 +162,16 @@
<% if (movie.kp_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.kp %>: <%- movie.kp_rating/10 %> <span style="color: #999">(<%- movie.kp_vote %>)</span>
<%- page.l.rating %> <%- page.l.kp %>
: <%- movie.kp_rating / 10 %>
<span style="color: #999">(<%- movie.kp_vote %>)</span>
</div>
<% } %>
<% if (movie.imdb_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.imdb %>: <%- movie.imdb_rating/10 %> <span style="color: #999">(<%- movie.imdb_vote %>)</span>
<%- page.l.rating %> <%- page.l.imdb %>
: <%- movie.imdb_rating / 10 %>
<span style="color: #999">(<%- movie.imdb_vote %>)</span>
</div>
<% } %>
@ -156,31 +179,36 @@
<% if (movie.quality) { %>
<div>
<%- page.l.quality %>: <%- movie.quality %>
<%- page.l.quality %>
: <%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div>
<%- page.l.translate %>: <%- movie.translate %>
<%- page.l.translate %>
: <%- movie.translate %>
</div>
<br>
<% } %>
<% if (movie.year) { %>
<div>
<%- page.l.year %>: <%- movie.year %>
<%- page.l.year %>
: <%- movie.year %>
</div>
<% } %>
<% if (movie.countries) { %>
<div>
<%- page.l.countries %>: <%- movie.countries %>
<%- page.l.countries %>
: <%- movie.countries %>
</div>
<% } %>
<% if (movie.genres) { %>
<div>
<%- page.l.genres %>: <%- movie.genres %>
<%- page.l.genres %>
: <%- movie.genres %>
</div>
<% } %>
@ -188,17 +216,27 @@
<% if (movie.description_short) { %>
<div style="text-align:justify">
<%- movie.description_short %>...
<%- movie.description_short %>
...
</div>
<% } %>
</div>
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<a href="<%- movie.url %>" style="width: 245px; height: 350px; background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover page_post_thumb_last_row fl_l"></a>
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<a href="<%- movie.url %>"
style="width: 245px; height: 350px; background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover page_post_thumb_last_row fl_l"></a>
<% var trlr = (page.urls.movies.trailer) ? movie.url + '/' + page.urls.movies.trailer : movie.url; %>
<a href="<%- trlr %>" style="width: 260px; height: 172px; background-image: url('<% if (movie.pictures[0]) { %><%- movie.pictures[0].picture_min %><% } else { %>/themes/default/public/desktop/img/player.png<% } %>')" class="page_post_thumb_wrap image_cover page_post_thumb_video page_post_thumb_last_column fl_l"><span class="page_post_video_duration">2:<%- (movie.title.length + 9 >= 60) ? '37' : movie.title.length + 9; %></span></a>
<a href="<%- trlr %>"
style="width: 260px; height: 172px; background-image: url('<% if (movie.pictures[0]) { %><%- movie.pictures[0].picture_min %><% } else { %>/themes/default/public/desktop/img/player.png<% } %>')"
class="page_post_thumb_wrap image_cover page_post_thumb_video page_post_thumb_last_column fl_l"><span
class="page_post_video_duration">2:<%- (movie.title.length + 9 >= 60) ? '37' : movie.title.length + 9; %></span></a>
<% var onln = (page.urls.movies.online) ? movie.url + '/' + page.urls.movies.online : movie.url; %>
<a href="<%- onln %>" style="width: 260px; height: 172px; background-image: url('<% if (movie.pictures[1]) { %><%- movie.pictures[1].picture_min %><% } else { %>/themes/default/public/desktop/img/player.png<% } %>')" class="page_post_thumb_wrap image_cover page_post_thumb_video page_post_thumb_last_column page_post_thumb_last_row fl_l"><span class="page_post_video_duration"><%- (movie.title.length + 10 >= 60) ? '2' : '1'; %>:<%- (movie.title.length + 20 >= 60) ? '28' : movie.title.length + 20; %>:<%- (movie.title_en.length + 10 >= 60) ? '08' : movie.title_en.length + 10; %></span></a>
<a href="<%- onln %>"
style="width: 260px; height: 172px; background-image: url('<% if (movie.pictures[1]) { %><%- movie.pictures[1].picture_min %><% } else { %>/themes/default/public/desktop/img/player.png<% } %>')"
class="page_post_thumb_wrap image_cover page_post_thumb_video page_post_thumb_last_column page_post_thumb_last_row fl_l"><span
class="page_post_video_duration"><%- (movie.title.length + 10 >= 60) ? '2' : '1'; %>:<%- (movie.title.length + 20 >= 60) ? '28' : movie.title.length + 20; %>:<%- (movie.title_en.length + 10 >= 60) ? '08' : movie.title_en.length + 10; %></span></a>
</div>
</div>
</div>
@ -218,25 +256,34 @@
<div class="page_block">
<div style="margin: auto; text-align: center; padding: 10px">
<% if (page.pagination.first) { %>
<a href="<%- page.pagination.first.link %>" class="flat_button" rel="nofollow"><%- page.pagination.first.number %></a>
<span class="flat_button" style="color: #000; background: #fff">...</span>
<a href="<%- page.pagination.first.link %>" class="flat_button"
rel="nofollow"><%- page.pagination.first.number %></a>
<span class="flat_button"
style="color: #000; background: #fff">...</span>
<% } %>
<% if (page.pagination.prev.length) { %>
<% page.pagination.prev.forEach(function (prev) { %>
<a href="<%- prev.link %>" class="flat_button" rel="nofollow"><%- prev.number %></a>
<a href="<%- prev.link %>" class="flat_button"
rel="nofollow"><%- prev.number %></a>
<% }); %>
<span class="flat_button" style="color: #000; background: #fff">...</span>
<span class="flat_button"
style="color: #000; background: #fff">...</span>
<% } %>
<span class="flat_button" style="color: #000; background: #fff"><%- page.pagination.current %></span>
<span class="flat_button"
style="color: #000; background: #fff"><%- page.pagination.current %></span>
<% if (page.pagination.next.length) { %>
<span class="flat_button" style="color: #000; background: #fff">...</span>
<span class="flat_button"
style="color: #000; background: #fff">...</span>
<% page.pagination.next.forEach(function (next) { %>
<a href="<%- next.link %>" class="flat_button" rel="nofollow"><%- next.number %></a>
<a href="<%- next.link %>" class="flat_button"
rel="nofollow"><%- next.number %></a>
<% }); %>
<% } %>
<% if (page.pagination.last) { %>
<span class="flat_button" style="color: #000; background: #fff">...</span>
<a href="<%- page.pagination.last.link %>" class="flat_button" rel="nofollow"><%- page.pagination.last.number %></a>
<span class="flat_button"
style="color: #000; background: #fff">...</span>
<a href="<%- page.pagination.last.link %>" class="flat_button"
rel="nofollow"><%- page.pagination.last.number %></a>
<% } %>
</div>
</div>

View File

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="<%- page.language %>" prefix="og: http://ogp.me/ns# video: http://ogp.me/ns/video# ya: http://webmaster.yandex.ru/vocabularies/">
<html lang="<%- page.language %>"
prefix="og: http://ogp.me/ns# video: http://ogp.me/ns/video# ya: http://webmaster.yandex.ru/vocabularies/">
<head>
<%- include('includes/head.ejs'); -%>
@ -36,12 +37,15 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50"
alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<a class="author"
href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<span class="explain">
<span class="wall_fixed_label">&nbsp;</span>
</span>
@ -57,11 +61,16 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% slider.forEach(function (movie, i) { if (i > 9) {return;} %>
<% slider.forEach(function (movie, i) { if (i > 9) {
return;
} %>
<a href="<%- movie.url %>" style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<a href="<%- movie.url %>"
style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<% }); %>
@ -95,12 +104,14 @@
<div class="_post_content">
<div class="post_header">
<a href="<%- movie.url %>" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50" alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="<%- movie.url %>"><%= movie.title %></a>
<a class="author"
href="<%- movie.url %>"><%= movie.title %></a>
</h5>
<% if (movie.premiere) { %>
<div class="post_date">
@ -117,13 +128,17 @@
<% if (movie.kp_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.kp %>: <%- movie.kp_rating/10 %> <span style="color: #999">(<%- movie.kp_vote %>)</span>
<%- page.l.rating %> <%- page.l.kp %>
: <%- movie.kp_rating / 10 %> <span
style="color: #999">(<%- movie.kp_vote %>)</span>
</div>
<% } %>
<% if (movie.imdb_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.imdb %>: <%- movie.imdb_rating/10 %> <span style="color: #999">(<%- movie.imdb_vote %>)</span>
<%- page.l.rating %> <%- page.l.imdb %>
: <%- movie.imdb_rating / 10 %> <span
style="color: #999">(<%- movie.imdb_vote %>)</span>
</div>
<% } %>
@ -131,12 +146,14 @@
<% if (movie.quality) { %>
<div>
<%- page.l.quality %>: <%- movie.quality %>
<%- page.l.quality %>
: <%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div>
<%- page.l.translate %>: <%- movie.translate %>
<%- page.l.translate %>
: <%- movie.translate %>
</div>
<br>
<% } %>
@ -149,13 +166,15 @@
<% if (movie.countries) { %>
<div>
<%- page.l.countries %>: <%- movie.countries %>
<%- page.l.countries %>
: <%- movie.countries %>
</div>
<% } %>
<% if (movie.genres) { %>
<div>
<%- page.l.genres %>: <%- movie.genres %>
<%- page.l.genres %>
: <%- movie.genres %>
</div>
<% } %>
@ -163,13 +182,15 @@
<% if (movie.directors) { %>
<div>
<%- page.l.directors %>: <%- movie.directors %>
<%- page.l.directors %>
: <%- movie.directors %>
</div>
<% } %>
<% if (movie.actors) { %>
<div>
<%- page.l.actors %>: <%- movie.actors %>
<%- page.l.actors %>
: <%- movie.actors %>
</div>
<% } %>
@ -177,7 +198,8 @@
<% if (movie.tags_url) { %>
<div>
<%- page.l.tags %>: <%- movie.tags_url %>
<%- page.l.tags %>
: <%- movie.tags_url %>
</div>
<% } %>
@ -189,9 +211,11 @@
</div>
<% } %>
<div class="episodesListBlock" style="display: none;">
<div class="episodesListBlock"
style="display: none;">
<h3><%= movie.title %> <%- page.l.episodes %></h3>
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
<div id="episodesList"
data-id="<%- movie.kp_id %>"></div>
</div>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
@ -200,7 +224,8 @@
</div>
<% } %>
<div id="cinemapress-player" style="margin: 20px auto; border-radius: 10px;">
<div id="cinemapress-player"
style="margin: 20px auto; border-radius: 10px;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
@ -208,9 +233,13 @@
<script src="/themes/default/public/desktop/js/yastatic.net/es5-shims.min.js"></script>
<script src="/themes/default/public/desktop/js/yastatic.net/share2.js"></script>
<div class="ya-share2" data-services="collections,vkontakte,facebook,odnoklassniki,moimir,twitter" data-counter="" style="float:left;"></div>
<div class="ya-share2"
data-services="collections,vkontakte,facebook,odnoklassniki,moimir,twitter"
data-counter="" style="float:left;"></div>
<div class="flat_button watchLaterBlock" style="float: right; display: none;" id="watchLater"><%- page.l.later %></div>
<div class="flat_button watchLaterBlock"
style="float: right; display: none;"
id="watchLater"><%- page.l.later %></div>
<div style="clear: both"></div>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
@ -241,31 +270,46 @@
<% if (typeof comments === 'object' && typeof comments.config === 'object') { %>
<% if (comments.config.star_rating) { %>
<div class="cinemapress-comment-star">
<div class="cinemapress-comment-star-down" data-comment-star="1"></div>
<div class="cinemapress-comment-star-award" data-comment-star="3"></div>
<div class="cinemapress-comment-star-up" data-comment-star="2"></div>
<div class="cinemapress-comment-star-down"
data-comment-star="1"></div>
<div class="cinemapress-comment-star-award"
data-comment-star="3"></div>
<div class="cinemapress-comment-star-up"
data-comment-star="2"></div>
</div>
<% } %>
<div class="cinemapress-comment-form">
<% if (comments.config.bb_codes) { %>
<div class="cinemapress-comment-form-bb">
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-b" data-bb-code="b"><%- page.l.bold.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-i" data-bb-code="i"><%- page.l.italic.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-spoiler" data-bb-code="spoiler">👻 <%- page.l.spoiler.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-search" data-bb-code="search">🔍 <%- page.l.search.toLowerCase() %></span>
<input class="cinemapress-comment-bg cinemapress-comment-form-anonymous" name="comment_anonymous" type="text" placeholder="<%- page.l.username %>">
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-b"
data-bb-code="b"><%- page.l.bold.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-i"
data-bb-code="i"><%- page.l.italic.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-spoiler"
data-bb-code="spoiler">👻 <%- page.l.spoiler.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-search"
data-bb-code="search">🔍 <%- page.l.search.toLowerCase() %></span>
<input class="cinemapress-comment-bg cinemapress-comment-form-anonymous"
name="comment_anonymous" type="text"
placeholder="<%- page.l.username %>">
</div>
<% } %>
<div>
<div class="cinemapress-comment-textarea-div">
<textarea name="comment_text" class="cinemapress-comment-bg cinemapress-comment-textarea" placeholder="<%- page.l.comment %>" autocomplete="off" autocapitalize="off" spellcheck="false"></textarea>
<textarea name="comment_text"
class="cinemapress-comment-bg cinemapress-comment-textarea"
placeholder="<%- page.l.comment %>"
autocomplete="off" autocapitalize="off"
spellcheck="false"></textarea>
<div class="cinemapress-comment-form-bg"></div>
<div class="cinemapress-comment-button-bg hover-off" data-comment-type="submit">
<div class="cinemapress-comment-button-bg hover-off"
data-comment-type="submit">
<span class="cinemapress-comment-button-text"></span>
</div>
</div>
<% if (comments.config.question) { %>
<div class="cinemapress-comment-bg cinemapress-comment-question" style="display: none">
<div class="cinemapress-comment-bg cinemapress-comment-question"
style="display: none">
<div class="cinemapress-comment-question-text"><%- comments.config.question %></div>
<div class="cinemapress-comment-question-answer">
<% if (comments.config.question_yes) { %>
@ -276,23 +320,34 @@
<% } %>
</div>
<% if (comments.config.question_yes) { %>
<div class="cinemapress-comment-question-text-yes" style="display: none">
<div class="cinemapress-comment-question-text-yes"
style="display: none">
<%- comments.config.question_yes %>
</div>
<% } %>
<% if (comments.config.question_not) { %>
<div class="cinemapress-comment-question-text-not" style="display: none">
<div class="cinemapress-comment-question-text-not"
style="display: none">
<%- comments.config.question_not %>
</div>
<% } %>
<div class="cinemapress-comment-question-bg"></div>
<% if (comments.config.question_poster) { %>
<div class="cinemapress-comment-question-bg-poster" style="background-image:url('<%- comments.config.question_poster %>')"></div>
<div class="cinemapress-comment-question-bg-poster"
style="background-image:url('<%- comments.config.question_poster %>')"></div>
<% } %>
</div>
<% } %>
</div>
<div style="font-size:8px;text-align:right;opacity:.2">This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy" style="font-size:8px" target="_blank">Privacy Policy</a> and <a href="https://policies.google.com/terms" style="font-size:8px" target="_blank">Terms of Service</a> apply.</div>
<div style="font-size:8px;text-align:right;opacity:.2">This site
is protected by reCAPTCHA and the Google <a
href="https://policies.google.com/privacy"
style="font-size:8px" target="_blank">Privacy
Policy</a> and <a
href="https://policies.google.com/terms"
style="font-size:8px" target="_blank">Terms of
Service</a> apply.
</div>
</div>
<%- comments.indexer ? comments.indexer : '' %>
<% if (comments.list && comments.list.length) { %>
@ -300,7 +355,8 @@
<div class="cinemapress-comment" id="c<%- comment.id %>">
<div class="cinemapress-comment-head">
<div class="cinemapress-comment-head-avatar">
<img src="<%- comment.avatar %>" alt="<%= comment.user %>">
<img src="<%- comment.avatar %>"
alt="<%= comment.user %>">
</div>
<% if (comments.config.star_rating) { %>
<% if (comment.star === 1) { %>
@ -319,26 +375,39 @@
<% } %>
<div class="cinemapress-comment-head-meta">
<div class="cinemapress-comment-head-meta-vote">
<span class="cinemapress-comment-like" data-comment-type="like" data-comment-id="<%- comment.id %>" title="<%= page.l.like %>">
<span class="cinemapress-comment-like" data-comment-type="like"
data-comment-id="<%- comment.id %>"
title="<%= page.l.like %>">
<span class="cinemapress-comment-like-icon"></span>
<span class="cinemapress-comment-like-number"><%- comment.like %></span>
</span>
<span class="cinemapress-comment-dislike" data-comment-type="dislike" data-comment-id="<%- comment.id %>" title="<%= page.l.dislike %>">
<span class="cinemapress-comment-dislike"
data-comment-type="dislike"
data-comment-id="<%- comment.id %>"
title="<%= page.l.dislike %>">
<span class="cinemapress-comment-dislike-number"><%- comment.dislike %></span>
<span class="cinemapress-comment-dislike-icon"></span>
</span>
<span class="cinemapress-comment-reply" data-reply-id="<%- comment.id %>" data-bb-code="b" data-bb-value="<%- comment.user %>" title="<%= page.l.reply %>">
<span class="cinemapress-comment-reply"
data-reply-id="<%- comment.id %>"
data-bb-code="b"
data-bb-value="<%- comment.user %>"
title="<%= page.l.reply %>">
<span class="cinemapress-comment-reply-icon"></span>
</span>
</div>
<div class="cinemapress-comment-user" data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user"
data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user-name">
<%- comment.user %>
</div><div class="cinemapress-comment-user-said">
</div>
<div class="cinemapress-comment-user-said">
<%- page.l.said %>
</div><div class="cinemapress-comment-user-date">
</div>
<div class="cinemapress-comment-user-date">
<%- comment.date %>
</div><div class="cinemapress-comment-user-link">
</div>
<div class="cinemapress-comment-user-link">
<a href="<%- comment.url %>#c<%- comment.id %>">#</a>
</div>
</div>
@ -361,10 +430,12 @@
<% } %>
<div class="cinemapress-comment-arrow">
<% if (comments && comments.prev) { %>
<div class="cinemapress-prev-comments" onclick="window.location.href='?page=<%- comments.prev %>#cinemapress-comments'"></div>
<div class="cinemapress-prev-comments"
onclick="window.location.href='?page=<%- comments.prev %>#cinemapress-comments'"></div>
<% } %>
<% if (comments && comments.next) { %>
<div class="cinemapress-next-comments" onclick="window.location.href='?page=<%- comments.next %>#cinemapress-comments'"></div>
<div class="cinemapress-next-comments"
onclick="window.location.href='?page=<%- comments.next %>#cinemapress-comments'"></div>
<% } %>
</div>
</div>
@ -383,7 +454,8 @@
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
<a href="<%- content.url %>" class="cinemapress-news"
style="background-image:url('<%- content.image %>');">
<div class="cinemapress-news-title">
<%= content.title %>
</div>
@ -407,9 +479,10 @@
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- (category.url && category.url.indexOf('?')+1 ? category.url + '&random=' : category.url + '?random=') %><%- Math.random() %>'"
onclick="window.location.href='<%- (category.url && category.url.indexOf('?') + 1 ? category.url + '&random=' : category.url + '?random=') %><%- Math.random() %>'"
title="<%= page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%= page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg"
alt="<%= page.l.random %>">
</div>
</div>
</div>
@ -422,11 +495,15 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% if (category.movies.length) {
category.movies.splice(7, category.movies.length % 7);
category.movies.forEach(function (movie, i) { %>
<a href="<%- movie.url %>" style="width: 68px; height: 97px; background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 0) { %>page_post_thumb_first_column page_post_thumb_first_row<% } else if (!(i % 6)) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>" title="<%= movie.title %>"></a>
<a href="<%- movie.url %>"
style="width: 68px; height: 97px; background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 0) { %>page_post_thumb_first_column page_post_thumb_first_row<% } else if (!(i % 6)) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>"
title="<%= movie.title %>"></a>
<% }); } %>
</div>
</div>

View File

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="<%- page.language %>" prefix="og: http://ogp.me/ns# video: http://ogp.me/ns/video# ya: http://webmaster.yandex.ru/vocabularies/">
<html lang="<%- page.language %>"
prefix="og: http://ogp.me/ns# video: http://ogp.me/ns/video# ya: http://webmaster.yandex.ru/vocabularies/">
<head>
<%- include('includes/head.ejs'); -%>
@ -36,12 +37,15 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50"
alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<a class="author"
href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<span class="explain">
<span class="wall_fixed_label">&nbsp;</span>
</span>
@ -57,11 +61,16 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% slider.forEach(function (movie, i) { if (i > 9) {return;} %>
<% slider.forEach(function (movie, i) { if (i > 9) {
return;
} %>
<a href="<%- movie.url %>" style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<a href="<%- movie.url %>"
style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<% }); %>
@ -95,12 +104,14 @@
<div class="_post_content">
<div class="post_header">
<a href="<%- movie.url %>" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50" alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="<%- movie.url %>"><%= movie.title %></a>
<a class="author"
href="<%- movie.url %>"><%= movie.title %></a>
</h5>
<% if (movie.premiere) { %>
<div class="post_date">
@ -117,13 +128,17 @@
<% if (movie.kp_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.kp %>: <%- movie.kp_rating/10 %> <span style="color: #999">(<%- movie.kp_vote %>)</span>
<%- page.l.rating %> <%- page.l.kp %>
: <%- movie.kp_rating / 10 %> <span
style="color: #999">(<%- movie.kp_vote %>)</span>
</div>
<% } %>
<% if (movie.imdb_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.imdb %>: <%- movie.imdb_rating/10 %> <span style="color: #999">(<%- movie.imdb_vote %>)</span>
<%- page.l.rating %> <%- page.l.imdb %>
: <%- movie.imdb_rating / 10 %> <span
style="color: #999">(<%- movie.imdb_vote %>)</span>
</div>
<% } %>
@ -131,12 +146,14 @@
<% if (movie.quality) { %>
<div>
<%- page.l.quality %>: <%- movie.quality %>
<%- page.l.quality %>
: <%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div>
<%- page.l.translate %>: <%- movie.translate %>
<%- page.l.translate %>
: <%- movie.translate %>
</div>
<br>
<% } %>
@ -149,13 +166,15 @@
<% if (movie.countries) { %>
<div>
<%- page.l.countries %>: <%- movie.countries %>
<%- page.l.countries %>
: <%- movie.countries %>
</div>
<% } %>
<% if (movie.genres) { %>
<div>
<%- page.l.genres %>: <%- movie.genres %>
<%- page.l.genres %>
: <%- movie.genres %>
</div>
<% } %>
@ -163,13 +182,15 @@
<% if (movie.directors) { %>
<div>
<%- page.l.directors %>: <%- movie.directors %>
<%- page.l.directors %>
: <%- movie.directors %>
</div>
<% } %>
<% if (movie.actors) { %>
<div>
<%- page.l.actors %>: <%- movie.actors %>
<%- page.l.actors %>
: <%- movie.actors %>
</div>
<% } %>
@ -177,15 +198,18 @@
<% if (movie.tags_url) { %>
<div>
<%- page.l.tags %>: <%- movie.tags_url %>
<%- page.l.tags %>
: <%- movie.tags_url %>
</div>
<% } %>
<br>
<div class="episodesListBlock" style="display: none;">
<div class="episodesListBlock"
style="display: none;">
<h3><%= movie.title %> <%- page.l.episodes %></h3>
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
<div id="episodesList"
data-id="<%- movie.kp_id %>"></div>
</div>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
@ -194,7 +218,8 @@
</div>
<% } %>
<div id="cinemapress-player" style="margin: 20px auto; border-radius: 10px;">
<div id="cinemapress-player"
style="margin: 20px auto; border-radius: 10px;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
@ -202,9 +227,13 @@
<script src="/themes/default/public/desktop/js/yastatic.net/es5-shims.min.js"></script>
<script src="/themes/default/public/desktop/js/yastatic.net/share2.js"></script>
<div class="ya-share2" data-services="collections,vkontakte,facebook,odnoklassniki,moimir,twitter" data-counter="" style="float:left;"></div>
<div class="ya-share2"
data-services="collections,vkontakte,facebook,odnoklassniki,moimir,twitter"
data-counter="" style="float:left;"></div>
<div class="flat_button watchLaterBlock" style="float: right; display: none;" id="watchLater"><%- page.l.later %></div>
<div class="flat_button watchLaterBlock"
style="float: right; display: none;"
id="watchLater"><%- page.l.later %></div>
<div style="clear: both"></div>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
@ -235,31 +264,46 @@
<% if (typeof comments === 'object' && typeof comments.config === 'object') { %>
<% if (comments.config.star_rating) { %>
<div class="cinemapress-comment-star">
<div class="cinemapress-comment-star-down" data-comment-star="1"></div>
<div class="cinemapress-comment-star-award" data-comment-star="3"></div>
<div class="cinemapress-comment-star-up" data-comment-star="2"></div>
<div class="cinemapress-comment-star-down"
data-comment-star="1"></div>
<div class="cinemapress-comment-star-award"
data-comment-star="3"></div>
<div class="cinemapress-comment-star-up"
data-comment-star="2"></div>
</div>
<% } %>
<div class="cinemapress-comment-form">
<% if (comments.config.bb_codes) { %>
<div class="cinemapress-comment-form-bb">
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-b" data-bb-code="b"><%- page.l.bold.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-i" data-bb-code="i"><%- page.l.italic.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-spoiler" data-bb-code="spoiler">👻 <%- page.l.spoiler.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-search" data-bb-code="search">🔍 <%- page.l.search.toLowerCase() %></span>
<input class="cinemapress-comment-bg cinemapress-comment-form-anonymous" name="comment_anonymous" type="text" placeholder="<%- page.l.username %>">
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-b"
data-bb-code="b"><%- page.l.bold.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-i"
data-bb-code="i"><%- page.l.italic.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-spoiler"
data-bb-code="spoiler">👻 <%- page.l.spoiler.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-search"
data-bb-code="search">🔍 <%- page.l.search.toLowerCase() %></span>
<input class="cinemapress-comment-bg cinemapress-comment-form-anonymous"
name="comment_anonymous" type="text"
placeholder="<%- page.l.username %>">
</div>
<% } %>
<div>
<div class="cinemapress-comment-textarea-div">
<textarea name="comment_text" class="cinemapress-comment-bg cinemapress-comment-textarea" placeholder="<%- page.l.comment %>" autocomplete="off" autocapitalize="off" spellcheck="false"></textarea>
<textarea name="comment_text"
class="cinemapress-comment-bg cinemapress-comment-textarea"
placeholder="<%- page.l.comment %>"
autocomplete="off" autocapitalize="off"
spellcheck="false"></textarea>
<div class="cinemapress-comment-form-bg"></div>
<div class="cinemapress-comment-button-bg hover-off" data-comment-type="submit">
<div class="cinemapress-comment-button-bg hover-off"
data-comment-type="submit">
<span class="cinemapress-comment-button-text"></span>
</div>
</div>
<% if (comments.config.question) { %>
<div class="cinemapress-comment-bg cinemapress-comment-question" style="display: none">
<div class="cinemapress-comment-bg cinemapress-comment-question"
style="display: none">
<div class="cinemapress-comment-question-text"><%- comments.config.question %></div>
<div class="cinemapress-comment-question-answer">
<% if (comments.config.question_yes) { %>
@ -270,23 +314,34 @@
<% } %>
</div>
<% if (comments.config.question_yes) { %>
<div class="cinemapress-comment-question-text-yes" style="display: none">
<div class="cinemapress-comment-question-text-yes"
style="display: none">
<%- comments.config.question_yes %>
</div>
<% } %>
<% if (comments.config.question_not) { %>
<div class="cinemapress-comment-question-text-not" style="display: none">
<div class="cinemapress-comment-question-text-not"
style="display: none">
<%- comments.config.question_not %>
</div>
<% } %>
<div class="cinemapress-comment-question-bg"></div>
<% if (comments.config.question_poster) { %>
<div class="cinemapress-comment-question-bg-poster" style="background-image:url('<%- comments.config.question_poster %>')"></div>
<div class="cinemapress-comment-question-bg-poster"
style="background-image:url('<%- comments.config.question_poster %>')"></div>
<% } %>
</div>
<% } %>
</div>
<div style="font-size:8px;text-align:right;opacity:.2">This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy" style="font-size:8px" target="_blank">Privacy Policy</a> and <a href="https://policies.google.com/terms" style="font-size:8px" target="_blank">Terms of Service</a> apply.</div>
<div style="font-size:8px;text-align:right;opacity:.2">This site
is protected by reCAPTCHA and the Google <a
href="https://policies.google.com/privacy"
style="font-size:8px" target="_blank">Privacy
Policy</a> and <a
href="https://policies.google.com/terms"
style="font-size:8px" target="_blank">Terms of
Service</a> apply.
</div>
</div>
<%- comments.indexer ? comments.indexer : '' %>
<% if (comments.list && comments.list.length) { %>
@ -294,7 +349,8 @@
<div class="cinemapress-comment" id="c<%- comment.id %>">
<div class="cinemapress-comment-head">
<div class="cinemapress-comment-head-avatar">
<img src="<%- comment.avatar %>" alt="<%= comment.user %>">
<img src="<%- comment.avatar %>"
alt="<%= comment.user %>">
</div>
<% if (comments.config.star_rating) { %>
<% if (comment.star === 1) { %>
@ -313,26 +369,39 @@
<% } %>
<div class="cinemapress-comment-head-meta">
<div class="cinemapress-comment-head-meta-vote">
<span class="cinemapress-comment-like" data-comment-type="like" data-comment-id="<%- comment.id %>" title="<%= page.l.like %>">
<span class="cinemapress-comment-like" data-comment-type="like"
data-comment-id="<%- comment.id %>"
title="<%= page.l.like %>">
<span class="cinemapress-comment-like-icon"></span>
<span class="cinemapress-comment-like-number"><%- comment.like %></span>
</span>
<span class="cinemapress-comment-dislike" data-comment-type="dislike" data-comment-id="<%- comment.id %>" title="<%= page.l.dislike %>">
<span class="cinemapress-comment-dislike"
data-comment-type="dislike"
data-comment-id="<%- comment.id %>"
title="<%= page.l.dislike %>">
<span class="cinemapress-comment-dislike-number"><%- comment.dislike %></span>
<span class="cinemapress-comment-dislike-icon"></span>
</span>
<span class="cinemapress-comment-reply" data-reply-id="<%- comment.id %>" data-bb-code="b" data-bb-value="<%- comment.user %>" title="<%= page.l.reply %>">
<span class="cinemapress-comment-reply"
data-reply-id="<%- comment.id %>"
data-bb-code="b"
data-bb-value="<%- comment.user %>"
title="<%= page.l.reply %>">
<span class="cinemapress-comment-reply-icon"></span>
</span>
</div>
<div class="cinemapress-comment-user" data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user"
data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user-name">
<%- comment.user %>
</div><div class="cinemapress-comment-user-said">
</div>
<div class="cinemapress-comment-user-said">
<%- page.l.said %>
</div><div class="cinemapress-comment-user-date">
</div>
<div class="cinemapress-comment-user-date">
<%- comment.date %>
</div><div class="cinemapress-comment-user-link">
</div>
<div class="cinemapress-comment-user-link">
<a href="<%- comment.url %>#c<%- comment.id %>">#</a>
</div>
</div>
@ -355,10 +424,12 @@
<% } %>
<div class="cinemapress-comment-arrow">
<% if (comments && comments.prev) { %>
<div class="cinemapress-prev-comments" onclick="window.location.href='?page=<%- comments.prev %>#cinemapress-comments'"></div>
<div class="cinemapress-prev-comments"
onclick="window.location.href='?page=<%- comments.prev %>#cinemapress-comments'"></div>
<% } %>
<% if (comments && comments.next) { %>
<div class="cinemapress-next-comments" onclick="window.location.href='?page=<%- comments.next %>#cinemapress-comments'"></div>
<div class="cinemapress-next-comments"
onclick="window.location.href='?page=<%- comments.next %>#cinemapress-comments'"></div>
<% } %>
</div>
</div>
@ -377,7 +448,8 @@
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
<a href="<%- content.url %>" class="cinemapress-news"
style="background-image:url('<%- content.image %>');">
<div class="cinemapress-news-title">
<%= content.title %>
</div>
@ -401,9 +473,10 @@
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- (category.url && category.url.indexOf('?')+1 ? category.url + '&random=' : category.url + '?random=') %><%- Math.random() %>'"
onclick="window.location.href='<%- (category.url && category.url.indexOf('?') + 1 ? category.url + '&random=' : category.url + '?random=') %><%- Math.random() %>'"
title="<%= page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%= page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg"
alt="<%= page.l.random %>">
</div>
</div>
</div>
@ -416,11 +489,15 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% if (category.movies.length) {
category.movies.splice(7, category.movies.length % 7);
category.movies.forEach(function (movie, i) { %>
<a href="<%- movie.url %>" style="width: 68px; height: 97px; background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 0) { %>page_post_thumb_first_column page_post_thumb_first_row<% } else if (!(i % 6)) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>" title="<%= movie.title %>"></a>
<a href="<%- movie.url %>"
style="width: 68px; height: 97px; background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 0) { %>page_post_thumb_first_column page_post_thumb_first_row<% } else if (!(i % 6)) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>"
title="<%= movie.title %>"></a>
<% }); } %>
</div>
</div>

View File

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="<%- page.language %>" prefix="og: http://ogp.me/ns# video: http://ogp.me/ns/video# ya: http://webmaster.yandex.ru/vocabularies/">
<html lang="<%- page.language %>"
prefix="og: http://ogp.me/ns# video: http://ogp.me/ns/video# ya: http://webmaster.yandex.ru/vocabularies/">
<head>
<%- include('includes/head.ejs'); -%>
@ -36,12 +37,15 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50"
alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<a class="author"
href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<span class="explain">
<span class="wall_fixed_label">&nbsp;</span>
</span>
@ -57,11 +61,16 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% slider.forEach(function (movie, i) { if (i > 9) {return;} %>
<% slider.forEach(function (movie, i) { if (i > 9) {
return;
} %>
<a href="<%- movie.url %>" style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<a href="<%- movie.url %>"
style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<% }); %>
@ -95,12 +104,14 @@
<div class="_post_content">
<div class="post_header">
<a href="<%- movie.url %>" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50" alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="<%- movie.url %>"><%= movie.title %></a>
<a class="author"
href="<%- movie.url %>"><%= movie.title %></a>
</h5>
<% if (movie.premiere) { %>
<div class="post_date">
@ -117,13 +128,17 @@
<% if (movie.kp_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.kp %>: <%- movie.kp_rating/10 %> <span style="color: #999">(<%- movie.kp_vote %>)</span>
<%- page.l.rating %> <%- page.l.kp %>
: <%- movie.kp_rating / 10 %> <span
style="color: #999">(<%- movie.kp_vote %>)</span>
</div>
<% } %>
<% if (movie.imdb_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.imdb %>: <%- movie.imdb_rating/10 %> <span style="color: #999">(<%- movie.imdb_vote %>)</span>
<%- page.l.rating %> <%- page.l.imdb %>
: <%- movie.imdb_rating / 10 %> <span
style="color: #999">(<%- movie.imdb_vote %>)</span>
</div>
<% } %>
@ -131,12 +146,14 @@
<% if (movie.quality) { %>
<div>
<%- page.l.quality %>: <%- movie.quality %>
<%- page.l.quality %>
: <%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div>
<%- page.l.translate %>: <%- movie.translate %>
<%- page.l.translate %>
: <%- movie.translate %>
</div>
<br>
<% } %>
@ -149,13 +166,15 @@
<% if (movie.countries) { %>
<div>
<%- page.l.countries %>: <%- movie.countries %>
<%- page.l.countries %>
: <%- movie.countries %>
</div>
<% } %>
<% if (movie.genres) { %>
<div>
<%- page.l.genres %>: <%- movie.genres %>
<%- page.l.genres %>
: <%- movie.genres %>
</div>
<% } %>
@ -163,13 +182,15 @@
<% if (movie.directors) { %>
<div>
<%- page.l.directors %>: <%- movie.directors %>
<%- page.l.directors %>
: <%- movie.directors %>
</div>
<% } %>
<% if (movie.actors) { %>
<div>
<%- page.l.actors %>: <%- movie.actors %>
<%- page.l.actors %>
: <%- movie.actors %>
</div>
<% } %>
@ -177,15 +198,18 @@
<% if (movie.tags_url) { %>
<div>
<%- page.l.tags %>: <%- movie.tags_url %>
<%- page.l.tags %>
: <%- movie.tags_url %>
</div>
<% } %>
<br>
<div class="episodesListBlock" style="display: none;">
<div class="episodesListBlock"
style="display: none;">
<h3><%= movie.title %> <%- page.l.episodes %></h3>
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
<div id="episodesList"
data-id="<%- movie.kp_id %>"></div>
</div>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
@ -194,7 +218,8 @@
</div>
<% } %>
<div id="cinemapress-player" style="margin: 20px auto; border-radius: 10px;">
<div id="cinemapress-player"
style="margin: 20px auto; border-radius: 10px;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
@ -202,7 +227,9 @@
<script src="/themes/default/public/desktop/js/yastatic.net/es5-shims.min.js"></script>
<script src="/themes/default/public/desktop/js/yastatic.net/share2.js"></script>
<div class="ya-share2" data-services="collections,vkontakte,facebook,odnoklassniki,moimir,twitter" data-counter="" style="float:left;"></div>
<div class="ya-share2"
data-services="collections,vkontakte,facebook,odnoklassniki,moimir,twitter"
data-counter="" style="float:left;"></div>
<div style="clear: both"></div>
@ -234,31 +261,46 @@
<% if (typeof comments === 'object' && typeof comments.config === 'object') { %>
<% if (comments.config.star_rating) { %>
<div class="cinemapress-comment-star">
<div class="cinemapress-comment-star-down" data-comment-star="1"></div>
<div class="cinemapress-comment-star-award" data-comment-star="3"></div>
<div class="cinemapress-comment-star-up" data-comment-star="2"></div>
<div class="cinemapress-comment-star-down"
data-comment-star="1"></div>
<div class="cinemapress-comment-star-award"
data-comment-star="3"></div>
<div class="cinemapress-comment-star-up"
data-comment-star="2"></div>
</div>
<% } %>
<div class="cinemapress-comment-form">
<% if (comments.config.bb_codes) { %>
<div class="cinemapress-comment-form-bb">
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-b" data-bb-code="b"><%- page.l.bold.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-i" data-bb-code="i"><%- page.l.italic.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-spoiler" data-bb-code="spoiler">👻 <%- page.l.spoiler.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-search" data-bb-code="search">🔍 <%- page.l.search.toLowerCase() %></span>
<input class="cinemapress-comment-bg cinemapress-comment-form-anonymous" name="comment_anonymous" type="text" placeholder="<%- page.l.username %>">
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-b"
data-bb-code="b"><%- page.l.bold.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-i"
data-bb-code="i"><%- page.l.italic.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-spoiler"
data-bb-code="spoiler">👻 <%- page.l.spoiler.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-search"
data-bb-code="search">🔍 <%- page.l.search.toLowerCase() %></span>
<input class="cinemapress-comment-bg cinemapress-comment-form-anonymous"
name="comment_anonymous" type="text"
placeholder="<%- page.l.username %>">
</div>
<% } %>
<div>
<div class="cinemapress-comment-textarea-div">
<textarea name="comment_text" class="cinemapress-comment-bg cinemapress-comment-textarea" placeholder="<%- page.l.comment %>" autocomplete="off" autocapitalize="off" spellcheck="false"></textarea>
<textarea name="comment_text"
class="cinemapress-comment-bg cinemapress-comment-textarea"
placeholder="<%- page.l.comment %>"
autocomplete="off" autocapitalize="off"
spellcheck="false"></textarea>
<div class="cinemapress-comment-form-bg"></div>
<div class="cinemapress-comment-button-bg hover-off" data-comment-type="submit">
<div class="cinemapress-comment-button-bg hover-off"
data-comment-type="submit">
<span class="cinemapress-comment-button-text"></span>
</div>
</div>
<% if (comments.config.question) { %>
<div class="cinemapress-comment-bg cinemapress-comment-question" style="display: none">
<div class="cinemapress-comment-bg cinemapress-comment-question"
style="display: none">
<div class="cinemapress-comment-question-text"><%- comments.config.question %></div>
<div class="cinemapress-comment-question-answer">
<% if (comments.config.question_yes) { %>
@ -269,23 +311,34 @@
<% } %>
</div>
<% if (comments.config.question_yes) { %>
<div class="cinemapress-comment-question-text-yes" style="display: none">
<div class="cinemapress-comment-question-text-yes"
style="display: none">
<%- comments.config.question_yes %>
</div>
<% } %>
<% if (comments.config.question_not) { %>
<div class="cinemapress-comment-question-text-not" style="display: none">
<div class="cinemapress-comment-question-text-not"
style="display: none">
<%- comments.config.question_not %>
</div>
<% } %>
<div class="cinemapress-comment-question-bg"></div>
<% if (comments.config.question_poster) { %>
<div class="cinemapress-comment-question-bg-poster" style="background-image:url('<%- comments.config.question_poster %>')"></div>
<div class="cinemapress-comment-question-bg-poster"
style="background-image:url('<%- comments.config.question_poster %>')"></div>
<% } %>
</div>
<% } %>
</div>
<div style="font-size:8px;text-align:right;opacity:.2">This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy" style="font-size:8px" target="_blank">Privacy Policy</a> and <a href="https://policies.google.com/terms" style="font-size:8px" target="_blank">Terms of Service</a> apply.</div>
<div style="font-size:8px;text-align:right;opacity:.2">This site
is protected by reCAPTCHA and the Google <a
href="https://policies.google.com/privacy"
style="font-size:8px" target="_blank">Privacy
Policy</a> and <a
href="https://policies.google.com/terms"
style="font-size:8px" target="_blank">Terms of
Service</a> apply.
</div>
</div>
<%- comments.indexer ? comments.indexer : '' %>
<% if (comments.list && comments.list.length) { %>
@ -293,7 +346,8 @@
<div class="cinemapress-comment" id="c<%- comment.id %>">
<div class="cinemapress-comment-head">
<div class="cinemapress-comment-head-avatar">
<img src="<%- comment.avatar %>" alt="<%= comment.user %>">
<img src="<%- comment.avatar %>"
alt="<%= comment.user %>">
</div>
<% if (comments.config.star_rating) { %>
<% if (comment.star === 1) { %>
@ -312,26 +366,39 @@
<% } %>
<div class="cinemapress-comment-head-meta">
<div class="cinemapress-comment-head-meta-vote">
<span class="cinemapress-comment-like" data-comment-type="like" data-comment-id="<%- comment.id %>" title="<%= page.l.like %>">
<span class="cinemapress-comment-like" data-comment-type="like"
data-comment-id="<%- comment.id %>"
title="<%= page.l.like %>">
<span class="cinemapress-comment-like-icon"></span>
<span class="cinemapress-comment-like-number"><%- comment.like %></span>
</span>
<span class="cinemapress-comment-dislike" data-comment-type="dislike" data-comment-id="<%- comment.id %>" title="<%= page.l.dislike %>">
<span class="cinemapress-comment-dislike"
data-comment-type="dislike"
data-comment-id="<%- comment.id %>"
title="<%= page.l.dislike %>">
<span class="cinemapress-comment-dislike-number"><%- comment.dislike %></span>
<span class="cinemapress-comment-dislike-icon"></span>
</span>
<span class="cinemapress-comment-reply" data-reply-id="<%- comment.id %>" data-bb-code="b" data-bb-value="<%- comment.user %>" title="<%= page.l.reply %>">
<span class="cinemapress-comment-reply"
data-reply-id="<%- comment.id %>"
data-bb-code="b"
data-bb-value="<%- comment.user %>"
title="<%= page.l.reply %>">
<span class="cinemapress-comment-reply-icon"></span>
</span>
</div>
<div class="cinemapress-comment-user" data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user"
data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user-name">
<%- comment.user %>
</div><div class="cinemapress-comment-user-said">
</div>
<div class="cinemapress-comment-user-said">
<%- page.l.said %>
</div><div class="cinemapress-comment-user-date">
</div>
<div class="cinemapress-comment-user-date">
<%- comment.date %>
</div><div class="cinemapress-comment-user-link">
</div>
<div class="cinemapress-comment-user-link">
<a href="<%- comment.url %>#c<%- comment.id %>">#</a>
</div>
</div>
@ -354,10 +421,12 @@
<% } %>
<div class="cinemapress-comment-arrow">
<% if (comments && comments.prev) { %>
<div class="cinemapress-prev-comments" onclick="window.location.href='?page=<%- comments.prev %>#cinemapress-comments'"></div>
<div class="cinemapress-prev-comments"
onclick="window.location.href='?page=<%- comments.prev %>#cinemapress-comments'"></div>
<% } %>
<% if (comments && comments.next) { %>
<div class="cinemapress-next-comments" onclick="window.location.href='?page=<%- comments.next %>#cinemapress-comments'"></div>
<div class="cinemapress-next-comments"
onclick="window.location.href='?page=<%- comments.next %>#cinemapress-comments'"></div>
<% } %>
</div>
</div>
@ -376,7 +445,8 @@
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
<a href="<%- content.url %>" class="cinemapress-news"
style="background-image:url('<%- content.image %>');">
<div class="cinemapress-news-title">
<%= content.title %>
</div>
@ -400,9 +470,10 @@
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- (category.url && category.url.indexOf('?')+1 ? category.url + '&random=' : category.url + '?random=') %><%- Math.random() %>'"
onclick="window.location.href='<%- (category.url && category.url.indexOf('?') + 1 ? category.url + '&random=' : category.url + '?random=') %><%- Math.random() %>'"
title="<%= page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%= page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg"
alt="<%= page.l.random %>">
</div>
</div>
</div>
@ -415,11 +486,15 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% if (category.movies.length) {
category.movies.splice(7, category.movies.length % 7);
category.movies.forEach(function (movie, i) { %>
<a href="<%- movie.url %>" style="width: 68px; height: 97px; background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 0) { %>page_post_thumb_first_column page_post_thumb_first_row<% } else if (!(i % 6)) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>" title="<%= movie.title %>"></a>
<a href="<%- movie.url %>"
style="width: 68px; height: 97px; background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 0) { %>page_post_thumb_first_column page_post_thumb_first_row<% } else if (!(i % 6)) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>"
title="<%= movie.title %>"></a>
<% }); } %>
</div>
</div>

View File

@ -1,5 +1,6 @@
<!DOCTYPE html>
<html lang="<%- page.language %>" prefix="og: http://ogp.me/ns# video: http://ogp.me/ns/video# ya: http://webmaster.yandex.ru/vocabularies/">
<html lang="<%- page.language %>"
prefix="og: http://ogp.me/ns# video: http://ogp.me/ns/video# ya: http://webmaster.yandex.ru/vocabularies/">
<head>
<%- include('includes/head.ejs'); -%>
@ -36,12 +37,15 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50"
alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<a class="author"
href="/"><%- page.l.popular %> <%- page.l.movies %></a>
<span class="explain">
<span class="wall_fixed_label">&nbsp;</span>
</span>
@ -57,11 +61,16 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% slider.forEach(function (movie, i) { if (i > 9) {return;} %>
<% slider.forEach(function (movie, i) { if (i > 9) {
return;
} %>
<a href="<%- movie.url %>" style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<a href="<%- movie.url %>"
style="<% if (i > 2) { %>width: 68px; height: 97px;<% } else { %>width: 166px; height: 237px;<% } %> background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 2) { %>page_post_thumb_last_column<% } else if (i === 9) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else if (i > 2) { %>page_post_thumb_last_row<% } %>"></a>
<% }); %>
@ -95,12 +104,14 @@
<div class="_post_content">
<div class="post_header">
<a href="<%- movie.url %>" class="post_image">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/<%- page.theme %>/public/images/ava.png?v=<%- page.ver %>"
class="post_img" height="50" width="50" alt="Logo">
<span class="blind_label">.</span>
</a>
<div class="post_header_info">
<h5 class="post_author">
<a class="author" href="<%- movie.url %>"><%= movie.title %></a>
<a class="author"
href="<%- movie.url %>"><%= movie.title %></a>
</h5>
<% if (movie.premiere) { %>
<div class="post_date">
@ -117,13 +128,17 @@
<% if (movie.kp_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.kp %>: <%- movie.kp_rating/10 %> <span style="color: #999">(<%- movie.kp_vote %>)</span>
<%- page.l.rating %> <%- page.l.kp %>
: <%- movie.kp_rating / 10 %> <span
style="color: #999">(<%- movie.kp_vote %>)</span>
</div>
<% } %>
<% if (movie.imdb_rating) { %>
<div>
<%- page.l.rating %> <%- page.l.imdb %>: <%- movie.imdb_rating/10 %> <span style="color: #999">(<%- movie.imdb_vote %>)</span>
<%- page.l.rating %> <%- page.l.imdb %>
: <%- movie.imdb_rating / 10 %> <span
style="color: #999">(<%- movie.imdb_vote %>)</span>
</div>
<% } %>
@ -131,12 +146,14 @@
<% if (movie.quality) { %>
<div>
<%- page.l.quality %>: <%- movie.quality %>
<%- page.l.quality %>
: <%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div>
<%- page.l.translate %>: <%- movie.translate %>
<%- page.l.translate %>
: <%- movie.translate %>
</div>
<br>
<% } %>
@ -149,13 +166,15 @@
<% if (movie.countries) { %>
<div>
<%- page.l.countries %>: <%- movie.countries %>
<%- page.l.countries %>
: <%- movie.countries %>
</div>
<% } %>
<% if (movie.genres) { %>
<div>
<%- page.l.genres %>: <%- movie.genres %>
<%- page.l.genres %>
: <%- movie.genres %>
</div>
<% } %>
@ -163,13 +182,15 @@
<% if (movie.directors) { %>
<div>
<%- page.l.directors %>: <%- movie.directors %>
<%- page.l.directors %>
: <%- movie.directors %>
</div>
<% } %>
<% if (movie.actors) { %>
<div>
<%- page.l.actors %>: <%- movie.actors %>
<%- page.l.actors %>
: <%- movie.actors %>
</div>
<% } %>
@ -177,15 +198,18 @@
<% if (movie.tags_url) { %>
<div>
<%- page.l.tags %>: <%- movie.tags_url %>
<%- page.l.tags %>
: <%- movie.tags_url %>
</div>
<% } %>
<br>
<div class="episodesListBlock" style="display: none;">
<div class="episodesListBlock"
style="display: none;">
<h3><%= movie.title %> <%- page.l.episodes %></h3>
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
<div id="episodesList"
data-id="<%- movie.kp_id %>"></div>
</div>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
@ -194,7 +218,8 @@
</div>
<% } %>
<div id="cinemapress-player" style="margin: 20px auto; border-radius: 10px;">
<div id="cinemapress-player"
style="margin: 20px auto; border-radius: 10px;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
@ -202,7 +227,9 @@
<script src="/themes/default/public/desktop/js/yastatic.net/es5-shims.min.js"></script>
<script src="/themes/default/public/desktop/js/yastatic.net/share2.js"></script>
<div class="ya-share2" data-services="collections,vkontakte,facebook,odnoklassniki,moimir,twitter" data-counter="" style="float:left;"></div>
<div class="ya-share2"
data-services="collections,vkontakte,facebook,odnoklassniki,moimir,twitter"
data-counter="" style="float:left;"></div>
<div style="clear: both"></div>
@ -234,31 +261,46 @@
<% if (typeof comments === 'object' && typeof comments.config === 'object') { %>
<% if (comments.config.star_rating) { %>
<div class="cinemapress-comment-star">
<div class="cinemapress-comment-star-down" data-comment-star="1"></div>
<div class="cinemapress-comment-star-award" data-comment-star="3"></div>
<div class="cinemapress-comment-star-up" data-comment-star="2"></div>
<div class="cinemapress-comment-star-down"
data-comment-star="1"></div>
<div class="cinemapress-comment-star-award"
data-comment-star="3"></div>
<div class="cinemapress-comment-star-up"
data-comment-star="2"></div>
</div>
<% } %>
<div class="cinemapress-comment-form">
<% if (comments.config.bb_codes) { %>
<div class="cinemapress-comment-form-bb">
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-b" data-bb-code="b"><%- page.l.bold.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-i" data-bb-code="i"><%- page.l.italic.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-spoiler" data-bb-code="spoiler">👻 <%- page.l.spoiler.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-search" data-bb-code="search">🔍 <%- page.l.search.toLowerCase() %></span>
<input class="cinemapress-comment-bg cinemapress-comment-form-anonymous" name="comment_anonymous" type="text" placeholder="<%- page.l.username %>">
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-b"
data-bb-code="b"><%- page.l.bold.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-i"
data-bb-code="i"><%- page.l.italic.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-spoiler"
data-bb-code="spoiler">👻 <%- page.l.spoiler.toLowerCase() %></span>
<span class="cinemapress-comment-bg cinemapress-comment-form-bb-search"
data-bb-code="search">🔍 <%- page.l.search.toLowerCase() %></span>
<input class="cinemapress-comment-bg cinemapress-comment-form-anonymous"
name="comment_anonymous" type="text"
placeholder="<%- page.l.username %>">
</div>
<% } %>
<div>
<div class="cinemapress-comment-textarea-div">
<textarea name="comment_text" class="cinemapress-comment-bg cinemapress-comment-textarea" placeholder="<%- page.l.comment %>" autocomplete="off" autocapitalize="off" spellcheck="false"></textarea>
<textarea name="comment_text"
class="cinemapress-comment-bg cinemapress-comment-textarea"
placeholder="<%- page.l.comment %>"
autocomplete="off" autocapitalize="off"
spellcheck="false"></textarea>
<div class="cinemapress-comment-form-bg"></div>
<div class="cinemapress-comment-button-bg hover-off" data-comment-type="submit">
<div class="cinemapress-comment-button-bg hover-off"
data-comment-type="submit">
<span class="cinemapress-comment-button-text"></span>
</div>
</div>
<% if (comments.config.question) { %>
<div class="cinemapress-comment-bg cinemapress-comment-question" style="display: none">
<div class="cinemapress-comment-bg cinemapress-comment-question"
style="display: none">
<div class="cinemapress-comment-question-text"><%- comments.config.question %></div>
<div class="cinemapress-comment-question-answer">
<% if (comments.config.question_yes) { %>
@ -269,23 +311,34 @@
<% } %>
</div>
<% if (comments.config.question_yes) { %>
<div class="cinemapress-comment-question-text-yes" style="display: none">
<div class="cinemapress-comment-question-text-yes"
style="display: none">
<%- comments.config.question_yes %>
</div>
<% } %>
<% if (comments.config.question_not) { %>
<div class="cinemapress-comment-question-text-not" style="display: none">
<div class="cinemapress-comment-question-text-not"
style="display: none">
<%- comments.config.question_not %>
</div>
<% } %>
<div class="cinemapress-comment-question-bg"></div>
<% if (comments.config.question_poster) { %>
<div class="cinemapress-comment-question-bg-poster" style="background-image:url('<%- comments.config.question_poster %>')"></div>
<div class="cinemapress-comment-question-bg-poster"
style="background-image:url('<%- comments.config.question_poster %>')"></div>
<% } %>
</div>
<% } %>
</div>
<div style="font-size:8px;text-align:right;opacity:.2">This site is protected by reCAPTCHA and the Google <a href="https://policies.google.com/privacy" style="font-size:8px" target="_blank">Privacy Policy</a> and <a href="https://policies.google.com/terms" style="font-size:8px" target="_blank">Terms of Service</a> apply.</div>
<div style="font-size:8px;text-align:right;opacity:.2">This site
is protected by reCAPTCHA and the Google <a
href="https://policies.google.com/privacy"
style="font-size:8px" target="_blank">Privacy
Policy</a> and <a
href="https://policies.google.com/terms"
style="font-size:8px" target="_blank">Terms of
Service</a> apply.
</div>
</div>
<%- comments.indexer ? comments.indexer : '' %>
<% if (comments.list && comments.list.length) { %>
@ -293,7 +346,8 @@
<div class="cinemapress-comment" id="c<%- comment.id %>">
<div class="cinemapress-comment-head">
<div class="cinemapress-comment-head-avatar">
<img src="<%- comment.avatar %>" alt="<%= comment.user %>">
<img src="<%- comment.avatar %>"
alt="<%= comment.user %>">
</div>
<% if (comments.config.star_rating) { %>
<% if (comment.star === 1) { %>
@ -312,26 +366,39 @@
<% } %>
<div class="cinemapress-comment-head-meta">
<div class="cinemapress-comment-head-meta-vote">
<span class="cinemapress-comment-like" data-comment-type="like" data-comment-id="<%- comment.id %>" title="<%= page.l.like %>">
<span class="cinemapress-comment-like" data-comment-type="like"
data-comment-id="<%- comment.id %>"
title="<%= page.l.like %>">
<span class="cinemapress-comment-like-icon"></span>
<span class="cinemapress-comment-like-number"><%- comment.like %></span>
</span>
<span class="cinemapress-comment-dislike" data-comment-type="dislike" data-comment-id="<%- comment.id %>" title="<%= page.l.dislike %>">
<span class="cinemapress-comment-dislike"
data-comment-type="dislike"
data-comment-id="<%- comment.id %>"
title="<%= page.l.dislike %>">
<span class="cinemapress-comment-dislike-number"><%- comment.dislike %></span>
<span class="cinemapress-comment-dislike-icon"></span>
</span>
<span class="cinemapress-comment-reply" data-reply-id="<%- comment.id %>" data-bb-code="b" data-bb-value="<%- comment.user %>" title="<%= page.l.reply %>">
<span class="cinemapress-comment-reply"
data-reply-id="<%- comment.id %>"
data-bb-code="b"
data-bb-value="<%- comment.user %>"
title="<%= page.l.reply %>">
<span class="cinemapress-comment-reply-icon"></span>
</span>
</div>
<div class="cinemapress-comment-user" data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user"
data-comment-id="<%- comment.id %>">
<div class="cinemapress-comment-user-name">
<%- comment.user %>
</div><div class="cinemapress-comment-user-said">
</div>
<div class="cinemapress-comment-user-said">
<%- page.l.said %>
</div><div class="cinemapress-comment-user-date">
</div>
<div class="cinemapress-comment-user-date">
<%- comment.date %>
</div><div class="cinemapress-comment-user-link">
</div>
<div class="cinemapress-comment-user-link">
<a href="<%- comment.url %>#c<%- comment.id %>">#</a>
</div>
</div>
@ -354,10 +421,12 @@
<% } %>
<div class="cinemapress-comment-arrow">
<% if (comments && comments.prev) { %>
<div class="cinemapress-prev-comments" onclick="window.location.href='?page=<%- comments.prev %>#cinemapress-comments'"></div>
<div class="cinemapress-prev-comments"
onclick="window.location.href='?page=<%- comments.prev %>#cinemapress-comments'"></div>
<% } %>
<% if (comments && comments.next) { %>
<div class="cinemapress-next-comments" onclick="window.location.href='?page=<%- comments.next %>#cinemapress-comments'"></div>
<div class="cinemapress-next-comments"
onclick="window.location.href='?page=<%- comments.next %>#cinemapress-comments'"></div>
<% } %>
</div>
</div>
@ -376,7 +445,8 @@
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news" style="background-image:url('<%- content.image %>');">
<a href="<%- content.url %>" class="cinemapress-news"
style="background-image:url('<%- content.image %>');">
<div class="cinemapress-news-title">
<%= content.title %>
</div>
@ -400,9 +470,10 @@
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- (category.url && category.url.indexOf('?')+1 ? category.url + '&random=' : category.url + '?random=') %><%- Math.random() %>'"
onclick="window.location.href='<%- (category.url && category.url.indexOf('?') + 1 ? category.url + '&random=' : category.url + '?random=') %><%- Math.random() %>'"
title="<%= page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%= page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg"
alt="<%= page.l.random %>">
</div>
</div>
</div>
@ -415,11 +486,15 @@
<div class="post_info">
<div class="wall_text">
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<div class="page_post_sized_thumbs clear_fix"
style="width: 510px;">
<% if (category.movies.length) {
category.movies.splice(7, category.movies.length % 7);
category.movies.forEach(function (movie, i) { %>
<a href="<%- movie.url %>" style="width: 68px; height: 97px; background-image: url('<%- movie.poster %>')" class="page_post_thumb_wrap image_cover fl_l <% if (i === 0) { %>page_post_thumb_first_column page_post_thumb_first_row<% } else if (!(i % 6)) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>" title="<%= movie.title %>"></a>
<a href="<%- movie.url %>"
style="width: 68px; height: 97px; background-image: url('<%- movie.poster %>')"
class="page_post_thumb_wrap image_cover fl_l <% if (i === 0) { %>page_post_thumb_first_column page_post_thumb_first_row<% } else if (!(i % 6)) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>"
title="<%= movie.title %>"></a>
<% }); } %>
</div>
</div>