CinemaPress ACMS GA

This commit is contained in:
extensionsapp 2017-09-22 01:41:29 +03:00
parent 42cf56ab87
commit 3bddff1780
14 changed files with 720 additions and 232 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@ -17,7 +17,7 @@
<div id="container">
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.top %>
</div>
@ -38,19 +38,21 @@
</div>
<div class="podborki-block">
<% if (typeof categories == 'object' && categories.length) { %>
<% categories.forEach(function (category) { %>
<div class="podborki-item-block">
<a href="<%- category.url %>" class="podborki-item">
<span class="podborki-img"><img src="<% if (category.image) { %><%- category.image %><% } else { %>https://st.kp.yandex.net/images/kadr/sm_2136182.jpg<% } %>" class="tagimg" alt="<%- category.name %>"></span>
<span class="podborki-title"><%- category.name %></span>
</a>
<% if (typeof categories === 'object' && categories.length) { %>
<div style="clear: both"></div>
<% categories.forEach(function (content) { %>
<div style="float: left; width: 25%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news">
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%- content.title %>" style="height: 160px">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<div style="clear: both"></div>
<% } %>
</div>

View File

@ -17,22 +17,22 @@
<div id="container">
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.top %>
</div>
<% } %>
<% if (typeof top == 'object' && top.movies.length) { %>
<% if (typeof top === 'object' && top.length) { %>
<div class="fullstory-content">
<div style="background:#000000;color:#FFFFFF;text-align:center;height: 30px;font-size: larger;">
<%- top.name %>
Топ
</div>
<div class="fullstory-content-slider" style="background-color:#000; margin-bottom:0 !important;">
<div id="full-slider" style="display: none;">
<% top.movies.forEach(function (movie) { %>
<% top.forEach(function (movie) { %>
<div class="item">
<a href="<%- movie.url %>">
@ -55,10 +55,10 @@
<div class="category-block">
<div class="category-content" style="padding: 1px 0 0 0 !important;">
<div class="fresh-year">
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>">
<a href="/<%- page.urls.genre %>">
<i class="fresh-year-icon"></i>Все жанры
</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>">
<a href="/<%- page.urls.year %>">
<i class="fresh-year-icon"></i>Все годы
</a>
</div>
@ -66,47 +66,71 @@
<div style="float: left;margin: 10px;"><div class="yashare-auto-init" data-yashareL10n="ru" data-yashareType="small" data-yashareQuickServices="vkontakte,facebook,twitter,odnoklassniki,moimir,gplus" data-yashareTheme="counter"></div> </div>
<a class="main_btn_podborka" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.collection %>">Лучшие подборки</a>
<a class="main_btn_hd" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.movie %>">Все фильмы HD720</a>
<a class="main_btn_podborka" href="/<%- page.urls.content %>?tag=Коллекция">Лучшие подборки</a>
<a class="main_btn_hd" href="/<%- page.urls.type %>/<%- page.urls.types.movie %>">Все фильмы HD720</a>
<span class="sortn">
<span class="sortn1">
<svg viewBox="26.2 26.9 148.1 147.5">
<polygon points="91.3,26.9 63.1,26.9 63.1,119.4 26.2,119.4 77.5,174.4 128.1,119.4 91.3,119.4"/>
<rect x="109.4" y="82.5" width="27.5" height="18.8"/>
<rect x="109.4" y="54.4" width="46.2" height="18.8"/>
<rect x="109.4" y="26.9" width="65" height="18.8"/>
</svg>
</span>
<span class="sortn2">
<% page.sorting.forEach(function (sort) { %>
<% if (typeof page.sorting === 'object') { %>
<span class="sortn">
<span class="sortn1">
<svg viewBox="26.2 26.9 148.1 147.5">
<polygon points="91.3,26.9 63.1,26.9 63.1,119.4 26.2,119.4 77.5,174.4 128.1,119.4 91.3,119.4"/>
<rect x="109.4" y="82.5" width="27.5" height="18.8"/>
<rect x="109.4" y="54.4" width="46.2" height="18.8"/>
<rect x="109.4" y="26.9" width="65" height="18.8"/>
</svg>
</span>
<span class="sortn2">
<% if (sort.active) { %>
<% page.sorting.forEach(function (sort) { %>
<a href="<%- sort.url %>">
<strong><%- sort.name %></strong>
</a>
<% if (sort.active) { %>
<% } else { %>
<a href="<%- sort.url %>">
<strong><%- sort.name %></strong>
</a>
<a href="<%- sort.url %>">
<%- sort.name %>
</a>
<% } else { %>
<% } %>
<a href="<%- sort.url %>">
<%- sort.name %>
</a>
<% }); %>
</span>
</span>
<% } %>
<% }); %>
</span>
</span>
<% } %>
</div>
<div class="cat_h1"><h1><%- page.title %></h1></div>
<% if (typeof content === 'object') { %>
<div class="cinemapress-content">
<% if (content.image) { %>
<img src="<%- content.image %>" class="cinemapress-content-image">
<% } %>
<% if (content.description) { %>
<div class="cinemapress-content-description">
<%- content.description %>
</div>
<% } %>
<div class="cinemapress-content-publish">
<% if (content.tags) { %>
<span class="cinemapress-content-publish-tags"><img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDU1LjI1IDU1LjI1IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ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DBsMC43MDcsMC43MDdDNDYuNjU0LDQ1LjExOSw0Ni42NTQsNDUuNzUyLDQ2LjI2Myw0Ni4xNDN6IE00Ni4yNjMsMTUuMDI5ICAgbC0wLjcwNywwLjcwN2MtMC4xOTUsMC4xOTUtMC40NTEsMC4yOTMtMC43MDcsMC4yOTNzLTAuNTEyLTAuMDk4LTAuNzA3LTAuMjkzYy0wLjM5MS0wLjM5MS0wLjM5MS0xLjAyMywwLTEuNDE0bDAuNzA3LTAuNzA3ICAgYzAuMzkxLTAuMzkxLDEuMDIzLTAuMzkxLDEuNDE0LDBTNDYuNjU0LDE0LjYzOSw0Ni4yNjMsMTUuMDI5eiBNNTIsMzAuODc5aC0xYy0wLjU1MiwwLTEtMC40NDctMS0xczAuNDQ4LTEsMS0xaDEgICBjMC41NTIsMCwxLDAuNDQ3LDEsMVM1Mi41NTIsMzAuODc5LDUyLDMwLjg3OXoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" style="width: 10px;"> <%- content.publish %></span>
<% } %>
</div>
</div>
<div style="clear: both;"></div>
<% } %>
<div id="cinemapress-content">
<% if (typeof movies == 'object' && movies.length) { %>
<% if (typeof movies === 'object' && movies.length) { %>
<% movies.forEach(function (movie) { %>
@ -114,25 +138,26 @@
<div class="item">
<div class="main-sliders-ico">
<span class="main-sliders-mob"></span>
<span class="main-sliders-720p"></span>
</div>
<div class="main-sliders-shadow">
<div class="main-sliders-img">
<span class="main-sliders-info">
<span class="main-sliders-info1">
<span class="main-sliders-popup">
<span><%- movie.premiere %></span>
<em><%- movie.genres %></em>
<i>
<%- movie.description_short %>...
</i>
</span>
</span>
</span>
<span class="main-sliders-bg">
<a href="<%- movie.url %>" class="main-sliders-play"><svg viewBox="83.1 54.3 61.5 73.1"><polygon points="83.1,54.3 83.1,127.4 144.7,90.9"></polygon></svg></a>
</span>
<% if (movie.quality || movie.translate) { %>
<div class="main-sliders-season"><% if (movie.quality) { %><%- movie.quality %> | <% } %><% if (movie.translate) { %><%- movie.translate %><% } %></div>
<% } %>
<span class="main-sliders-info">
<span class="main-sliders-info1">
<span class="main-sliders-popup">
<span><%- movie.premiere %></span>
<em><%- movie.genres %></em>
<i>
<%- movie.description_short %>...
</i>
</span>
</span>
</span>
<span class="main-sliders-bg">
<a href="<%- movie.url %>" class="main-sliders-play"><svg viewBox="83.1 54.3 61.5 73.1"><polygon points="83.1,54.3 83.1,127.4 144.7,90.9"></polygon></svg></a>
</span>
<img src="<%- movie.poster %>" alt="<%- movie.title %> (<%- movie.year %>)">
</div>
</div>
@ -146,10 +171,11 @@
<% } %>
<div class="basenavi">
<% if (typeof page.pagination === 'object') { %>
<div class="basenavi" style="margin: 30px auto;">
<div class="navigation">
<% if (page.pagination.prev.length) { %>
<% page.pagination.prev.slice(-4).forEach(function (prev) { %>
<% page.pagination.prev.forEach(function (prev) { %>
<a href="<%- prev.link %>" rel="nofollow"><%- prev.number %></a>
<% }); %>
<span class="nav_ext">...</span>
@ -157,16 +183,32 @@
<span><%- page.pagination.current %></span>
<% if (page.pagination.next.length) { %>
<span class="nav_ext">...</span>
<% page.pagination.next.slice(0,4).forEach(function (next) { %>
<% page.pagination.next.forEach(function (next) { %>
<a href="<%- next.link %>" rel="nofollow"><%- next.number %></a>
<% }); %>
<% } %>
</div>
<div class="nextprev">
<% if (page.pagination.prev.length) { %><a href="<%- page.pagination.prev[page.pagination.prev.length-1].link %>" rel="nofollow"><% } %><span class="thide pprev"><svg viewBox="89 120.5 7.2 11"><polygon points="96.1,122.1 94.5,120.5 89,126 94.5,131.5 96.1,130 92.1,126"></polygon></svg></span><% if (page.pagination.prev.length) { %></a><% } %>
<% if (page.pagination.next.length) { %><a href="<%- page.pagination.next[0].link %>" rel="nofollow"><% } %><span class="thide pnext"><svg viewBox="123.5 120.5 129.1 200"><polygon points="123.5,291.4 152.6,320.5 252.6,220.5 152.6,120.5 123.5,147.8 196.3,220.5"/></svg></span><% if (page.pagination.next.length) { %></a><% } %>
<% if (page.pagination.first) { %>
<a href="<%- page.pagination.first.link %>" rel="nofollow"><span class="thide pprev"><svg viewBox="89 120.5 7.2 11"><polygon points="96.1,122.1 94.5,120.5 89,126 94.5,131.5 96.1,130 92.1,126"></polygon></svg></span></a>
<% } else { %>
<span class="thide pprev"><svg viewBox="89 120.5 7.2 11"><polygon points="96.1,122.1 94.5,120.5 89,126 94.5,131.5 96.1,130 92.1,126"></polygon></svg></span>
<% } %>
<% if (page.pagination.last) { %>
<a href="<%- page.pagination.last.link %>" rel="nofollow"><span class="thide pnext"><svg viewBox="123.5 120.5 129.1 200"><polygon points="123.5,291.4 152.6,320.5 252.6,220.5 152.6,120.5 123.5,147.8 196.3,220.5"/></svg></span></a>
<% } else { %>
<span class="thide pnext"><svg viewBox="123.5 120.5 129.1 200"><polygon points="123.5,291.4 152.6,320.5 252.6,220.5 152.6,120.5 123.5,147.8 196.3,220.5"/></svg></span>
<% } %>
</div>
</div>
<% } %>
<% if (typeof content === 'object' && page.comments) { %>
<div style="padding: 10px;">
<%- page.comments %>
</div>
<% } %>
</div>
</div>
</div>

View File

@ -1,5 +1,7 @@
<!doctype html>
<html lang="ru">
<html lang="ru" prefix="og: http://ogp.me/ns#
video: http://ogp.me/ns/video#
ya: http://webmaster.yandex.ru/vocabularies/">
<head>
<% include includes/head.ejs %>
@ -17,7 +19,7 @@
<div id="container">
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.top %>
</div>
@ -28,7 +30,7 @@
<div class="full">
<div class="fullstory-drops">
<a href="<%- page.protocol %><%- page.domain %>">Главная</a> - <% if (movie.genres_url) { %><%- movie.genres_url %><% } else { %><%- movie.year_url %><% } %> - <a href="<%- movie.url %>"><%- movie.title %></a> - Трекер
<a href="/">Главная</a><% if (movie.genre_url) { %> - <%- movie.genre_url %><% } else { %> - <%- movie.year_url %><% } %> - <a href="<%- movie.url %>"><%- movie.title %></a> - Трекер
<div style="float: right;color: #FFFFFF;"><div class="yashare-auto-init" data-yashareL10n="ru" data-yashareType="small" data-yashareQuickServices="vkontakte,facebook,twitter,odnoklassniki,moimir,gplus" data-yashareTheme="counter"></div></div>
@ -36,7 +38,21 @@
<div id="left">
<div class="full-left">
<div class="full-poster">
<img src="<%- movie.poster %>" id="imgbigp" alt="<%- movie.title %> (<%- movie.year %>)">
<div class="cinemapress-poster">
<img src="<%- movie.poster %>" alt="<%- movie.title %> (<%- movie.year %>)" title="<%- movie.title %> (<%- movie.year %>)">
<% if (movie.quality) { %>
<div class="cinemapress-quality">
<span class="cinemapress-svg-quality"></span>
<%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div class="cinemapress-translate">
<span class="cinemapress-svg-translate"></span>
<%- movie.translate %>
</div>
<% } %>
</div>
</div>
<div class="full-kino-info">
<% if (movie.kp_vote) { %>
@ -63,25 +79,25 @@
<% } %>
</div>
<a class="full_btn_podborka" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.collection %>">Подборка фильмов</a>
<a class="full_btn_podborka" href="/<%- page.urls.content %>?tag=Коллекция">Подборка фильмов</a>
<div class="best-film-block">
<ul class="best-film-menu">
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2016">Лучшие фильмы 2016</a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2015">Лучшие фильмы 2015</a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2014">Лучшие фильмы 2014</a></li>
<li><a href="/<%- page.urls.year %>/2017">Лучшие фильмы 2017</a></li>
<li><a href="/<%- page.urls.year %>/2016">Лучшие фильмы 2016</a></li>
<li><a href="/<%- page.urls.year %>/2015">Лучшие фильмы 2015</a></li>
</ul>
<div class="best-icon"></div>
</div>
<% if (typeof soon == 'object' && soon.movies.length) { %>
<% if (typeof soon === 'object' && soon.length) { %>
<div class="full-title-scoro-block">
<%- soon.name %>
Скоро выйдет
</div>
<div class="fullstory-content-slider-scoro">
<div id="full-slider-scoro">
<% soon.movies.forEach(function (movie) { %>
<% soon.forEach(function (movie) { %>
<div class="item-scoro">
<a href="<%- movie.url %>">
@ -97,6 +113,45 @@
<% } %>
<% if (typeof page.adv === 'object' && page.adv.left) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.left %>
</div>
<% } %>
<% if (typeof recent === 'object' && recent.length) { %>
<% recent.forEach(function (comment) { %>
<div style="margin: 3px auto;">
<div class="cinemapress-recent">
<div class="cinemapress-recent-head">
<% if (comment.avatar) { %>
<div class="cinemapress-recent-head-avatar">
<img src="<%- comment.avatar %>" alt="<%- comment.user %>">
</div>
<% } %>
<div class="cinemapress-recent-head-meta">
<div>
<a href="<%- comment.url %>"><%- comment.title %></a>
</div>
<div>
<span>
<%- comment.user %>
</span><span>
сказал(а)
</span><span>
<%- comment.date %>
</span>
</div>
</div>
</div>
<div class="cinemapress-recent-comment">
<%- comment.comment %>
</div>
</div>
</div>
<% }); %>
<% } %>
</div>
<div id="right" class="story-video">
<div class="title-date-story">
@ -118,7 +173,7 @@
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
</div>
<% if (typeof page.adv == 'object' && page.adv.over) { %>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
<div class="full-right-video1" style="text-align: center;">
<%- page.adv.over %>
</div>
@ -137,7 +192,7 @@
</div>
</div>
<% if (typeof page.adv == 'object' && page.adv.under) { %>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
<div class="full-right-video1" style="text-align: center;">
<%- page.adv.under %>
</div>
@ -157,7 +212,7 @@
</div>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>
@ -198,6 +253,22 @@
<% } } } %>
<% if (typeof contents === 'object' && contents.length) { %>
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news">
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%- content.title %>" style="height: 200px">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<% if (contents.length%2) { %><div style="float: left; width: 50%; height: 225px;"></div><% } %>
<% } %>
<% if (page.comments) { %>
<%- page.comments %>
<% } %>

View File

@ -1,5 +1,7 @@
<!doctype html>
<html lang="ru">
<html lang="ru" prefix="og: http://ogp.me/ns#
video: http://ogp.me/ns/video#
ya: http://webmaster.yandex.ru/vocabularies/">
<head>
<% include includes/head.ejs %>
@ -17,7 +19,7 @@
<div id="container">
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.top %>
</div>
@ -28,7 +30,7 @@
<div class="full">
<div class="fullstory-drops">
<a href="<%- page.protocol %><%- page.domain %>">Главная</a> - <% if (movie.genres_url) { %><%- movie.genres_url %><% } else { %><%- movie.year_url %><% } %> - <a href="<%- movie.url %>"><%- movie.title %></a> - Серия онлайн
<a href="/">Главная</a><% if (movie.genre_url) { %> - <%- movie.genre_url %><% } else { %> - <%- movie.year_url %><% } %> - <a href="<%- movie.url %>"><%- movie.title %></a> - Серия онлайн
<div style="float: right;color: #FFFFFF;"><div class="yashare-auto-init" data-yashareL10n="ru" data-yashareType="small" data-yashareQuickServices="vkontakte,facebook,twitter,odnoklassniki,moimir,gplus" data-yashareTheme="counter"></div></div>
@ -36,7 +38,21 @@
<div id="left">
<div class="full-left">
<div class="full-poster">
<img src="<%- movie.poster %>" id="imgbigp" alt="<%- movie.title %> (<%- movie.year %>)">
<div class="cinemapress-poster">
<img src="<%- movie.poster %>" alt="<%- movie.title %> (<%- movie.year %>)" title="<%- movie.title %> (<%- movie.year %>)">
<% if (movie.quality) { %>
<div class="cinemapress-quality">
<span class="cinemapress-svg-quality"></span>
<%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div class="cinemapress-translate">
<span class="cinemapress-svg-translate"></span>
<%- movie.translate %>
</div>
<% } %>
</div>
</div>
<div class="full-kino-info">
<% if (movie.kp_vote) { %>
@ -63,25 +79,25 @@
<% } %>
</div>
<a class="full_btn_podborka" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.collection %>">Подборка фильмов</a>
<a class="full_btn_podborka" href="/<%- page.urls.content %>?tag=Коллекция">Подборка фильмов</a>
<div class="best-film-block">
<ul class="best-film-menu">
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2016">Лучшие фильмы 2016</a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2015">Лучшие фильмы 2015</a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2014">Лучшие фильмы 2014</a></li>
<li><a href="/<%- page.urls.year %>/2017">Лучшие фильмы 2014</a></li>
<li><a href="/<%- page.urls.year %>/2016">Лучшие фильмы 2016</a></li>
<li><a href="/<%- page.urls.year %>/2015">Лучшие фильмы 2015</a></li>
</ul>
<div class="best-icon"></div>
</div>
<% if (typeof soon == 'object' && soon.movies.length) { %>
<% if (typeof soon === 'object' && soon.length) { %>
<div class="full-title-scoro-block">
<%- soon.name %>
Скоро выйдет
</div>
<div class="fullstory-content-slider-scoro">
<div id="full-slider-scoro">
<% soon.movies.forEach(function (movie) { %>
<% soon.forEach(function (movie) { %>
<div class="item-scoro">
<a href="<%- movie.url %>">
@ -97,6 +113,45 @@
<% } %>
<% if (typeof page.adv === 'object' && page.adv.left) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.left %>
</div>
<% } %>
<% if (typeof recent === 'object' && recent.length) { %>
<% recent.forEach(function (comment) { %>
<div style="margin: 3px auto;">
<div class="cinemapress-recent">
<div class="cinemapress-recent-head">
<% if (comment.avatar) { %>
<div class="cinemapress-recent-head-avatar">
<img src="<%- comment.avatar %>" alt="<%- comment.user %>">
</div>
<% } %>
<div class="cinemapress-recent-head-meta">
<div>
<a href="<%- comment.url %>"><%- comment.title %></a>
</div>
<div>
<span>
<%- comment.user %>
</span><span>
сказал(а)
</span><span>
<%- comment.date %>
</span>
</div>
</div>
</div>
<div class="cinemapress-recent-comment">
<%- comment.comment %>
</div>
</div>
</div>
<% }); %>
<% } %>
</div>
<div id="right" class="story-video">
<div class="title-date-story">
@ -122,7 +177,7 @@
<span class="full-right-time"><span id="watchLater">Продолжить смотреть позже </span><b>?<i>Страница серии будет запомнена, чтобы когда Вы вернётесь, смогли продолжить просмотр.</i></b></span>
</div>
<% if (typeof page.adv == 'object' && page.adv.over) { %>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
<div class="full-right-video1" style="text-align: center;">
<%- page.adv.over %>
</div>
@ -140,7 +195,7 @@
</div>
</div>
<% if (typeof page.adv == 'object' && page.adv.under) { %>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
<div class="full-right-video1" style="text-align: center;">
<%- page.adv.under %>
</div>
@ -172,7 +227,7 @@
</div>
</div>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>
@ -213,6 +268,22 @@
<% } } } %>
<% if (typeof contents === 'object' && contents.length) { %>
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news">
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%- content.title %>" style="height: 200px">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<% if (contents.length%2) { %><div style="float: left; width: 50%; height: 225px;"></div><% } %>
<% } %>
<% if (page.comments) { %>
<%- page.comments %>
<% } %>

View File

@ -1,4 +1,22 @@
<% if (typeof page.adv == 'object' && page.adv.bottom) { %>
<% if (typeof news === 'object' && news.length) { %>
<div style="clear: both;height:50px;background: #151516"></div>
<% news.forEach(function (content) { %>
<div style="background: #151516" class="cinemapress-news-block">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news">
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%- content.title %>" style="height: 200px">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<% } %>
<div style="clear: both"></div>
<% if (typeof page.adv === 'object' && page.adv.bottom) { %>
<div class="main_footer-info" style="text-align: center; padding: 10px;">
<div class="main_footer-info1">
<div class="fullstory-drops" style="margin: 20px 0 0 0;">
@ -20,7 +38,7 @@
<div class="footer">
<div class="footer-logo"></div>
<div class="footer1">
&copy;&nbsp;2017&nbsp;<a href="https://cinemapress.org" target="_blank">CinemaPress&nbsp;ACMS</a>
&copy;&nbsp;<%- new Date().getFullYear() %>&nbsp;<a href="https://cinemapress.org" target="_blank">CinemaPress&nbsp;ACMS</a>
</div>
<% if (page.social) { %>
@ -33,6 +51,10 @@
<span> </span>
<% if (page.social.gplus) { %><a href="<%- page.social.gplus %>" target="_blank">G+</a><% } %>
<span> </span>
<% if (page.social.youtube) { %><a href="<%- page.social.youtube %>" target="_blank">youtube</a><% } %>
<span> </span>
<% if (page.social.instagram) { %><a href="<%- page.social.instagram %>" target="_blank">instagram</a><% } %>
<span> </span>
</div>
<% } %>

View File

@ -1,56 +1,50 @@
<div class="header">
<div class="top-line">
<div class="top-line1">
<a href="<%- page.protocol %><%- page.domain %>" class="logo"><%- page.domain %></a>
<a href="/" class="logo">LOGO</a>
<div class="top-menu2"><span></span></div>
<ul class="reset top-menu">
<li>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.movie %>">Фильмы</a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.movie %>">Фильмы</a>
<span style="width:362px;">
<em>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/боевик">Боевики</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/вестерн">Вестерн</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/военные">Военный</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/детектив">Детектив</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/драма">Драма</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/история">Исторические</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/комедия">Комедия</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/криминал">Криминал</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/мелодрама">Мелодрама</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.country %>/Россия">Русские</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/приключения">Приключения</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/семейный">Семейный</a>
<% page.urls.genres.slice(0,15).forEach(function(genre) { %>
<a href="<%- genre.url %>">
<%- genre.title %>
</a>
<% }); %>
</em>
<em>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/триллер">Триллер</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/ужасы">Ужасы</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/фантастика">Фантастика</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/фэнтези">Фэнтези</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2013">2013</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2014">2014</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2015">2015</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2016">2016</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2017">2017</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.collection %>">Что бы посмотреть?</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.movie %>">Фильмы HD720 онлайн</a></em>
<% page.urls.genres.slice(15,23).forEach(function(genre) { %>
<a href="<%- genre.url %>">
<%- genre.title %>
</a>
<% }); %>
<% page.urls.years.slice(0,5).forEach(function(year) { %>
<a href="<%- year.url %>">
<%- year.title %>
</a>
<% }); %>
<a href="/<%- page.urls.content %>?tag=Коллекция">Что бы посмотреть?</a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.movie %>">Фильмы HD720 онлайн</a>
</em>
</span>
</li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.movie %>?sorting=premiere-up">Новинки</a></li>
<li> <a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.serial %>">Сериалы</a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.mult %>">Мультфильмы</a></li>
<li> <a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.anime %>">Аниме</a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.tv %>">Передачи</a></li>
<li><a href="/<%- page.urls.type %>/<%- page.urls.types.movie %>?sorting=premiere-up">Новинки</a></li>
<li> <a href="/<%- page.urls.type %>/<%- page.urls.types.serial %>">Сериалы</a></li>
<li><a href="/<%- page.urls.type %>/<%- page.urls.types.mult %>">Мультфильмы</a></li>
<li> <a href="/<%- page.urls.type %>/<%- page.urls.types.anime %>">Аниме</a></li>
<li><a href="/<%- page.urls.type %>/<%- page.urls.types.tv %>">Передачи</a></li>
<li>
<a href="#">Топ</a>
<span>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.movie %>?sorting=kinopoisk-rating-up">По рейтингу КиноПоиск</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.movie %>?sorting=imdb-rating-up">По рейтингу IMDb</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.movie %>?sorting=kinopoisk-vote-up">По числу голосов КиноПоиск</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.movie %>?sorting=imdb-vote-up">По числу голосов IMDb</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.serial %>?sorting=imdb-vote-up">Топ сериалов</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.mult %>?sorting=imdb-vote-up">Топ мультфильмов</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.anime %>?sorting=imdb-vote-up">Топ аниме</a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.movie %>?sorting=kinopoisk-rating-up">По рейтингу КиноПоиск</a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.movie %>?sorting=imdb-rating-up">По рейтингу IMDb</a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.movie %>?sorting=kinopoisk-vote-up">По числу голосов КиноПоиск</a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.movie %>?sorting=imdb-vote-up">По числу голосов IMDb</a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.serial %>?sorting=imdb-vote-up">Топ сериалов</a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.mult %>?sorting=imdb-vote-up">Топ мультфильмов</a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.anime %>?sorting=imdb-vote-up">Топ аниме</a>
</span>
</li>
</ul>
@ -67,7 +61,7 @@
</svg>
</div>
<div class="top-search2">
<form method="get" action='<%- page.protocol %><%- page.domain %>/<%- page.urls.search %>/title'>
<form method="get" action='/<%- page.urls.search %>/title'>
<svg viewBox="50.8 50 19.6 20.7">
<path d="M59.5,50c0.1,0,0.1,0,0.2,0c1.7,0,3.3,0.5,4.7,1.5c1.7,1.2,2.9,2.9,3.4,4.9C68,57.1,68,58,68,58.8c-0.1,1.6-0.6,3.1-1.6,4.4c-0.1,0.1-0.2,0.2-0.3,0.4c-0.1,0.1-0.1,0.1-0.2,0.2l0,0c1.4,1.3,2.8,2.6,4.1,3.9c0.4,0.4,0.4,1,0,1.4c-0.4,0.4-0.9,0.9-1.3,1.3c-0.3,0.3-0.9,0.4-1.2,0.1c-0.1,0-0.1-0.1-0.2-0.1c-1.4-1.5-2.9-3-4.4-4.5c0,0,0,0-0.1-0.1c-0.3,0.2-0.7,0.3-1,0.4c-0.7,0.2-1.3,0.3-2,0.3c-1.4,0.1-2.8-0.2-4.1-0.8c-2.2-1-3.8-2.8-4.5-5.1c-0.3-0.9-0.4-1.8-0.4-2.8c0.1-1.7,0.6-3.2,1.6-4.5c1-1.3,2.2-2.2,3.7-2.8c0.7-0.3,1.3-0.4,2-0.5c0.3,0,1-0.1,1-0.1C59.4,50,59.5,50,59.5,50z M53.9,58.3c0,0.3,0,0.7,0.1,1c0.3,1.3,1,2.4,2.1,3.2c1.2,0.9,2.7,1.2,4.2,1c0.7-0.1,1.4-0.3,2-0.7c1.6-0.9,2.5-2.3,2.7-4.2c0.1-0.6,0-1.2-0.2-1.8c-0.4-1.5-1.3-2.6-2.7-3.4c-1.1-0.6-2.4-0.7-3.6-0.5c-1,0.2-1.9,0.6-2.7,1.2C54.5,55.3,53.9,56.7,53.9,58.3z"/>
</svg>
@ -79,11 +73,11 @@
</div>
</div>
<% if (typeof slider == 'object' && slider.movies.length) { %>
<% if (typeof slider === 'object' && slider.length) { %>
<div id="owl-top" class="owl-carousel owl-theme">
<% slider.movies.forEach(function (movie) { %>
<% slider.forEach(function (movie) { %>
<div class="item">
<div class="item-top-slider">

View File

@ -19,7 +19,7 @@
<div class="main_h"><h1>Фильмы онлайн в хорошем качестве</h1></div>
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.top %>
</div>
@ -30,17 +30,17 @@
<div style="float: left;position: relative;bottom: 3px;"><div class="yashare-auto-init" data-yashareL10n="ru" data-yashareType="small" data-yashareQuickServices="vkontakte,facebook,twitter,odnoklassniki,moimir,gplus" data-yashareTheme="counter"></div> </div>
<span style="float: right;margin: 18px 12px 0 8px;"><a class="main_btn_podborka" style="position: static !important;" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.collection %>">Лучшие подборки</a></span>
<span style="float: right;margin: 18px 5px 0 0;"><a class="main_btn_hd" style="position: static !important;" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.movie %>">Все фильмы HD720</a></span>
<span style="float: right;margin: 18px 12px 0 8px;"><a class="main_btn_podborka" style="position: static !important;" href="/<%- page.urls.content %>?tag=Коллекция">Лучшие подборки</a></span>
<span style="float: right;margin: 18px 5px 0 0;"><a class="main_btn_hd" style="position: static !important;" href="/<%- page.urls.type %>/<%- page.urls.types.movie %>">Все фильмы HD720</a></span>
</div>
</div>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (typeof index === 'object') { for (var type in index) { if (index.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>
<% if (index[type].length) { %>
<% movies[type].forEach(function (category) { %>
<% index[type].forEach(function (category) { %>
<div class="main-sliders-top1">
<div class="main-sliders-top-title">
@ -61,38 +61,40 @@
<div class="item">
<div class="main-sliders-ico">
<span class="main-sliders-mob"></span>
<span class="main-sliders-720p"></span>
</div>
<div class="main-sliders-shadow">
<div class="main-sliders-img">
<span class="main-sliders-info">
<span class="main-sliders-info1">
<span class="main-sliders-popup">
<span>
<%- movie.premiere %>
</span>
<em>
<%- movie.genres %>
</em>
<i>
<%- movie.description_short %>...
</i>
<% if (movie.quality || movie.translate) { %>
<div class="main-sliders-season"><% if (movie.quality) { %><%- movie.quality %> | <% } %><% if (movie.translate) { %><%- movie.translate %><% } %></div>
<% } %>
<span class="main-sliders-info">
<span class="main-sliders-info1">
<span class="main-sliders-popup">
<span>
<%- movie.premiere %>
</span>
<em>
<%- movie.genres %>
</em>
<i>
<%- movie.description_short %>...
</i>
</span>
</span>
<span class="main-sliders-bg">
<a href="<%- movie.url %>" class="main-sliders-play">
<svg viewBox="83.1 54.3 61.5 73.1">
<polygon points="83.1,54.3 83.1,127.4 144.7,90.9"></polygon>
</svg>
</a>
</span>
</span>
<span class="main-sliders-bg">
<a href="<%- movie.url %>" class="main-sliders-play">
<svg viewBox="83.1 54.3 61.5 73.1">
<polygon points="83.1,54.3 83.1,127.4 144.7,90.9"></polygon>
</svg>
</a>
</span>
<img src="<%- movie.poster %>" alt="<%- movie.title %> (<%- movie.year %>)" style="height: 260px; width: 180px;">
</div>
</div>
<div class="main-sliders-title">
<a href="<%- movie.url %>">
<%- movie.title %> (<% if (movie.season && movie.episode) { %><%- movie.season %> сезон <%- movie.episode %> серия <% if (movie.translate) { %><%- movie.translate %><% } %><% } else { %><%- movie.year %><% } %>)
<%- movie.title %> (<% if (movie.season && movie.episode) { %><%- movie.season %> сезон <%- movie.episode %> серия<% } else { %><%- movie.year %><% } %>)
</a>
</div>
</div>
@ -111,10 +113,11 @@
<% } } } %>
<% if (typeof page.pagination === 'object') { %>
<div class="basenavi" style="margin: 30px auto;">
<div class="navigation">
<% if (page.pagination.prev.length) { %>
<% page.pagination.prev.slice(-4).forEach(function (prev) { %>
<% page.pagination.prev.forEach(function (prev) { %>
<a href="<%- prev.link %>" rel="nofollow"><%- prev.number %></a>
<% }); %>
<span class="nav_ext">...</span>
@ -122,20 +125,25 @@
<span><%- page.pagination.current %></span>
<% if (page.pagination.next.length) { %>
<span class="nav_ext">...</span>
<% page.pagination.next.slice(0,4).forEach(function (next) { %>
<% page.pagination.next.forEach(function (next) { %>
<a href="<%- next.link %>" rel="nofollow"><%- next.number %></a>
<% }); %>
<% } %>
<% if (page.pagination.all) { %>
<span class="nav_ext">...</span>
<a href="<%- page.pagination.all.link %>" rel="nofollow"><%- page.pagination.all.number %></a>
<% } %>
</div>
<div class="nextprev">
<% if (page.pagination.prev.length) { %><a href="<%- page.pagination.prev[page.pagination.prev.length-1].link %>" rel="nofollow"><% } %><span class="thide pprev"><svg viewBox="89 120.5 7.2 11"><polygon points="96.1,122.1 94.5,120.5 89,126 94.5,131.5 96.1,130 92.1,126"></polygon></svg></span><% if (page.pagination.prev.length) { %></a><% } %>
<% if (page.pagination.next.length) { %><a href="<%- page.pagination.next[0].link %>" rel="nofollow"><% } %><span class="thide pnext"><svg viewBox="123.5 120.5 129.1 200"><polygon points="123.5,291.4 152.6,320.5 252.6,220.5 152.6,120.5 123.5,147.8 196.3,220.5"/></svg></span><% if (page.pagination.next.length) { %></a><% } %>
<% if (page.pagination.first) { %>
<a href="<%- page.pagination.first.link %>" rel="nofollow"><span class="thide pprev"><svg viewBox="89 120.5 7.2 11"><polygon points="96.1,122.1 94.5,120.5 89,126 94.5,131.5 96.1,130 92.1,126"></polygon></svg></span></a>
<% } else { %>
<span class="thide pprev"><svg viewBox="89 120.5 7.2 11"><polygon points="96.1,122.1 94.5,120.5 89,126 94.5,131.5 96.1,130 92.1,126"></polygon></svg></span>
<% } %>
<% if (page.pagination.last) { %>
<a href="<%- page.pagination.last.link %>" rel="nofollow"><span class="thide pnext"><svg viewBox="123.5 120.5 129.1 200"><polygon points="123.5,291.4 152.6,320.5 252.6,220.5 152.6,120.5 123.5,147.8 196.3,220.5"/></svg></span></a>
<% } else { %>
<span class="thide pnext"><svg viewBox="123.5 120.5 129.1 200"><polygon points="123.5,291.4 152.6,320.5 252.6,220.5 152.6,120.5 123.5,147.8 196.3,220.5"/></svg></span>
<% } %>
</div>
</div>
<% } %>
</div>

View File

@ -1,5 +1,7 @@
<!doctype html>
<html lang="ru">
<html lang="ru" prefix="og: http://ogp.me/ns#
video: http://ogp.me/ns/video#
ya: http://webmaster.yandex.ru/vocabularies/">
<head>
<% include includes/head.ejs %>
@ -17,7 +19,7 @@
<div id="container">
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.top %>
</div>
@ -29,7 +31,7 @@
<div class="fullstory-drops">
<a href="<%- page.protocol %><%- page.domain %>">Главная</a> - <% if (movie.genres_url) { %><%- movie.genres_url %><% } else { %><%- movie.year_url %><% } %> - <%- movie.title %>
<a href="/">Главная</a><% if (movie.genre_url) { %> - <%- movie.genre_url %><% } else { %> - <%- movie.year_url %><% } %> - <%- movie.title %>
<div style="float: right;color: #FFFFFF;"><div class="yashare-auto-init" data-yashareL10n="ru" data-yashareType="small" data-yashareQuickServices="vkontakte,facebook,twitter,odnoklassniki,moimir,gplus" data-yashareTheme="counter"></div></div>
@ -37,7 +39,21 @@
<div id="left">
<div class="full-left">
<div class="full-poster">
<img src="<%- movie.poster %>" id="imgbigp" alt="<%- movie.title %> (<%- movie.year %>)">
<div class="cinemapress-poster">
<img src="<%- movie.poster %>" alt="<%- movie.title %> (<%- movie.year %>)" title="<%- movie.title %> (<%- movie.year %>)">
<% if (movie.quality) { %>
<div class="cinemapress-quality">
<span class="cinemapress-svg-quality"></span>
<%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div class="cinemapress-translate">
<span class="cinemapress-svg-translate"></span>
<%- movie.translate %>
</div>
<% } %>
</div>
</div>
<div class="full-kino-info">
<% if (movie.kp_vote) { %>
@ -64,25 +80,25 @@
<% } %>
</div>
<a class="full_btn_podborka" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.collection %>">Подборка фильмов</a>
<a class="full_btn_podborka" href="/<%- page.urls.content %>?tag=Коллекция">Подборка фильмов</a>
<div class="best-film-block">
<ul class="best-film-menu">
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2017">Лучшие фильмы 2017</a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2016">Лучшие фильмы 2016</a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2015">Лучшие фильмы 2015</a></li>
<li><a href="/<%- page.urls.year %>/2017">Лучшие фильмы 2017</a></li>
<li><a href="/<%- page.urls.year %>/2016">Лучшие фильмы 2016</a></li>
<li><a href="/<%- page.urls.year %>/2015">Лучшие фильмы 2015</a></li>
</ul>
<div class="best-icon"></div>
</div>
<% if (typeof soon == 'object' && soon.movies.length) { %>
<% if (typeof soon === 'object' && soon.length) { %>
<div class="full-title-scoro-block">
<%- soon.name %>
Скоро выйдет
</div>
<div class="fullstory-content-slider-scoro">
<div id="full-slider-scoro">
<% soon.movies.forEach(function (movie) { %>
<% soon.forEach(function (movie) { %>
<div class="item-scoro">
<a href="<%- movie.url %>">
@ -98,12 +114,45 @@
<% } %>
<% if (typeof page.adv == 'object' && page.adv.left) { %>
<% if (typeof page.adv === 'object' && page.adv.left) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.left %>
</div>
<% } %>
<% if (typeof recent === 'object' && recent.length) { %>
<% recent.forEach(function (comment) { %>
<div style="margin: 3px auto;">
<div class="cinemapress-recent">
<div class="cinemapress-recent-head">
<% if (comment.avatar) { %>
<div class="cinemapress-recent-head-avatar">
<img src="<%- comment.avatar %>" alt="<%- comment.user %>">
</div>
<% } %>
<div class="cinemapress-recent-head-meta">
<div>
<a href="<%- comment.url %>"><%- comment.title %></a>
</div>
<div>
<span>
<%- comment.user %>
</span><span>
сказал(а)
</span><span>
<%- comment.date %>
</span>
</div>
</div>
</div>
<div class="cinemapress-recent-comment">
<%- comment.comment %>
</div>
</div>
</div>
<% }); %>
<% } %>
</div>
<div id="right" class="story-video">
@ -131,7 +180,7 @@
<span class="full-right-time"><span id="watchLater">Продолжить смотреть позже </span><b>?<i>Страница фильма будет запомнена, чтобы когда Вы вернётесь, смогли продолжить просмотр.</i></b></span>
</div>
<% if (typeof page.adv == 'object' && page.adv.over) { %>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
<div class="full-right-video1" style="text-align: center;">
<%- page.adv.over %>
</div>
@ -150,7 +199,7 @@
</div>
</div>
<% if (typeof page.adv == 'object' && page.adv.under) { %>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
<div class="full-right-video1" style="text-align: center;">
<%- page.adv.under %>
</div>
@ -184,13 +233,29 @@
<% if (page.seo) { %>
<div class="full-right-video1" style="font-weight: normal;">
<div class="full-right-video1" style="font-weight: normal;text-align: justify">
<%- page.seo %>
</div>
<% } %>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (typeof contents === 'object' && contents.length) { %>
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news">
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%- content.title %>" style="height: 200px">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<% if (contents.length%2) { %><div style="float: left; width: 50%; height: 225px;"></div><% } %>
<% } %>
<% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>

View File

@ -1,5 +1,7 @@
<!doctype html>
<html lang="ru">
<html lang="ru" prefix="og: http://ogp.me/ns#
video: http://ogp.me/ns/video#
ya: http://webmaster.yandex.ru/vocabularies/">
<head>
<% include includes/head.ejs %>
@ -17,7 +19,7 @@
<div id="container">
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.top %>
</div>
@ -28,7 +30,7 @@
<div class="full">
<div class="fullstory-drops">
<a href="<%- page.protocol %><%- page.domain %>">Главная</a> - <% if (movie.genres_url) { %><%- movie.genres_url %><% } else { %><%- movie.year_url %><% } %> - <a href="<%- movie.url %>"><%- movie.title %></a> - Кинозал
<a href="/">Главная</a><% if (movie.genre_url) { %> - <%- movie.genre_url %><% } else { %> - <%- movie.year_url %><% } %> - <a href="<%- movie.url %>"><%- movie.title %></a> - Кинозал
<div style="float: right;color: #FFFFFF;"><div class="yashare-auto-init" data-yashareL10n="ru" data-yashareType="small" data-yashareQuickServices="vkontakte,facebook,twitter,odnoklassniki,moimir,gplus" data-yashareTheme="counter"></div></div>
@ -36,7 +38,21 @@
<div id="left">
<div class="full-left">
<div class="full-poster">
<img src="<%- movie.poster %>" id="imgbigp" alt="<%- movie.title %> (<%- movie.year %>)">
<div class="cinemapress-poster">
<img src="<%- movie.poster %>" alt="<%- movie.title %> (<%- movie.year %>)" title="<%- movie.title %> (<%- movie.year %>)">
<% if (movie.quality) { %>
<div class="cinemapress-quality">
<span class="cinemapress-svg-quality"></span>
<%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div class="cinemapress-translate">
<span class="cinemapress-svg-translate"></span>
<%- movie.translate %>
</div>
<% } %>
</div>
</div>
<div class="full-kino-info">
<% if (movie.kp_vote) { %>
@ -63,25 +79,25 @@
<% } %>
</div>
<a class="full_btn_podborka" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.collection %>">Подборка фильмов</a>
<a class="full_btn_podborka" href="/<%- page.urls.content %>?tag=Коллекция">Подборка фильмов</a>
<div class="best-film-block">
<ul class="best-film-menu">
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2016">Лучшие фильмы 2016</a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2015">Лучшие фильмы 2015</a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2014">Лучшие фильмы 2014</a></li>
<li><a href="/<%- page.urls.year %>/2017">Лучшие фильмы 2017</a></li>
<li><a href="/<%- page.urls.year %>/2016">Лучшие фильмы 2016</a></li>
<li><a href="/<%- page.urls.year %>/2015">Лучшие фильмы 2015</a></li>
</ul>
<div class="best-icon"></div>
</div>
<% if (typeof soon == 'object' && soon.movies.length) { %>
<% if (typeof soon === 'object' && soon.length) { %>
<div class="full-title-scoro-block">
<%- soon.name %>
Скоро выйдет
</div>
<div class="fullstory-content-slider-scoro">
<div id="full-slider-scoro">
<% soon.movies.forEach(function (movie) { %>
<% soon.forEach(function (movie) { %>
<div class="item-scoro">
<a href="<%- movie.url %>">
@ -97,6 +113,45 @@
<% } %>
<% if (typeof page.adv === 'object' && page.adv.left) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.left %>
</div>
<% } %>
<% if (typeof recent === 'object' && recent.length) { %>
<% recent.forEach(function (comment) { %>
<div style="margin: 3px auto;">
<div class="cinemapress-recent">
<div class="cinemapress-recent-head">
<% if (comment.avatar) { %>
<div class="cinemapress-recent-head-avatar">
<img src="<%- comment.avatar %>" alt="<%- comment.user %>">
</div>
<% } %>
<div class="cinemapress-recent-head-meta">
<div>
<a href="<%- comment.url %>"><%- comment.title %></a>
</div>
<div>
<span>
<%- comment.user %>
</span><span>
сказал(а)
</span><span>
<%- comment.date %>
</span>
</div>
</div>
</div>
<div class="cinemapress-recent-comment">
<%- comment.comment %>
</div>
</div>
</div>
<% }); %>
<% } %>
</div>
<div id="right" class="story-video">
<div class="title-date-story">
@ -122,7 +177,7 @@
<span class="full-right-time"><span id="watchLater">Продолжить смотреть позже </span><b>?<i>Страница фильма будет запомнена, чтобы когда Вы вернётесь, смогли продолжить просмотр.</i></b></span>
</div>
<% if (typeof page.adv == 'object' && page.adv.over) { %>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
<div class="full-right-video1" style="text-align: center;">
<%- page.adv.over %>
</div>
@ -140,7 +195,7 @@
</div>
</div>
<% if (typeof page.adv == 'object' && page.adv.under) { %>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
<div class="full-right-video1" style="text-align: center;">
<%- page.adv.under %>
</div>
@ -172,7 +227,7 @@
</div>
</div>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>
@ -213,6 +268,22 @@
<% } } } %>
<% if (typeof contents === 'object' && contents.length) { %>
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news">
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%- content.title %>" style="height: 200px">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<% if (contents.length%2) { %><div style="float: left; width: 50%; height: 225px;"></div><% } %>
<% } %>
<% if (page.comments) { %>
<%- page.comments %>
<% } %>

View File

@ -1,5 +1,7 @@
<!doctype html>
<html lang="ru">
<html lang="ru" prefix="og: http://ogp.me/ns#
video: http://ogp.me/ns/video#
ya: http://webmaster.yandex.ru/vocabularies/">
<head>
<% include includes/head.ejs %>
@ -17,7 +19,7 @@
<div id="container">
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.top %>
</div>
@ -28,7 +30,7 @@
<div class="full">
<div class="fullstory-drops">
<a href="<%- page.protocol %><%- page.domain %>">Главная</a> - <% if (movie.genres_url) { %><%- movie.genres_url %><% } else { %><%- movie.year_url %><% } %> - <a href="<%- movie.url %>"><%- movie.title %></a> - Галерея
<a href="/">Главная</a><% if (movie.genre_url) { %> - <%- movie.genre_url %><% } else { %> - <%- movie.year_url %><% } %> - <a href="<%- movie.url %>"><%- movie.title %></a> - Галерея
<div style="float: right;color: #FFFFFF;"><div class="yashare-auto-init" data-yashareL10n="ru" data-yashareType="small" data-yashareQuickServices="vkontakte,facebook,twitter,odnoklassniki,moimir,gplus" data-yashareTheme="counter"></div></div>
@ -36,7 +38,21 @@
<div id="left">
<div class="full-left">
<div class="full-poster">
<img src="<%- movie.poster %>" id="imgbigp" alt="<%- movie.title %> (<%- movie.year %>)">
<div class="cinemapress-poster">
<img src="<%- movie.poster %>" alt="<%- movie.title %> (<%- movie.year %>)" title="<%- movie.title %> (<%- movie.year %>)">
<% if (movie.quality) { %>
<div class="cinemapress-quality">
<span class="cinemapress-svg-quality"></span>
<%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div class="cinemapress-translate">
<span class="cinemapress-svg-translate"></span>
<%- movie.translate %>
</div>
<% } %>
</div>
</div>
<div class="full-kino-info">
<% if (movie.kp_vote) { %>
@ -63,25 +79,25 @@
<% } %>
</div>
<a class="full_btn_podborka" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.collection %>">Подборка фильмов</a>
<a class="full_btn_podborka" href="/<%- page.urls.content %>?tag=Коллекция">Подборка фильмов</a>
<div class="best-film-block">
<ul class="best-film-menu">
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2016">Лучшие фильмы 2016</a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2015">Лучшие фильмы 2015</a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2014">Лучшие фильмы 2014</a></li>
<li><a href="/<%- page.urls.year %>/2017">Лучшие фильмы 2017</a></li>
<li><a href="/<%- page.urls.year %>/2016">Лучшие фильмы 2016</a></li>
<li><a href="/<%- page.urls.year %>/2015">Лучшие фильмы 2015</a></li>
</ul>
<div class="best-icon"></div>
</div>
<% if (typeof soon == 'object' && soon.movies.length) { %>
<% if (typeof soon === 'object' && soon.length) { %>
<div class="full-title-scoro-block">
<%- soon.name %>
Скоро выйдет
</div>
<div class="fullstory-content-slider-scoro">
<div id="full-slider-scoro">
<% soon.movies.forEach(function (movie) { %>
<% soon.forEach(function (movie) { %>
<div class="item-scoro">
<a href="<%- movie.url %>">
@ -97,6 +113,45 @@
<% } %>
<% if (typeof page.adv === 'object' && page.adv.left) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.left %>
</div>
<% } %>
<% if (typeof recent === 'object' && recent.length) { %>
<% recent.forEach(function (comment) { %>
<div style="margin: 3px auto;">
<div class="cinemapress-recent">
<div class="cinemapress-recent-head">
<% if (comment.avatar) { %>
<div class="cinemapress-recent-head-avatar">
<img src="<%- comment.avatar %>" alt="<%- comment.user %>">
</div>
<% } %>
<div class="cinemapress-recent-head-meta">
<div>
<a href="<%- comment.url %>"><%- comment.title %></a>
</div>
<div>
<span>
<%- comment.user %>
</span><span>
сказал(а)
</span><span>
<%- comment.date %>
</span>
</div>
</div>
</div>
<div class="cinemapress-recent-comment">
<%- comment.comment %>
</div>
</div>
</div>
<% }); %>
<% } %>
</div>
<div id="right" class="story-video">
<div class="title-date-story">
@ -118,7 +173,7 @@
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
</div>
<% if (typeof page.adv == 'object' && page.adv.over) { %>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
<div class="full-right-video1" style="text-align: center;">
<%- page.adv.over %>
</div>
@ -130,7 +185,7 @@
<% } %>
</div>
<% if (typeof page.adv == 'object' && page.adv.under) { %>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
<div class="full-right-video1" style="text-align: center;">
<%- page.adv.under %>
</div>
@ -148,7 +203,7 @@
</div>
</div>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>
@ -189,6 +244,22 @@
<% } } } %>
<% if (typeof contents === 'object' && contents.length) { %>
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news">
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%- content.title %>" style="height: 200px">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<% if (contents.length%2) { %><div style="float: left; width: 50%; height: 225px;"></div><% } %>
<% } %>
<% if (page.comments) { %>
<%- page.comments %>
<% } %>

View File

@ -1,5 +1,7 @@
<!doctype html>
<html lang="ru">
<html lang="ru" prefix="og: http://ogp.me/ns#
video: http://ogp.me/ns/video#
ya: http://webmaster.yandex.ru/vocabularies/">
<head>
<% include includes/head.ejs %>
@ -17,7 +19,7 @@
<div id="container">
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.top %>
</div>
@ -28,7 +30,7 @@
<div class="full">
<div class="fullstory-drops">
<a href="<%- page.protocol %><%- page.domain %>">Главная</a> - <% if (movie.genres_url) { %><%- movie.genres_url %><% } else { %><%- movie.year_url %><% } %> - <a href="<%- movie.url %>"><%- movie.title %></a> - Трейлер
<a href="/">Главная</a><% if (movie.genre_url) { %> - <%- movie.genre_url %><% } else { %> - <%- movie.year_url %><% } %> - <a href="<%- movie.url %>"><%- movie.title %></a> - Трейлер
<div style="float: right;color: #FFFFFF;"><div class="yashare-auto-init" data-yashareL10n="ru" data-yashareType="small" data-yashareQuickServices="vkontakte,facebook,twitter,odnoklassniki,moimir,gplus" data-yashareTheme="counter"></div></div>
@ -36,7 +38,21 @@
<div id="left">
<div class="full-left">
<div class="full-poster">
<img src="<%- movie.poster %>" id="imgbigp" alt="<%- movie.title %> (<%- movie.year %>)">
<div class="cinemapress-poster">
<img src="<%- movie.poster %>" alt="<%- movie.title %> (<%- movie.year %>)" title="<%- movie.title %> (<%- movie.year %>)">
<% if (movie.quality) { %>
<div class="cinemapress-quality">
<span class="cinemapress-svg-quality"></span>
<%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div class="cinemapress-translate">
<span class="cinemapress-svg-translate"></span>
<%- movie.translate %>
</div>
<% } %>
</div>
</div>
<div class="full-kino-info">
<% if (movie.kp_vote) { %>
@ -63,25 +79,25 @@
<% } %>
</div>
<a class="full_btn_podborka" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.collection %>">Подборка фильмов</a>
<a class="full_btn_podborka" href="/<%- page.urls.content %>?tag=Коллекция">Подборка фильмов</a>
<div class="best-film-block">
<ul class="best-film-menu">
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2016">Лучшие фильмы 2016</a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2015">Лучшие фильмы 2015</a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2014">Лучшие фильмы 2014</a></li>
<li><a href="/<%- page.urls.year %>/2017">Лучшие фильмы 2017</a></li>
<li><a href="/<%- page.urls.year %>/2016">Лучшие фильмы 2016</a></li>
<li><a href="/<%- page.urls.year %>/2015">Лучшие фильмы 2015</a></li>
</ul>
<div class="best-icon"></div>
</div>
<% if (typeof soon == 'object' && soon.movies.length) { %>
<% if (typeof soon === 'object' && soon.length) { %>
<div class="full-title-scoro-block">
<%- soon.name %>
Скоро выйдет
</div>
<div class="fullstory-content-slider-scoro">
<div id="full-slider-scoro">
<% soon.movies.forEach(function (movie) { %>
<% soon.forEach(function (movie) { %>
<div class="item-scoro">
<a href="<%- movie.url %>">
@ -97,6 +113,45 @@
<% } %>
<% if (typeof page.adv === 'object' && page.adv.left) { %>
<div style="margin: 10px; text-align: center;">
<%- page.adv.left %>
</div>
<% } %>
<% if (typeof recent === 'object' && recent.length) { %>
<% recent.forEach(function (comment) { %>
<div style="margin: 3px auto;">
<div class="cinemapress-recent">
<div class="cinemapress-recent-head">
<% if (comment.avatar) { %>
<div class="cinemapress-recent-head-avatar">
<img src="<%- comment.avatar %>" alt="<%- comment.user %>">
</div>
<% } %>
<div class="cinemapress-recent-head-meta">
<div>
<a href="<%- comment.url %>"><%- comment.title %></a>
</div>
<div>
<span>
<%- comment.user %>
</span><span>
сказал(а)
</span><span>
<%- comment.date %>
</span>
</div>
</div>
</div>
<div class="cinemapress-recent-comment">
<%- comment.comment %>
</div>
</div>
</div>
<% }); %>
<% } %>
</div>
<div id="right" class="story-video">
<div class="title-date-story">
@ -118,7 +173,7 @@
<div id="episodesList" data-id="<%- movie.kp_id %>"></div>
</div>
<% if (typeof page.adv == 'object' && page.adv.over) { %>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
<div class="full-right-video1" style="text-align: center;">
<%- page.adv.over %>
</div>
@ -136,7 +191,7 @@
</div>
</div>
<% if (typeof page.adv == 'object' && page.adv.under) { %>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
<div class="full-right-video1" style="text-align: center;">
<%- page.adv.under %>
</div>
@ -168,7 +223,7 @@
</div>
</div>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>
@ -209,6 +264,22 @@
<% } } } %>
<% if (typeof contents === 'object' && contents.length) { %>
<% contents.forEach(function (content) { %>
<div style="float: left; width: 50%;">
<div style="margin: 0; padding: 10px">
<a href="<%- content.url %>" class="cinemapress-news">
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%- content.title %>" style="height: 200px">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<% if (contents.length%2) { %><div style="float: left; width: 50%; height: 225px;"></div><% } %>
<% } %>
<% if (page.comments) { %>
<%- page.comments %>
<% } %>