Added tags

This commit is contained in:
zeldaroot 2019-12-02 05:35:30 +02:00
parent e8d1057603
commit db31efb2e5
13 changed files with 131 additions and 73 deletions

File diff suppressed because one or more lines are too long

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?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">
@ -61,7 +61,7 @@
<% 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>
<% }); %>
@ -121,7 +121,7 @@
<% 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>
<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?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">
@ -58,7 +58,7 @@
<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>
<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>
@ -107,8 +107,8 @@
<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 %>">
onclick="window.location.href='<%- (page.url.indexOf('?')+1 ? page.url + '&random' : page.url + '?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>
@ -205,11 +205,11 @@
</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>
<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>

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?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">
@ -61,7 +61,7 @@
<% 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,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?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">
@ -173,6 +173,16 @@
</div>
<% } %>
<br>
<% if (movie.tags_url) { %>
<div>
<%- page.l.tags %>: <%- movie.tags_url %>
</div>
<% } %>
<br>
<div class="episodesListBlock" style="display: none;">
<h3><%= movie.title %> <%- page.l.episodes %></h3>
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
@ -228,7 +238,7 @@
<% 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>
@ -252,9 +262,9 @@
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
onclick="window.location.href='<%- (category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
title="<%- page.l.random %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>
@ -271,7 +281,7 @@
<% 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 % 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 % 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?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">
@ -61,7 +61,7 @@
<% 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,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?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">
@ -173,6 +173,16 @@
</div>
<% } %>
<br>
<% if (movie.tags_url) { %>
<div>
<%- page.l.tags %>: <%- movie.tags_url %>
</div>
<% } %>
<br>
<div class="episodesListBlock" style="display: none;">
<h3><%= movie.title %> <%- page.l.episodes %></h3>
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
@ -229,7 +239,7 @@
<% 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>
@ -253,9 +263,9 @@
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
onclick="window.location.href='<%- (category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
title="<%- page.l.random %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>
@ -272,7 +282,7 @@
<% 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 % 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 % 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

@ -5,7 +5,7 @@
<title><%= page.title %></title>
<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.min.css?v=<%- page.ver %>">
<link rel="shortcut icon" href="/themes/<%- page.theme %>/public/favicon.ico?v=<%- page.ver %>"/>
<link rel="stylesheet" type="text/css" href="/themes/<%- page.theme %>/public/css/all.min.css?v=<%- page.ver %>">
<%- page.codes.head %>

View File

@ -4,7 +4,7 @@
<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/joffrey/public/images/logo.png?v=<%- page.ver %>) no-repeat; background-size: auto 42px;">
<div class="head_nav_item fl_l" style="background: url('/themes/<%- page.theme %>/public/images/logo.png?v=<%- page.ver %>') no-repeat; background-size: auto 42px;">
<a class="top_home_link fl_l" href="/"></a>
</div>
<div class="head_nav_item fl_l head_nav_btns">
@ -17,7 +17,7 @@
<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 %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.lucky %>">
</a>
</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" <% if (typeof movie === 'object') { %>src="<%- movie.poster %>" data-cinemapress-poster="<%- movie.poster %>"<% } else { %>src="/themes/joffrey/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>
@ -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?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 +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?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 +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?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 +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?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 +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?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 +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?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 %>
@ -244,7 +244,7 @@
<% 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>
@ -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?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>

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?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">
@ -58,7 +58,7 @@
<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>
<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>
@ -104,9 +104,9 @@
</h2>
<div class="randomMovieIndex">
<div class="cinemapress-random-index"
onclick="window.location.href='<%- category.url %>?random'"
onclick="window.location.href='<%- (category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
title="<%- page.l.random %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>
@ -194,11 +194,11 @@
</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>
<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>

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?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">
@ -61,7 +61,7 @@
<% 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,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?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">
@ -175,6 +175,14 @@
<br>
<% if (movie.tags_url) { %>
<div>
<%- page.l.tags %>: <%- movie.tags_url %>
</div>
<% } %>
<br>
<% if (movie.description) { %>
<div style="text-align:justify">
<%- movie.description %>
@ -237,7 +245,7 @@
<% 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>
@ -261,9 +269,9 @@
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
onclick="window.location.href='<%- (category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
title="<%- page.l.random %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>
@ -280,7 +288,7 @@
<% 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 % 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 % 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?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">
@ -61,7 +61,7 @@
<% 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,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?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">
@ -173,6 +173,16 @@
</div>
<% } %>
<br>
<% if (movie.tags_url) { %>
<div>
<%- page.l.tags %>: <%- movie.tags_url %>
</div>
<% } %>
<br>
<div class="episodesListBlock" style="display: none;">
<h3><%= movie.title %> <%- page.l.episodes %></h3>
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
@ -229,7 +239,7 @@
<% 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>
@ -253,9 +263,9 @@
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
onclick="window.location.href='<%- (category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
title="<%- page.l.random %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>
@ -272,7 +282,7 @@
<% 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 % 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 % 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?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">
@ -61,7 +61,7 @@
<% 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,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?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">
@ -173,6 +173,16 @@
</div>
<% } %>
<br>
<% if (movie.tags_url) { %>
<div>
<%- page.l.tags %>: <%- movie.tags_url %>
</div>
<% } %>
<br>
<div class="episodesListBlock" style="display: none;">
<h3><%= movie.title %> <%- page.l.episodes %></h3>
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
@ -228,7 +238,7 @@
<% 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>
@ -252,9 +262,9 @@
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
onclick="window.location.href='<%- (category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
title="<%- page.l.random %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>
@ -271,7 +281,7 @@
<% 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 % 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 % 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?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">
@ -61,7 +61,7 @@
<% 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,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?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">
@ -173,6 +173,16 @@
</div>
<% } %>
<br>
<% if (movie.tags_url) { %>
<div>
<%- page.l.tags %>: <%- movie.tags_url %>
</div>
<% } %>
<br>
<div class="episodesListBlock" style="display: none;">
<h3><%= movie.title %> <%- page.l.episodes %></h3>
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
@ -228,7 +238,7 @@
<% 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>
@ -252,9 +262,9 @@
</h2>
<div class="randomMovieRelated">
<div class="cinemapress-random-related"
onclick="window.location.href='<%- category.url %>?random'"
onclick="window.location.href='<%- (category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'"
title="<%- page.l.random %>">
<img src="/themes/joffrey/public/images/dice.svg" alt="<%- page.l.random %>">
<img src="/themes/<%- page.theme %>/public/images/dice.svg" alt="<%- page.l.random %>">
</div>
</div>
</div>
@ -271,7 +281,7 @@
<% 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 % 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 % 6)) { %>page_post_thumb_last_column page_post_thumb_last_row<% } else { %>page_post_thumb_last_row<% } %>" title="<%= movie.title %>"></a>
<% }); } %>
</div>
</div>