Theme-Bran/views/index.ejs

117 lines
3 KiB
Plaintext
Raw Normal View History

2016-12-20 02:06:52 +01:00
<!DOCTYPE html>
<html lang="ru-RU">
<head>
<% include includes/head.ejs %>
</head>
<body>
<header class="header">
<% include includes/header.ejs %>
</header>
2017-01-09 21:52:02 +01:00
<div class="container">
2016-12-20 02:06:52 +01:00
<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) { %>
2017-01-09 21:45:07 +01:00
<div class="hblock cf">
2016-12-20 02:06:52 +01:00
<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>
2017-01-09 21:45:07 +01:00
</div>
2016-12-20 02:06:52 +01:00
<% } %>
2017-01-09 21:45:07 +01:00
<% if (typeof page.adv == 'object' && page.adv.top) { %>
<div style="text-align: center; margin: 10px auto">
<%- page.adv.top %>
</div>
<% } %>
2016-12-20 02:06:52 +01:00
<% if (typeof movies == 'object') { for (var type in movies) { if (movies.hasOwnProperty(type)) { %>
<% if (movies[type].length) { %>
<% movies[type].forEach(function (category) { %>
2017-01-09 21:45:07 +01:00
<div class="hblock cf">
2016-12-20 02:06:52 +01:00
<div class="block-link">
<span class="ion-grid"><%- category.name %></span>
</div>
<% if (category.movies.length) { %>
<% category.movies.forEach(function (movie) { %>
2017-01-09 21:45:07 +01:00
<div class="shortstory cf">
2016-12-20 02:06:52 +01:00
<% include includes/short.ejs %>
2017-01-09 21:45:07 +01:00
</div>
2016-12-20 02:06:52 +01:00
<% }); %>
<% } %>
2017-01-09 21:45:07 +01:00
</div>
2016-12-20 02:06:52 +01:00
<% }); %>
<% } %>
<% } } } %>
2017-01-09 21:45:07 +01:00
<% if (typeof page.adv == 'object' && page.adv.bottom) { %>
<div style="text-align: center; margin: 10px auto">
<%- page.adv.bottom %>
</div>
<% } %>
2016-12-20 02:06:52 +01:00
</div>
</div>
</div>
</div>
2017-01-09 21:52:02 +01:00
</div>
2016-12-20 02:06:52 +01:00
<footer class="footer cf">
<% if (page.seo) { %>
<div class="about">
<div class="wrapper">
<%- page.seo %>
</div>
</div>
<% } %>
<% include includes/footer.ejs %>
</footer>
</body>
</html>