CinemaPress 4

This commit is contained in:
zeldaroot 2019-10-02 01:46:52 +03:00
parent 5831c41a38
commit 5cfb811355
16 changed files with 271 additions and 135 deletions

View File

@ -1,10 +1,10 @@
# Theme «joffrey»
![Theme «joffrey» for CinemaPress ACMS](https://raw.githubusercontent.com/CinemaPress/Theme-Joffrey/master/screenshot.png "Theme «joffrey» for CinemaPress ACMS")
![Theme «joffrey» for CinemaPress](https://raw.githubusercontent.com/CinemaPress/Theme-Joffrey/master/screenshot.png "Theme «joffrey» for CinemaPress")
:art: Theme «joffrey» for CinemaPress ACMS
:art: Theme «joffrey» for CinemaPress
- [Joffrey.CinemaPress.org](http://Joffrey.CinemaPress.org/)
- [Joffrey.CinemaPress.io](http://Joffrey.CinemaPress.io/)
## How to install?
1. Download [GitHub](https://github.com/CinemaPress/Theme-Joffrey/archive/master.zip) or [GitLab](https://gitlab.com/CinemaPress/Theme-Joffrey/repository/archive.zip) or [BitBucket](https://bitbucket.org/cinemapress/theme-joffrey/get/master.zip) or [Coding](https://coding.net/u/CinemaPress/p/Theme-Joffrey/git/archive/master.zip)
@ -14,7 +14,7 @@
## Installation via terminal
```
~# wget cinemapress.org/i -qO i && chmod +x i && ./i 3
~# bash <(wget -qO- cinemapress.sh)
```
## Как установить?
@ -25,5 +25,5 @@
## Установка через терминал
```
~# wget cinemapress.org/i -qO i && chmod +x i && ./i 3
~# bash <(wget -qO- cinemapress.sh)
```

File diff suppressed because one or more lines are too long

67
public/images/dice.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

@ -36,7 +36,7 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -119,13 +119,10 @@
<div class="module_body clear_fix" style="text-align: center;">
<% categories.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 %>);">
<div class="cinemapress-news-title">
<%= content.title %>
</div>
</a>
<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>
</div>
<% }); %>

View File

@ -35,7 +35,7 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -105,6 +105,15 @@
</div>
<% } %>
<div class="randomMovieCategory">
<div class="cinemapress-random-category"
onclick="window.location.href='<%- page.url %>?random'">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
<span><%- page.l.lucky %></span>
<small><%- page.l.random %></small>
</div>
</div>
<% if (page.seo) { %>
<div class="page_block">
<div style="padding: 20px; text-align: justify">

View File

@ -36,7 +36,7 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -95,7 +95,7 @@
<div class="_post_content">
<div class="post_header">
<a href="<%- movie.url %>" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -184,15 +184,15 @@
</div>
<% } %>
<div style="position: relative; height: 370px; margin: 20px auto; border-radius: 10px; background: transparent;overflow: hidden;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
</div>
<div id="cinemapress-player" style="margin: 20px auto; border-radius: 10px;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
</div>
<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,gplus,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>
@ -245,13 +245,20 @@
movies[type].forEach(function (category) { %>
<div class="wall_module">
<div class="page_block">
<h2 class="page_block_h2">
<span class="ui_tabs clear_fix ">
<span class="ui_tab ui_tab_sel">
<div class="page_block_h2">
<div class="ui_tabs clear_fix">
<h2 class="ui_tab ui_tab_sel">
<%- category.name %>
</span>
</span>
</h2>
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
title="<%- page.l.random %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>
</div>
</div>
<div class="wall_posts own">
<div class="_post post page_block all own">
@ -262,8 +269,9 @@
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<% if (category.movies.length) {
category.movies.forEach(function (movie, i) { if (i>7) {return;} %>
<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 === 6) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>" title="<%= movie.title %>"></a>
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 % 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

@ -36,7 +36,7 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -95,7 +95,7 @@
<div class="_post_content">
<div class="post_header">
<a href="<%- movie.url %>" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -184,15 +184,15 @@
</div>
<% } %>
<div style="position: relative; height: 370px; margin: 20px auto; border-radius: 10px; background: transparent;overflow: hidden;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
</div>
<div id="cinemapress-player" style="margin: 20px auto; border-radius: 10px;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
</div>
<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,gplus,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 style="clear: both"></div>
@ -246,13 +246,20 @@
movies[type].forEach(function (category) { %>
<div class="wall_module">
<div class="page_block">
<h2 class="page_block_h2">
<span class="ui_tabs clear_fix ">
<span class="ui_tab ui_tab_sel">
<div class="page_block_h2">
<div class="ui_tabs clear_fix">
<h2 class="ui_tab ui_tab_sel">
<%- category.name %>
</span>
</span>
</h2>
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
title="<%- page.l.random %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>
</div>
</div>
<div class="wall_posts own">
<div class="_post post page_block all own">
@ -263,8 +270,9 @@
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<% if (category.movies.length) {
category.movies.forEach(function (movie, i) { if (i>7) {return;} %>
<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 === 6) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>" title="<%= movie.title %>"></a>
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 % 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,7 +1,7 @@
<div class="footer_wrap fl_r" style="width: 795px;">
<div class="footer_nav">
<div class="footer_copy fl_l">
&copy;&nbsp;<%- new Date().getFullYear() %>&nbsp;<a href="https://cinemapress.org" target="_blank">CinemaPress&nbsp;ACMS</a>
&copy;&nbsp;<%- new Date().getFullYear() %>&nbsp;<a href="https://cinemapress.io" target="_blank">CinemaPress</a>
</div>
</div>
</div>

View File

@ -6,6 +6,6 @@
<meta name="description" content="<%= page.description %>">
<link rel="shortcut icon" href="/themes/joffrey/public/favicon.ico?v=<%- page.ver %>"/>
<link rel="stylesheet" type="text/css" href="/themes/joffrey/public/css/all.css?v=<%- page.ver %>">
<link rel="stylesheet" type="text/css" href="/themes/joffrey/public/css/all.min.css?v=<%- page.ver %>">
<%- page.codes.head %>

View File

@ -14,6 +14,13 @@
<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">
<a href="/?random" class="top_nav_link" title="<%- page.l.lucky %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.lucky %>">
</a>
</div>
</div>
<div class="head_nav_item fl_r continueViewingBlock" style="display: none;">
<a href="javascript:void(0)" class="top_nav_link" id="continueViewing">
<%- page.l.continue %>?
@ -27,8 +34,9 @@
</div>
</div>
<form method="get" action="/<%- page.urls.search %>">
<input class="text ts_input" autocomplete="off" name="q" type="text" placeholder="<%- page.l.search %>">
<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>
</div>
</div>

View File

@ -3,7 +3,7 @@
<div class="page_block page_photo">
<div class="page_avatar_wrap">
<div id="page_avatar" class="page_avatar">
<img class="page_avatar_img" src="<% if (typeof movie === 'object') { %><%- movie.poster %><% } else { %>/themes/joffrey/public/images/ava.png<% } %>" alt="<%= page.title %>" title="<%= page.title %>" id="cinemapress-poster">
<img class="page_avatar_img" <% if (typeof movie === 'object') { %>src="<%- movie.poster %>" id="cinemapress-poster"<% } else { %>src="/themes/joffrey/public/images/ava.png"<% } %> alt="<%= page.title %>" title="<%= page.title %>">
</div>
</div>
</div>
@ -143,7 +143,7 @@
<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/joffrey/public/images/ava.png" alt="Logo">
<img class="cell_img" src="/themes/joffrey/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
</div>
<div class="fl_l info">
<%- page.l.allGenres %>
@ -151,7 +151,7 @@
</a>
<a href="/<%- page.urls.year %>" class="line_cell clear_fix">
<div class="fl_l thumb">
<img class="cell_img" src="/themes/joffrey/public/images/ava.png" alt="Logo">
<img class="cell_img" src="/themes/joffrey/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
</div>
<div class="fl_l info">
<%- page.l.allYears %>
@ -160,7 +160,7 @@
<a href="/<%- page.urls.country %>" class="line_cell
clear_fix">
<div class="fl_l thumb">
<img class="cell_img" src="/themes/joffrey/public/images/ava.png" alt="Logo">
<img class="cell_img" src="/themes/joffrey/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
</div>
<div class="fl_l info">
<%- page.l.allCountries %>
@ -168,7 +168,7 @@
</a>
<a href="/<%- page.urls.actor %>" class="line_cell clear_fix">
<div class="fl_l thumb">
<img class="cell_img" src="/themes/joffrey/public/images/ava.png" alt="Logo">
<img class="cell_img" src="/themes/joffrey/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
</div>
<div class="fl_l info">
<%- page.l.allActors %>
@ -176,7 +176,7 @@
</a>
<a href="/<%- page.urls.director %>" class="line_cell clear_fix">
<div class="fl_l thumb">
<img class="cell_img" src="/themes/joffrey/public/images/ava.png" alt="Logo">
<img class="cell_img" src="/themes/joffrey/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
</div>
<div class="fl_l info">
<%- page.l.allDirectors %>
@ -184,7 +184,7 @@
</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/joffrey/public/images/ava.png" alt="Logo">
<img class="cell_img" src="/themes/joffrey/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
</div>
<div class="fl_l info">
<%- page.l.collections %>
@ -298,7 +298,7 @@
<div class="module_body clear_fix">
<div class="line_cell clear_fix">
<div class="fl_l thumb">
<img class="cell_img" src="/themes/joffrey/public/images/ava.png" alt="Logo">
<img class="cell_img" src="/themes/joffrey/public/images/ava.png?v=<%- page.ver %>" alt="Logo">
</div>
<div class="fl_l extra_info">
<div class="people_name">Email</div>
@ -324,18 +324,18 @@
facebook
</a>
<% } %>
<% if (page.social.telegram) { %>
<a href="<%- page.social.telegram %>" class="flat_button" style="display: block;margin: 2px
auto; background: #2ca0d2">
telegram
</a>
<% } %>
<% if (page.social.twitter) { %>
<a href="<%- page.social.twitter %>" class="flat_button" style="display: block;margin: 2px
auto; background: #1DA1F2">
twitter
</a>
<% } %>
<% if (page.social.gplus) { %>
<a href="<%- page.social.gplus %>" class="flat_button" style="display: block;margin: 2px
auto; background: #DB4437">
<%- page.l.google %>
</a>
<% } %>
<% if (page.social.youtube) { %>
<a href="<%- page.social.youtube %>" class="flat_button" style="display: block;margin: 2px
auto; background: #FF0000">

View File

@ -35,7 +35,7 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -97,13 +97,20 @@
<div class="wall_module">
<div class="page_block">
<h2 class="page_block_h2">
<span class="ui_tabs clear_fix">
<span class="ui_tab ui_tab_sel">
<div class="page_block_h2">
<div class="ui_tabs clear_fix">
<h2 class="ui_tab ui_tab_sel">
<%- category.name %>
</span>
</span>
</h2>
</h2>
<div class="randomMovieIndex">
<div class="cinemapress-random-index"
onclick="window.location.href='<%- category.url %>?random'"
title="<%- page.l.random %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>
</div>
</div>
<div class="wall_posts own">

View File

@ -36,7 +36,7 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -95,7 +95,7 @@
<div class="_post_content">
<div class="post_header">
<a href="<%- movie.url %>" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -192,15 +192,15 @@
</div>
<% } %>
<div id="cinemapress-player" style="margin: 20px auto; border-radius: 10px;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
</div>
<div id="cinemapress-player" style="margin: 20px auto; border-radius: 10px;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
</div>
<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,gplus,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 style="clear: both"></div>
@ -254,13 +254,20 @@
movies[type].forEach(function (category) { %>
<div class="wall_module">
<div class="page_block">
<h2 class="page_block_h2">
<span class="ui_tabs clear_fix ">
<span class="ui_tab ui_tab_sel">
<div class="page_block_h2">
<div class="ui_tabs clear_fix">
<h2 class="ui_tab ui_tab_sel">
<%- category.name %>
</span>
</span>
</h2>
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
title="<%- page.l.random %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>
</div>
</div>
<div class="wall_posts own">
<div class="_post post page_block all own">
@ -271,8 +278,9 @@
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<% if (category.movies.length) {
category.movies.forEach(function (movie, i) { if (i>7) {return;} %>
<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 === 6) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>" title="<%= movie.title %>"></a>
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 % 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

@ -36,7 +36,7 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -95,7 +95,7 @@
<div class="_post_content">
<div class="post_header">
<a href="<%- movie.url %>" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -184,15 +184,15 @@
</div>
<% } %>
<div id="cinemapress-player" style="margin: 20px auto; border-radius: 10px;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
</div>
<div id="cinemapress-player" style="margin: 20px auto; border-radius: 10px;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
</div>
<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,gplus,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 style="clear: both"></div>
@ -246,13 +246,20 @@
movies[type].forEach(function (category) { %>
<div class="wall_module">
<div class="page_block">
<h2 class="page_block_h2">
<span class="ui_tabs clear_fix ">
<span class="ui_tab ui_tab_sel">
<div class="page_block_h2">
<div class="ui_tabs clear_fix">
<h2 class="ui_tab ui_tab_sel">
<%- category.name %>
</span>
</span>
</h2>
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
title="<%- page.l.random %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>
</div>
</div>
<div class="wall_posts own">
<div class="_post post page_block all own">
@ -263,8 +270,9 @@
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<% if (category.movies.length) {
category.movies.forEach(function (movie, i) { if (i>7) {return;} %>
<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 === 6) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>" title="<%= movie.title %>"></a>
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 % 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

@ -36,7 +36,7 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -95,7 +95,7 @@
<div class="_post_content">
<div class="post_header">
<a href="<%- movie.url %>" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -184,15 +184,15 @@
</div>
<% } %>
<div style="position: relative; margin: 20px auto; border-radius: 10px; background: transparent;overflow: hidden;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
</div>
<div id="cinemapress-player" style="margin: 20px auto; border-radius: 10px;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
</div>
<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,gplus,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>
@ -245,13 +245,20 @@
movies[type].forEach(function (category) { %>
<div class="wall_module">
<div class="page_block">
<h2 class="page_block_h2">
<span class="ui_tabs clear_fix ">
<span class="ui_tab ui_tab_sel">
<div class="page_block_h2">
<div class="ui_tabs clear_fix">
<h2 class="ui_tab ui_tab_sel">
<%- category.name %>
</span>
</span>
</h2>
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
title="<%- page.l.random %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>
</div>
</div>
<div class="wall_posts own">
<div class="_post post page_block all own">
@ -262,8 +269,9 @@
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<% if (category.movies.length) {
category.movies.forEach(function (movie, i) { if (i>7) {return;} %>
<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 === 6) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>" title="<%= movie.title %>"></a>
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 % 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

@ -36,7 +36,7 @@
<div class="_post_content">
<div class="post_header">
<a href="/" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -95,7 +95,7 @@
<div class="_post_content">
<div class="post_header">
<a href="<%- movie.url %>" class="post_image">
<img src="/themes/joffrey/public/images/ava.png" class="post_img" height="50" width="50" alt="Logo">
<img src="/themes/joffrey/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">
@ -184,15 +184,15 @@
</div>
<% } %>
<div style="position: relative; height: 370px; margin: 20px auto; border-radius: 10px; background: transparent;overflow: hidden;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
</div>
<div id="cinemapress-player" style="margin: 20px auto; border-radius: 10px;">
<% if (page.player) { %>
<%- page.player %>
<% } %>
</div>
<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,gplus,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>
@ -245,13 +245,20 @@
movies[type].forEach(function (category) { %>
<div class="wall_module">
<div class="page_block">
<h2 class="page_block_h2">
<span class="ui_tabs clear_fix ">
<span class="ui_tab ui_tab_sel">
<div class="page_block_h2">
<div class="ui_tabs clear_fix">
<h2 class="ui_tab ui_tab_sel">
<%- category.name %>
</span>
</span>
</h2>
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
title="<%- page.l.random %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>
</div>
</div>
<div class="wall_posts own">
<div class="_post post page_block all own">
@ -262,8 +269,9 @@
<div class="_wall_post_cont">
<div class="page_post_sized_thumbs clear_fix" style="width: 510px;">
<% if (category.movies.length) {
category.movies.forEach(function (movie, i) { if (i>7) {return;} %>
<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 === 6) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>" title="<%= movie.title %>"></a>
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 % 6)) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>" title="<%= movie.title %>"></a>
<% }); } %>
</div>
</div>