185 lines
8.5 KiB
Plaintext
185 lines
8.5 KiB
Plaintext
<% if (typeof news === 'object' && news.length) { %>
|
|
<div style="clear: both"></div>
|
|
<% news.forEach(function (content) { %>
|
|
<div class="cinemapress-news-block">
|
|
<div style="margin: 0; padding: 10px">
|
|
<a href="<%- content.url %>" class="cinemapress-news lazy" style="background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPoAAADICAQAAABrVzQQAAABLUlEQVR42u3RMQEAAAgDoC251W3hI1SgmfBMpUtHOtKRjnSkIx3pSEc60pGOdKQjHelIl450pCMd6UhHOtKRjnSkIx3pSEc60pEuHelIRzrSkY50pCMd6UhHOtKRjnSkI1060pGOdKQjHelIRzrSkY50pCMd6UhHunSkIx3pSEc60pGOdKQjHelIRzrSkY506dKlIx3pSEc60pGOdKQjHelIRzrSkY50pEtHOtKRjnSkIx3pSEc60pGOdKQjHelIl450pCMd6UhHOtKRjnSkIx3pSEc60pEuHelIRzrSkY50pCMd6UhHOtKRjnSkI1060pGOdKQjHelIRzrSkY50pCMd6UhHunTp0pGOdKQjHelIRzrSkY50pCMd6UhHOtKlIx3pSEc60pGOdKRzawFrr2QBa00SvgAAAABJRU5ErkJggg==');" data-bg="<%- content.image %>">
|
|
<div class="cinemapress-news-title">
|
|
<%= content.title %>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<% }); %>
|
|
<% } %>
|
|
|
|
<% if (typeof recent === 'object' && recent.length) { %>
|
|
<div class="cinemapress-news-block" style="height: 200px; overflow-y: scroll; margin: 10px 0; padding: 0 10px;">
|
|
<% recent.forEach(function (comment) { %>
|
|
<div>
|
|
<div class="cinemapress-comment">
|
|
<div class="cinemapress-comment-head">
|
|
<div class="cinemapress-comment-head-avatar">
|
|
<img src="data:," class="lazy" data-src="<%- comment.avatar %>" alt="<%= comment.user %>">
|
|
</div>
|
|
<div class="cinemapress-comment-head-meta">
|
|
<div class="cinemapress-comment-head-meta-title">
|
|
<a href="<%- comment.url %>" title="<%= comment.title %>"><%= comment.title %></a>
|
|
</div>
|
|
<div class="cinemapress-comment-user" data-comment-id="<%- comment.id %>">
|
|
<div class="cinemapress-comment-user-name">
|
|
<%- comment.user %>
|
|
</div>
|
|
<div class="cinemapress-comment-user-said">
|
|
<%- page.l.said %>
|
|
</div>
|
|
<div class="cinemapress-comment-user-date">
|
|
<%- comment.date %>
|
|
</div>
|
|
<div class="cinemapress-comment-user-link">
|
|
<a href="<%- comment.url %>#c<%- comment.id %>" title="<%= comment.title %>">#</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="cinemapress-comment-bg cinemapress-comment-radius">
|
|
<%- comment.comment %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<% }); %>
|
|
</div>
|
|
<% } %>
|
|
|
|
<div style="clear: both"></div>
|
|
|
|
<div class="flex-rw">
|
|
<ul class="footer-list-top-info">
|
|
<li>
|
|
<div class="footer-list-header">
|
|
<span class="ion-android-list"><%- page.l.allCategories %></span>
|
|
</div>
|
|
</li>
|
|
<li>
|
|
<a href="/<%- page.urls.genre %>" class="generic-anchor footer-list-anchor"><%- page.l.allGenres %></a>
|
|
</li>
|
|
<li>
|
|
<a href="/<%- page.urls.country %>" class="generic-anchor footer-list-anchor"><%- page.l.allCountries %></a>
|
|
</li>
|
|
<li>
|
|
<a href="/<%- page.urls.year %>" class="generic-anchor footer-list-anchor"><%- page.l.allYears %></a>
|
|
</li>
|
|
<li>
|
|
<a href="/<%- page.urls.director %>"
|
|
class="generic-anchor footer-list-anchor"><%- page.l.allDirectors %></a>
|
|
</li>
|
|
<li>
|
|
<a href="/<%- page.urls.actor %>" class="generic-anchor footer-list-anchor"><%- page.l.allActors %></a>
|
|
</li>
|
|
</ul>
|
|
<ul class="footer-list-top">
|
|
<li>
|
|
<div class="footer-list-header"><span class="ion-location"><%- page.l.navigation %></span></div>
|
|
</li>
|
|
<li>
|
|
<a class="generic-anchor footer-list-anchor"
|
|
href="/<%- page.urls.type %>/<%- page.urls.types.movie %>"><%- page.l.movies %></a>
|
|
</li>
|
|
<li>
|
|
<a class="generic-anchor footer-list-anchor"
|
|
href="/<%- page.urls.type %>/<%- page.urls.types.serial %>"><%- page.l.series %></a>
|
|
</li>
|
|
<li>
|
|
<a class="generic-anchor footer-list-anchor"
|
|
href="/<%- page.urls.type %>/<%- page.urls.types.mult %>"><%- page.l.cartoons %></a>
|
|
</li>
|
|
<li>
|
|
<a class="generic-anchor footer-list-anchor"
|
|
href="/<%- page.urls.type %>/<%- page.urls.types.anime %>"><%- page.l.anime %></a>
|
|
</li>
|
|
<li>
|
|
<a class="generic-anchor footer-list-anchor"
|
|
href="/<%- page.urls.type %>/<%- page.urls.types.tv %>"><%- page.l.tv %></a>
|
|
</li>
|
|
</ul>
|
|
<ul class="footer-list-top">
|
|
<li id='help'>
|
|
<div class="footer-list-header"><span class="ion-pricetags"><%- page.l.years %></span></div>
|
|
</li>
|
|
<% page.urls.years.slice(0, 5).forEach(function(year) { %>
|
|
<li>
|
|
<a class="generic-anchor footer-list-anchor"
|
|
href="<%- year.url %>"><%- page.l.movies %> <%- year.title %></a>
|
|
</li>
|
|
<% }); %>
|
|
</ul>
|
|
<% if (page.social) { %>
|
|
|
|
<div class="footer-social-section flex-rw">
|
|
<span class="footer-social-overlap footer-social-connect">
|
|
<%- page.l.subscribe %>
|
|
</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.telegram) { %>
|
|
<a class="generic-anchor" href="<%- page.social.telegram %>" target="_blank"><i
|
|
class="fa fa-telegram"></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.youtube) { %>
|
|
<a class="generic-anchor" href="<%- page.social.youtube %>" target="_blank"><i
|
|
class="fa fa-youtube"></i></a>
|
|
<% } %>
|
|
<% if (page.social.instagram) { %>
|
|
<a class="generic-anchor" href="<%- page.social.instagram %>" target="_blank"><i
|
|
class="fa fa-instagram"></i></a>
|
|
<% } %>
|
|
</span>
|
|
</div>
|
|
|
|
<% } %>
|
|
|
|
<div class="recentlyViewedBlock" style="margin: 25px; display: none;">
|
|
<div><%- page.l.watched %>:</div>
|
|
<div id="recentlyViewed"></div>
|
|
</div>
|
|
|
|
<div class="footer-bottom-section flex-rw">
|
|
<div class="footer-bottom-wrapper">
|
|
<a href="/<%- page.urls.content %>?tag=<%- page.l.collections %>"><%- page.l.collections %></a>
|
|
</div>
|
|
<div class="footer-bottom-wrapper">
|
|
<a href="mailto:<%- page.email %>">Email: <span id="mylo">Activate JS</span></a>
|
|
<script>(function(d, i, l, r) {
|
|
d.getElementById(i).innerHTML = l + '@' + r;
|
|
})(window.document, 'mylo', '<%- page.email.split('@')[0] %>', '<%- page.email.split('@')[1] %>');</script>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="footer_links cf">
|
|
<ul>
|
|
<li>
|
|
<a href="/<%- page.urls.content %>?tag=<%- page.l.news %>"><%- page.l.news %></a>
|
|
</li>
|
|
<li class="counter">
|
|
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="age"><img src="/themes/<%- page.theme %>/public/images/pg.png" alt="18+"></div>
|
|
<div class="copyrights">
|
|
© <%- new Date().getFullYear() %> <a href="https://github.com/CinemaPress/CinemaPress" target="_blank">CinemaPress</a>
|
|
</div>
|
|
|
|
<script src="/themes/<%- page.theme %>/public/js/all.min.js"></script>
|
|
|
|
<%- page.codes.footer %> |