Init new theme for CinemaPress ACMS

This commit is contained in:
Surinam 2016-12-20 03:06:52 +02:00
commit 9fd1dad58f
90 changed files with 48132 additions and 0 deletions

17
README.md Normal file
View File

@ -0,0 +1,17 @@
# Theme Bran
![Шаблон «Bran» для CinemaPress ACMS](https://raw.githubusercontent.com/CinemaPress/Theme-Bran/master/screenshot.png "Шаблон «Bran» для CinemaPress ACMS")
:art: Шаблон «Bran» для CinemaPress ACMS
- <a href="http://Bran.CinemaPress.org/" target="_blank">Bran.CinemaPress.org</a>
## Установка
1. [Скачать архив](https://github.com/CinemaPress/Theme-Bran/archive/master.zip)
2. Распаковать содержимое папки **/Theme-Bran-master** в папку **/themes/bran**
3. Изменить название темы в админ-панели на **bran**
## Установка через установщик тем CinemaPress ACMS
```
~# wget cinemapress.org/i -qO i && chmod +x i && ./i 3
```

9886
public/css/all.css Normal file

File diff suppressed because one or more lines are too long

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
public/fonts/Museo.eot Normal file

Binary file not shown.

4831
public/fonts/Museo.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 497 KiB

BIN
public/fonts/Museo.ttf Normal file

Binary file not shown.

BIN
public/fonts/Museo.woff Normal file

Binary file not shown.

BIN
public/fonts/MuseoBold.eot Normal file

Binary file not shown.

4736
public/fonts/MuseoBold.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 495 KiB

BIN
public/fonts/MuseoBold.ttf Normal file

Binary file not shown.

BIN
public/fonts/MuseoBold.woff Normal file

Binary file not shown.

BIN
public/fonts/MuseoLight.eot Normal file

Binary file not shown.

4674
public/fonts/MuseoLight.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 493 KiB

BIN
public/fonts/MuseoLight.ttf Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 716 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,19 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>
This is a custom SVG font generated by IcoMoon.
<iconset grid="14"></iconset>
</metadata>
<defs>
<font id="flexslider-icon" horiz-adv-x="448" >
<font-face units-per-em="448" ascent="384" descent="-64" />
<missing-glyph horiz-adv-x="448" />
<glyph unicode="&#xf001;" d="M 185.50-9.25l-163.00,162.75q-9.25,9.25 -9.25,22.625t 9.25,22.625l 163.00,162.75q 9.25,9.25 22.625,9.25t 22.625-9.25l 18.75-18.75q 9.25-9.25 9.25-22.625t-9.25-22.625l-121.50-121.50l 121.50-121.25q 9.25-9.50 9.25-22.75t-9.25-22.50l-18.75-18.75q-9.25-9.25 -22.625-9.25t-22.625,9.25z" horiz-adv-x="288" />
<glyph unicode="&#xf002;" d="M 274.75,176.00q0.00-13.00 -9.25-22.75l-163.00-162.75q-9.25-9.25 -22.50-9.25t-22.50,9.25l-19.00,18.75q-9.25,9.75 -9.25,22.75q0.00,13.25 9.25,22.50l 121.50,121.50l-121.50,121.25q-9.25,9.75 -9.25,22.75q0.00,13.25 9.25,22.50l 19.00,18.75q 9.00,9.50 22.50,9.50t 22.50-9.50l 163.00-162.75q 9.25-9.25 9.25-22.50z" horiz-adv-x="288" />
<glyph unicode="&#xf003;" d="M 346.00,152.25l-332.00-184.50q-5.75-3.25 -9.875-0.75t-4.125,9.00l0.00,368.00 q0.00,6.50 4.125,9.00t 9.875-0.75l 332.00-184.50q 5.75-3.25 5.75-7.75t-5.75-7.75z" horiz-adv-x="352" />
<glyph unicode="&#xf004;" d="M 384.00,336.00l0.00-352.00 q0.00-6.50 -4.75-11.25t-11.25-4.75l-128.00,0.00 q-6.50,0.00 -11.25,4.75t-4.75,11.25l0.00,352.00 q0.00,6.50 4.75,11.25t 11.25,4.75l 128.00,0.00 q 6.50,0.00 11.25-4.75t 4.75-11.25zM 160.00,336.00l0.00-352.00 q0.00-6.50 -4.75-11.25t-11.25-4.75l-128.00,0.00 q-6.50,0.00 -11.25,4.75t-4.75,11.25l0.00,352.00 q0.00,6.50 4.75,11.25t 11.25,4.75l 128.00,0.00 q 6.50,0.00 11.25-4.75t 4.75-11.25z" horiz-adv-x="384" />
<glyph unicode="&#xf005;" d="M 402.75,208.00q0.00-13.25 -9.25-22.50l-162.75-162.75q-9.50-9.50 -22.75-9.50q-13.50,0.00 -22.50,9.50l-162.75,162.75q-9.50,9.00 -9.50,22.50q0.00,13.25 9.50,22.75l 18.50,18.75q 9.75,9.25 22.75,9.25q 13.25,0.00 22.50-9.25l 121.50-121.50l 121.50,121.50q 9.25,9.25 22.50,9.25q 13.00,0.00 22.75-9.25l 18.75-18.75q 9.25-9.75 9.25-22.75z" horiz-adv-x="416" />
<glyph unicode="&#x20;" horiz-adv-x="224" />
<glyph class="hidden" unicode="&#xf000;" d="M0,384L 448 -64L0 -64 z" horiz-adv-x="0" />
</font></defs></svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Binary file not shown.

BIN
public/fonts/ionicons.eot Normal file

Binary file not shown.

2230
public/fonts/ionicons.svg Normal file

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 326 KiB

BIN
public/fonts/ionicons.ttf Normal file

Binary file not shown.

BIN
public/fonts/ionicons.woff Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 465 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 448 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
public/images/bbcodes.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

BIN
public/images/bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 KiB

BIN
public/images/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
public/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
public/images/pg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
public/images/share.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 B

BIN
public/images/sprite.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
public/images/ui-icons.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

9
public/js/all.js Normal file

File diff suppressed because one or more lines are too long

1955
public/js/html5lightbox.js Normal file

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 B

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

105
views/categories.ejs Normal file
View File

@ -0,0 +1,105 @@
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<% include includes/head.ejs %>
</head>
<body>
<header class="header">
<% include includes/header.ejs %>
</header>
<section class="container">
<div class="cont-wrap">
<div class="mp-pusher" id="mp-pusher">
<% include includes/nav.ejs %>
<div class="scroller">
<div class="scroller-inner">
<% if (typeof slider == 'object' && slider.movies.length) { %>
<section class="hblock cf">
<div id="owl-demo" class="owl-carousel owl-theme" style="margin: 20px auto;">
<% slider.movies.forEach(function (movie) { %>
<div class="item">
<% include includes/short.ejs %>
</div>
<% }); %>
</div>
</section>
<% } %>
<div class="mblock breadcrumbs">
<h1><%- page.title %></h1>
<span>
<a href="<%- page.protocol %><%- page.domain %>">
Главная
</a>
</span>
<span>
»
</span>
<span>
<%- page.title %>
</span>
</div>
<div class="cf">
<div id="cinemapress-content">
<% if (typeof categories == 'object' && categories.length) { %>
<div style="margin: 0 5%; text-align: center;">
<% categories.forEach(function (category) { %>
<div style="float: left; margin: 10px; text-align: center;">
<a href="<%- category.url %>" target="_blank">
<img src="<%- category.image %>" alt="<%- category.name %>" style="width: 200px; height: 100px; border-radius: 10px"><br>
<%- category.name %>
</a>
</div>
<% }); %>
</div>
<% } %>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer cf">
<% if (page.seo) { %>
<div class="about">
<div class="wrapper">
<%- page.seo %>
</div>
</div>
<% } %>
<% include includes/footer.ejs %>
</footer>
</body>
</html>

148
views/category.ejs Normal file
View File

@ -0,0 +1,148 @@
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<% include includes/head.ejs %>
</head>
<body>
<header class="header">
<% include includes/header.ejs %>
</header>
<section class="container">
<div class="cont-wrap">
<div class="mp-pusher" id="mp-pusher">
<% include includes/nav.ejs %>
<div class="scroller">
<div class="scroller-inner">
<% if (typeof slider == 'object' && slider.movies.length) { %>
<section class="hblock cf">
<div id="owl-demo" class="owl-carousel owl-theme" style="margin: 20px auto;">
<% slider.movies.forEach(function (movie) { %>
<div class="item">
<% include includes/short.ejs %>
</div>
<% }); %>
</div>
</section>
<% } %>
<div class="mblock breadcrumbs">
<h1><%- page.title %></h1>
<span>
<a href="<%- page.protocol %><%- page.domain %>">
Главная
</a>
</span>
<span>
»
</span>
<span>
<%- page.title %>
</span>
</div>
<div class="cf">
<div id="cinemapress-content">
<div class="navigation-holder basecont ignore-select">
<div class="navigation">
<% page.sorting.forEach(function (sort) { %>
<% if (sort.active) { %>
<strong>
<a href="<%- sort.url %>"> <%- sort.name %> </a>
</strong>
<% } else { %>
<a href="<%- sort.url %>">
<%- sort.name %>
</a>
<% } %>
<% }); %>
</div>
</div>
<div style="clear: both"></div>
<% if (typeof movies == 'object' && movies.length) { %>
<% movies.forEach(function (movie) { %>
<article class="shortstory cf">
<% include includes/short.ejs %>
</article>
<% }); %>
<% } %>
<div style="clear: both"></div>
<div class="navigation-holder basecont ignore-select">
<div class="navigation">
<% if (page.pagination.prev.length) { %>
<% page.pagination.prev.slice(-3).forEach(function (prev) { %>
<a href="<%- prev.link %>" rel="nofollow"><%- prev.number %></a>
<% }); %>
<span class="nav_ext">...</span>
<% } %>
<strong><a><%- page.pagination.current %></a></strong>
<% if (page.pagination.next.length) { %>
<span class="nav_ext">...</span>
<% page.pagination.next.slice(0,3).forEach(function (next) { %>
<a href="<%- next.link %>" rel="nofollow"><%- next.number %></a>
<% }); %>
<% } %>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer cf">
<% if (page.seo) { %>
<div class="about">
<div class="wrapper">
<%- page.seo %>
</div>
</div>
<% } %>
<% include includes/footer.ejs %>
</footer>
</body>
</html>

246
views/download.ejs Normal file
View File

@ -0,0 +1,246 @@
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<% include includes/head.ejs %>
</head>
<body>
<header class="header">
<% include includes/header.ejs %>
</header>
<section class="container">
<div class="cont-wrap">
<div class="mp-pusher" id="mp-pusher">
<% include includes/nav.ejs %>
<div class="scroller">
<div class="scroller-inner">
<% if (typeof slider == 'object' && slider.movies.length) { %>
<section class="hblock cf">
<div id="owl-demo" class="owl-carousel owl-theme" style="margin: 20px auto;">
<% slider.movies.forEach(function (movie) { %>
<div class="item">
<% include includes/short.ejs %>
</div>
<% }); %>
</div>
</section>
<% } %>
<div class="cf">
<div id="full-movie">
<div class="breadcrumbs">
<span>
<a href="<%- page.protocol %><%- page.domain %>">
Главная
</a>
</span>
<span>
»
</span>
<span>
<%- movie.genre_url %>
</span>
<span>
»
</span>
<span>
<a href="<%- movie.url %>">
<%- movie.title %>
</a>
</span>
<span>
»
</span>
<span>
Скачать
</span>
</div>
<section class="full-story cf">
<section class="fleft cf">
<div class="poster cf">
<img src="<%- movie.poster %>" alt="<%- movie.title %> скачать" title="<%- movie.title %> скачать"/>
</div>
</section>
<section class="fmid">
<div class="moviecard">
<div class="movie-ratings">
<div class="imdbRating">
<span class="star">★</span>
<span class="score"><%- movie.rating/10 %></span>
<span class="score-out-of" style="font-family: PF DinDisplay Pro;">/ <span>10</span> (<span><%- movie.vote %></span>)</span>
</div>
</div>
<label class="bdt"><%- movie.premiere %></label>
<nav class="button-share-container">
<div class="buttons">
<div class="tw share-btn" onclick="share(this)" tooltip="Twitter"><i class="fa fa-twitter"></i> </div>
</div>
<div class="buttons">
<div class="mr share-btn" onclick="share(this)" tooltip="Мой Мир"> <i class="fa fa-at"></i>
</div>
</div>
<div class="buttons">
<div class="gp share-btn" onclick="share(this)" tooltip="Google Plus"><i class="fa fa-google-plus"></i>
</div>
</div>
<div class="buttons">
<div class="ok share-btn" onclick="share(this)" tooltip="Одноклассники"> <i class="fa fa-odnoklassniki"></i>
</div>
</div>
<div class="buttons">
<div class="vk share-btn" onclick="share(this)" tooltip="Вконтакте"> <i class="fa fa-vk"></i>
</div>
</div>
<div class="buttons">
<div class="fb share-btn" onclick="share(this)" tooltip="Facebook"> <i class="fa fa-facebook"></i>
</div>
</div>
<a class="buttons" href="javascript:void(0)" onClick="return false;">
<span class="buttons" tooltip="Поделиться">
<span class="rotate"></span>
</span>
</a>
</nav>
<div id="movie-content">
<div class="movie-title">
<h1><%- movie.title %> скачать</h1>
<strong class="orig_title"><%- movie.title_en %></strong>
</div>
<div class="movie-details">
<% if (movie.countries_url) { %>
<span class="movie-country">
<i class="fa fa-globe" aria-hidden="true"></i>&nbsp;<%- movie.countries_url %>
</span>
<% } %>
<% if (movie.genres_url) { %>
<span class="movie-genre">
<i class="fa fa-tags" aria-hidden="true"></i>&nbsp;<%- movie.genres_url %>
</span>
<% } %>
<% if (movie.year_url) { %>
<span class="movie-year">
<i class="fa fa-calendar" aria-hidden="true"></i>&nbsp;<%- movie.year_url %>
</span>
<% } %>
</div>
<% if (movie.directors_url) { %>
<div class="movie-castcrew">
<span class="title">Режиссер:</span>
<span class="name"><%- movie.directors_url %></span>
</div>
<% } %>
<div class="movie-castcrew">
<span class="title">Рейтинг:</span>
<span class="name" style="color: #a17514">КиноПоиск - <%- movie.kp_rating/10 %></span>
<span class="name" style="color: #8f4815">IMDb - <%- movie.imdb_rating/10 %></span>
</div>
<% if (movie.actors_url) { %>
<div class="movie-castcrew">
<span class="title"><%- movie.actors_url %></span>
</div>
<% } %>
<div class="box" id="box">
<div class="post_title">
<h2 class="news-title">
<i class="fa fa-navicon" style="color: #FF5722;" aria-hidden="true"></i> Скачать <span style="color:#085294"><%- movie.title %></span> <%- movie.year %></h2>
</div>
<p class="text">
<%- page.seo %>
</p>
</div>
<div class="movie">
<a href="<%- movie.url %>/<%- page.urls.movies.online %>" title="Смотреть онлайн <%- movie.title %>">
<span><i class="fa fa-video-camera" aria-hidden="true"></i>&nbsp;Онлайн</span>
</a>
<a href="javascript:void(0);" class="active" title="Скачать <%- movie.title %>">
<span><i class="fa fa-download" aria-hidden="true"></i>&nbsp;Скачать</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.trailer %>" title="Трейлер <%- movie.title %>">
<span><i class="fa fa-play" aria-hidden="true"></i>&nbsp;Трейлер</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.picture %>" title="Кадры <%- movie.title %>">
<span><i class="fa fa-picture-o" aria-hidden="true"></i>&nbsp;Кадры</span>
</a>
</div>
</div>
</div>
</section>
<div style="clear: both"></div>
<section class="cinemapress-data">
<%- page.player %>
</section>
<div style="clear: both"></div>
<section class="fright">
<div class="comments">
<% if (page.comments) { %>
<%- page.comments %>
<% } %>
</div>
</section>
</section>
<div style="clear: both"></div>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { movies[type].forEach(function (category) { %>
<section class="hblock cf">
<div class="block-link">
<%- category.name %>
</div>
<% if (category.movies.length) { category.movies.forEach(function (movie) { %>
<article class="shortstory cf">
<% include includes/short.ejs %>
</article>
<% }); } %>
</section>
<% }); } %>
<% } } } %>
<div style="clear: both"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer cf">
<% include includes/footer.ejs %>
</footer>
</body>
</html>

251
views/episode.ejs Normal file
View File

@ -0,0 +1,251 @@
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<% include includes/head.ejs %>
</head>
<body>
<header class="header">
<% include includes/header.ejs %>
</header>
<section class="container">
<div class="cont-wrap">
<div class="mp-pusher" id="mp-pusher">
<% include includes/nav.ejs %>
<div class="scroller">
<div class="scroller-inner">
<% if (typeof slider == 'object' && slider.movies.length) { %>
<section class="hblock cf">
<div id="owl-demo" class="owl-carousel owl-theme" style="margin: 20px auto;">
<% slider.movies.forEach(function (movie) { %>
<div class="item">
<% include includes/short.ejs %>
</div>
<% }); %>
</div>
</section>
<% } %>
<div class="cf">
<div id="full-movie">
<div class="breadcrumbs">
<span>
<a href="<%- page.protocol %><%- page.domain %>">
Главная
</a>
</span>
<span>
»
</span>
<span>
<%- movie.genre_url %>
</span>
<span>
»
</span>
<span>
<a href="<%- movie.url %>">
<%- movie.title %>
</a>
</span>
<span>
»
</span>
<span>
<%- page.title %>
</span>
</div>
<section class="full-story cf">
<section class="fleft cf">
<div class="poster cf">
<img src="<%- movie.poster %>" alt="<%- movie.title %> серия онлайн" title="<%- movie.title %> серия онлайн"/>
<div class="poster-qulabel watchLaterBlock" style="display: none;">
<a href="javascript:void(0)" id="watchLater">
<span class="fa fa-eye"></span> Досмотреть позже
</a>
</div>
</div>
</section>
<section class="fmid">
<div class="moviecard">
<div class="movie-ratings">
<div class="imdbRating">
<span class="star">★</span>
<span class="score"><%- movie.rating/10 %></span>
<span class="score-out-of" style="font-family: PF DinDisplay Pro;">/ <span>10</span> (<span><%- movie.vote %></span>)</span>
</div>
</div>
<label class="bdt"><%- movie.premiere %></label>
<nav class="button-share-container">
<div class="buttons">
<div class="tw share-btn" onclick="share(this)" tooltip="Twitter"><i class="fa fa-twitter"></i> </div>
</div>
<div class="buttons">
<div class="mr share-btn" onclick="share(this)" tooltip="Мой Мир"> <i class="fa fa-at"></i>
</div>
</div>
<div class="buttons">
<div class="gp share-btn" onclick="share(this)" tooltip="Google Plus"><i class="fa fa-google-plus"></i>
</div>
</div>
<div class="buttons">
<div class="ok share-btn" onclick="share(this)" tooltip="Одноклассники"> <i class="fa fa-odnoklassniki"></i>
</div>
</div>
<div class="buttons">
<div class="vk share-btn" onclick="share(this)" tooltip="Вконтакте"> <i class="fa fa-vk"></i>
</div>
</div>
<div class="buttons">
<div class="fb share-btn" onclick="share(this)" tooltip="Facebook"> <i class="fa fa-facebook"></i>
</div>
</div>
<a class="buttons" href="javascript:void(0)" onClick="return false;">
<span class="buttons" tooltip="Поделиться">
<span class="rotate"></span>
</span>
</a>
</nav>
<div id="movie-content">
<div class="movie-title">
<h1><%- movie.title %> серия онлайн</h1>
<strong class="orig_title"><%- movie.title_en %></strong>
</div>
<div class="movie-details">
<% if (movie.countries_url) { %>
<span class="movie-country">
<i class="fa fa-globe" aria-hidden="true"></i>&nbsp;<%- movie.countries_url %>
</span>
<% } %>
<% if (movie.genres_url) { %>
<span class="movie-genre">
<i class="fa fa-tags" aria-hidden="true"></i>&nbsp;<%- movie.genres_url %>
</span>
<% } %>
<% if (movie.year_url) { %>
<span class="movie-year">
<i class="fa fa-calendar" aria-hidden="true"></i>&nbsp;<%- movie.year_url %>
</span>
<% } %>
</div>
<% if (movie.directors_url) { %>
<div class="movie-castcrew">
<span class="title">Режиссер:</span>
<span class="name"><%- movie.directors_url %></span>
</div>
<% } %>
<div class="movie-castcrew">
<span class="title">Рейтинг:</span>
<span class="name" style="color: #a17514">КиноПоиск - <%- movie.kp_rating/10 %></span>
<span class="name" style="color: #8f4815">IMDb - <%- movie.imdb_rating/10 %></span>
</div>
<% if (movie.actors_url) { %>
<div class="movie-castcrew">
<span class="title"><%- movie.actors_url %></span>
</div>
<% } %>
<div class="box" id="box">
<div class="post_title">
<h2 class="news-title">
<i class="fa fa-navicon" style="color: #FF5722;" aria-hidden="true"></i> Кадры <span style="color:#085294"><%- movie.title %></span> <%- movie.year %></h2>
</div>
<p class="text">
<%- page.seo %>
</p>
</div>
<div class="movie">
<a href="<%- movie.url %>/<%- page.urls.movies.online %>" title="Смотреть онлайн <%- movie.title %>">
<span><i class="fa fa-video-camera" aria-hidden="true"></i>&nbsp;Онлайн</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.download %>" title="Скачать <%- movie.title %>">
<span><i class="fa fa-download" aria-hidden="true"></i>&nbsp;Скачать</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.trailer %>" title="Трейлер <%- movie.title %>">
<span><i class="fa fa-play" aria-hidden="true"></i>&nbsp;Трейлер</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.picture %>" title="Кадры <%- movie.title %>">
<span><i class="fa fa-picture-o" aria-hidden="true"></i>&nbsp;Кадры</span>
</a>
</div>
</div>
</div>
</section>
<div style="clear: both"></div>
<section class="cinemapress-data" style="height: 370px">
<%- page.player %>
</section>
<div style="clear: both"></div>
<section class="fright">
<div class="comments">
<% if (page.comments) { %>
<%- page.comments %>
<% } %>
</div>
</section>
</section>
<div style="clear: both"></div>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { movies[type].forEach(function (category) { %>
<section class="hblock cf">
<div class="block-link">
<%- category.name %>
</div>
<% if (category.movies.length) { category.movies.forEach(function (movie) { %>
<article class="shortstory cf">
<% include includes/short.ejs %>
</article>
<% }); } %>
</section>
<% }); } %>
<% } } } %>
<div style="clear: both"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer cf">
<% include includes/footer.ejs %>
</footer>
</body>
</html>

121
views/includes/footer.ejs Normal file
View File

@ -0,0 +1,121 @@
<div class="flex-rw">
<ul class="footer-list-top-info">
<li>
<div class="footer-list-header">
<span class="ion-android-list">Весь список</span>
</div>
</li>
<li>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>" class="generic-anchor footer-list-anchor">Все жанры</a>
</li>
<li>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.country %>" class="generic-anchor footer-list-anchor">Все страны</a>
</li>
<li>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>" class="generic-anchor footer-list-anchor">Все года</a>
</li>
<li>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.director %>" class="generic-anchor footer-list-anchor">Все режиссеры</a>
</li>
<li>
<a href="<%- page.protocol %><%- page.domain %>/<%- page.urls.actor %>" class="generic-anchor footer-list-anchor">Все актеры</a>
</li>
</ul>
<ul class="footer-list-top">
<li>
<div class="footer-list-header"><span class="ion-location">Навигация</span></div>
</li>
<div class="rectangle"></div>
<li>
<a class="generic-anchor footer-list-anchor" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.movie %>">Фильмы</a>
</li>
<li>
<a class="generic-anchor footer-list-anchor" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.serial %>">Сериалы</a>
</li>
<li>
<a class="generic-anchor footer-list-anchor" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.mult %>">Мультфильмы</a>
</li>
<li>
<a class="generic-anchor footer-list-anchor" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.anime %>">Аниме</a>
</li>
<li>
<a class="generic-anchor footer-list-anchor" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.tv %>">Передачи</a>
</li>
</ul>
<ul class="footer-list-top">
<li id='help'>
<div class="footer-list-header"><span class="ion-pricetags">Категории</span></div>
</li>
<div class="rectangle"></div>
<li>
<a class="generic-anchor footer-list-anchor" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2013">Фильмы 2013 года</a>
</li>
<li>
<a class="generic-anchor footer-list-anchor" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2014">Фильмы 2014 года</a>
</li>
<li>
<a class="generic-anchor footer-list-anchor" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2015">Фильмы 2015 года</a>
</li>
<li>
<a class="generic-anchor footer-list-anchor" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2016">Фильмы 2016 года</a>
</li>
<li>
<a class="generic-anchor footer-list-anchor" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2017">Фильмы 2017 года</a>
</li>
</ul>
<% if (page.social) { %>
<section class="footer-social-section flex-rw">
<span class="footer-social-overlap footer-social-connect">
Присоединяйся <span class="footer-social-small">и</span> смотри первым!
</span>
<span class="footer-social-overlap footer-social-icons-wrapper">
<% if (page.social.vk) { %>
<a class="generic-anchor" href="<%- page.social.vk %>" target="_blank"><i class="fa fa-vk"></i></a>
<% } %>
<% if (page.social.facebook) { %>
<a class="generic-anchor" href="<%- page.social.facebook %>" target="_blank"><i class="fa fa-facebook"></i></a>
<% } %>
<% if (page.social.twitter) { %>
<a class="generic-anchor" href="<%- page.social.twitter %>" target="_blank"><i class="fa fa-twitter"></i></a>
<% } %>
<% if (page.social.gplus) { %>
<a class="generic-anchor" href="<%- page.social.gplus %>" target="_blank"><i class="fa fa-google-plus"></i></a>
<% } %>
</span>
</section>
<% } %>
<div class="recentlyViewedBlock" style="margin: 25px; display: none;">
<div>Вы надавно смотрели:</div>
<div id="recentlyViewed"></div>
</div>
<section class="footer-bottom-section flex-rw">
<div class="footer-bottom-wrapper">
<a href="<%- page.protocol %><%- page.domain %>">Лучшие фильмы онлайн бесплатно</a>
</div>
<div class="footer-bottom-wrapper">
<a href="mailto:<%- page.email %>">Email: <%- page.email %></a>
</div>
</section>
</div>
<div class="footer_links cf">
<ul>
<li>
<a href="<%- page.protocol %><%- page.domain %>">Смотреть сериалы онлайн в хорошем качестве</a>
</li>
<li class="counter">
</li>
</ul>
</div>
<div class="age"><img src="/themes/bran/public/images/pg.png" alt="18+"></div>
<div class="copyrights">
&copy;&nbsp;2017&nbsp;<a href="https://cinemapress.org" target="_blank">CinemaPress&nbsp;ACMS</a>
</div>
<script type="text/javascript" src="/themes/bran/public/js/all.js"></script>
<script type="text/javascript" src="/themes/bran/public/js/html5lightbox.js"></script>
<%- page.codes.footer %>

19
views/includes/head.ejs Normal file
View File

@ -0,0 +1,19 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><%- page.title %></title>
<meta name="description" content="<%- page.description %>"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="default">
<link rel="shortcut icon" type="image/x-icon" href="/themes/bran/public/favicon.ico"/>
<link rel="stylesheet" type="text/css" href="/themes/bran/public/css/all.css"/>
<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.css"/>
<!--[if lt IE 9]>
<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<--![endif]-->
<%- page.codes.head %>

12
views/includes/header.ejs Normal file
View File

@ -0,0 +1,12 @@
<div class="logo">
<a href="/">
<img src="/themes/bran/public/images/logo.png" alt="Логотип"/>
</a>
</div>
<button class="menu_button" id="trigger">Меню</button>
<div class="searchblock">
<form method="get" action="<%- page.protocol %><%- page.domain %>/<%- page.urls.search %>/title">
<input id="story" name="q" type="text" value="Поиск" onfocus='if (this.value == "Поиск") { this.value=""; }' onblur='if (this.value == "") { this.value="Поиск"; }' class="searchform"/>
</form>
</div>
<a href="javascript:void(0)" class="fav_link continueViewingBlock" id="continueViewing" style="display: none;">Продолжить просмотр?</a>

102
views/includes/nav.ejs Normal file
View File

@ -0,0 +1,102 @@
<nav id="mp-menu" class="mp-menu">
<div class="mp-level">
<h2 class="ion-earth">Выбор категории</h2>
<ul>
<li><a class="ion-ios-videocam" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.movie %>">Фильмы</a></li>
<li><a class="ion-ios-videocam" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.serial %>">Сериалы</a></li>
<li><a class="ion-ios-videocam" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.mult %>">Мультфильмы</a></li>
<li><a class="ion-ios-videocam" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.anime %>">Аниме</a></li>
<li><a class="ion-ios-videocam" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.tv %>">Передачи</a></li>
<li class="ion-chevron-left">
<a class="ion-calendar" href="javascript:void(0);">По годам</a>
<div class="mp-level">
<h2 class="ion-calendar">Фильмы по годам</h2>
<a class="mp-back" href="javascript:void(0);">Назад</a>
<ul>
<li>
<a class="ion-android-calendar" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2014">Фильмы 2014 года</a>
</li>
<li>
<a class="ion-android-calendar" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2015">Фильмы 2015 года</a>
</li>
<li>
<a class="ion-android-calendar" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2016">Фильмы 2016 года</a>
</li>
<li>
<a class="ion-android-calendar" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2017">Фильмы 2017 года</a>
</li>
</ul>
</div>
</li>
<li class="ion-chevron-left">
<a class="ion-pound" href="javascript:void(0);">Жанры</a>
<div class="mp-level">
<h2 class="ion-pound">Фильмы по жанрам</h2>
<a class="mp-back" href="javascript:void(0);">Назад</a>
<ul>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/биография">Биография</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/боевик">Боевики</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/вестерн">Вестерны</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/военный">Военные</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/детектив">Детективы</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/детский">Детские</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/документальный">Документальные</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/драма">Драма</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/история">Исторические</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/комедия">Комедии</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/криминал">Криминал</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/мелодрама">Мелодрамы</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/приключения">Приключения</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/семейный">Семейные</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/спорт">Спорт</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/триллер">Триллер</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/ужасы">Ужасы</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/фантастика">Фантастика</a>
</li>
<li>
<a class="ion-ios-redo-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.genre %>/фэнтези">Фэнтези</a>
</li>
</ul>
</div>
</li>
<li><a class="ion-videocamera" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.type %>/<%- page.urls.types.movie %>?sorting=premiere-up">Премьеры</a></li>
<li><a class="ion-flame" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.year %>/2017">Новинки кино</a></li>
<li><a class="ion-android-star-outline" href="<%- page.protocol %><%- page.domain %>/<%- page.urls.collection %>">Подборки</a></li>
</ul>
</div>
</nav>

43
views/includes/short.ejs Normal file
View File

@ -0,0 +1,43 @@
<div class="short_content">
<a href="<%- movie.url %>">
<img src="<%- movie.poster %>" alt="<%- movie.title %>" class="shortstory-img"/>
<div class="short_header">
<%- movie.title %> (<% if (movie.season && movie.episode) { %><%- movie.season %> сезон <%- movie.episode %> серия <% if (movie.translate) { %><%- movie.translate %><% } %><% } else { %><%- movie.year %><% } %>)
</div>
</a>
<div class="short_overlay">
<a href="<%- movie.url %>">
<div class="small-play"></div>
</a>
</div>
<div class="short_info">
<span class="t-year">
<i class="fa fa-navicon"></i>&nbsp;<%- movie.year %>
</span>
</div>
<div class="ratelabel">
<%- movie.country.substr(0, 10) %>
</div>
<div class="qulabel">
<%- movie.genre.substr(0, 10) %>
</div>
<div class="eyelabel">
<a href="<%- movie.url %>/<%- page.urls.movies.trailer %>"><i class="fa fa-video-camera">&nbsp;</i></a>
</div>
<div class="rating-scores">
<div>КП <span class="kinopoisk"><%- movie.kp_rating/10 %></span></div>
<div>IMDB <span class="imdb"><%- movie.imdb_rating/10 %></span></div>
</div>
<div class="small_rating">
<div class="ratebox2">
<div class="rating-count">
<span id="ratig-layer-501" class="ignore-select"><span class="ratingtypeplusminus ignore-select ratingplus"><%- movie.rating %>%</span>
</span>
<div class="vote-num">Голосов:
<span class="ignore-select"><%- movie.vote %></span>
</div>
</div>
</div>
</div>
</div>

105
views/index.ejs Normal file
View File

@ -0,0 +1,105 @@
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<% include includes/head.ejs %>
</head>
<body>
<header class="header">
<% include includes/header.ejs %>
</header>
<section class="container">
<div class="cont-wrap">
<div class="mp-pusher" id="mp-pusher">
<% include includes/nav.ejs %>
<div class="scroller">
<div class="scroller-inner">
<div class="gl_tit">
<i class="fa fa-star-o"></i>
<h1>Смотреть фильмы онлайн бесплатно</h1><i class="fa fa-star-o"></i>
<span>Лучшее из мира кино в хорошем качестве и без регистрации!</span>
</div>
<% if (typeof slider == 'object' && slider.movies.length) { %>
<section class="hblock cf">
<div id="owl-demo" class="owl-carousel owl-theme" style="margin: 20px auto;">
<% slider.movies.forEach(function (movie) { %>
<div class="item">
<% include includes/short.ejs %>
</div>
<% }); %>
</div>
</section>
<% } %>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>
<% movies[type].forEach(function (category) { %>
<section class="hblock cf">
<div class="block-link">
<span class="ion-grid"><%- category.name %></span>
</div>
<% if (category.movies.length) { %>
<% category.movies.forEach(function (movie) { %>
<article class="shortstory cf">
<% include includes/short.ejs %>
</article>
<% }); %>
<% } %>
</section>
<% }); %>
<% } %>
<% } } } %>
</div>
</div>
</div>
</div>
</section>
<footer class="footer cf">
<% if (page.seo) { %>
<div class="about">
<div class="wrapper">
<%- page.seo %>
</div>
</div>
<% } %>
<% include includes/footer.ejs %>
</footer>
</body>
</html>

253
views/movie.ejs Normal file
View File

@ -0,0 +1,253 @@
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<% include includes/head.ejs %>
</head>
<body>
<header class="header">
<% include includes/header.ejs %>
</header>
<section class="container">
<div class="cont-wrap">
<div class="mp-pusher" id="mp-pusher">
<% include includes/nav.ejs %>
<div class="scroller">
<div class="scroller-inner">
<% if (typeof slider == 'object' && slider.movies.length) { %>
<section class="hblock cf">
<div id="owl-demo" class="owl-carousel owl-theme" style="margin: 20px auto;">
<% slider.movies.forEach(function (movie) { %>
<div class="item">
<% include includes/short.ejs %>
</div>
<% }); %>
</div>
</section>
<% } %>
<div class="cf">
<div id="full-movie">
<div class="breadcrumbs">
<span>
<a href="<%- page.protocol %><%- page.domain %>">
Главная
</a>
</span>
<span>
»
</span>
<span>
<%- movie.genre_url %>
</span>
<span>
»
</span>
<span>
<%- movie.title %>
</span>
</div>
<section class="full-story cf">
<section class="fleft cf">
<div class="poster cf">
<img src="<%- movie.poster %>" alt="<%- movie.title %> смотреть онлайн" title="<%- movie.title %> онлайн бесплатно"/>
<a href="#html5lightbox" data-width="878" data-height="370" class="html5lightbox" title="Смотреть онлайн фильм <%- movie.title %>">
<svg version="1.1" id="play" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" height="90px" width="90px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"><path class="stroke-solid" fill="#ffc107" stroke="white" d="M49.9,2.5C23.6,2.8,2.1,24.4,2.5,50.4C2.9,76.5,24.7,98,50.3,97.5c26.4-0.6,47.4-21.8,47.2-47.7 C97.3,23.7,75.7,2.3,49.9,2.5" /><path class="stroke-dotted" fill="none" stroke="#ffc107" d="M49.9,2.5C23.6,2.8,2.1,24.4,2.5,50.4C2.9,76.5,24.7,98,50.3,97.5c26.4-0.6,47.4-21.8,47.2-47.7 C97.3,23.7,75.7,2.3,49.9,2.5" /><path class="icon" fill="#fff" d="M38,69c-1,0.5-1.8,0-1.8-1.1V32.1c0-1.1,0.8-1.6,1.8-1.1l34,18c1,0.5,1,1.4,0,1.9L38,69z" /></svg>
</a>
<div id="html5lightbox" style="display:none;">
<%- page.player %>
</div>
<div class="poster-qulabel watchLaterBlock" style="display: none;">
<a href="javascript:void(0)" id="watchLater">
<span class="fa fa-eye"></span> Досмотреть позже
</a>
</div>
</div>
</section>
<section class="fmid">
<div class="moviecard">
<div class="movie-ratings">
<div class="imdbRating">
<span class="star">★</span>
<span class="score"><%- movie.rating/10 %></span>
<span class="score-out-of" style="font-family: PF DinDisplay Pro;">/ <span>10</span> (<span><%- movie.vote %></span>)</span>
</div>
</div>
<label class="bdt"><%- movie.premiere %></label>
<nav class="button-share-container">
<div class="buttons">
<div class="tw share-btn" onclick="share(this)" tooltip="Twitter"><i class="fa fa-twitter"></i> </div>
</div>
<div class="buttons">
<div class="mr share-btn" onclick="share(this)" tooltip="Мой Мир"> <i class="fa fa-at"></i>
</div>
</div>
<div class="buttons">
<div class="gp share-btn" onclick="share(this)" tooltip="Google Plus"><i class="fa fa-google-plus"></i>
</div>
</div>
<div class="buttons">
<div class="ok share-btn" onclick="share(this)" tooltip="Одноклассники"> <i class="fa fa-odnoklassniki"></i>
</div>
</div>
<div class="buttons">
<div class="vk share-btn" onclick="share(this)" tooltip="Вконтакте"> <i class="fa fa-vk"></i>
</div>
</div>
<div class="buttons">
<div class="fb share-btn" onclick="share(this)" tooltip="Facebook"> <i class="fa fa-facebook"></i>
</div>
</div>
<a class="buttons" href="javascript:void(0);" onClick="return false;">
<span class="buttons" tooltip="Поделиться">
<span class="rotate" ></span>
</span>
</a>
</nav>
<div id="movie-content">
<div class="movie-title">
<h1><%- movie.title %> смотреть онлайн</h1>
<strong class="orig_title"><%- movie.title_en %></strong>
</div>
<div class="movie-details">
<% if (movie.countries_url) { %>
<span class="movie-country">
<i class="fa fa-globe" aria-hidden="true"></i>&nbsp;<%- movie.countries_url %>
</span>
<% } %>
<% if (movie.genres_url) { %>
<span class="movie-genre">
<i class="fa fa-tags" aria-hidden="true"></i>&nbsp;<%- movie.genres_url %>
</span>
<% } %>
<% if (movie.year_url) { %>
<span class="movie-year">
<i class="fa fa-calendar" aria-hidden="true"></i>&nbsp;<%- movie.year_url %>
</span>
<% } %>
</div>
<% if (movie.directors_url) { %>
<div class="movie-castcrew">
<span class="title">Режиссер:</span>
<span class="name"><%- movie.directors_url %></span>
</div>
<% } %>
<div class="movie-castcrew">
<span class="title">Рейтинг:</span>
<span class="name" style="color: #a17514">КиноПоиск - <%- movie.kp_rating/10 %></span>
<span class="name" style="color: #8f4815">IMDb - <%- movie.imdb_rating/10 %></span>
</div>
<% if (movie.actors_url) { %>
<div class="movie-castcrew">
<span class="title"><%- movie.actors_url %></span>
</div>
<% } %>
<div class="box" id="box">
<div class="post_title">
<h2 class="news-title">
<i class="fa fa-navicon" style="color: #FF5722;" aria-hidden="true"></i> Смотреть фильм <span style="color:#085294"><%- movie.title %></span> <%- movie.year %> онлайн бесплатно в хорошем качестве</h2>
</div>
<p class="text">
<%- movie.description %>
</p>
</div>
<div class="movie">
<a href="<%- movie.url %>/<%- page.urls.movies.online %>" title="Смотреть онлайн <%- movie.title %>">
<span><i class="fa fa-video-camera" aria-hidden="true"></i>&nbsp;Онлайн</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.download %>" title="Скачать <%- movie.title %>">
<span><i class="fa fa-download" aria-hidden="true"></i>&nbsp;Скачать</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.trailer %>" title="Трейлер <%- movie.title %>">
<span><i class="fa fa-play" aria-hidden="true"></i>&nbsp;Трейлер</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.picture %>" title="Кадры <%- movie.title %>">
<span><i class="fa fa-picture-o" aria-hidden="true"></i>&nbsp;Кадры</span>
</a>
</div>
</div>
</div>
</section>
<div style="clear: both"></div>
<section class="fright">
<div class="comments">
<% if (page.comments) { %>
<%- page.comments %>
<% } %>
</div>
</section>
</section>
<div style="clear: both"></div>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { movies[type].forEach(function (category) { %>
<section class="hblock cf">
<div class="block-link">
<%- category.name %>
</div>
<% if (category.movies.length) { category.movies.forEach(function (movie) { %>
<article class="shortstory cf">
<% include includes/short.ejs %>
</article>
<% }); } %>
</section>
<% }); } %>
<% } } } %>
<div style="clear: both"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer cf">
<% if (page.seo) { %>
<div class="about">
<div class="wrapper">
<%- page.seo %>
</div>
</div>
<% } %>
<% include includes/footer.ejs %>
</footer>
</body>
</html>

251
views/online.ejs Normal file
View File

@ -0,0 +1,251 @@
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<% include includes/head.ejs %>
</head>
<body>
<header class="header">
<% include includes/header.ejs %>
</header>
<section class="container">
<div class="cont-wrap">
<div class="mp-pusher" id="mp-pusher">
<% include includes/nav.ejs %>
<div class="scroller">
<div class="scroller-inner">
<% if (typeof slider == 'object' && slider.movies.length) { %>
<section class="hblock cf">
<div id="owl-demo" class="owl-carousel owl-theme" style="margin: 20px auto;">
<% slider.movies.forEach(function (movie) { %>
<div class="item">
<% include includes/short.ejs %>
</div>
<% }); %>
</div>
</section>
<% } %>
<div class="cf">
<div id="full-movie">
<div class="breadcrumbs">
<span>
<a href="<%- page.protocol %><%- page.domain %>">
Главная
</a>
</span>
<span>
»
</span>
<span>
<%- movie.genre_url %>
</span>
<span>
»
</span>
<span>
<a href="<%- movie.url %>">
<%- movie.title %>
</a>
</span>
<span>
»
</span>
<span>
Смотреть онлайн
</span>
</div>
<section class="full-story cf">
<section class="fleft cf">
<div class="poster cf">
<img src="<%- movie.poster %>" alt="<%- movie.title %> смотреть онлайн" title="<%- movie.title %> онлайн бесплатно"/>
<div class="poster-qulabel watchLaterBlock" style="display: none;">
<a href="javascript:void(0)" id="watchLater">
<span class="fa fa-eye"></span> Досмотреть позже
</a>
</div>
</div>
</section>
<section class="fmid">
<div class="moviecard">
<div class="movie-ratings">
<div class="imdbRating">
<span class="star">★</span>
<span class="score"><%- movie.rating/10 %></span>
<span class="score-out-of" style="font-family: PF DinDisplay Pro;">/ <span>10</span> (<span><%- movie.vote %></span>)</span>
</div>
</div>
<label class="bdt"><%- movie.premiere %></label>
<nav class="button-share-container">
<div class="buttons">
<div class="tw share-btn" onclick="share(this)" tooltip="Twitter"><i class="fa fa-twitter"></i> </div>
</div>
<div class="buttons">
<div class="mr share-btn" onclick="share(this)" tooltip="Мой Мир"> <i class="fa fa-at"></i>
</div>
</div>
<div class="buttons">
<div class="gp share-btn" onclick="share(this)" tooltip="Google Plus"><i class="fa fa-google-plus"></i>
</div>
</div>
<div class="buttons">
<div class="ok share-btn" onclick="share(this)" tooltip="Одноклассники"> <i class="fa fa-odnoklassniki"></i>
</div>
</div>
<div class="buttons">
<div class="vk share-btn" onclick="share(this)" tooltip="Вконтакте"> <i class="fa fa-vk"></i>
</div>
</div>
<div class="buttons">
<div class="fb share-btn" onclick="share(this)" tooltip="Facebook"> <i class="fa fa-facebook"></i>
</div>
</div>
<a class="buttons" href="javascript:void(0)" onClick="return false;">
<span class="buttons" tooltip="Поделиться">
<span class="rotate"></span>
</span>
</a>
</nav>
<div id="movie-content">
<div class="movie-title">
<h1><%- movie.title %> смотреть онлайн</h1>
<strong class="orig_title"><%- movie.title_en %></strong>
</div>
<div class="movie-details">
<% if (movie.countries_url) { %>
<span class="movie-country">
<i class="fa fa-globe" aria-hidden="true"></i>&nbsp;<%- movie.countries_url %>
</span>
<% } %>
<% if (movie.genres_url) { %>
<span class="movie-genre">
<i class="fa fa-tags" aria-hidden="true"></i>&nbsp;<%- movie.genres_url %>
</span>
<% } %>
<% if (movie.year_url) { %>
<span class="movie-year">
<i class="fa fa-calendar" aria-hidden="true"></i>&nbsp;<%- movie.year_url %>
</span>
<% } %>
</div>
<% if (movie.directors_url) { %>
<div class="movie-castcrew">
<span class="title">Режиссер:</span>
<span class="name"><%- movie.directors_url %></span>
</div>
<% } %>
<div class="movie-castcrew">
<span class="title">Рейтинг:</span>
<span class="name" style="color: #a17514">КиноПоиск - <%- movie.kp_rating/10 %></span>
<span class="name" style="color: #8f4815">IMDb - <%- movie.imdb_rating/10 %></span>
</div>
<% if (movie.actors_url) { %>
<div class="movie-castcrew">
<span class="title"><%- movie.actors_url %></span>
</div>
<% } %>
<div class="box" id="box">
<div class="post_title">
<h2 class="news-title">
<i class="fa fa-navicon" style="color: #FF5722;" aria-hidden="true"></i> Смотреть фильм <span style="color:#085294"><%- movie.title %></span> <%- movie.year %> онлайн бесплатно в хорошем качестве</h2>
</div>
<p class="text">
<%- page.seo %>
</p>
</div>
<div class="movie">
<a href="javascript:void(0);" class="active" title="<%- movie.title %> онлайн бесплатно">
<span><i class="fa fa-video-camera" aria-hidden="true"></i>&nbsp;Онлайн</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.download %>" title="Скачать <%- movie.title %>">
<span><i class="fa fa-download" aria-hidden="true"></i>&nbsp;Скачать</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.trailer %>" title="Трейлер <%- movie.title %>">
<span><i class="fa fa-play" aria-hidden="true"></i>&nbsp;Трейлер</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.picture %>" title="Кадры <%- movie.title %>">
<span><i class="fa fa-picture-o" aria-hidden="true"></i>&nbsp;Кадры</span>
</a>
</div>
</div>
</div>
</section>
<div style="clear: both"></div>
<section class="cinemapress-data" style="height: 370px">
<%- page.player %>
</section>
<div style="clear: both"></div>
<section class="fright">
<div class="comments">
<% if (page.comments) { %>
<%- page.comments %>
<% } %>
</div>
</section>
</section>
<div style="clear: both"></div>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { movies[type].forEach(function (category) { %>
<section class="hblock cf">
<div class="block-link">
<%- category.name %>
</div>
<% if (category.movies.length) { category.movies.forEach(function (movie) { %>
<article class="shortstory cf">
<% include includes/short.ejs %>
</article>
<% }); } %>
</section>
<% }); } %>
<% } } } %>
<div style="clear: both"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer cf">
<% include includes/footer.ejs %>
</footer>
</body>
</html>

246
views/picture.ejs Normal file
View File

@ -0,0 +1,246 @@
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<% include includes/head.ejs %>
</head>
<body>
<header class="header">
<% include includes/header.ejs %>
</header>
<section class="container">
<div class="cont-wrap">
<div class="mp-pusher" id="mp-pusher">
<% include includes/nav.ejs %>
<div class="scroller">
<div class="scroller-inner">
<% if (typeof slider == 'object' && slider.movies.length) { %>
<section class="hblock cf">
<div id="owl-demo" class="owl-carousel owl-theme" style="margin: 20px auto;">
<% slider.movies.forEach(function (movie) { %>
<div class="item">
<% include includes/short.ejs %>
</div>
<% }); %>
</div>
</section>
<% } %>
<div class="cf">
<div id="full-movie">
<div class="breadcrumbs">
<span>
<a href="<%- page.protocol %><%- page.domain %>">
Главная
</a>
</span>
<span>
»
</span>
<span>
<%- movie.genre_url %>
</span>
<span>
»
</span>
<span>
<a href="<%- movie.url %>">
<%- movie.title %>
</a>
</span>
<span>
»
</span>
<span>
Кадры
</span>
</div>
<section class="full-story cf">
<section class="fleft cf">
<div class="poster cf">
<img src="<%- movie.poster %>" alt="<%- movie.title %> кадры" title="<%- movie.title %> кадры"/>
</div>
</section>
<section class="fmid">
<div class="moviecard">
<div class="movie-ratings">
<div class="imdbRating">
<span class="star">★</span>
<span class="score"><%- movie.rating/10 %></span>
<span class="score-out-of" style="font-family: PF DinDisplay Pro;">/ <span>10</span> (<span><%- movie.vote %></span>)</span>
</div>
</div>
<label class="bdt"><%- movie.premiere %></label>
<nav class="button-share-container">
<div class="buttons">
<div class="tw share-btn" onclick="share(this)" tooltip="Twitter"><i class="fa fa-twitter"></i> </div>
</div>
<div class="buttons">
<div class="mr share-btn" onclick="share(this)" tooltip="Мой Мир"> <i class="fa fa-at"></i>
</div>
</div>
<div class="buttons">
<div class="gp share-btn" onclick="share(this)" tooltip="Google Plus"><i class="fa fa-google-plus"></i>
</div>
</div>
<div class="buttons">
<div class="ok share-btn" onclick="share(this)" tooltip="Одноклассники"> <i class="fa fa-odnoklassniki"></i>
</div>
</div>
<div class="buttons">
<div class="vk share-btn" onclick="share(this)" tooltip="Вконтакте"> <i class="fa fa-vk"></i>
</div>
</div>
<div class="buttons">
<div class="fb share-btn" onclick="share(this)" tooltip="Facebook"> <i class="fa fa-facebook"></i>
</div>
</div>
<a class="buttons" href="javascript:void(0)" onClick="return false;">
<span class="buttons" tooltip="Поделиться">
<span class="rotate"></span>
</span>
</a>
</nav>
<div id="movie-content">
<div class="movie-title">
<h1><%- movie.title %> кадры</h1>
<strong class="orig_title"><%- movie.title_en %></strong>
</div>
<div class="movie-details">
<% if (movie.countries_url) { %>
<span class="movie-country">
<i class="fa fa-globe" aria-hidden="true"></i>&nbsp;<%- movie.countries_url %>
</span>
<% } %>
<% if (movie.genres_url) { %>
<span class="movie-genre">
<i class="fa fa-tags" aria-hidden="true"></i>&nbsp;<%- movie.genres_url %>
</span>
<% } %>
<% if (movie.year_url) { %>
<span class="movie-year">
<i class="fa fa-calendar" aria-hidden="true"></i>&nbsp;<%- movie.year_url %>
</span>
<% } %>
</div>
<% if (movie.directors_url) { %>
<div class="movie-castcrew">
<span class="title">Режиссер:</span>
<span class="name"><%- movie.directors_url %></span>
</div>
<% } %>
<div class="movie-castcrew">
<span class="title">Рейтинг:</span>
<span class="name" style="color: #a17514">КиноПоиск - <%- movie.kp_rating/10 %></span>
<span class="name" style="color: #8f4815">IMDb - <%- movie.imdb_rating/10 %></span>
</div>
<% if (movie.actors_url) { %>
<div class="movie-castcrew">
<span class="title"><%- movie.actors_url %></span>
</div>
<% } %>
<div class="box" id="box">
<div class="post_title">
<h2 class="news-title">
<i class="fa fa-navicon" style="color: #FF5722;" aria-hidden="true"></i> Кадры <span style="color:#085294"><%- movie.title %></span> <%- movie.year %></h2>
</div>
<p class="text">
<%- page.seo %>
</p>
</div>
<div class="movie">
<a href="<%- movie.url %>/<%- page.urls.movies.online %>" title="Смотреть онлайн <%- movie.title %>">
<span><i class="fa fa-video-camera" aria-hidden="true"></i>&nbsp;Онлайн</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.download %>" title="Скачать <%- movie.title %>">
<span><i class="fa fa-download" aria-hidden="true"></i>&nbsp;Скачать</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.trailer %>" title="Трейлер <%- movie.title %>">
<span><i class="fa fa-play" aria-hidden="true"></i>&nbsp;Трейлер</span>
</a>
<a href="javascript:void(0);" class="active" title="Кадры <%- movie.title %>">
<span><i class="fa fa-picture-o" aria-hidden="true"></i>&nbsp;Кадры</span>
</a>
</div>
</div>
</div>
</section>
<div style="clear: both"></div>
<section class="cinemapress-data">
<%- page.player %>
</section>
<div style="clear: both"></div>
<section class="fright">
<div class="comments">
<% if (page.comments) { %>
<%- page.comments %>
<% } %>
</div>
</section>
</section>
<div style="clear: both"></div>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { movies[type].forEach(function (category) { %>
<section class="hblock cf">
<div class="block-link">
<%- category.name %>
</div>
<% if (category.movies.length) { category.movies.forEach(function (movie) { %>
<article class="shortstory cf">
<% include includes/short.ejs %>
</article>
<% }); } %>
</section>
<% }); } %>
<% } } } %>
<div style="clear: both"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer cf">
<% include includes/footer.ejs %>
</footer>
</body>
</html>

246
views/trailer.ejs Normal file
View File

@ -0,0 +1,246 @@
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<% include includes/head.ejs %>
</head>
<body>
<header class="header">
<% include includes/header.ejs %>
</header>
<section class="container">
<div class="cont-wrap">
<div class="mp-pusher" id="mp-pusher">
<% include includes/nav.ejs %>
<div class="scroller">
<div class="scroller-inner">
<% if (typeof slider == 'object' && slider.movies.length) { %>
<section class="hblock cf">
<div id="owl-demo" class="owl-carousel owl-theme" style="margin: 20px auto;">
<% slider.movies.forEach(function (movie) { %>
<div class="item">
<% include includes/short.ejs %>
</div>
<% }); %>
</div>
</section>
<% } %>
<div class="cf">
<div id="full-movie">
<div class="breadcrumbs">
<span>
<a href="<%- page.protocol %><%- page.domain %>">
Главная
</a>
</span>
<span>
»
</span>
<span>
<%- movie.genre_url %>
</span>
<span>
»
</span>
<span>
<a href="<%- movie.url %>">
<%- movie.title %>
</a>
</span>
<span>
»
</span>
<span>
Трейлер
</span>
</div>
<section class="full-story cf">
<section class="fleft cf">
<div class="poster cf">
<img src="<%- movie.poster %>" alt="<%- movie.title %> трейлер" title="<%- movie.title %> трейлер"/>
</div>
</section>
<section class="fmid">
<div class="moviecard">
<div class="movie-ratings">
<div class="imdbRating">
<span class="star">★</span>
<span class="score"><%- movie.rating/10 %></span>
<span class="score-out-of" style="font-family: PF DinDisplay Pro;">/ <span>10</span> (<span><%- movie.vote %></span>)</span>
</div>
</div>
<label class="bdt"><%- movie.premiere %></label>
<nav class="button-share-container">
<div class="buttons">
<div class="tw share-btn" onclick="share(this)" tooltip="Twitter"><i class="fa fa-twitter"></i> </div>
</div>
<div class="buttons">
<div class="mr share-btn" onclick="share(this)" tooltip="Мой Мир"> <i class="fa fa-at"></i>
</div>
</div>
<div class="buttons">
<div class="gp share-btn" onclick="share(this)" tooltip="Google Plus"><i class="fa fa-google-plus"></i>
</div>
</div>
<div class="buttons">
<div class="ok share-btn" onclick="share(this)" tooltip="Одноклассники"> <i class="fa fa-odnoklassniki"></i>
</div>
</div>
<div class="buttons">
<div class="vk share-btn" onclick="share(this)" tooltip="Вконтакте"> <i class="fa fa-vk"></i>
</div>
</div>
<div class="buttons">
<div class="fb share-btn" onclick="share(this)" tooltip="Facebook"> <i class="fa fa-facebook"></i>
</div>
</div>
<a class="buttons" href="javascript:void(0)" onClick="return false;">
<span class="buttons" tooltip="Поделиться">
<span class="rotate"></span>
</span>
</a>
</nav>
<div id="movie-content">
<div class="movie-title">
<h1><%- movie.title %> трейлер</h1>
<strong class="orig_title"><%- movie.title_en %></strong>
</div>
<div class="movie-details">
<% if (movie.countries_url) { %>
<span class="movie-country">
<i class="fa fa-globe" aria-hidden="true"></i>&nbsp;<%- movie.countries_url %>
</span>
<% } %>
<% if (movie.genres_url) { %>
<span class="movie-genre">
<i class="fa fa-tags" aria-hidden="true"></i>&nbsp;<%- movie.genres_url %>
</span>
<% } %>
<% if (movie.year_url) { %>
<span class="movie-year">
<i class="fa fa-calendar" aria-hidden="true"></i>&nbsp;<%- movie.year_url %>
</span>
<% } %>
</div>
<% if (movie.directors_url) { %>
<div class="movie-castcrew">
<span class="title">Режиссер:</span>
<span class="name"><%- movie.directors_url %></span>
</div>
<% } %>
<div class="movie-castcrew">
<span class="title">Рейтинг:</span>
<span class="name" style="color: #a17514">КиноПоиск - <%- movie.kp_rating/10 %></span>
<span class="name" style="color: #8f4815">IMDb - <%- movie.imdb_rating/10 %></span>
</div>
<% if (movie.actors_url) { %>
<div class="movie-castcrew">
<span class="title"><%- movie.actors_url %></span>
</div>
<% } %>
<div class="box" id="box">
<div class="post_title">
<h2 class="news-title">
<i class="fa fa-navicon" style="color: #FF5722;" aria-hidden="true"></i> Трейлер <span style="color:#085294"><%- movie.title %></span> <%- movie.year %></h2>
</div>
<p class="text">
<%- page.seo %>
</p>
</div>
<div class="movie">
<a href="<%- movie.url %>/<%- page.urls.movies.online %>" title="Смотреть онлайн <%- movie.title %>">
<span><i class="fa fa-video-camera" aria-hidden="true"></i>&nbsp;Онлайн</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.download %>" title="Скачать <%- movie.title %>">
<span><i class="fa fa-download" aria-hidden="true"></i>&nbsp;Скачать</span>
</a>
<a href="javascript:void(0);" class="active" title="Трейлер <%- movie.title %>">
<span><i class="fa fa-play" aria-hidden="true"></i>&nbsp;Трейлер</span>
</a>
<a href="<%- movie.url %>/<%- page.urls.movies.picture %>" title="Кадры <%- movie.title %>">
<span><i class="fa fa-picture-o" aria-hidden="true"></i>&nbsp;Кадры</span>
</a>
</div>
</div>
</div>
</section>
<div style="clear: both"></div>
<section class="cinemapress-data">
<%- page.player %>
</section>
<div style="clear: both"></div>
<section class="fright">
<div class="comments">
<% if (page.comments) { %>
<%- page.comments %>
<% } %>
</div>
</section>
</section>
<div style="clear: both"></div>
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { movies[type].forEach(function (category) { %>
<section class="hblock cf">
<div class="block-link">
<%- category.name %>
</div>
<% if (category.movies.length) { category.movies.forEach(function (movie) { %>
<article class="shortstory cf">
<% include includes/short.ejs %>
</article>
<% }); } %>
</section>
<% }); } %>
<% } } } %>
<div style="clear: both"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer cf">
<% include includes/footer.ejs %>
</footer>
</body>
</html>