diff --git a/public/images/admin.svg b/public/images/admin.svg new file mode 100644 index 0000000..9700db9 --- /dev/null +++ b/public/images/admin.svg @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/dislike-hover.svg b/public/images/dislike-hover.svg new file mode 100644 index 0000000..7978045 --- /dev/null +++ b/public/images/dislike-hover.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/images/dislike.svg b/public/images/dislike.svg new file mode 100644 index 0000000..3bcc029 --- /dev/null +++ b/public/images/dislike.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/images/left-arrow.svg b/public/images/left-arrow.svg new file mode 100644 index 0000000..79745f7 --- /dev/null +++ b/public/images/left-arrow.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/like-hover.svg b/public/images/like-hover.svg new file mode 100644 index 0000000..4ccd00e --- /dev/null +++ b/public/images/like-hover.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/images/like.svg b/public/images/like.svg new file mode 100644 index 0000000..1b9de83 --- /dev/null +++ b/public/images/like.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/images/logo.png b/public/images/logo.png deleted file mode 100644 index 3850c46..0000000 Binary files a/public/images/logo.png and /dev/null differ diff --git a/public/images/logo.svg b/public/images/logo.svg new file mode 100644 index 0000000..0bd26a3 --- /dev/null +++ b/public/images/logo.svg @@ -0,0 +1,73 @@ + + + + + Created by potrace 1.11, written by Peter Selinger 2001-2013 + + + + + + + + + + + + + + diff --git a/public/images/question.svg b/public/images/question.svg new file mode 100644 index 0000000..e2735c5 --- /dev/null +++ b/public/images/question.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/public/images/reply-hover.svg b/public/images/reply-hover.svg new file mode 100644 index 0000000..9ae0169 --- /dev/null +++ b/public/images/reply-hover.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/images/reply.svg b/public/images/reply.svg new file mode 100644 index 0000000..42b4a4b --- /dev/null +++ b/public/images/reply.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/images/right-arrow.svg b/public/images/right-arrow.svg new file mode 100644 index 0000000..6935fc6 --- /dev/null +++ b/public/images/right-arrow.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/images/textarea.svg b/public/images/textarea.svg new file mode 100644 index 0000000..791cecf --- /dev/null +++ b/public/images/textarea.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/images/vote1.svg b/public/images/vote1.svg new file mode 100644 index 0000000..5f59ef8 --- /dev/null +++ b/public/images/vote1.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/images/vote2.svg b/public/images/vote2.svg new file mode 100644 index 0000000..6cf3ccf --- /dev/null +++ b/public/images/vote2.svg @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/images/vote3.svg b/public/images/vote3.svg new file mode 100644 index 0000000..5714e19 --- /dev/null +++ b/public/images/vote3.svg @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/views/categories.ejs b/views/categories.ejs index 10e727d..9475014 100644 --- a/views/categories.ejs +++ b/views/categories.ejs @@ -2,7 +2,7 @@ - <% include includes/head.ejs %> + <%- include('includes/head.ejs'); -%> @@ -15,9 +15,9 @@
<% if (typeof page.adv === 'object' && page.adv.top) { %> -
- <%- page.adv.top %> -
+
+ <%- page.adv.top %> +
<% } %>
@@ -27,40 +27,44 @@
<% if (typeof categories === 'object' && categories.length) { %> -
- <% categories.forEach(function (content) { %> -
-
-
- <%= content.title %> -
-
- <% }); %> -
+
+ <% categories.forEach(function (content) { %> +
+
+
+ <%= content.title %> +
+
+ <% }); %> +
<% } %> <% if (page.seo) { %> -
- <%- page.seo %> -
+
+ <%- page.seo %> +
<% } %>
- <% include includes/right.ejs %> + <%- include('includes/right.ejs'); -%>
- <% include includes/footer.ejs %> + <%- include('includes/footer.ejs'); -%> - <% include includes/left.ejs %> + <%- include('includes/left.ejs'); -%> + + +<%- page.codes.footer %> + \ No newline at end of file diff --git a/views/category.ejs b/views/category.ejs index d2d92fc..abcc8c6 100644 --- a/views/category.ejs +++ b/views/category.ejs @@ -2,7 +2,7 @@ - <% include includes/head.ejs %> + <%- include('includes/head.ejs'); -%> @@ -15,9 +15,9 @@
<% if (typeof page.adv === 'object' && page.adv.top) { %> -
- <%- page.adv.top %> -
+
+ <%- page.adv.top %> +
<% } %>
@@ -27,134 +27,274 @@

<%- page.h1 %>

<% if (typeof content === 'object') { %> -
- <% if (content.image) { %> - - <% } %> - <% if (content.description) { %> -
- <%- content.description %> -
- <% } %> -
- <% if (content.tags) { %> - <%- content.tags %> +
+ <% if (content.image) { %> + <% } %> - <% if (content.tags) { %> - <%- content.publish %> + <% if (content.description) { %> +
+ <%- content.description %> +
<% } %> +
+ <% if (content.tags) { %> + <%- content.tags %> + <% } %> + <% if (content.tags) { %> + <%- content.publish %> + <% } %> +
-
-
+
<% } %>
- <%- page.l.random %> + <%= page.l.random %> <%- page.l.lucky %> <%- page.l.random %>
<% if (typeof page.sorting === 'object') { %> -
- <% page.sorting.forEach(function (sort) { %> - <% if (sort.active) { %> - - <%- sort.name %> - - <% } else { %> - - <%- sort.name %> - - <% } }); %> -
+
+ <% page.sorting.forEach(function (sort) { %> + <% if (sort.active) { %> + + <%- sort.name %> + + <% } else { %> + + <%- sort.name %> + + <% } }); %> +
<% } %>
- <% if (typeof movies === 'object' && movies.length) { + <% if (typeof movies === 'object' && movies.length) { movies.forEach(function (movie) { %> -
- -
-
+
+ +
+
- <% if (movie.season && movie.episode) { %><%- movie.season %> <%- page.l.season %> <%- movie.episode %> <%- page.l.episode %><% } else { %><%- movie.year %><% } %> + <% if (movie.season && movie.episode) { %><%- movie.season %> <%- page.l.season %> <%- movie.episode %> <%- page.l.episode %><% } else { %><%- movie.year %><% } %> -
-
- <%= movie.title %> +
+ +
<% if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
-
<% if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
-
<% }); } %>
<% if (typeof page.pagination === 'object') { %> - + <% } %> - <% if (typeof content === 'object' && page.comments) { %> -
- <%- page.comments %> -
+ <% if (typeof content === 'object') { %> + <% if (page.comments) { %> + <%- page.comments %> + <% } else { %> +
+ <% if (typeof comments === 'object' && typeof comments.config === 'object') { %> +

+ <%- page.l.comments %> + <%- comments && comments.count || '0' %> +

+ <% if (comments.config.star_rating) { %> +
+
+
+
+
+ <% } %> +
+ <% if (comments.config.bb_codes) { %> +
+ <%- page.l.bold.toLowerCase() %> + <%- page.l.italic.toLowerCase() %> + 👻 <%- page.l.spoiler.toLowerCase() %> + 🔍 <%- page.l.search.toLowerCase() %> + +
+ <% } %> +
+
+ +
+
+ +
+
+ <% if (comments.config.question) { %> + + <% } %> +
+
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
+
+ <%- comments.indexer ? comments.indexer : '' %> + <% if (comments.list && comments.list.length) { %> + <% comments.list.forEach(function (comment) { %> +
+
+
+ <%= comment.user %> +
+ <% if (comments.config.star_rating) { %> + <% if (comment.star === 1) { %> +
+
+
+ <% } else if (comment.star === 2) { %> +
+
+
+ <% } else if (comment.star === 3) { %> +
+
+
+ <% } %> + <% } %> +
+
+ + + <%- comment.like %> + + + <%- comment.dislike %> + + + + + +
+
+
+ <%- comment.user %> +
+ <%- page.l.said %> +
+ <%- comment.date %> +
+
+
+
+
+ <%- comment.comment %> +
+ <% if (comment.admin) { %> +
+
+ <%- comment.admin %> +
+
+
+ <% } %> +
+ <% }); %> + <% } %> + <% } %> +
+ <% if (comments && comments.prev) { %> +
+ <% } %> + <% if (comments && comments.next) { %> +
+ <% } %> +
+
+ <% } %> <% } %> <% if (page.seo) { %> -
- <%- page.seo %> -
+
+ <%- page.seo %> +
<% } %>
- <% include includes/right.ejs %> + <%- include('includes/right.ejs'); -%>
- <% include includes/footer.ejs %> + <%- include('includes/footer.ejs'); -%>
- <% include includes/left.ejs %> + <%- include('includes/left.ejs'); -%> + + +<%- page.codes.footer %> + \ No newline at end of file diff --git a/views/download.ejs b/views/download.ejs index d95954d..3666555 100644 --- a/views/download.ejs +++ b/views/download.ejs @@ -2,7 +2,7 @@ - <% include includes/head.ejs %> + <%- include('includes/head.ejs'); -%> @@ -15,9 +15,9 @@
<% if (typeof page.adv === 'object' && page.adv.top) { %> -
- <%- page.adv.top %> -
+
+ <%- page.adv.top %> +
<% } %>
@@ -34,13 +34,13 @@
<% if (movie.vote) { %> -
- <% for (var i = 0; i < parseInt(movie.rating)/20; i++) { %> -
- <% } %> -
<%- page.l.rating %>: <%- movie.rating/20 %>/5
(<%- movie.vote %> <%- page.l.votes %>)
+
+ <% for (var i = 0; i < parseInt(movie.rating)/20; i++) { %> +
+ <% } %> +
<%- page.l.rating %>: <%- movie.rating/20 %>/5
(<%- movie.vote %> <%- page.l.votes %>)
-
+
<% } %>
@@ -67,27 +67,27 @@ <% if (movie.pictures.length) { %> -
- <% movie.pictures.forEach(function (picture) { %> - <% var ahref = page.urls.movies.picture - ? movie.url + '/' + page.urls.movies.picture - : picture.picture_big %> - - <%= movie.title %> (<%- movie.year %>) - - <% }); %> -
- <% if (!page.urls.movies.picture) { %> - - - - <% } %> +
+ <% movie.pictures.forEach(function (picture) { %> + <% var ahref = page.urls.movies.picture + ? movie.url + '/' + page.urls.movies.picture + : picture.picture_big %> + + <%= movie.title %> (<%- movie.year %>) + + <% }); %> +
+ <% if (!page.urls.movies.picture) { %> + + + + <% } %> <% } %> <% if (typeof page.adv === 'object' && page.adv.over) { %> -
- <%- page.adv.over %> -
+
+ <%- page.adv.over %> +
<% } %> @@ -118,99 +118,237 @@
- - - + + +
<% if (typeof page.adv === 'object' && page.adv.under) { %> -
- <%- page.adv.under %> -
+
+ <%- page.adv.under %> +
<% } %> <% if (typeof contents === 'object' && contents.length) { %> -
- <% contents.forEach(function (content) { %> -
-
- - - <% }); %> -
+
+ <% }); %> +
<% } %> -
- <% if (page.comments) { %> + <% if (page.comments) { %> <%- page.comments %> - <% } %> -
+ <% } else { %> +
+

+ <%- page.l.comments %> + <%- comments && comments.count || '0' %> +

+ <% if (typeof comments === 'object' && typeof comments.config === 'object') { %> + <% if (comments.config.star_rating) { %> +
+
+
+
+
+ <% } %> +
+ <% if (comments.config.bb_codes) { %> +
+ <%- page.l.bold.toLowerCase() %> + <%- page.l.italic.toLowerCase() %> + 👻 <%- page.l.spoiler.toLowerCase() %> + 🔍 <%- page.l.search.toLowerCase() %> + +
+ <% } %> +
+
+ +
+
+ +
+
+ <% if (comments.config.question) { %> + + <% } %> +
+
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
+
+ <%- comments.indexer ? comments.indexer : '' %> + <% if (comments.list && comments.list.length) { %> + <% comments.list.forEach(function (comment) { %> +
+
+
+ <%= comment.user %> +
+ <% if (comments.config.star_rating) { %> + <% if (comment.star === 1) { %> +
+
+
+ <% } else if (comment.star === 2) { %> +
+
+
+ <% } else if (comment.star === 3) { %> +
+
+
+ <% } %> + <% } %> +
+
+ + + <%- comment.like %> + + + <%- comment.dislike %> + + + + + +
+
+
+ <%- comment.user %> +
+ <%- page.l.said %> +
+ <%- comment.date %> +
+
+
+
+
+ <%- comment.comment %> +
+ <% if (comment.admin) { %> +
+
+ <%- comment.admin %> +
+
+
+ <% } %> +
+ <% }); %> + <% } %> + <% } %> +
+ <% if (comments && comments.prev) { %> +
+ <% } %> + <% if (comments && comments.next) { %> +
+ <% } %> +
+
+ <% } %> <% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type) && movies[type].length) { movies[type].forEach(function (category) { %> -

- <%- category.name %> -
- -
-

- -
- - <% if (category.movies.length) { - category.movies.splice(4, category.movies.length % 4); - category.movies.forEach(function (movie) { %> - -
- -
-
- -
-
- <%= movie.title %> +

+ <%- category.name %> +
+ -
<% if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
+

+ +
+ + <% if (category.movies.length) { + category.movies.splice(4, category.movies.length % 4); + category.movies.forEach(function (movie) { %> + +
+ +
+
+ +
+ +
<% if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
+
+
+ + <% }); } %> +
- <% }); } %> - -
- <% }); } } } %>
- <% include includes/right.ejs %> + <%- include('includes/right.ejs'); -%>
- <% include includes/footer.ejs %> + <%- include('includes/footer.ejs'); -%>
- <% include includes/left.ejs %> + <%- include('includes/left.ejs'); -%> + + +<%- page.codes.footer %> + \ No newline at end of file diff --git a/views/episode.ejs b/views/episode.ejs index 1052406..94cb1f9 100644 --- a/views/episode.ejs +++ b/views/episode.ejs @@ -2,7 +2,7 @@ - <% include includes/head.ejs %> + <%- include('includes/head.ejs'); -%> @@ -15,9 +15,9 @@
<% if (typeof page.adv === 'object' && page.adv.top) { %> -
- <%- page.adv.top %> -
+
+ <%- page.adv.top %> +
<% } %>
@@ -34,12 +34,12 @@
<% if (movie.vote) { %> -
- <% for (var i = 0; i < parseInt(movie.rating)/20; i++) { %> -
- <% } %> -
<%- page.l.rating %>: <%- movie.rating/20 %>/5
(<%- movie.vote %> <%- page.l.votes %>)
-
+
+ <% for (var i = 0; i < parseInt(movie.rating)/20; i++) { %> +
+ <% } %> +
<%- page.l.rating %>: <%- movie.rating/20 %>/5
(<%- movie.vote %> <%- page.l.votes %>)
+
<% } %>
@@ -66,27 +66,27 @@ <% if (movie.pictures.length) { %> -
- <% movie.pictures.forEach(function (picture) { %> - <% var ahref = page.urls.movies.picture - ? movie.url + '/' + page.urls.movies.picture - : picture.picture_big %> - - <%= movie.title %> (<%- movie.year %>) - - <% }); %> -
- <% if (!page.urls.movies.picture) { %> - - - - <% } %> +
+ <% movie.pictures.forEach(function (picture) { %> + <% var ahref = page.urls.movies.picture + ? movie.url + '/' + page.urls.movies.picture + : picture.picture_big %> + + <%= movie.title %> (<%- movie.year %>) + + <% }); %> +
+ <% if (!page.urls.movies.picture) { %> + + + + <% } %> <% } %> <% if (typeof page.adv === 'object' && page.adv.over) { %> -
- <%- page.adv.over %> -
+
+ <%- page.adv.over %> +
<% } %> @@ -117,9 +117,9 @@
- - - + + +
@@ -130,90 +130,228 @@
<% if (typeof page.adv === 'object' && page.adv.under) { %> -
- <%- page.adv.under %> -
+
+ <%- page.adv.under %> +
<% } %> <% if (typeof contents === 'object' && contents.length) { %> -
- <% contents.forEach(function (content) { %> -
-
- - - <% }); %> -
+
+ <% }); %> +
<% } %> -
- <% if (page.comments) { %> + <% if (page.comments) { %> <%- page.comments %> - <% } %> -
+ <% } else { %> +
+

+ <%- page.l.comments %> + <%- comments && comments.count || '0' %> +

+ <% if (typeof comments === 'object' && typeof comments.config === 'object') { %> + <% if (comments.config.star_rating) { %> +
+
+
+
+
+ <% } %> +
+ <% if (comments.config.bb_codes) { %> +
+ <%- page.l.bold.toLowerCase() %> + <%- page.l.italic.toLowerCase() %> + 👻 <%- page.l.spoiler.toLowerCase() %> + 🔍 <%- page.l.search.toLowerCase() %> + +
+ <% } %> +
+
+ +
+
+ +
+
+ <% if (comments.config.question) { %> + + <% } %> +
+
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
+
+ <%- comments.indexer ? comments.indexer : '' %> + <% if (comments.list && comments.list.length) { %> + <% comments.list.forEach(function (comment) { %> +
+
+
+ <%= comment.user %> +
+ <% if (comments.config.star_rating) { %> + <% if (comment.star === 1) { %> +
+
+
+ <% } else if (comment.star === 2) { %> +
+
+
+ <% } else if (comment.star === 3) { %> +
+
+
+ <% } %> + <% } %> +
+
+ + + <%- comment.like %> + + + <%- comment.dislike %> + + + + + +
+
+
+ <%- comment.user %> +
+ <%- page.l.said %> +
+ <%- comment.date %> +
+
+
+
+
+ <%- comment.comment %> +
+ <% if (comment.admin) { %> +
+
+ <%- comment.admin %> +
+
+
+ <% } %> +
+ <% }); %> + <% } %> + <% } %> +
+ <% if (comments && comments.prev) { %> +
+ <% } %> + <% if (comments && comments.next) { %> +
+ <% } %> +
+
+ <% } %> <% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type) && movies[type].length) { movies[type].forEach(function (category) { %> -

- <%- category.name %> -
- -
-

- -
- - <% if (category.movies.length) { - category.movies.splice(4, category.movies.length % 4); - category.movies.forEach(function (movie) { %> - -
- -
-
- -
-
- <%= movie.title %> +

+ <%- category.name %> +
+ -
<% if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
+

+ +
+ + <% if (category.movies.length) { + category.movies.splice(4, category.movies.length % 4); + category.movies.forEach(function (movie) { %> + +
+ +
+
+ +
+ +
<% if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
+
+
+ + <% }); } %> +
- <% }); } %> - -
- <% }); } } } %>
- <% include includes/right.ejs %> + <%- include('includes/right.ejs'); -%>
- <% include includes/footer.ejs %> + <%- include('includes/footer.ejs'); -%>
- <% include includes/left.ejs %> + <%- include('includes/left.ejs'); -%> + + +<%- page.codes.footer %> + \ No newline at end of file diff --git a/views/includes/footer.ejs b/views/includes/footer.ejs index 97ffe7b..76fc14d 100644 --- a/views/includes/footer.ejs +++ b/views/includes/footer.ejs @@ -1,9 +1,9 @@ <% if (typeof page.adv === 'object' && page.adv.left) { %> -
- <%- page.adv.left %> -
+
+ <%- page.adv.left %> +
<% } %> \ No newline at end of file diff --git a/views/includes/right.ejs b/views/includes/right.ejs index e9d9930..3b2dcdd 100644 --- a/views/includes/right.ejs +++ b/views/includes/right.ejs @@ -1,81 +1,81 @@ <% if (typeof top === 'object' && top.length) { %> -

<%- page.l.top %>

- +

<%- page.l.top %>

+ <% } else if (typeof slider === 'object' && slider.length) { %> -

<%- page.l.popular %>

- +

<%- page.l.popular %>

+ <% } %> <% if (typeof soon === 'object' && soon.length) { %> -

<%- page.l.premieres %>

-<% soon.forEach(function (movie) { %> -
- -
- <%= movie.title %> -
-
-
-<% }); %> +

<%- page.l.premieres %>

+ <% soon.forEach(function (movie) { %> +
+ +
+ <%= movie.title %> +
+
+
+ <% }); %> <% } %> <% if (typeof news === 'object' && news.length) { %> -

<%- page.l.news %>

-<% news.forEach(function (content) { %> -
- -
- <%= content.title %> +

<%- page.l.news %>

+ <% news.forEach(function (content) { %> +
+ +
+ <%= content.title %> +
+
- -
-<% }); %> + <% }); %> <% } %> <% if (typeof recent === 'object' && recent.length) { %> -

<%- page.l.comments %>

-<% recent.forEach(function (comment) { %> -
-
-
- <% if (comment.avatar) { %> -
- <%- comment.user %> -
- <% } %> -
-
- <%= comment.title %> +

<%- page.l.comments %>

+ <% recent.forEach(function (comment) { %> +
+
+
+
+ <%= comment.user %> +
+
+ +
+
+ <%- comment.user %> +
+ <%- page.l.said %> +
+ <%- comment.date %> +
+
+
-
- - <%- comment.user %> - - <%- page.l.said %> - - <%- comment.date %> - +
+ <%- comment.comment %>
-
- <%- comment.comment %> -
-
-
-<% }); %> + <% }); %> <% } %> <% if (typeof page.adv === 'object' && page.adv.right) { %> -
- <%- page.adv.right %> -
+
+ <%- page.adv.right %> +
<% } %> \ No newline at end of file diff --git a/views/index.ejs b/views/index.ejs index 7f37894..98c1ea9 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -2,7 +2,7 @@ - <% include includes/head.ejs %> + <%- include('includes/head.ejs'); -%> @@ -15,107 +15,111 @@
<% if (typeof page.adv === 'object' && page.adv.top) { %> -
- <%- page.adv.top %> -
+
+ <%- page.adv.top %> +
<% } %>
<% if (typeof index === 'object') { - for (var type in index) { - if (index.hasOwnProperty(type) && index[type].length) { - index[type].forEach(function (category) { %> + for (var type in index) { + if (index.hasOwnProperty(type) && index[type].length) { + index[type].forEach(function (category) { %> -

- <%- category.name %> -
-
style="display:none"<% } %> class="cinemapress-random-index" - onclick="window.location.href='<%- (category.url && category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'" - title="<%- page.l.random %>"> - <%- page.l.random %> -
-
-

- -
- - <% if (category.movies.length) { - category.movies.forEach(function (movie) { %> - -
- -
-
- - <% if (movie.season && movie.episode) { %><%- movie.season %> <%- page.l.season %> <%- movie.episode %> <%- page.l.episode %><% } else { %><%- movie.year %><% } %> - - -
-
- <%= movie.title %> +

+ <%- category.name %> +
+
style="display:none"<% } %> class="cinemapress-random-index" + onclick="window.location.href='<%- (category.url && category.url.indexOf('?')+1 ? category.url + '&random' : category.url + '?random') %>'" + title="<%= page.l.random %>"> + <%= page.l.random %>
-
<% if (movie.translate) { %><%- movie.translate %><% } else if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
+

+ +
+ + <% if (category.movies.length) { + category.movies.forEach(function (movie) { %> + +
+ +
+
+ + <% if (movie.season && movie.episode) { %><%- movie.season %> <%- page.l.season %> <%- movie.episode %> <%- page.l.episode %><% } else { %><%- movie.year %><% } %> + + +
+ +
<% if (movie.translate) { %><%- movie.translate %><% } else if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
+
+
+ + <% }); } %> +
- <% }); } %> - -
- <% }); } } } %> <% if (typeof page.pagination === 'object') { %> - + <% } %> <% if (page.seo) { %> -
-

<%- page.h1 %>

-

<%- page.seo %>

-
+
+

<%- page.h1 %>

+

<%- page.seo %>

+
<% } %>
- <% include includes/right.ejs %> + <%- include('includes/right.ejs'); -%>
- <% include includes/footer.ejs %> + <%- include('includes/footer.ejs'); -%>
- <% include includes/left.ejs %> + <%- include('includes/left.ejs'); -%> +
+ +<%- page.codes.footer %> + \ No newline at end of file diff --git a/views/movie.ejs b/views/movie.ejs index 15f2eb4..b9fa1d9 100644 --- a/views/movie.ejs +++ b/views/movie.ejs @@ -2,7 +2,7 @@ - <% include includes/head.ejs %> + <%- include('includes/head.ejs'); -%> @@ -15,9 +15,9 @@
<% if (typeof page.adv === 'object' && page.adv.top) { %> -
- <%- page.adv.top %> -
+
+ <%- page.adv.top %> +
<% } %>
@@ -34,13 +34,13 @@
<% if (movie.vote) { %> -
- <% for (var i = 0; i < parseInt(movie.rating)/20; i++) { %> -
- <% } %> -
<%- page.l.rating %>: <%- movie.rating/20 %>/5
(<%- movie.vote %> <%- page.l.votes %>)
+
+ <% for (var i = 0; i < parseInt(movie.rating)/20; i++) { %> +
+ <% } %> +
<%- page.l.rating %>: <%- movie.rating/20 %>/5
(<%- movie.vote %> <%- page.l.votes %>)
-
+
<% } %>
@@ -67,27 +67,27 @@
<% if (movie.pictures.length) { %> -
- <% movie.pictures.forEach(function (picture) { %> - <% var ahref = page.urls.movies.picture - ? movie.url + '/' + page.urls.movies.picture - : picture.picture_big %> - - <%= movie.title %> (<%- movie.year %>) - - <% }); %> -
- <% if (!page.urls.movies.picture) { %> - - - - <% } %> +
+ <% movie.pictures.forEach(function (picture) { %> + <% var ahref = page.urls.movies.picture + ? movie.url + '/' + page.urls.movies.picture + : picture.picture_big %> + + <%= movie.title %> (<%- movie.year %>) + + <% }); %> +
+ <% if (!page.urls.movies.picture) { %> + + + + <% } %> <% } %> <% if (typeof page.adv === 'object' && page.adv.over) { %> -
- <%- page.adv.over %> -
+
+ <%- page.adv.over %> +
<% } %>
<% if (page.player) { %> - <%- page.player %> + <%- page.player %> <% } %>
- - - + + +
@@ -133,96 +133,234 @@
<% if (typeof page.adv === 'object' && page.adv.under) { %> -
- <%- page.adv.under %> -
+
+ <%- page.adv.under %> +
<% } %> <% if (page.seo) { %> -
- <%- page.seo %> -
+
+ <%- page.seo %> +
<% } %> <% if (typeof contents === 'object' && contents.length) { %> -
- <% contents.forEach(function (content) { %> -
- + <% }); %> +
<% } %> -
- <% if (page.comments) { %> + <% if (page.comments) { %> <%- page.comments %> - <% } %> -
+ <% } else { %> +
+

+ <%- page.l.comments %> + <%- comments && comments.count || '0' %> +

+ <% if (typeof comments === 'object' && typeof comments.config === 'object') { %> + <% if (comments.config.star_rating) { %> +
+
+
+
+
+ <% } %> +
+ <% if (comments.config.bb_codes) { %> +
+ <%- page.l.bold.toLowerCase() %> + <%- page.l.italic.toLowerCase() %> + 👻 <%- page.l.spoiler.toLowerCase() %> + 🔍 <%- page.l.search.toLowerCase() %> + +
+ <% } %> +
+
+ +
+
+ +
+
+ <% if (comments.config.question) { %> + + <% } %> +
+
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
+
+ <%- comments.indexer ? comments.indexer : '' %> + <% if (comments.list && comments.list.length) { %> + <% comments.list.forEach(function (comment) { %> +
+
+
+ <%= comment.user %> +
+ <% if (comments.config.star_rating) { %> + <% if (comment.star === 1) { %> +
+
+
+ <% } else if (comment.star === 2) { %> +
+
+
+ <% } else if (comment.star === 3) { %> +
+
+
+ <% } %> + <% } %> +
+
+ + + <%- comment.like %> + + + <%- comment.dislike %> + + + + + +
+
+
+ <%- comment.user %> +
+ <%- page.l.said %> +
+ <%- comment.date %> +
+
+
+
+
+ <%- comment.comment %> +
+ <% if (comment.admin) { %> +
+
+ <%- comment.admin %> +
+
+
+ <% } %> +
+ <% }); %> + <% } %> + <% } %> +
+ <% if (comments && comments.prev) { %> +
+ <% } %> + <% if (comments && comments.next) { %> +
+ <% } %> +
+
+ <% } %> <% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type) && movies[type].length) { movies[type].forEach(function (category) { %> -

- <%- category.name %> -
- -
-

- -
- - <% if (category.movies.length) { - category.movies.splice(4, category.movies.length % 4); - category.movies.forEach(function (movie) { %> - -
- -
-
- -
-
- <%= movie.title %> +

+ <%- category.name %> +
+ -
<% if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
+

+ +
+ + <% if (category.movies.length) { + category.movies.splice(4, category.movies.length % 4); + category.movies.forEach(function (movie) { %> + +
+ +
+
+ +
+ +
<% if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
+
+
+ + <% }); } %> +
- <% }); } %> - -
- <% }); } } } %>
- <% include includes/right.ejs %> + <%- include('includes/right.ejs'); -%>
- <% include includes/footer.ejs %> + <%- include('includes/footer.ejs'); -%>
- <% include includes/left.ejs %> + <%- include('includes/left.ejs'); -%> +
+ +<%- page.codes.footer %> + \ No newline at end of file diff --git a/views/online.ejs b/views/online.ejs index 448f50d..454199d 100644 --- a/views/online.ejs +++ b/views/online.ejs @@ -2,7 +2,7 @@ - <% include includes/head.ejs %> + <%- include('includes/head.ejs'); -%> @@ -15,9 +15,9 @@
<% if (typeof page.adv === 'object' && page.adv.top) { %> -
- <%- page.adv.top %> -
+
+ <%- page.adv.top %> +
<% } %>
@@ -34,13 +34,13 @@
<% if (movie.vote) { %> -
- <% for (var i = 0; i < parseInt(movie.rating)/20; i++) { %> -
- <% } %> -
<%- page.l.rating %>: <%- movie.rating/20 %>/5
(<%- movie.vote %> <%- page.l.votes %>)
+
+ <% for (var i = 0; i < parseInt(movie.rating)/20; i++) { %> +
+ <% } %> +
<%- page.l.rating %>: <%- movie.rating/20 %>/5
(<%- movie.vote %> <%- page.l.votes %>)
-
+
<% } %>
@@ -67,27 +67,27 @@
<% if (movie.pictures.length) { %> -
- <% movie.pictures.forEach(function (picture) { %> - <% var ahref = page.urls.movies.picture - ? movie.url + '/' + page.urls.movies.picture - : picture.picture_big %> - - <%= movie.title %> (<%- movie.year %>) - - <% }); %> -
- <% if (!page.urls.movies.picture) { %> - - - - <% } %> +
+ <% movie.pictures.forEach(function (picture) { %> + <% var ahref = page.urls.movies.picture + ? movie.url + '/' + page.urls.movies.picture + : picture.picture_big %> + + <%= movie.title %> (<%- movie.year %>) + + <% }); %> +
+ <% if (!page.urls.movies.picture) { %> + + + + <% } %> <% } %> <% if (typeof page.adv === 'object' && page.adv.over) { %> -
- <%- page.adv.over %> -
+
+ <%- page.adv.over %> +
<% } %> @@ -118,9 +118,9 @@
- - - + + +
@@ -131,90 +131,228 @@
<% if (typeof page.adv === 'object' && page.adv.under) { %> -
- <%- page.adv.under %> -
+
+ <%- page.adv.under %> +
<% } %> <% if (typeof contents === 'object' && contents.length) { %> -
- <% contents.forEach(function (content) { %> -
-
- - - <% }); %> -
+
+ <% }); %> +
<% } %> -
- <% if (page.comments) { %> + <% if (page.comments) { %> <%- page.comments %> - <% } %> -
+ <% } else { %> +
+

+ <%- page.l.comments %> + <%- comments && comments.count || '0' %> +

+ <% if (typeof comments === 'object' && typeof comments.config === 'object') { %> + <% if (comments.config.star_rating) { %> +
+
+
+
+
+ <% } %> +
+ <% if (comments.config.bb_codes) { %> +
+ <%- page.l.bold.toLowerCase() %> + <%- page.l.italic.toLowerCase() %> + 👻 <%- page.l.spoiler.toLowerCase() %> + 🔍 <%- page.l.search.toLowerCase() %> + +
+ <% } %> +
+
+ +
+
+ +
+
+ <% if (comments.config.question) { %> + + <% } %> +
+
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
+
+ <%- comments.indexer ? comments.indexer : '' %> + <% if (comments.list && comments.list.length) { %> + <% comments.list.forEach(function (comment) { %> +
+
+
+ <%= comment.user %> +
+ <% if (comments.config.star_rating) { %> + <% if (comment.star === 1) { %> +
+
+
+ <% } else if (comment.star === 2) { %> +
+
+
+ <% } else if (comment.star === 3) { %> +
+
+
+ <% } %> + <% } %> +
+
+ + + <%- comment.like %> + + + <%- comment.dislike %> + + + + + +
+
+
+ <%- comment.user %> +
+ <%- page.l.said %> +
+ <%- comment.date %> +
+
+
+
+
+ <%- comment.comment %> +
+ <% if (comment.admin) { %> +
+
+ <%- comment.admin %> +
+
+
+ <% } %> +
+ <% }); %> + <% } %> + <% } %> +
+ <% if (comments && comments.prev) { %> +
+ <% } %> + <% if (comments && comments.next) { %> +
+ <% } %> +
+
+ <% } %> <% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type) && movies[type].length) { movies[type].forEach(function (category) { %> -

- <%- category.name %> -
- -
-

- -
- - <% if (category.movies.length) { - category.movies.splice(4, category.movies.length % 4); - category.movies.forEach(function (movie) { %> - -
- -
-
- -
-
- <%= movie.title %> +

+ <%- category.name %> +
+ -
<% if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
+

+ +
+ + <% if (category.movies.length) { + category.movies.splice(4, category.movies.length % 4); + category.movies.forEach(function (movie) { %> + +
+ +
+
+ +
+ +
<% if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
+
+
+ + <% }); } %> +
- <% }); } %> - -
- <% }); } } } %>
- <% include includes/right.ejs %> + <%- include('includes/right.ejs'); -%>
- <% include includes/footer.ejs %> + <%- include('includes/footer.ejs'); -%>
- <% include includes/left.ejs %> + <%- include('includes/left.ejs'); -%> +
+ +<%- page.codes.footer %> + \ No newline at end of file diff --git a/views/picture.ejs b/views/picture.ejs index 21036df..e8a0a0c 100644 --- a/views/picture.ejs +++ b/views/picture.ejs @@ -2,7 +2,7 @@ - <% include includes/head.ejs %> + <%- include('includes/head.ejs'); -%> @@ -15,9 +15,9 @@
<% if (typeof page.adv === 'object' && page.adv.top) { %> -
- <%- page.adv.top %> -
+
+ <%- page.adv.top %> +
<% } %>
@@ -34,13 +34,13 @@
<% if (movie.vote) { %> -
- <% for (var i = 0; i < parseInt(movie.rating)/20; i++) { %> -
- <% } %> -
<%- page.l.rating %>: <%- movie.rating/20 %>/5
(<%- movie.vote %> <%- page.l.votes %>)
+
+ <% for (var i = 0; i < parseInt(movie.rating)/20; i++) { %> +
+ <% } %> +
<%- page.l.rating %>: <%- movie.rating/20 %>/5
(<%- movie.vote %> <%- page.l.votes %>)
-
+
<% } %>
@@ -67,9 +67,9 @@ <% if (typeof page.adv === 'object' && page.adv.over) { %> -
- <%- page.adv.over %> -
+
+ <%- page.adv.over %> +
<% } %> @@ -100,99 +100,237 @@
- - - + + +
<% if (typeof page.adv === 'object' && page.adv.under) { %> -
- <%- page.adv.under %> -
+
+ <%- page.adv.under %> +
<% } %> <% if (typeof contents === 'object' && contents.length) { %> -
- <% contents.forEach(function (content) { %> -
-
- - - <% }); %> -
+
+ <% }); %> +
<% } %> -
- <% if (page.comments) { %> + <% if (page.comments) { %> <%- page.comments %> - <% } %> -
+ <% } else { %> +
+

+ <%- page.l.comments %> + <%- comments && comments.count || '0' %> +

+ <% if (typeof comments === 'object' && typeof comments.config === 'object') { %> + <% if (comments.config.star_rating) { %> +
+
+
+
+
+ <% } %> +
+ <% if (comments.config.bb_codes) { %> +
+ <%- page.l.bold.toLowerCase() %> + <%- page.l.italic.toLowerCase() %> + 👻 <%- page.l.spoiler.toLowerCase() %> + 🔍 <%- page.l.search.toLowerCase() %> + +
+ <% } %> +
+
+ +
+
+ +
+
+ <% if (comments.config.question) { %> + + <% } %> +
+
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
+
+ <%- comments.indexer ? comments.indexer : '' %> + <% if (comments.list && comments.list.length) { %> + <% comments.list.forEach(function (comment) { %> +
+
+
+ <%= comment.user %> +
+ <% if (comments.config.star_rating) { %> + <% if (comment.star === 1) { %> +
+
+
+ <% } else if (comment.star === 2) { %> +
+
+
+ <% } else if (comment.star === 3) { %> +
+
+
+ <% } %> + <% } %> +
+
+ + + <%- comment.like %> + + + <%- comment.dislike %> + + + + + +
+
+
+ <%- comment.user %> +
+ <%- page.l.said %> +
+ <%- comment.date %> +
+
+
+
+
+ <%- comment.comment %> +
+ <% if (comment.admin) { %> +
+
+ <%- comment.admin %> +
+
+
+ <% } %> +
+ <% }); %> + <% } %> + <% } %> +
+ <% if (comments && comments.prev) { %> +
+ <% } %> + <% if (comments && comments.next) { %> +
+ <% } %> +
+
+ <% } %> <% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type) && movies[type].length) { movies[type].forEach(function (category) { %> -

- <%- category.name %> -
- -
-

- -
- - <% if (category.movies.length) { - category.movies.splice(4, category.movies.length % 4); - category.movies.forEach(function (movie) { %> - -
- -
-
- -
-
- <%= movie.title %> +

+ <%- category.name %> +
+ -
<% if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
+

+ +
+ + <% if (category.movies.length) { + category.movies.splice(4, category.movies.length % 4); + category.movies.forEach(function (movie) { %> + +
+ +
+
+ +
+ +
<% if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
+
+
+ + <% }); } %> +
- <% }); } %> - -
- <% }); } } } %>
- <% include includes/right.ejs %> + <%- include('includes/right.ejs'); -%>
- <% include includes/footer.ejs %> + <%- include('includes/footer.ejs'); -%>
- <% include includes/left.ejs %> + <%- include('includes/left.ejs'); -%> + + +<%- page.codes.footer %> + \ No newline at end of file diff --git a/views/trailer.ejs b/views/trailer.ejs index 8263d8e..db669c8 100644 --- a/views/trailer.ejs +++ b/views/trailer.ejs @@ -2,7 +2,7 @@ - <% include includes/head.ejs %> + <%- include('includes/head.ejs'); -%> @@ -15,9 +15,9 @@
<% if (typeof page.adv === 'object' && page.adv.top) { %> -
- <%- page.adv.top %> -
+
+ <%- page.adv.top %> +
<% } %>
@@ -34,13 +34,13 @@
<% if (movie.vote) { %> -
- <% for (var i = 0; i < parseInt(movie.rating)/20; i++) { %> -
- <% } %> -
<%- page.l.rating %>: <%- movie.rating/20 %>/5
(<%- movie.vote %> <%- page.l.votes %>)
+
+ <% for (var i = 0; i < parseInt(movie.rating)/20; i++) { %> +
+ <% } %> +
<%- page.l.rating %>: <%- movie.rating/20 %>/5
(<%- movie.vote %> <%- page.l.votes %>)
-
+
<% } %>
@@ -67,27 +67,27 @@ <% if (movie.pictures.length) { %> -
- <% movie.pictures.forEach(function (picture) { %> - <% var ahref = page.urls.movies.picture - ? movie.url + '/' + page.urls.movies.picture - : picture.picture_big %> - - <%= movie.title %> (<%- movie.year %>) - - <% }); %> -
- <% if (!page.urls.movies.picture) { %> - - - - <% } %> +
+ <% movie.pictures.forEach(function (picture) { %> + <% var ahref = page.urls.movies.picture + ? movie.url + '/' + page.urls.movies.picture + : picture.picture_big %> + + <%= movie.title %> (<%- movie.year %>) + + <% }); %> +
+ <% if (!page.urls.movies.picture) { %> + + + + <% } %> <% } %> <% if (typeof page.adv === 'object' && page.adv.over) { %> -
- <%- page.adv.over %> -
+
+ <%- page.adv.over %> +
<% } %> @@ -118,99 +118,237 @@
- - - + + +
<% if (typeof page.adv === 'object' && page.adv.under) { %> -
- <%- page.adv.under %> -
+
+ <%- page.adv.under %> +
<% } %> <% if (typeof contents === 'object' && contents.length) { %> -
- <% contents.forEach(function (content) { %> -
-
- - - <% }); %> -
+
+ <% }); %> +
<% } %> -
- <% if (page.comments) { %> + <% if (page.comments) { %> <%- page.comments %> - <% } %> -
+ <% } else { %> +
+

+ <%- page.l.comments %> + <%- comments && comments.count || '0' %> +

+ <% if (typeof comments === 'object' && typeof comments.config === 'object') { %> + <% if (comments.config.star_rating) { %> +
+
+
+
+
+ <% } %> +
+ <% if (comments.config.bb_codes) { %> +
+ <%- page.l.bold.toLowerCase() %> + <%- page.l.italic.toLowerCase() %> + 👻 <%- page.l.spoiler.toLowerCase() %> + 🔍 <%- page.l.search.toLowerCase() %> + +
+ <% } %> +
+
+ +
+
+ +
+
+ <% if (comments.config.question) { %> + + <% } %> +
+
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
+
+ <%- comments.indexer ? comments.indexer : '' %> + <% if (comments.list && comments.list.length) { %> + <% comments.list.forEach(function (comment) { %> +
+
+
+ <%= comment.user %> +
+ <% if (comments.config.star_rating) { %> + <% if (comment.star === 1) { %> +
+
+
+ <% } else if (comment.star === 2) { %> +
+
+
+ <% } else if (comment.star === 3) { %> +
+
+
+ <% } %> + <% } %> +
+
+ + + <%- comment.like %> + + + <%- comment.dislike %> + + + + + +
+
+
+ <%- comment.user %> +
+ <%- page.l.said %> +
+ <%- comment.date %> +
+
+
+
+
+ <%- comment.comment %> +
+ <% if (comment.admin) { %> +
+
+ <%- comment.admin %> +
+
+
+ <% } %> +
+ <% }); %> + <% } %> + <% } %> +
+ <% if (comments && comments.prev) { %> +
+ <% } %> + <% if (comments && comments.next) { %> +
+ <% } %> +
+
+ <% } %> <% if (typeof movies === 'object') { for (var type in movies) { if (movies.hasOwnProperty(type) && movies[type].length) { movies[type].forEach(function (category) { %> -

- <%- category.name %> -
- -
-

- -
- - <% if (category.movies.length) { - category.movies.splice(4, category.movies.length % 4); - category.movies.forEach(function (movie) { %> - -
- -
-
- -
-
- <%= movie.title %> +

+ <%- category.name %> +
+ -
<% if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
+

+ +
+ + <% if (category.movies.length) { + category.movies.splice(4, category.movies.length % 4); + category.movies.forEach(function (movie) { %> + +
+ +
+
+ +
+ +
<% if (movie.genres) { %><%- movie.genres %><% } else { %>...<% } %>
+
+
+ + <% }); } %> +
- <% }); } %> - -
- <% }); } } } %>
- <% include includes/right.ejs %> + <%- include('includes/right.ejs'); -%>
- <% include includes/footer.ejs %> + <%- include('includes/footer.ejs'); -%>
- <% include includes/left.ejs %> + <%- include('includes/left.ejs'); -%> + + +<%- page.codes.footer %> + \ No newline at end of file