CinemaPress ACMS GA

This commit is contained in:
extensionsapp 2017-09-22 01:44:12 +03:00
parent 8359f8f80f
commit 2ecb4c0aa5
15 changed files with 382 additions and 139 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: 21 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@ -1,5 +1,5 @@
<!doctype html>
<html lang="ru-RU">
<html lang="ru">
<head>
<% include includes/head.ejs %>
@ -17,7 +17,7 @@
<div class="sbar">
<div class="speedbar">
<span>
<a href="<%- page.protocol %><%- page.domain %>">
<a href="/">
<span>Главная</span>
</a>
</span> »
@ -25,7 +25,7 @@
</div>
</div>
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div class="decription" style="text-align: center; border: 1px solid #101010;">
<%- page.adv.top %>
</div>
@ -38,22 +38,21 @@
<div class="collect-content">
<% if (typeof categories == 'object' && categories.length) { %>
<% categories.forEach(function (category) { %>
<a href="<%- category.url %>" class="collect-block" target="_blank">
<span class="collect-title">
<img src="/themes/ramsay/public/images/video-play.png" alt="<%- category.name %>">
<span class="hyphenate"><%- category.name %></span>
</span>
<span class="collect-img-block">
<span class="collect-img" style="background: #000 url('<% if (category.image) { %><%- category.image %><% } else { %>https://st.kp.yandex.net/images/kadr/sm_2136182.jpg<% } %>') right top no-repeat"></span>
</span>
</a>
<% if (typeof categories === 'object' && categories.length) { %>
<div style="clear: both"></div>
<% categories.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 %>">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<div style="clear: both"></div>
<% } %>
</div>
@ -61,7 +60,7 @@
</div>
</div>
<% if (typeof page.adv == 'object' && page.adv.bottom) { %>
<% if (typeof page.adv === 'object' && page.adv.bottom) { %>
<div class="decription" style="text-align: center; border-right: 1px solid #101010;">
<%- page.adv.bottom %>
</div>

View File

@ -1,5 +1,5 @@
<!doctype html>
<html lang="ru-RU">
<html lang="ru">
<head>
<% include includes/head.ejs %>
@ -17,7 +17,7 @@
<div class="sbar">
<div class="speedbar">
<span>
<a href="<%- page.protocol %><%- page.domain %>">
<a href="/">
<span>Главная</span>
</a>
</span> »
@ -25,7 +25,7 @@
</div>
</div>
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div class="decription" style="text-align: center; border: 1px solid #101010;">
<%- page.adv.top %>
</div>
@ -35,8 +35,32 @@
<h1><%- page.title %></h1>
<% 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" style="vertical-align: middle;">
<% if (content.tags) { %>
<span class="cinemapress-content-publish-tags" style="vertical-align: middle;"><img src="data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDU1LjI1IDU1LjI1IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ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MDIzLTAuMzkxLDEuNDE0LDBsMC43MDcsMC43MDdDNDYuNjU0LDQ1LjExOSw0Ni42NTQsNDUuNzUyLDQ2LjI2Myw0Ni4xNDN6IE00Ni4yNjMsMTUuMDI5ICAgbC0wLjcwNywwLjcwN2MtMC4xOTUsMC4xOTUtMC40NTEsMC4yOTMtMC43MDcsMC4yOTNzLTAuNTEyLTAuMDk4LTAuNzA3LTAuMjkzYy0wLjM5MS0wLjM5MS0wLjM5MS0xLjAyMywwLTEuNDE0bDAuNzA3LTAuNzA3ICAgYzAuMzkxLTAuMzkxLDEuMDIzLTAuMzkxLDEuNDE0LDBTNDYuNjU0LDE0LjYzOSw0Ni4yNjMsMTUuMDI5eiBNNTIsMzAuODc5aC0xYy0wLjU1MiwwLTEtMC40NDctMS0xczAuNDQ4LTEsMS0xaDEgICBjMC41NTIsMCwxLDAuNDQ3LDEsMVM1Mi41NTIsMzAuODc5LDUyLDMwLjg3OXoiIGZpbGw9IiNGRkZGRkYiLz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K" style="width: 10px;vertical-align: middle;"> <%- content.publish %></span>
<% } %>
</div>
</div>
<div style="clear: both;"></div>
<% } %>
<br><br>
<% if (typeof page.sorting === 'object') { %>
<% page.sorting.forEach(function (sort) { %>
<% if (sort.active) { %>
@ -55,11 +79,13 @@
<% }); %>
<% } %>
</div>
<div id='cinemapress-content'>
<% if (typeof movies == 'object' && movies.length) { %>
<% if (typeof movies === 'object' && movies.length) { %>
<% movies.forEach(function (movie) { %>
@ -75,10 +101,20 @@
<ul class="caption-style-4">
<li>
<a href="<%- movie.url %>" title="<%- movie.title %>">
<img src="<%- movie.poster %>" alt="<%- movie.title %> (<%- movie.year %>)" title="<%- movie.title %> (<%- movie.year %>)" class="okrug">
<div class="caption">
<div class="blur"></div>
<div class="caption-text"></div>
<div class="cinemapress-poster">
<img src="<%- movie.poster %>" alt="<%- movie.title %> (<%- movie.year %>)" title="<%- movie.title %> (<%- movie.year %>)" class="okrug">
<% if (movie.quality) { %>
<div class="cinemapress-quality">
<span class="cinemapress-svg-quality" style="padding-top: 7px !important;"></span>
<%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div class="cinemapress-translate">
<span class="cinemapress-svg-translate" style="padding-top: 7px !important;"></span>
<%- movie.translate %>
</div>
<% } %>
</div>
</a>
</li>
@ -150,10 +186,15 @@
<% } %>
<% if (typeof page.pagination === 'object') { %>
<div class="bot-left">
<div class="bot-navigation">
<% if (page.pagination.first) { %>
<a href="<%- page.pagination.first.link %>" rel="nofollow"><%- page.pagination.first.number %></a>
<span class="nav_ext">...</span>
<% } %>
<% if (page.pagination.prev.length) { %>
<% page.pagination.prev.slice(-6).forEach(function (prev) { %>
<% page.pagination.prev.forEach(function (prev) { %>
<a href="<%- prev.link %>" rel="nofollow"><%- prev.number %></a>
<% }); %>
<span class="nav_ext">...</span>
@ -161,15 +202,27 @@
<span><%- page.pagination.current %></span>
<% if (page.pagination.next.length) { %>
<span class="nav_ext">...</span>
<% page.pagination.next.slice(0,6).forEach(function (next) { %>
<% page.pagination.next.forEach(function (next) { %>
<a href="<%- next.link %>" rel="nofollow"><%- next.number %></a>
<% }); %>
<% } %>
<% if (page.pagination.last) { %>
<span class="nav_ext">...</span>
<a href="<%- page.pagination.last.link %>" rel="nofollow"><%- page.pagination.last.number %></a>
<% } %>
</div>
</div>
<% } %>
<% if (typeof content === 'object' && page.comments) { %>
<div style="padding: 10px;">
<%- page.comments %>
</div>
<% } %>
</div>
<% if (typeof page.adv == 'object' && page.adv.bottom) { %>
<% if (typeof page.adv === 'object' && page.adv.bottom) { %>
<div class="decription" style="text-align: center; border-right: 1px solid #101010;">
<%- page.adv.bottom %>
</div>

View File

@ -1,5 +1,7 @@
<!doctype html>
<html lang="ru-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,13 +19,15 @@
<div class="sbar">
<div class="speedbar">
<span>
<a href="<%- page.protocol %><%- page.domain %>">
<a href="/">
<span>Главная</span>
</a>
</span> »
<% if (movie.genre_url) { %>
<span>
<%- movie.genre_url %>
</span> »
<% } %>
<span>
<a href="<%- movie.url %>">
<span><%- movie.title %></span>
@ -33,7 +37,7 @@
</div>
</div>
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div class="decription" style="text-align: center; border: 1px solid #101010; border-bottom: 0;">
<%- page.adv.top %>
</div>
@ -54,7 +58,7 @@
<% } %>
<% if (typeof page.adv == 'object' && page.adv.over) { %>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
<div style="text-align: center; margin: 10px auto;">
<%- page.adv.over %>
</div>
@ -81,7 +85,7 @@
</div>
<div style="clear:both;"></div>
<% if (typeof page.adv == 'object' && page.adv.under) { %>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
<div class="decription">
<div class="decription-text" style="text-align: center">
<%- page.adv.under %>
@ -89,7 +93,24 @@
</div>
<% } %>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (typeof contents === 'object' && contents.length) { %>
<div style="clear: both"></div>
<% 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 %>">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<div style="clear: both"></div>
<% } %>
<% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>
@ -142,7 +163,7 @@
<div style="clear:both;"></div>
</div>
<% if (typeof page.adv == 'object' && page.adv.bottom) { %>
<% if (typeof page.adv === 'object' && page.adv.bottom) { %>
<div class="decription" style="text-align: center; border-right: 1px solid #101010;">
<%- page.adv.bottom %>
</div>

View File

@ -1,5 +1,7 @@
<!doctype html>
<html lang="ru-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,13 +19,15 @@
<div class="sbar">
<div class="speedbar">
<span>
<a href="<%- page.protocol %><%- page.domain %>">
<a href="/">
<span>Главная</span>
</a>
</span> »
<% if (movie.genre_url) { %>
<span>
<%- movie.genre_url %>
</span> »
<% } %>
<span>
<a href="<%- movie.url %>">
<span><%- movie.title %></span>
@ -33,7 +37,7 @@
</div>
</div>
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div class="decription" style="text-align: center; border: 1px solid #101010; border-bottom: 0;">
<%- page.adv.top %>
</div>
@ -54,7 +58,7 @@
<% } %>
<% if (typeof page.adv == 'object' && page.adv.over) { %>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
<div style="text-align: center; margin: 10px auto;">
<%- page.adv.over %>
</div>
@ -98,7 +102,7 @@
</div>
<div style="clear:both;"></div>
<% if (typeof page.adv == 'object' && page.adv.under) { %>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
<div class="decription">
<div class="decription-text" style="text-align: center">
<%- page.adv.under %>
@ -106,7 +110,24 @@
</div>
<% } %>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (typeof contents === 'object' && contents.length) { %>
<div style="clear: both"></div>
<% 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 %>">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<div style="clear: both"></div>
<% } %>
<% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>
@ -159,7 +180,7 @@
<div style="clear:both;"></div>
</div>
<% if (typeof page.adv == 'object' && page.adv.bottom) { %>
<% if (typeof page.adv === 'object' && page.adv.bottom) { %>
<div class="decription" style="text-align: center; border-right: 1px solid #101010;">
<%- page.adv.bottom %>
</div>

View File

@ -7,7 +7,7 @@
<div class="footer">
<span style="color: #ccc;">
<strong style="color: #fff;">
&copy;&nbsp;2017&nbsp;<a href="https://cinemapress.org" target="_blank" style="color: #fff">CinemaPress&nbsp;ACMS</a>
&copy;&nbsp;<%- new Date().getFullYear() %>&nbsp;<a href="https://cinemapress.org" target="_blank" style="color: #fff">CinemaPress&nbsp;ACMS</a>
</strong> | Для связи с администрацией <%- page.email %>
</span>
<% if (page.social) { %>
@ -16,6 +16,8 @@
<% if (page.social.facebook) { %><span> | </span><a href="<%- page.social.facebook %>" target="_blank">facebook</a><% } %>
<% if (page.social.twitter) { %><span> | </span><a href="<%- page.social.twitter %>" target="_blank">twitter</a><% } %>
<% if (page.social.gplus) { %><span> | </span><a href="<%- page.social.gplus %>" target="_blank">G+</a><% } %>
<% if (page.social.youtube) { %><span> | </span><a href="<%- page.social.youtube %>" target="_blank">YouTube</a><% } %>
<% if (page.social.instagram) { %><span> | </span><a href="<%- page.social.instagram %>" target="_blank">Instagram</a><% } %>
</span>
<% } %>
</div>

View File

@ -1,20 +1,20 @@
<header>
<div class="header">
<div class="menuSch">
<a href="<%- page.protocol %><%- page.domain %>" class="red"><b>Главная</b></a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2016" class="fiolet"><b>Новинки 2016</b></a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.movie %>">Фильмы в <b>HD</b></a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.serial %>"><b>Сериалы</b></a>
<a href="/" class="red"><b>Главная</b></a>
<a href="/<%- page.urls.year %>/2017" class="fiolet"><b>Новинки 2017</b></a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.movie %>">Фильмы в <b>HD</b></a>
<a href="/<%- page.urls.type %>/<%- page.urls.types.serial %>"><b>Сериалы</b></a>
</div>
<% if (typeof slider == 'object' && slider.movies.length) { %>
<% if (typeof slider === 'object' && slider.length) { %>
<div class="sliderbox">
<div class="toop">
<div class="carousel">
<div id="carousel" class="carousel_inner">
<% slider.movies.forEach(function (movie) { %>
<% slider.forEach(function (movie) { %>
<div class="carousel_box">
@ -42,7 +42,7 @@
<div class="topper" id="topper">
<div class="wrapper">
<a href="<%- page.protocol %><%- page.domain %>" title="На главную">
<a href="/" title="На главную">
<img src="/themes/ramsay/public/images/logo.png" class="logo" alt="Логотип">
</a>
<div class="mobile burger" onclick="showMenu();"></div>
@ -52,7 +52,7 @@
</div>
<div class="searching">
<form action="<%- page.protocol %><%- page.domain %>/<%- page.urls.search %>/title" name="searchform" method="get">
<form action="/<%- page.urls.search %>/title" name="searchform" method="get">
<div class="input-append">
<label>
`<input class="search" type="text" id="story" name="q" value="Поиск" onBlur="if(this.value=='') this.value='Поиск';" onFocus="if(this.value=='Поиск') this.value='';" data-provide="typeahead" data-items="4">

View File

@ -1,13 +1,13 @@
<div class="left_side" id="mMenu">
<div class="left_block">
<div class="right_side" id="mMenu">
<div class="right_block">
<% if (typeof top == 'object' && top.movies.length) { %>
<% if (typeof top === 'object' && top.length) { %>
<div class="msupdate_block">
<div class="msupdate_block_date"><%- top.name %></div>
<div class="msupdate_block_date">Топ</div>
<ul class="msupdate_block_list">
<% top.movies.forEach(function (movie) { %>
<% top.forEach(function (movie) { %>
<li class="msupdate_block_list_item">
<div class="msupdate_block_list_item_inner">
@ -26,50 +26,39 @@
<% } %>
<ul class="leftmenu mc2">
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2017"><span>Новинки кино</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2016"><span>Фильмы 2016 года</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2015"><span>Фильмы 2015 года</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2014"><span>Фильмы 2014 года</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2013"><span>Фильмы 2013 года</span></a></li>
<% page.urls.years.slice(0,5).forEach(function(genre) { %>
<li>
<a href="<%- genre.url %>">
<span>Фильмы <%- genre.title %> года</span>
</a>
</li>
<% }); %>
</ul>
<div class="menugod">
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.movie %>" class="menugo1d">Кино</a>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.collection %>" class="menugo2d">Подборки фильмов</a></div>
<span class="left_blockb">Категории</span><br/><br/>
<a href="/<%- page.urls.type %>/<%- page.urls.types.movie %>" class="menugo1d">Кино</a>
<a href="/<%- page.urls.content %>?tag=Коллекция" class="menugo2d">Подборки фильмов</a>
</div>
<nav>
<ul class="leftmenu mc1">
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/триллер"><span>Триллеры</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/приключения"><span>Приключения</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/мультфильм"><span>Мультфильмы</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/детектив"><span>Детективы</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/вестерн"><span>Вестерны</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/боевик"><span>Боевики</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/ужасы"><span>Ужасы</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/комедия"><span>Комедии</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/криминал"><span>Криминал</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/мюзикл"><span>Мюзиклы</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/короткометражка"><span>Короткометражки</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/история"><span>Исторические</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/документальный"><span>Документальные</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/спорт"><span>Спорт</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/мелодрама"><span>Мелодрамы</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/драма"><span>Драмы</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/биография"> <span>Биография</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/военный"><span>Военные</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/фантастика"><span>Фантастика</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/фэнтези"><span>Фэнтези</span></a></li>
<% page.urls.genres.forEach(function(genre) { %>
<li>
<a href="<%- genre.url %>">
<span><%- genre.title %></span>
</a>
</li>
<% }); %>
</ul>
</nav>
<ul class="leftmenu mc2">
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>"><span>Все годы</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>"><span>Все жанры</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.country %>"><span>Все страны</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.actor %>"><span>Все актеры</span></a></li>
<li><a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.director %>"><span>Все режиссеры</span></a></li>
<li><a href="/<%- page.urls.year %>"><span>Все годы</span></a></li>
<li><a href="/<%- page.urls.genre %>"><span>Все жанры</span></a></li>
<li><a href="/<%- page.urls.country %>"><span>Все страны</span></a></li>
<li><a href="/<%- page.urls.actor %>"><span>Все актеры</span></a></li>
<li><a href="/<%- page.urls.director %>"><span>Все режиссеры</span></a></li>
</ul>
<% if (typeof page.adv == 'object' && page.adv.right) { %>
<% if (typeof page.adv === 'object' && page.adv.right) { %>
<div style="clear: both"></div>
<div style="text-align: center; margin: 10px auto;">
<%- page.adv.right %>
@ -77,14 +66,14 @@
<div style="clear: both"></div>
<% } %>
<% if (typeof soon == 'object' && soon.movies.length) { %>
<% if (typeof soon === 'object' && soon.length) { %>
<span class="left_blockb">Скоро</span><br>
<span class="right_blockb">Скоро</span><br>
<span class="bold-t">на сайте</span><br>
<div class="slideserbox">
<ul id="slides4">
<% soon.movies.forEach(function (movie) { %>
<% soon.forEach(function (movie) { %>
<li>
<a href="<%- movie.url %>" class="brost" title="<%- movie.title %> (<%- movie.year %>)">
@ -100,5 +89,53 @@
<% } %>
<% if (typeof news === 'object' && news.length) { %>
<% news.forEach(function (content) { %>
<div style="float: left; width: 100%;">
<div style="margin: 10px 0; padding: 0">
<a href="<%- content.url %>" class="cinemapress-news">
<img src="<%- content.image %>" class="cinemapress-news-image" alt="<%- content.title %>">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<% } %>
<% if (typeof recent === 'object' && recent.length) { %>
<% recent.forEach(function (comment) { %>
<div style="float: left; width: 100%;">
<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>

View File

@ -1,5 +1,5 @@
<!doctype html>
<html lang="ru-RU">
<html lang="ru">
<head>
<% include includes/head.ejs %>
@ -16,17 +16,17 @@
<h1 style="padding:10px; text-align: center; background: #111; border-radius: 5px; margin: 5px;">Смотреть фильмы онлайн бесплатно в FullHD качестве</h1>
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div class="decription" style="text-align: center; border: 1px solid #101010;">
<%- page.adv.top %>
</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="sort">
@ -44,7 +44,7 @@
<div class="short_story">
<div class="title">
<img src="/themes/ramsay/public/images/video-play.png" class="h2-title-short" alt="Онлайн">
<h3><a href="<%- movie.url %>"><%- movie.title %> (<% if (movie.season && movie.episode) { %><%- movie.season %> сезон <%- movie.episode %> серия <% if (movie.translate) { %><%- movie.translate %><% } %><% } else { %><%- movie.year %><% } %>)</a></h3>
<h3><a href="<%- movie.url %>"><%- movie.title %> (<% if (movie.season && movie.episode) { %><%- movie.season %> сезон <%- movie.episode %> серия<% } else { %><%- movie.year %><% } %>)</a></h3>
</div>
<div class="short_img2">
<div class="short_img2-layout">
@ -52,10 +52,20 @@
<ul class="caption-style-4">
<li>
<a href="<%- movie.url %>" title="<%- movie.title %>">
<img src="<%- movie.poster %>" alt="<%- movie.title %> (<%- movie.year %>)" title="<%- movie.title %> (<%- movie.year %>)" class="okrug">
<div class="caption">
<div class="blur"></div>
<div class="caption-text"></div>
<div class="cinemapress-poster">
<img src="<%- movie.poster %>" alt="<%- movie.title %> (<%- movie.year %>)" title="<%- movie.title %> (<%- movie.year %>)" class="okrug">
<% if (movie.quality) { %>
<div class="cinemapress-quality">
<span class="cinemapress-svg-quality" style="padding-top: 7px !important;"></span>
<%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div class="cinemapress-translate">
<span class="cinemapress-svg-translate" style="padding-top: 7px !important;"></span>
<%- movie.translate %>
</div>
<% } %>
</div>
</a>
</li>
@ -137,10 +147,15 @@
<% } } } %>
<% if (typeof page.pagination === 'object') { %>
<div class="bot-left">
<div class="bot-navigation">
<% if (page.pagination.first) { %>
<a href="<%- page.pagination.first.link %>" rel="nofollow"><%- page.pagination.first.number %></a>
<span class="nav_ext">...</span>
<% } %>
<% if (page.pagination.prev.length) { %>
<% page.pagination.prev.slice(-6).forEach(function (prev) { %>
<% page.pagination.prev.forEach(function (prev) { %>
<a href="<%- prev.link %>" rel="nofollow"><%- prev.number %></a>
<% }); %>
<span class="nav_ext">...</span>
@ -148,18 +163,19 @@
<span><%- page.pagination.current %></span>
<% if (page.pagination.next.length) { %>
<span class="nav_ext">...</span>
<% page.pagination.next.slice(0,6).forEach(function (next) { %>
<% page.pagination.next.forEach(function (next) { %>
<a href="<%- next.link %>" rel="nofollow"><%- next.number %></a>
<% }); %>
<% } %>
<% if (page.pagination.all) { %>
<% if (page.pagination.last) { %>
<span class="nav_ext">...</span>
<a href="<%- page.pagination.all.link %>" rel="nofollow"><%- page.pagination.all.number %></a>
<a href="<%- page.pagination.last.link %>" rel="nofollow"><%- page.pagination.last.number %></a>
<% } %>
</div>
</div>
<% } %>
<% if (typeof page.adv == 'object' && page.adv.bottom) { %>
<% if (typeof page.adv === 'object' && page.adv.bottom) { %>
<div class="decription" style="text-align: center; border-right: 1px solid #101010;">
<%- page.adv.bottom %>
</div>

View File

@ -1,5 +1,7 @@
<!doctype html>
<html lang="ru-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,18 +19,20 @@
<div class="sbar">
<div class="speedbar">
<span>
<a href="<%- page.protocol %><%- page.domain %>">
<a href="/">
<span>Главная</span>
</a>
</span> »
<% if (movie.genre_url) { %>
<span>
<%- movie.genre_url %>
</span> »
<% } %>
<%- movie.title %>
</div>
</div>
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div class="decription" style="text-align: center; border: 1px solid #101010; border-bottom: 0;">
<%- page.adv.top %>
</div>
@ -87,6 +91,16 @@
<span class="bold" style="color: #E4AD2C">IMDb:</span> <%- movie.imdb_rating/10 %> (<%- movie.imdb_vote %> голосов)
</div>
<% } %>
<% if (movie.quality) { %>
<div style="margin-bottom: 5px">
<span class="bold">Качество:</span> <%- movie.quality %>
</div>
<% } %>
<% if (movie.translate) { %>
<div style="margin-bottom: 5px">
<span class="bold">Перевод:</span> <%- movie.translate %>
</div>
<% } %>
</div>
</div>
@ -95,7 +109,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 style="text-align: center; margin: 10px auto;">
<%- page.adv.over %>
</div>
@ -136,7 +150,7 @@
</div>
<div style="clear:both;"></div>
<% if (typeof page.adv == 'object' && page.adv.under) { %>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
<div class="decription">
<div class="decription-text" style="text-align: center">
<%- page.adv.under %>
@ -156,7 +170,24 @@
<div style="clear:both;"></div>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (typeof contents === 'object' && contents.length) { %>
<div style="clear: both"></div>
<% 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 %>">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<div style="clear: both"></div>
<% } %>
<% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>
@ -209,7 +240,7 @@
<div style="clear:both;"></div>
</div>
<% if (typeof page.adv == 'object' && page.adv.bottom) { %>
<% if (typeof page.adv === 'object' && page.adv.bottom) { %>
<div class="decription" style="text-align: center; border-right: 1px solid #101010;">
<%- page.adv.bottom %>
</div>

View File

@ -1,5 +1,7 @@
<!doctype html>
<html lang="ru-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,13 +19,15 @@
<div class="sbar">
<div class="speedbar">
<span>
<a href="<%- page.protocol %><%- page.domain %>">
<a href="/">
<span>Главная</span>
</a>
</span> »
<% if (movie.genre_url) { %>
<span>
<%- movie.genre_url %>
</span> »
<% } %>
<span>
<a href="<%- movie.url %>">
<span><%- movie.title %></span>
@ -33,7 +37,7 @@
</div>
</div>
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div class="decription" style="text-align: center; border: 1px solid #101010; border-bottom: 0;">
<%- page.adv.top %>
</div>
@ -54,7 +58,7 @@
<% } %>
<% if (typeof page.adv == 'object' && page.adv.over) { %>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
<div style="text-align: center; margin: 10px auto;">
<%- page.adv.over %>
</div>
@ -98,7 +102,7 @@
</div>
<div style="clear:both;"></div>
<% if (typeof page.adv == 'object' && page.adv.under) { %>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
<div class="decription">
<div class="decription-text" style="text-align: center">
<%- page.adv.under %>
@ -106,7 +110,24 @@
</div>
<% } %>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (typeof contents === 'object' && contents.length) { %>
<div style="clear: both"></div>
<% 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 %>">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<div style="clear: both"></div>
<% } %>
<% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>
@ -159,7 +180,7 @@
<div style="clear:both;"></div>
</div>
<% if (typeof page.adv == 'object' && page.adv.bottom) { %>
<% if (typeof page.adv === 'object' && page.adv.bottom) { %>
<div class="decription" style="text-align: center; border-right: 1px solid #101010;">
<%- page.adv.bottom %>
</div>

View File

@ -1,5 +1,7 @@
<!doctype html>
<html lang="ru-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,13 +19,15 @@
<div class="sbar">
<div class="speedbar">
<span>
<a href="<%- page.protocol %><%- page.domain %>">
<a href="/">
<span>Главная</span>
</a>
</span> »
<% if (movie.genre_url) { %>
<span>
<%- movie.genre_url %>
</span> »
<% } %>
<span>
<a href="<%- movie.url %>">
<span><%- movie.title %></span>
@ -33,7 +37,7 @@
</div>
</div>
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div class="decription" style="text-align: center; border: 1px solid #101010; border-bottom: 0;">
<%- page.adv.top %>
</div>
@ -54,7 +58,7 @@
<% } %>
<% if (typeof page.adv == 'object' && page.adv.over) { %>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
<div style="text-align: center; margin: 10px auto;">
<%- page.adv.over %>
</div>
@ -81,7 +85,7 @@
</div>
<div style="clear:both;"></div>
<% if (typeof page.adv == 'object' && page.adv.under) { %>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
<div class="decription">
<div class="decription-text" style="text-align: center">
<%- page.adv.under %>
@ -89,7 +93,24 @@
</div>
<% } %>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (typeof contents === 'object' && contents.length) { %>
<div style="clear: both"></div>
<% 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 %>">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<div style="clear: both"></div>
<% } %>
<% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>
@ -142,7 +163,7 @@
<div style="clear:both;"></div>
</div>
<% if (typeof page.adv == 'object' && page.adv.bottom) { %>
<% if (typeof page.adv === 'object' && page.adv.bottom) { %>
<div class="decription" style="text-align: center; border-right: 1px solid #101010;">
<%- page.adv.bottom %>
</div>

View File

@ -1,5 +1,7 @@
<!doctype html>
<html lang="ru-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,13 +19,15 @@
<div class="sbar">
<div class="speedbar">
<span>
<a href="<%- page.protocol %><%- page.domain %>">
<a href="/">
<span>Главная</span>
</a>
</span> »
<% if (movie.genre_url) { %>
<span>
<%- movie.genre_url %>
</span> »
<% } %>
<span>
<a href="<%- movie.url %>">
<span><%- movie.title %></span>
@ -33,7 +37,7 @@
</div>
</div>
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<% if (typeof page.adv === 'object' && page.adv.top) { %>
<div class="decription" style="text-align: center; border: 1px solid #101010; border-bottom: 0;">
<%- page.adv.top %>
</div>
@ -54,7 +58,7 @@
<% } %>
<% if (typeof page.adv == 'object' && page.adv.over) { %>
<% if (typeof page.adv === 'object' && page.adv.over) { %>
<div style="text-align: center; margin: 10px auto;">
<%- page.adv.over %>
</div>
@ -81,7 +85,7 @@
</div>
<div style="clear:both;"></div>
<% if (typeof page.adv == 'object' && page.adv.under) { %>
<% if (typeof page.adv === 'object' && page.adv.under) { %>
<div class="decription">
<div class="decription-text" style="text-align: center">
<%- page.adv.under %>
@ -89,7 +93,24 @@
</div>
<% } %>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (typeof contents === 'object' && contents.length) { %>
<div style="clear: both"></div>
<% 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 %>">
<div class="cinemapress-news-title">
<%- content.title %>
</div>
</a>
</div>
</div>
<% }); %>
<div style="clear: both"></div>
<% } %>
<% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>
@ -142,7 +163,7 @@
<div style="clear:both;"></div>
</div>
<% if (typeof page.adv == 'object' && page.adv.bottom) { %>
<% if (typeof page.adv === 'object' && page.adv.bottom) { %>
<div class="decription" style="text-align: center; border-right: 1px solid #101010;">
<%- page.adv.bottom %>
</div>