This commit is contained in:
2025-04-01 00:38:54 +02:00
parent d4d4c0c09d
commit 87da06293a
22351 changed files with 5168854 additions and 7538 deletions

View File

@@ -0,0 +1,35 @@
.icon-AdminLeoblogManagement:before {
content: "\f040";
font-family: FontAwesome
}
#bloggeneralsetting .panel
{
border-radius: 0px 0px 5px 5px !important;
}
.nav-tabs a:focus
{
outline: none;
}
.leoblog-globalconfig a:focus
{
border-top: 3px solid #25b9d7 !important;
border-bottom: none !important;
}
.leoblog-globalconfig a:hover, .leoblog-globalconfig li.active a
{
border-top: 3px solid #25b9d7 !important;
border-bottom: none !important;
}
#bloggeneralsetting .panel
{
display: none;
}
#bloggeneralsetting .panel.active
{
display: block;
}

View File

@@ -0,0 +1,207 @@
#myTab{
margin-left: 120px;
}
.tree-megamenu{
width:350px;
float:left;
overflow:hidden;
margin-right:40px;
}
td > i {
display:block;
font-size:11px;
}
#content .ui-widget-header{
background: none;
border-bottom: solid 1px #ECECEC;
font-weight: bold;
}
#content .ui-widget-header a{
font-weight: bold;
}
#content .ui-widget-content{
border: none;
}
.megamenu-form input, .megamenu-form select{
padding: 5px 6px;
min-width: 100px
}
.quickdel{
background:url(../../img/admin/edit-delete.png) no-repeat center center;
}
.quickedit{
background:url(../../img/admin/edit-rename.png) no-repeat center center;
}
table.table{
width: 99%;
}
table.table tr td{
border-bottom: dotted 1px #CCC
}
.quickedit, .quickdel{
float:right;
width:25px;
height:16px;
display:block;
cursor:hand; cursor:pointer;
overflow:hidden;
text-indent:-999em;
margin:0 5px;
}
.hide{
display:none
}
.show{
display:block
}
#ajaxloading{
position:fixed;
top:0;
right:0;
width:100%;
z-index:1200
}
#ajaxloading > div{
margin:12px;
}
.megamenu-form{
float:left;
width: 700px;
}
.megamenu-form label {
width: 100px !important;
}
.megamenu-form .margin-form {
padding: 0 0 1em 110px !important;
}
.placeholder {
outline: 1px dashed #4183C4;
/*-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
margin: -1px;*/
}
.mjs-nestedSortable-error {
background: #fbe3e4;
border-color: transparent;
}
ol {
margin: 0;
padding: 0;
padding-left: 30px;
}
ol.sortable, ol.sortable ol {
margin: 0 0 0 25px;
padding: 0;
list-style-type: none;
}
ol.sortable {
margin: 2em 0;
}
.sortable li {
margin: 5px 0 0 0;
padding: 0;
}
.sortable li div {
border: 1px solid #d4d4d4;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
border-color: #D4D4D4 #D4D4D4 #BCBCBC;
padding: 6px;
margin: 0;
cursor: move;
background: #f6f6f6;
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed));
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 );
}
.sortable li.mjs-nestedSortable-branch div {
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #f0ece9 100%);
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#f0ece9 100%);
}
.sortable li.mjs-nestedSortable-leaf div {
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #bcccbc 100%);
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#bcccbc 100%);
}
li.mjs-nestedSortable-collapsed.mjs-nestedSortable-hovering div {
border-color: #999;
background: #fafafa;
}
li.selected > div {
border: solid 1px #D9534F
}
.disclose {
cursor: pointer;
width: 10px;
display: none;
}
.sortable li.mjs-nestedSortable-collapsed > ol {
display: none;
}
.sortable li.mjs-nestedSortable-branch > div > .disclose {
display: inline-block;
}
.sortable li.mjs-nestedSortable-collapsed > div > .disclose > span:before {
content: '+ ';
}
.sortable li.mjs-nestedSortable-expanded > div > .disclose > span:before {
content: '- ';
}
.leo_load {
background: url("../../img/admin/loading.gif") no-repeat scroll 0 0 transparent;
display: none;
height: 32px;
width: 32px;
}
.table.table-green tr th{
background: #f3f3f3;
padding: 12px 6px
}
.table.table-green tr td{
padding: 9px 6px;
}
.pull-right{
float: right;
}
/****************DONGND:: delete image button BEGIN************************/
.leoblog-del-img-bt
{
margin-top: 10px;
}
/****************DONGND:: delete image button END************************/
/****************DONGND:: form BEGIN************************/
.leoblog-comment-link-icon
{
font-size: 28px;
}
/****************DONGND:: form END************************/

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,350 @@
/* MENU */
/* category */
/* blog listing */
.blogs-container{
}
.blogs-container h3{
margin-bottom: 10px;
}
.blogs-container h4{
margin-bottom: 3px;
}
.blogs-container .pagination .material-icons{
font-size: 15px;
}
.blogs-container .product-count{
margin-bottom: 1rem;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
text-align: center;
}
.blogs-container .blog-image img{
max-width: 100%
}
.blog-item{
border-top: 1px solid #DDDDDD;
padding: 30px 0
}
.blog-item .more{
margin-top: 15px;
}
.blog-item .blog-image, .blog-item .blog-shortinfo{
padding-top: 12px;
}
.blog-meta span {
font-size: 90%;
color: #999999
}
.blog-meta > span{
margin-right: 8px;
display: inline-block;
}
.blog-meta > span > i{
font-size: 16px;
}
.blog-item .blog-meta {
font-size: 93%;
}
/* blog */
.blog-detail .blog-description{
font-weight: bold;
}
.blog-detail .pagination .material-icons{
font-size: 15px;
}
.blog-detail .product-count{
margin-bottom: 1rem;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
text-align: center;
}
.blog-detail .blog-meta{
border-bottom: 1px solid #DDDDDD;
padding-bottom: 10px;
}
.blog-tags, .extra-blogs , .blog-comments, .social-share,.blog-comment-block{
margin-bottom: 20px;
}
.blog-tags a span{
background: none repeat scroll 0 0 #666666;
border-radius: 2px;
color: #FFFFFF;
font-weight: bold;
line-height: 1;
padding: 5px 10px;
display: inline-block;
}
.extra-blogs ul li {
padding: 6px 0 ;
border-bottom: dotted 1px #DDDDDD
}
.blog-video-code .inner{
background: #DDD;
padding: 12px;
margin-bottom: 15px;
text-align: center;
}
/* comment */
.comment-item{
padding: 12px 0;
}
.comment-item img{
padding-right:12px;
}
.comment-wrap{
overflow:hidden;
background: none repeat scroll 0 0 #FFFFFF;
border: 1px solid #E5E5E5;
padding: 20px;
position: relative;
transition: all 0.3s ease-out 0s;
-o-transition: all 0.3s ease-out 0s;
-ms-transition: all 0.3s ease-out 0s;
-webkit-transition: all 0.3s ease-out 0s;
}
.comment-wrap .comment-meta{
border-bottom: 1px solid #E5E5E5;
font-size: 11px;
margin: -20px -20px 10px;
padding: 10px 20px;
display: -webkit-box;
display: -moz-box;
display: box;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flexbox;
display: flex;
-webkit-justify-content: space-between;
/* Safari 6.1+ */
justify-content: space-between;
-webkit-align-items: center;
/* Safari 7.0+ */
align-items: center; }
.comment-wrap .comment-infor > span {
font-weight: bold;
margin-right: 5px; }
.rtl .comment-wrap .comment-infor > span {
margin-left: 5px;
margin-right: inherit; }
.comment-wrap .comment-infor > span > span {
font-weight: normal;
white-space: inherit; }
.blog-social .social-wrap > div { float:left; }
.blog-social .social-heading{ padding-right:12px; }
.comment-link{
display: block;
}
.ipts-captcha img{
float: left;
padding-right:12px;
margin-bottom: 10px;
}
.ipts-captcha input{
width: 100px;
}
.blog-comment-block .fb-comments {
margin: 0 -8px;
}
#blog-localengine .comments{
margin-bottom: 30px;
}
#blog-localengine .form-horizontal{
margin-bottom: 30px;
background: white;
padding: 20px;
}
#blog-localengine .form-horizontal label{
display: block;
margin-bottom: 0;
padding-top: 7px;
}
#blog-localengine .form-horizontal .form-group:last-child{
margin-bottom: 0;
}
/* categories menu display on left or right sidebar */
.blog-menu {
-moz-box-shadow: 2px 2px 11px 0px rgba(0, 0, 0, 0.1);
-webkit-box-shadow: 2px 2px 11px 0px rgba(0, 0, 0, 0.1);
-o-box-shadow: 2px 2px 11px 0px rgba(0, 0, 0, 0.1);
-ms-box-shadow: 2px 2px 11px 0px rgba(0, 0, 0, 0.1);
box-shadow: 2px 2px 11px 0px rgba(0, 0, 0, 0.1);
margin-bottom: 1.5625rem;
background: white;
padding: 1.5625rem 1.25rem; }
.blog-menu .block_content > ul {
border-top: 1px solid #eaeaea; }
.blog-menu .block_content li {
position: relative; }
.blog-menu ul > li > a {
font-weight: 300;
border-bottom: 1px solid #eaeaea;
width: 100%;
display: inline-block;
margin: 0;
padding: 0.9375rem; }
.blog-menu ul > li:last-child > a {
border-bottom: none; }
.blog-menu ul > li li a {
font-size: 0.8125rem;
padding: 0.625rem 1.25rem; }
.blog-menu .collapse-icons {
position: absolute;
top: 13px;
padding: 0;
cursor: pointer;
width: 20px;
height: 20px;
right: 10px; }
.rtl .blog-menu .collapse-icons {
left: 10px;
right: auto; }
.blog-menu .collapse-icons .material-icons {
font-size: 0.9375rem; }
.blog-menu .collapse-icons[aria-expanded="true"] .add {
display: none; }
.blog-menu .collapse-icons[aria-expanded="true"] .remove {
display: block; }
.blog-menu .collapse-icons .add,
.blog-menu .collapse-icons .remove {
color: #000; }
.blog-menu .collapse-icons .add:hover,
.blog-menu .collapse-icons .remove:hover {
color: #3387f2; }
.blog-menu .collapse-icons .remove {
display: none; }
@media (min-width: 768px) {
.comment-link{
background: none repeat scroll 0 0 #F4F4F4;
border-left: 1px solid #E5E5E5;
float: right;
font-weight: bold;
margin: -11px -20px -10px 0;
padding: 10px 20px;
}
.blogs-container .product-count{
text-align: right;
margin-top: 1rem;
}
.blog-detail .product-count{
text-align: right;
margin-top: 1rem;
}
}
@media (max-width: 767px) {
#blog-localengine .form-horizontal label{
text-align: left;
}
.blog-detail .pagination{
text-align: center;
}
.blogs-container .pagination{
text-align: center;
}
.blog-detail .page-item{
display: inline-block;
}
.blogs-container .page-item{
display: inline-block;
}
}
/*********** DONGND:: CSS loading when submit commnent *******************/
.leoblog-cssload-container {
width: 100%;
/*height: 49px;*/
height: 35px;
text-align: center;
display: none;
}
.leoblog-cssload-container.cssload-speeding-wheel {
/*
width: 49px;
height: 49px;
*/
margin: 0 auto;
width: 25px;
height: 25px;
/*
margin: 0 0 0 45px;
*/
border: 2px solid rgb(0,0,0);
border-radius: 50%;
border-left-color: transparent;
border-right-color: transparent;
/*
animation: cssload-spin 575ms infinite linear;
-o-animation: cssload-spin 575ms infinite linear;
-ms-animation: cssload-spin 575ms infinite linear;
-webkit-animation: cssload-spin 575ms infinite linear;
-moz-animation: cssload-spin 575ms infinite linear;
*/
animation: cssload-spin 700ms infinite linear;
-o-animation: cssload-spin 700ms infinite linear;
-ms-animation: cssload-spin 700ms infinite linear;
-webkit-animation: cssload-spin 700ms infinite linear;
-moz-animation: cssload-spin 700ms infinite linear;
}
@keyframes cssload-spin {
100%{ transform: rotate(360deg); transform: rotate(360deg); }
}
@-o-keyframes cssload-spin {
100%{ -o-transform: rotate(360deg); transform: rotate(360deg); }
}
@-ms-keyframes cssload-spin {
100%{ -ms-transform: rotate(360deg); transform: rotate(360deg); }
}
@-webkit-keyframes cssload-spin {
100%{ -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@-moz-keyframes cssload-spin {
100%{ -moz-transform: rotate(360deg); transform: rotate(360deg); }
}
/********************DONGND:: CSS for tree category BEGIN ******************************/
.blog-menu .tree .collapse-icons {
cursor: pointer;
padding: 0;
position: absolute;
right: 0;
top: 0;
}
.blog-menu .tree .collapse-icons .remove {
display: none;
}
.blog-menu .tree .collapse-icons[aria-expanded="true"] .remove {
display: block;
}
.blog-menu .tree .collapse-icons[aria-expanded="true"] .add {
display: none;
}
/********************DONGND:: CSS for tree category END ******************************/

Binary file not shown.

After

Width:  |  Height:  |  Size: 715 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 498 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 807 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 786 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 360 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 561 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 607 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 498 B

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 912 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 693 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,235 @@
/**
* Owl carousel
*
* @copyright Commercial License By LeoTheme.Com
* @email leotheme.com
* @visit http://www.leotheme.com
*/
(function($) {
$.fn.PavMegaMenuList = function(opts) {
// default configuration
var config = $.extend({}, {
action:null,
addnew : null,
confirm_del:'Are you sure delete this?'
}, opts);
function checkInputHanlder(){
var _updateMenuType = function(){
$(".menu-type-group").parent().parent().hide();
$("[for^=content_text_]").parent().hide();
if( $("#menu_type").val() =='html' ){
$("[for^=content_text_]").parent().show();
}else {
$("#"+$("#menu_type").val()+"_type").parent().parent().show();
}
};
_updateMenuType();
$("#menu_type").change( _updateMenuType );
var _updateSubmenuType = function(){
if( $("#type_submenu").val() =='html' ){
$("[for^=submenu_content_text_]").parent().show();
}else{
$("[for^=submenu_content_text_]").parent().hide();
}
};
_updateSubmenuType();
$("#type_submenu").change( _updateSubmenuType );
}
function manageTreeMenu(){
if($('ol').hasClass("sortable")){
$('ol.sortable').nestedSortable({
forcePlaceholderSize: true,
handle: 'div',
helper: 'clone',
items: 'li',
opacity: .6,
placeholder: 'placeholder',
revert: 250,
tabSize: 25,
tolerance: 'pointer',
toleranceElement: '> div',
maxLevels: 4,
isTree: true,
expandOnHover: 700,
startCollapsed: true,
stop: function(){
var serialized = $(this).nestedSortable('serialize');
$.ajax({
type: 'POST',
url: config.action+"&doupdatepos=1&rand="+Math.random(),
data : serialized+'&updatePosition=1'
}).done( function (msg) {
showSuccessMessage(msg);
} );
}
});
// $('#serialize').click(function(){
// var serialized = $('ol.sortable').nestedSortable('serialize');
// var text = $(this).val();
// var $this = $(this);
// $(this).val( $(this).data('loading-text') );
// $.ajax({
// type: 'POST',
// url: config.action+"&doupdatepos=1&rand="+Math.random(),
// data : serialized+'&updatePosition=1'
// }).done( function () {
// $this.val( text );
// } );
// });
$('#addcategory').click(function(){
location.href=config.addnew;
});
}
}
/**
* initialize every element
*/
this.each(function() {
$(".quickedit",this).click( function(){
location.href=config.action+"&id_leoblogcat="+$(this).attr('rel').replace("id_","");
} );
$(".quickdel",this).click( function(){
if( confirm(config.confirm_del) ){
location.href=config.action+"&dodel=1&id_leoblogcat="+$(this).attr('rel').replace("id_","");
}
} );
manageTreeMenu();
});
return this;
};
})(jQuery);
jQuery(document).ready(function(){
$(".leo-modal").fancybox({
'type':'iframe',
'width':980,
'height':500,
afterLoad:function( ){
if( $('body',$('.fancybox-iframe').contents()).find("#main").length ){
$('body',$('.fancybox-iframe').contents()).find("#header").hide();
$('body',$('.fancybox-iframe').contents()).find("#footer").hide();
}else {
}
}
});
$("#widgetds a.btn").fancybox( {'type':'iframe'} );
$(".leo-modal-action, #widgets a.btn").fancybox({
'type':'iframe',
'width':950,
'height':500,
afterLoad:function( ){
if( $('body',$('.fancybox-iframe').contents()).find("#main").length ){
$('body',$('.fancybox-iframe').contents()).find("#header").hide();
$('body',$('.fancybox-iframe').contents()).find("#footer").hide();
}else {
}
},
afterClose: function (event, ui) {
// location.reload();
},
});
//DONGND:: delete image uploaded
if ($('#image_link-images-thumbnails').length > 0)
{
leoblog_del_img($('#image_link-images-thumbnails'), 'image');
}
if ($('#thumb_link-images-thumbnails').length > 0)
{
leoblog_del_img($('#thumb_link-images-thumbnails'), 'thumb');
}
$('.leoblog-del-img-bt').click(function(){
if( confirm(leoblog_del_img_mess) ){
var id_parent = $(this).data('id');
$('#'+id_parent).parent().fadeOut(function(){
$(this).remove();
});
var id_element = $(this).data('element');
$('#'+id_element).val('');
}
return false;
})
});
//DONGND;; function delete image uploaded
function leoblog_del_img(img_id_element, img_name_e)
{
img_id_element.append('<a class="btn btn-default leoblog-del-img-bt" href="#" data-element="'+img_name_e+'" data-id="'+img_id_element.attr('id')+'"><i class="icon-trash"></i>'+leoblog_del_img_txt+'</a>');
}
jQuery(document).ready(function(){
// var i = 0;
// $("#bloggeneralsetting > form > .panel .form-group").hide();
// $("#bloggeneralsetting > form > .panel .panel-footer").hide();
// $("#bloggeneralsetting > form > .panel").each( function() {
// var panel = $(this);
// $( "h3, .panel-heading" , this ).click( function(){
// $("#bloggeneralsetting > form > .panel .form-group").hide();
// $(".form-group",panel).show();
// $(".panel-footer",panel).show();
// } );
// if(i++==0){
// $(".form-group",this).show();
// $(".panel-footer",this).show();
// }
// } );
var id_panel = $("#bloggeneralsetting .leoblog-globalconfig li.active a").attr("href");
$(id_panel).addClass('active').show();
$('.leoblog-globalconfig li').click(function(){
if(!$(this).hasClass('active'))
{
var default_tab = $(this).find('a').attr("href");
$('#LEOBLOG_DASHBOARD_DEFAULTTAB').val(default_tab);
}
})
});
/*
* SHOW HIDE - URL include ID
*/
$(document).ready(function(){
$('.form-action').change(function(){
var elementName = $(this).attr('name');
$('.'+elementName+'_sub').hide(300);
$('.'+elementName+'-'+$(this).val()).show(500);
});
$('.form-action').trigger("change");
});

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,429 @@
/*
* jQuery UI Nested Sortable
* v 1.3.5 / 21 jun 2012
* http://mjsarfatti.com/code/nestedSortable
*
* Depends on:
* jquery.ui.sortable.js 1.8+
*
* Copyright (c) 2010-2012 Manuele J Sarfatti
* Licensed under the MIT License
* http://www.opensource.org/licenses/mit-license.php
*/
(function($) {
$.widget("mjs.nestedSortable", $.extend({}, $.ui.sortable.prototype, {
options: {
tabSize: 20,
disableNesting: 'mjs-nestedSortable-no-nesting',
errorClass: 'mjs-nestedSortable-error',
doNotClear: false,
listType: 'ol',
maxLevels: 0,
protectRoot: false,
rootID: null,
rtl: false,
isAllowed: function(item, parent) { return true; }
},
_create: function() {
this.element.data('sortable', this.element.data('nestedSortable'));
if (!this.element.is(this.options.listType))
throw new Error('nestedSortable: Please check the listType option is set to your actual list type');
return $.ui.sortable.prototype._create.apply(this, arguments);
},
destroy: function() {
this.element
.removeData("nestedSortable")
.unbind(".nestedSortable");
return $.ui.sortable.prototype.destroy.apply(this, arguments);
},
_mouseDrag: function(event) {
//Compute the helpers position
this.position = this._generatePosition(event);
this.positionAbs = this._convertPositionTo("absolute");
if (!this.lastPositionAbs) {
this.lastPositionAbs = this.positionAbs;
}
var o = this.options;
//Do scrolling
if(this.options.scroll) {
var scrolled = false;
if(this.scrollParent[0] != document && this.scrollParent[0].tagName != 'HTML') {
if((this.overflowOffset.top + this.scrollParent[0].offsetHeight) - event.pageY < o.scrollSensitivity)
this.scrollParent[0].scrollTop = scrolled = this.scrollParent[0].scrollTop + o.scrollSpeed;
else if(event.pageY - this.overflowOffset.top < o.scrollSensitivity)
this.scrollParent[0].scrollTop = scrolled = this.scrollParent[0].scrollTop - o.scrollSpeed;
if((this.overflowOffset.left + this.scrollParent[0].offsetWidth) - event.pageX < o.scrollSensitivity)
this.scrollParent[0].scrollLeft = scrolled = this.scrollParent[0].scrollLeft + o.scrollSpeed;
else if(event.pageX - this.overflowOffset.left < o.scrollSensitivity)
this.scrollParent[0].scrollLeft = scrolled = this.scrollParent[0].scrollLeft - o.scrollSpeed;
} else {
if(event.pageY - $(document).scrollTop() < o.scrollSensitivity)
scrolled = $(document).scrollTop($(document).scrollTop() - o.scrollSpeed);
else if($(window).height() - (event.pageY - $(document).scrollTop()) < o.scrollSensitivity)
scrolled = $(document).scrollTop($(document).scrollTop() + o.scrollSpeed);
if(event.pageX - $(document).scrollLeft() < o.scrollSensitivity)
scrolled = $(document).scrollLeft($(document).scrollLeft() - o.scrollSpeed);
else if($(window).width() - (event.pageX - $(document).scrollLeft()) < o.scrollSensitivity)
scrolled = $(document).scrollLeft($(document).scrollLeft() + o.scrollSpeed);
}
if(scrolled !== false && $.ui.ddmanager && !o.dropBehaviour)
$.ui.ddmanager.prepareOffsets(this, event);
}
//Regenerate the absolute position used for position checks
this.positionAbs = this._convertPositionTo("absolute");
// Find the top offset before rearrangement,
var previousTopOffset = this.placeholder.offset().top;
//Set the helper position
if(!this.options.axis || this.options.axis != "y") this.helper[0].style.left = this.position.left+'px';
if(!this.options.axis || this.options.axis != "x") this.helper[0].style.top = this.position.top+'px';
//Rearrange
for (var i = this.items.length - 1; i >= 0; i--) {
//Cache variables and intersection, continue if no intersection
var item = this.items[i], itemElement = item.item[0], intersection = this._intersectsWithPointer(item);
if (!intersection) continue;
if(itemElement != this.currentItem[0] //cannot intersect with itself
&& this.placeholder[intersection == 1 ? "next" : "prev"]()[0] != itemElement //no useless actions that have been done before
&& !$.contains(this.placeholder[0], itemElement) //no action if the item moved is the parent of the item checked
&& (this.options.type == 'semi-dynamic' ? !$.contains(this.element[0], itemElement) : true)
//&& itemElement.parentNode == this.placeholder[0].parentNode // only rearrange items within the same container
) {
$(itemElement).mouseenter();
this.direction = intersection == 1 ? "down" : "up";
if (this.options.tolerance == "pointer" || this._intersectsWithSides(item)) {
$(itemElement).mouseleave();
this._rearrange(event, item);
} else {
break;
}
// Clear emtpy ul's/ol's
this._clearEmpty(itemElement);
this._trigger("change", event, this._uiHash());
break;
}
}
var parentItem = (this.placeholder[0].parentNode.parentNode &&
$(this.placeholder[0].parentNode.parentNode).closest('.ui-sortable').length)
? $(this.placeholder[0].parentNode.parentNode)
: null,
level = this._getLevel(this.placeholder),
childLevels = this._getChildLevels(this.helper);
// To find the previous sibling in the list, keep backtracking until we hit a valid list item.
var previousItem = this.placeholder[0].previousSibling ? $(this.placeholder[0].previousSibling) : null;
if (previousItem != null) {
while (previousItem[0].nodeName.toLowerCase() != 'li' || previousItem[0] == this.currentItem[0] || previousItem[0] == this.helper[0]) {
if (previousItem[0].previousSibling) {
previousItem = $(previousItem[0].previousSibling);
} else {
previousItem = null;
break;
}
}
}
// To find the next sibling in the list, keep stepping forward until we hit a valid list item.
var nextItem = this.placeholder[0].nextSibling ? $(this.placeholder[0].nextSibling) : null;
if (nextItem != null) {
while (nextItem[0].nodeName.toLowerCase() != 'li' || nextItem[0] == this.currentItem[0] || nextItem[0] == this.helper[0]) {
if (nextItem[0].nextSibling) {
nextItem = $(nextItem[0].nextSibling);
} else {
nextItem = null;
break;
}
}
}
var newList = document.createElement(o.listType);
this.beyondMaxLevels = 0;
// If the item is moved to the left, send it to its parent's level unless there are siblings below it.
if (parentItem != null && nextItem == null &&
(o.rtl && (this.positionAbs.left + this.helper.outerWidth() > parentItem.offset().left + parentItem.outerWidth()) ||
!o.rtl && (this.positionAbs.left < parentItem.offset().left))) {
parentItem.after(this.placeholder[0]);
this._clearEmpty(parentItem[0]);
this._trigger("change", event, this._uiHash());
}
// If the item is below a sibling and is moved to the right, make it a child of that sibling.
else if (previousItem != null &&
(o.rtl && (this.positionAbs.left + this.helper.outerWidth() < previousItem.offset().left + previousItem.outerWidth() - o.tabSize) ||
!o.rtl && (this.positionAbs.left > previousItem.offset().left + o.tabSize))) {
this._isAllowed(previousItem, level, level+childLevels+1);
if (!previousItem.children(o.listType).length) {
previousItem[0].appendChild(newList);
}
// If this item is being moved from the top, add it to the top of the list.
if (previousTopOffset && (previousTopOffset <= previousItem.offset().top)) {
previousItem.children(o.listType).prepend(this.placeholder);
}
// Otherwise, add it to the bottom of the list.
else {
previousItem.children(o.listType)[0].appendChild(this.placeholder[0]);
}
this._trigger("change", event, this._uiHash());
}
else {
this._isAllowed(parentItem, level, level+childLevels);
}
//Post events to containers
this._contactContainers(event);
//Interconnect with droppables
if($.ui.ddmanager) $.ui.ddmanager.drag(this, event);
//Call callbacks
this._trigger('sort', event, this._uiHash());
this.lastPositionAbs = this.positionAbs;
return false;
},
_mouseStop: function(event, noPropagation) {
// If the item is in a position not allowed, send it back
if (this.beyondMaxLevels) {
this.placeholder.removeClass(this.options.errorClass);
if (this.domPosition.prev) {
$(this.domPosition.prev).after(this.placeholder);
} else {
$(this.domPosition.parent).prepend(this.placeholder);
}
this._trigger("revert", event, this._uiHash());
}
// Clean last empty ul/ol
for (var i = this.items.length - 1; i >= 0; i--) {
var item = this.items[i].item[0];
this._clearEmpty(item);
}
$.ui.sortable.prototype._mouseStop.apply(this, arguments);
},
serialize: function(options) {
var o = $.extend({}, this.options, options),
items = this._getItemsAsjQuery(o && o.connected),
str = [];
$(items).each(function() {
var res = ($(o.item || this).attr(o.attribute || 'id') || '')
.match(o.expression || (/(.+)[-=_](.+)/)),
pid = ($(o.item || this).parent(o.listType)
.parent(o.items)
.attr(o.attribute || 'id') || '')
.match(o.expression || (/(.+)[-=_](.+)/));
if (res) {
str.push(((o.key || res[1]) + '[' + (o.key && o.expression ? res[1] : res[2]) + ']')
+ '='
+ (pid ? (o.key && o.expression ? pid[1] : pid[2]) : o.rootID));
}
});
if(!str.length && o.key) {
str.push(o.key + '=');
}
return str.join('&');
},
toHierarchy: function(options) {
var o = $.extend({}, this.options, options),
sDepth = o.startDepthCount || 0,
ret = [];
$(this.element).children(o.items).each(function () {
var level = _recursiveItems(this);
ret.push(level);
});
return ret;
function _recursiveItems(item) {
var id = ($(item).attr(o.attribute || 'id') || '').match(o.expression || (/(.+)[-=_](.+)/));
if (id) {
var currentItem = {"id" : id[2]};
if ($(item).children(o.listType).children(o.items).length > 0) {
currentItem.children = [];
$(item).children(o.listType).children(o.items).each(function() {
var level = _recursiveItems(this);
currentItem.children.push(level);
});
}
return currentItem;
}
}
},
toArray: function(options) {
var o = $.extend({}, this.options, options),
sDepth = o.startDepthCount || 0,
ret = [],
left = 2;
ret.push({
"item_id": o.rootID,
"parent_id": 'none',
"depth": sDepth,
"left": '1',
"right": ($(o.items, this.element).length + 1) * 2
});
$(this.element).children(o.items).each(function () {
left = _recursiveArray(this, sDepth + 1, left);
});
ret = ret.sort(function(a,b){ return (a.left - b.left); });
return ret;
function _recursiveArray(item, depth, left) {
var right = left + 1,
id,
pid;
if ($(item).children(o.listType).children(o.items).length > 0) {
depth ++;
$(item).children(o.listType).children(o.items).each(function () {
right = _recursiveArray($(this), depth, right);
});
depth --;
}
id = ($(item).attr(o.attribute || 'id')).match(o.expression || (/(.+)[-=_](.+)/));
if (depth === sDepth + 1) {
pid = o.rootID;
} else {
var parentItem = ($(item).parent(o.listType)
.parent(o.items)
.attr(o.attribute || 'id'))
.match(o.expression || (/(.+)[-=_](.+)/));
pid = parentItem[2];
}
if (id) {
ret.push({"item_id": id[2], "parent_id": pid, "depth": depth, "left": left, "right": right});
}
left = right + 1;
return left;
}
},
_clearEmpty: function(item) {
var emptyList = $(item).children(this.options.listType);
if (emptyList.length && !emptyList.children().length && !this.options.doNotClear) {
emptyList.remove();
}
},
_getLevel: function(item) {
var level = 1;
if (this.options.listType) {
var list = item.closest(this.options.listType);
while (list && list.length > 0 &&
!list.is('.ui-sortable')) {
level++;
list = list.parent().closest(this.options.listType);
}
}
return level;
},
_getChildLevels: function(parent, depth) {
var self = this,
o = this.options,
result = 0;
depth = depth || 0;
$(parent).children(o.listType).children(o.items).each(function (index, child) {
result = Math.max(self._getChildLevels(child, depth + 1), result);
});
return depth ? result + 1 : result;
},
_isAllowed: function(parentItem, level, levels) {
var o = this.options,
isRoot = $(this.domPosition.parent).hasClass('ui-sortable') ? true : false,
maxLevels = this.placeholder.closest('.ui-sortable').nestedSortable('option', 'maxLevels'); // this takes into account the maxLevels set to the recipient list
// Is the root protected?
// Are we trying to nest under a no-nest?
// Are we nesting too deep?
if (!o.isAllowed(this.currentItem, parentItem) ||
parentItem && parentItem.hasClass(o.disableNesting) ||
o.protectRoot && (parentItem == null && !isRoot || isRoot && level > 1)) {
this.placeholder.addClass(o.errorClass);
if (maxLevels < levels && maxLevels != 0) {
this.beyondMaxLevels = levels - maxLevels;
} else {
this.beyondMaxLevels = 1;
}
} else {
if (maxLevels < levels && maxLevels != 0) {
this.placeholder.addClass(o.errorClass);
this.beyondMaxLevels = levels - maxLevels;
} else {
this.placeholder.removeClass(o.errorClass);
this.beyondMaxLevels = 0;
}
}
}
}));
$.mjs.nestedSortable.prototype.options = $.extend({}, $.ui.sortable.prototype.options, $.mjs.nestedSortable.prototype.options);
})(jQuery);

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,119 @@
/**
* Owl carousel
*
* @copyright Commercial License By LeoTheme.Com
* @email leotheme.com
* @visit http://www.leotheme.com
*/
$(document).ready( function(){
/* */
var src = $('#comment-form img.comment-capcha-image').attr('src');
$("#comment-form").submit( function() {
var action = $(this).attr('action');
var data = $('#comment-form').serialize();
if( $("#comment-form").parent().find('.comment-message').length<=0 ){
var msg = $('<div class="comment-message"></div>');
$("#comment-form").before( msg );
}else {
var msg = $("#comment-form").parent().find(".comment-message");
}
// $('.btn-submit-comment').addClass('disable');
$('.btn-submit-comment').css({'display':'none'});
$('.btn-submit-comment-wrapper').addClass('bt-active');
$('.leoblog-cssload-container').css({'display':'block'});
$.ajax( {
url:action,
data: data+"&submitcomment="+Math.random(),
type:'POST',
dataType: 'json',
success:function( ct ){
if( !ct.error ){
$( msg ).html('<div class="alert alert-info">'+ct.message+'</div>');
$( 'input[type=text], textarea', '#comment-form' ).each( function(){
$(this).val('');
var srcn = src.replace('captchaimage','rand='+Math.random()+"&captchaimage");
$('#comment-form img.comment-capcha-image').attr( 'src', srcn );
} );
}else {
$( msg ).html('<div class="alert alert-warning">'+ct.message+'</div>');
}
// $('.btn-submit-comment').removeClass('disable');
$('.btn-submit-comment').css({'display':'block'});
$('.btn-submit-comment-wrapper').removeClass('bt-active');
$('.leoblog-cssload-container').css({'display':'none'});
}
} );
return false;
} );
$('.top-pagination-content a.disabled').click(function(){
return false;
})
//DONGND:: update link in language block
var current_lang = prestashop.language.iso_code;
if (typeof array_list_rewrite != 'undefined')
{
var current_list_rewrite = array_list_rewrite[current_lang];
var current_blog_rewrite = array_blog_rewrite[current_lang];
var current_category_rewrite = array_category_rewrite[current_lang];
var current_config_blog_rewrite = array_config_blog_rewrite[current_lang];
var current_config_category_rewrite = array_config_category_rewrite[current_lang];
$.each(array_list_rewrite, function(iso_code, list_rewrite){
if (iso_code != current_lang)
{
var url_search = prestashop.urls.base_url + iso_code;
// console.log(url_search);
//DONGND:: update for module blockgrouptop and default
if ($('#leo_block_top').length)
{
var parent_o = $('#leo_block_top .language-selector');
}
else
{
var parent_o = $('.language-selector-wrapper');
}
parent_o.find('li a').each(function(){
var lang_href = $(this).attr('href');
if(lang_href.indexOf(url_search) > -1 )
{
if ($('body#module-leoblog-list').length)
{
var url_change = lang_href.replace('/'+current_list_rewrite+'.html', '/'+list_rewrite+'.html');
}
else
{
var url_change = lang_href.replace('/'+current_list_rewrite+'/', '/'+list_rewrite+'/');
}
if ($('body#module-leoblog-blog').length)
{
if (config_url_use_id == 0)
{
url_change = url_change.replace('/'+current_config_blog_rewrite+'/', '/'+array_config_blog_rewrite[iso_code]+'/');
}
url_change = url_change.replace('/'+current_blog_rewrite, '/'+array_blog_rewrite[iso_code]);
}
if ($('body#module-leoblog-category').length)
{
if (config_url_use_id == 0)
{
url_change = url_change.replace('/'+current_config_category_rewrite+'/', '/'+array_config_category_rewrite[iso_code]+'/');
}
url_change = url_change.replace('/'+current_category_rewrite, '/'+array_category_rewrite[iso_code]);
}
$(this).attr('href', url_change);
}
});
}
})
}
} );

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,26 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
{if isset($errors) && count($errors) && current($errors) != ''}
<div class="bootstrap">
<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert">&times;</button>
{if count($errors) == 1}
{reset($errors)}
{else }
{l s='%d errors' sprintf=[$errors|count] mod='leoblog'}
<br/>
<ol>
{foreach $errors as $error}
<li>{$error}</li>
{/foreach}
</ol>
{/if}
</div>
</div>
{/if}

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,32 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
<!-- @file modules\appagebuilder\views\templates\admin\ap_page_builder_theme_configuration\helpers\form\form.tpl -->
{extends file="helpers/form/form.tpl"}
{block name="input"}
{if $input.type == 'date_leoblog'}
<div class="row">
<div class="input-group col-lg-4">
<input
id="{if isset($input.id)}{$input.id}{else}{$input.name}{/if}"
type="text"
data-hex="true"
{if isset($input.class)} class="{$input.class}"
{else}class="datepicker"{/if}
name="{$input.name}"
value="{if isset($input.default) && $fields_value[$input.name] == ''}{$input.default}{else}{$fields_value[$input.name]|escape:'html':'UTF-8'}{/if}" />
<span class="input-group-addon">
<i class="icon-calendar-empty"></i>
</span>
</div>
</div>
{else}
{$smarty.block.parent}
{/if}
{/block}

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,25 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
<!-- @file modules\appagebuilder\views\templates\admin\ap_page_builder_theme_configuration\helpers\form\form.tpl -->
{extends file="helpers/form/form.tpl"}
{block name="input"}
{if $input.type == 'tabConfig'}
<div class="row">
{assign var=tabList value=$input.values}
<ul class="nav nav-tabs" role="tablist">
{foreach $tabList as $key => $value name="tabList"}
<li role="presentation" class="{if $smarty.foreach.tabList.first}active{/if}"><a href="#{$key|escape:'html':'UTF-8'}" class="aptab-config" role="tab" data-toggle="tab">{$value|escape:'html':'UTF-8'}</a></li>
{/foreach}
</ul>
</div>
{else}
{$smarty.block.parent}
{/if}
{/block}

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,35 @@
<?php
/*
* 2007-2014 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2014 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');
header('Location: ../');
exit;

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,141 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
<div id="blog-dashboard">
<div class="row">
<div class="col-md-12">
<div class="alert alert-info">
<a href="http://www.leotheme.com/support/prestashop-16x-guides.html">{l s='Click Here to see Module Guide' mod='leoblog'}</a>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">{l s='Global Config' mod='leoblog'}</div>
<div class="panel-content" id="bloggeneralsetting">
<ul class="nav nav-tabs leoblog-globalconfig" role="tablist">
<li class="nav-item{if $default_tab == '#fieldset_0'} active{/if}">
<a class="nav-link" href="#fieldset_0" role="tab" data-toggle="tab">{l s='General Setting' mod='leoblog'}</a>
</li>
<li class="nav-item{if $default_tab == '#fieldset_1_1'} active{/if}">
<a class="nav-link" href="#fieldset_1_1" role="tab" data-toggle="tab">{l s='Listing Blog Setting' mod='leoblog'}</a>
</li>
<li class="nav-item{if $default_tab == '#fieldset_2_2'} active{/if}">
<a class="nav-link" href="#fieldset_2_2" role="tab" data-toggle="tab">{l s='Item Blog Setting' mod='leoblog'}</a>
</li>
<li class="nav-item{if $default_tab == '#fieldset_3_3'} active{/if}">
<a class="nav-link" href="#fieldset_3_3" role="tab" data-toggle="tab">{l s='Left-Right Column' mod='leoblog'}</a>
</li>
</ul>
<div class="tab-content">
{$globalform}{* HTML form , no escape necessary *}
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">{l s='Quick Tools' mod='leoblog'}</div>
<div class="panel-content">
<div id="quicktools" class="row">
{foreach from=$quicktools item=tool}
<div class="col-xs-3 col-lg-3 active">
<a href="{$tool.href|escape:'html':'UTF-8'}" class="{$tool.class|escape:'html':'UTF-8'}">
<i class="icon icon-3x {$tool.icon|escape:'html':'UTF-8'}"></i>
<p>{$tool.title|escape:'html':'UTF-8'}</p>
</a>
</div>
{/foreach}
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">{l s='Statistics' mod='leoblog'}</div>
<div class="panel-content" id="dashtrends">
<div class="row" id="dashtrends_toolbar">
<dl class="col-xs-4 col-lg-4 active">
<dt>{l s='Blogs' mod='leoblog'}</dt>
<dd class="data_value size_l"><span id="sales_score">{$count_blogs|intval}</span></dd>
</dl>
<dl class="col-xs-4 col-lg-4">
<dt>{l s='Categories' mod='leoblog'}</dt>
<dd class="data_value size_l"><span id="orders_score">{$count_cats|intval}</span></dd>
</dl>
<dl class="col-xs-4 col-lg-4">
<dt>{l s='Comments' mod='leoblog'}</dt>
<dd class="data_value size_l"><span id="cart_value_score">{$count_comments|intval}</span></dd>
</dl>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">{l s='Modules' mod='leoblog'}</div>
<div class="panel-content">
<section>
<nav>
<ul class="nav nav-tabs">
<li class="">
<a data-toggle="tab" href="#dash_latest_comment">
<i class="icon-fire"></i> {l s='Lastest Comments' mod='leoblog'}
</a>
</li>
<li class="active">
<a data-toggle="tab" href="#dash_most_viewed">
<i class="icon-trophy"></i> {l s='Most Viewed' mod='leoblog'}
</a>
</li>
</ul>
</nav>
<div class="tab-content panel">
<div id="dash_latest_comment" class="tab-pane">
<div>
<ul>
{foreach from=$latest_comments item=comment}
<li><a href="{$comment_link|escape:'html':'UTF-8'}&id_comment={$comment.id_comment|intval}&updateleoblog_comment">
{$comment.comment|strip_tags|truncate:65:'...'} </a/> {l s='Date' mod='leoblog'}({$comment.date_add|escape:'html':'UTF-8'}) - {l s='User :' mod='leoblog'} {$comment.user|escape:'html':'UTF-8'}</li>
{/foreach}
</ul>
</div>
</div>
<div id="dash_most_viewed" class="tab-pane active">
<div>
<ul>
{foreach from=$blogs item=blog}
<li><a href="{$blog_link|escape:'html':'UTF-8'}&id_leoblog_blog={$blog.id_leoblog_blog|intval}&updateleoblog_blog">{$blog.meta_title|escape:'html':'UTF-8'}</a/> - <i>{l s='Hits' mod='leoblog'}: {$blog.hits|intval}</i> </li>
{/foreach}
</ul>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,34 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
{if $warning}
<div class="alert alert-danger">{$warning|escape:'html':'UTF-8'}</div>
{/if}
{if $widget_selected}
{$form}{* HTML form , no escape necessary *}
<script type="text/javascript">
$('#widget_type').change( function(){
location.href = '{html_entity_decode($fb_widget_action|escape:'html':'UTF-8')}&wtype='+$(this).val();
} );
</script>
{else}
<div class="widgets">
{$i=0} <div class="row">
{foreach $types as $widget => $text}
<div class="col-md-4 col-sm-4">
<div class="widget-item">
<h4><a href="{html_entity_decode($fb_widget_action|escape:'html':'UTF-8')}&wtype={$widget|escape:'html':'UTF-8'}">{$text.label|escape:'html':'UTF-8'}</a></h4>
<p><i>{$text.explain}{* HTML form , no escape necessary *}</i></p>
</div>
</div>
{/foreach} <div class="row">
</div>
{/if}

View File

@@ -0,0 +1,19 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = '{$config->get('item_diquis_account','demo4leotheme')|escape:'html':'UTF-8'}';
var disqus_url = '{$blog_link|escape:'html':'UTF-8'}';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>{l s='Please enable JavaScript to view the.' mod='leoblog'} <a href="http://disqus.com/?ref_noscript">{l s='Comments powered by Disqus.' mod='leoblog'}.</a></noscript>

View File

@@ -0,0 +1,21 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {
return;
}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId={$config->get('item_facebook_appid')|escape:'html':'UTF-8'}";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-comments" data-href="{$blog_link|escape:'html':'UTF-8'}"
data-num-posts="{$config->get("item_limit_comments",10)|escape:'html':'UTF-8'}" data-width="{$config->get('facebook_width',600)|escape:'html':'UTF-8'}">
</div>

View File

@@ -0,0 +1,111 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
<article class="blog-item">
<div class="blog-image-container">
{if $config->get('listing_show_title','1')}
<h4 class="title">
<a href="{$blog.link|escape:'html':'UTF-8'}" title="{$blog.title|escape:'html':'UTF-8'}">{$blog.title|escape:'html':'UTF-8'}</a>
</h4>
{/if}
<div class="blog-meta">
{if $config->get('listing_show_author','1')&&!empty($blog.author)}
<span class="blog-author">
<i class="material-icons">person</i> <span>{l s='Posted By' mod='leoblog'}:</span>
<a href="{$blog.author_link|escape:'html':'UTF-8'}" title="{$blog.author|escape:'html':'UTF-8'}">{$blog.author|escape:'html':'UTF-8'}</a>
</span>
{/if}
{if $config->get('listing_show_category','1')}
<span class="blog-cat">
<i class="material-icons">list</i> <span>{l s='In' mod='leoblog'}:</span>
<a href="{$blog.category_link|escape:'html':'UTF-8'}" title="{$blog.category_title|escape:'html':'UTF-8'}">{$blog.category_title|escape:'html':'UTF-8'}</a>
</span>
{/if}
{if $config->get('listing_show_created','1')}
<span class="blog-created">
<i class="material-icons">&#xE192;</i> <span>{l s='On' mod='leoblog'}: </span>
<time class="date" datetime="{strtotime($blog.date_add)|date_format:"%Y"|escape:'html':'UTF-8'}">
{assign var='blog_date' value=strtotime($blog.date_add)|date_format:"%A"}
{l s=$blog_date mod='leoblog'}, <!-- day of week -->
{assign var='blog_month' value=strtotime($blog.date_add)|date_format:"%B"}
{l s=$blog_month mod='leoblog'} <!-- month-->
{assign var='blog_day' value=strtotime($blog.date_add)|date_format:"%e"}
{l s=$blog_day mod='leoblog'} <!-- day of month -->
{assign var='blog_year' value=strtotime($blog.date_add)|date_format:"%Y"}
{l s=$blog_year mod='leoblog'} <!-- year -->
</time>
</span>
{/if}
{if isset($blog.comment_count)&&$config->get('listing_show_counter','1')}
<span class="blog-ctncomment">
<i class="material-icons">comment</i> <span>{l s='Comment' mod='leoblog'}:</span>
{$blog.comment_count|intval}
</span>
{/if}
{if $config->get('listing_show_hit','1')}
<span class="blog-hit">
<i class="material-icons">favorite</i> <span>{l s='Hit' mod='leoblog'}:</span>
{$blog.hits|intval}
</span>
{/if}
</div>
{if $blog.image && $config->get('listing_show_image',1)}
<div class="blog-image">
<img src="{$blog.preview_url|escape:'html':'UTF-8'}" title="{$blog.title|escape:'html':'UTF-8'}" alt="" class="img-fluid" />
</div>
{/if}
</div>
<div class="blog-info">
{if $config->get('listing_show_description','1')}
<div class="blog-shortinfo">
{$blog.description|strip_tags:'UTF-8'|truncate:160:'...' nofilter}{* HTML form , no escape necessary *}
</div>
{/if}
{if $config->get('listing_show_readmore',1)}
<p>
<a href="{$blog.link|escape:'html':'UTF-8'}" title="{$blog.title|escape:'html':'UTF-8'}" class="more btn btn-primary">
{if $language.iso_code=='pl'}
Czytaj więcej
{else if $language.iso_code=='sk'}
Čítaj viac
{else}
Read more
{/if}
</p>
{/if}
</div>
<div class="hidden-xl-down hidden-xl-up datetime-translate">
{l s='Sunday' mod='leoblog'}
{l s='Monday' mod='leoblog'}
{l s='Tuesday' mod='leoblog'}
{l s='Wednesday' mod='leoblog'}
{l s='Thursday' mod='leoblog'}
{l s='Friday' mod='leoblog'}
{l s='Saturday' mod='leoblog'}
{l s='January' mod='leoblog'}
{l s='February' mod='leoblog'}
{l s='March' mod='leoblog'}
{l s='April' mod='leoblog'}
{l s='May' mod='leoblog'}
{l s='June' mod='leoblog'}
{l s='July' mod='leoblog'}
{l s='August' mod='leoblog'}
{l s='September' mod='leoblog'}
{l s='October' mod='leoblog'}
{l s='November' mod='leoblog'}
{l s='December' mod='leoblog'}
</div>
</article>

View File

@@ -0,0 +1,97 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
<div id="blog-localengine">
{if $config->get('item_show_listcomment','1') == 1}
<h3>{l s='Comments' mod='leoblog'}</h3>
{if isset($comments) && count($comments) > 0}
<div class="comments clearfix">
{foreach from=$comments item=comment name=comment} {$default=''}
<div class="comment-item" id="comment{$comment.id_comment|escape:'html':'UTF-8'}">
<img src="http://www.gravatar.com/avatar/{md5(strtolower(trim($comment.email|escape:'html':'UTF-8')))}?d={urlencode($default|escape:'html':'UTF-8')}&s=60" align="left"/>
<div class="comment-wrap">
<div class="comment-meta">
<span class="comment-infor">
<span class="comment-created">{l s='Created On' mod='leoblog'}<span> {strtotime($comment.date_add)|date_format:"%A, %B %e, %Y"|escape:'html':'UTF-8'}</span></span>
<span class="comment-postedby">{l s='Posted By' mod='leoblog'}<span> {$comment.user|escape:'html':'UTF-8'}</span></span>
</span>
<span class="comment-link"><a href="{$blog_link|escape:'html':'UTF-8'}#comment{$comment.id_comment|intval}">{l s='Comment Link' mod='leoblog'}</a></span>
</div>
<div class="comment-content">
{$comment.comment|nl2br nofilter}{* HTML form , no escape necessary *}
</div>
</div>
</div>
{/foreach}
{if $blog_count_comment}
<div class="top-pagination-content clearfix bottom-line">
{include file="module:leoblog/views/templates/front/default/_pagination.tpl"}
</div>
{/if}
</div>
{else}
<p class="alert alert-success">{l s='No comment at this time!' mod='leoblog'}</p>
{/if}
{/if}
{if $config->get('item_show_formcomment','1') == 1}
<h3 class="title-comment">{l s='Leave your comment' mod='leoblog'}</h3>
<form class="form-horizontal clearfix" method="post" id="comment-form" action="{$blog_link|escape:'html':'UTF-8'}" onsubmit="return false;">
<div class="form-group row">
<div class="col-lg-3">
<label class="control-label" for="inputFullName">{l s='Full Name' mod='leoblog'}</label>
</div>
<div class="col-lg-9">
<input type="text" name="user" placeholder="{l s='Enter your full name' mod='leoblog'}" id="inputFullName" class="form-control">
</div>
</div>
<div class="form-group row">
<div class="col-lg-3">
<label class="control-label" for="inputEmail">{l s='Email' mod='leoblog'}</label>
</div>
<div class="col-lg-9">
<input type="text" name="email" placeholder="{l s='Enter your email' mod='leoblog'}" id="inputEmail" class="form-control">
</div>
</div>
<div class="form-group row">
<div class="col-lg-3">
<label class="control-label" for="inputComment">{l s='Comment' mod='leoblog'}</label>
</div>
<div class="col-lg-9">
<textarea type="text" name="comment" rows="6" placeholder="{l s='Enter your comment' mod='leoblog'}" id="inputComment" class="form-control"></textarea>
</div>
</div>
<div class="form-group row">
<div class="col-lg-3">
<label class="control-label" for="inputEmail">{l s='Captcha' mod='leoblog'}</label>
</div>
<div class="col-lg-8 col-md-8 ipts-captcha">
<img src="{$captcha_image|escape:'html':'UTF-8'}" class="comment-capcha-image" align="left"/>
<input class="form-control" type="text" name="captcha" value="" size="10" />
</div>
</div>
<input type="hidden" name="id_leoblog_blog" value="{$id_leoblog_blog|intval}">
<div class="form-group row">
<div class="col-lg-9 col-lg-offset-3">
<button class="btn btn-secondary btn-outline btn-submit-comment-wrapper" name="submitcomment" type="submit">
<span class="btn-submit-comment">{l s='Submit' mod='leoblog'}</span>
<span class="leoblog-cssload-container cssload-speeding-wheel"></span>
</button>
</div>
</div>
</form>
{/if}
</div>

View File

@@ -0,0 +1,127 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
{if isset($no_follow) AND $no_follow}
{assign var='no_follow_text' value='rel="nofollow"'}
{else}
{assign var='no_follow_text' value=''}
{/if}
{if isset($p) AND $p}
{if ($n*$p) < $nb_items }
{assign var='blogShowing' value=$n*$p}
{else}
{assign var='blogShowing' value=($n*$p-$nb_items-$n*$p)*-1}
{/if}
{if $p==1}
{assign var='blogShowingStart' value=1}
{else}
{assign var='blogShowingStart' value=$n*$p-$n+1}
{/if}
<nav class="pagination">
<!-- <div class="col-xs-12 col-md-6 col-lg-6">
{if $nb_items > 1}
{l s='Showing' mod='leoblog'} {$blogShowingStart} - {$blogShowing} {l s='of' mod='leoblog'} {$nb_items} {l s='items' mod='leoblog'}
{else}
{l s='Showing' mod='leoblog'} {$blogShowingStart} - {$blogShowing} {l s='of' mod='leoblog'} 1 {l s='item' mod='leoblog'}
{/if}
</div> -->
{if $start!=$stop}
<div id="pagination{if isset($paginationId)}_{$paginationId|escape:'html':'UTF-8'}{/if}" class="col-xs-12 col-md-6 col-lg-6">
<ul class="page-list clearfix text-sm-right text-xs-center">
{if $p != 1}
{assign var='p_previous' value=$p-1}
<li id="pagination_previous{if isset($paginationId)}_{$paginationId|escape:'html':'UTF-8'}{/if}">
<a {$no_follow_text|escape:'html':'UTF-8'} class="previous" rel="prev" href="{$link->goPage($requestPage, $p_previous)|escape:'html':'UTF-8'}">
<i class="material-icons">&#xE314;</i>
<span>{l s='Previous' mod='leoblog'}</span>
</a>
</li>
{else}
<li id="pagination_previous{if isset($paginationId)}_{$paginationId|escape:'html':'UTF-8'}{/if}">
<a class="previous disabled" rel="prev" href="#">
<i class="material-icons">&#xE314;</i>
<span>{l s='Previous' mod='leoblog'}</span>
</a>
</li>
{/if}
{if $start==3}
<li><a {$no_follow_text|escape:'html':'UTF-8'} href="{$link->goPage($requestPage, 1)|escape:'html':'UTF-8'}">1</a></li>
<li><a {$no_follow_text|escape:'html':'UTF-8'} href="{$link->goPage($requestPage, 2)|escape:'html':'UTF-8'}">2</a></li>
{/if}
{if $start==2}
<li><a {$no_follow_text|escape:'html':'UTF-8'} href="{$link->goPage($requestPage, 1)|escape:'html':'UTF-8'}">1</a></li>
{/if}
{if $start>3}
<li><a {$no_follow_text|escape:'html':'UTF-8'} href="{$link->goPage($requestPage, 1)|escape:'html':'UTF-8'}">1</a></li>
<li class="truncate">...</li>
{/if}
{section name=pagination start=$start loop=$stop+1 step=1}
{if $p == $smarty.section.pagination.index}
<li class="current">
<a {$no_follow_text|escape:'html':'UTF-8'} href="{$link->goPage($requestPage, $smarty.section.pagination.index)|escape:'html':'UTF-8'}" class="disabled">
{$p|escape:'html':'UTF-8'}
</a>
</li>
{else}
<li>
<a {$no_follow_text|escape:'html':'UTF-8'} href="{$link->goPage($requestPage, $smarty.section.pagination.index)|escape:'html':'UTF-8'}">
{$smarty.section.pagination.index|escape:'html':'UTF-8'}
</a>
</li>
{/if}
{/section}
{if $pages_nb>$stop+2}
<li class="truncate">...</li>
<li>
<a href="{$link->goPage($requestPage, $pages_nb)|escape:'html':'UTF-8'}">
{$pages_nb|intval}
</a>
</li>
{/if}
{if $pages_nb==$stop+1}
<li>
<a href="{$link->goPage($requestPage, $pages_nb)|escape:'html':'UTF-8'}">
{$pages_nb|intval}
</a>
</li>
{/if}
{if $pages_nb==$stop+2}
<li>
<a href="{$link->goPage($requestPage, $pages_nb-1)|escape:'html':'UTF-8'}">
{$pages_nb-1|intval}
</a>
</li>
<li>
<a href="{$link->goPage($requestPage, $pages_nb)|escape:'html':'UTF-8'}">
{$pages_nb|intval}
</a>
</li>
{/if}
{if $pages_nb > 1 AND $p != $pages_nb}
{assign var='p_next' value=$p+1}
<li id="pagination_next{if isset($paginationId)}_{$paginationId|escape:'html':'UTF-8'}{/if}">
<a {$no_follow_text|escape:'html':'UTF-8'} class="next" rel="next" href="{$link->goPage($requestPage, $p_next)|escape:'html':'UTF-8'}">
<span>{l s='Next' mod='leoblog'}</span>
<i class="material-icons">&#xE315;</i>
</a>
</li>
{else}
<li id="pagination_next{if isset($paginationId)}_{$paginationId|escape:'html':'UTF-8'}{/if}">
<a class="next disabled" rel="next" href="#">
<span>{l s='Next' mod='leoblog'}</span>
<i class="material-icons">&#xE315;</i>
</a>
</li>
{/if}
</ul>
</div>
{/if}
</nav>
{/if}

View File

@@ -0,0 +1,56 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
<div class="social-wrap">
<div class="social-heading"> <b>{l s='Like This' mod='leoblog'}</b> </div>
{if $config->get('social_code','')}
{$config->get('social_code','')|escape:'html':'UTF-8'}
{else}
<!-- Twitter Button -->
<div class="itemTwitterButton">
<a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal" >
{l s='Twitter' mod='leoblog'}
</a>
<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
</div>
<!-- Facebook Button -->
<div class="itemFacebookButton">
<div id="fb-root"></div>
<script type="text/javascript">
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="fb-like" data-send="false" data-width="200" data-show-faces="true"></div>
</div>
<!-- Google +1 Button -->
<div class="itemGooglePlusOneButton">
<g:plusone annotation="inline" width="120"></g:plusone>
<script type="text/javascript">
(function() {
window.___gcfg = { lang: 'en' }; // Define button default language here
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
</div>
{/if}
</div>

View File

@@ -0,0 +1,199 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
{extends file=$layout}
{block name='content'}
<section id="main">
{if isset($error)}
<div id="blogpage">
<div class="blog-detail">
<div class="alert alert-warning">{l s='Sorry, We are updating data, please come back later!!!!' mod='leoblog'}</div>
</div>
</div>
{else}
<div id="blogpage">
<article class="blog-detail">
{if $is_active}
<h1 class="blog-title">{$blog->meta_title|escape:'html':'UTF-8'}</h1>
<span id="post_id" hidden>{$blog->id}</span>
<div class="blog-meta" hidden>
{if $config->get('item_show_author','1')}
<span class="blog-author">
<i class="material-icons">person</i> <span>{l s='Posted By' mod='leoblog'}: </span>
<a href="{$blog->author_link|escape:'html':'UTF-8'}" title="{$blog->author|escape:'html':'UTF-8'}">{$blog->author|escape:'html':'UTF-8'}</a>
</span>
{/if}
{if $config->get('item_show_category','1')}
<span class="blog-cat">
<i class="material-icons">list</i> <span>{l s='In' mod='leoblog'}: </span>
<a href="{$blog->category_link|escape:'html':'UTF-8'}" title="{$blog->category_title|escape:'html':'UTF-8'}">{$blog->category_title|escape:'html':'UTF-8'}</a>
</span>
{/if}
{if $config->get('item_show_created','1')}
<span class="blog-created">
<i class="material-icons">&#xE192;</i> <span>{l s='On' mod='leoblog'}: </span>
<time class="date" datetime="{strtotime($blog->date_add)|date_format:"%Y"|escape:'html':'UTF-8'}">
{assign var='blog_date' value=strtotime($blog->date_add)|date_format:"%A"}
{l s=$blog_date mod='leoblog'}, <!-- day of week -->
{assign var='blog_month' value=strtotime($blog->date_add)|date_format:"%B"}
{l s=$blog_month mod='leoblog'} <!-- month-->
{assign var='blog_day' value=strtotime($blog->date_add)|date_format:"%e"}
{l s=$blog_day mod='leoblog'} <!-- day of month -->
{assign var='blog_year' value=strtotime($blog->date_add)|date_format:"%Y"}
{l s=$blog_year mod='leoblog'} <!-- year -->
</time>
</span>
{/if}
{if isset($blog_count_comment)&&$config->get('item_show_counter','1')}
<span class="blog-ctncomment">
<i class="material-icons">comment</i> <span>{l s='Comment' mod='leoblog'}:</span>
{$blog_count_comment|intval}
</span>
{/if}
{if isset($blog->hits)&&$config->get('item_show_hit','1')}
<span class="blog-hit">
<i class="material-icons">favorite</i> <span>{l s='Hit' mod='leoblog'}:</span>
{$blog->hits|intval}
</span>
{/if}
</div>
{if $blog->preview_url && $config->get('item_show_image','1')}
<div class="blog-image">
<img src="{$blog->preview_url|escape:'html':'UTF-8'}" title="{$blog->meta_title|escape:'html':'UTF-8'}" class="img-fluid" />
</div>
{/if}
<div class="blog-description">
{if $config->get('item_show_description',1)}
{$blog->description nofilter}{* HTML form , no escape necessary *}
{/if}
{$blog->content nofilter}{* HTML form , no escape necessary *}
</div>
<div id="blog_prod">
{hook h='displayApSC' sc_key=sc3387676650}
</div>
{if trim($blog->video_code)}
<div class="blog-video-code">
<div class="inner ">
{$blog->video_code nofilter}{* HTML form , no escape necessary *}
</div>
</div>
{/if}
<div class="social-share">
{include file="module:leoblog/views/templates/front/default/_social.tpl"}
</div>
{if $tags}
<div class="blog-tags">
<span>{l s='Tags:' mod='leoblog'}</span>
{foreach from=$tags item=tag name=tag}
<a href="{$tag.link|escape:'html':'UTF-8'}" title="{$tag.tag|escape:'html':'UTF-8'}"><span>{$tag.tag|escape:'html':'UTF-8'}</span></a>
{/foreach}
</div>
{/if}
{if !empty($samecats)||!empty($tagrelated)}
<div class="extra-blogs row mb">
{if !empty($samecats)}
<div class="col-lg-6 col-md-6 col-xs-12">
<h4>{l s='In Same Category' mod='leoblog'}</h4>
<ul>
{foreach from=$samecats item=cblog name=cblog}
<li>
{if !empty($cblog.image)}
<img src="/themes/leo_gstore/assets/img/modules/leoblog/{$id_shop}/b/{$cblog.image}" style="width:50px;margin-right: 15px;">
{/if}
<a href="{$cblog.link|escape:'html':'UTF-8'}">{$cblog.meta_title|escape:'html':'UTF-8'}</a>
</li>
{/foreach}
</ul>
</div>
{/if}
{if !empty($tagrelated)}
<div class="col-lg-6 col-md-6 col-xs-12">
<h4>{l s='Related by Tags' mod='leoblog'}</h4>
<ul>
{foreach from=$tagrelated item=cblog name=cblog}
<li><a href="{$cblog.link|escape:'html':'UTF-8'}">{$cblog.meta_title|escape:'html':'UTF-8'}</a></li>
{/foreach}
</ul>
</div>
{/if}
</div>
{/if}
<!-- <div >
<a href="{$blog->category_link}" >
<h4>{$blog->category_title}</h4>
<img src="{$blog->category_image}" alt="" height="250" />
</a>
</div> -->
{if $productrelated}
{/if}
{if $config->get('item_show_listcomment','1') == 1}
<div class="blog-comment-block clearfix">
{if $config->get('item_comment_engine','local')=='facebook'}
{include file="module:leoblog/views/templates/front/default/_facebook_comment.tpl"}
{elseif $config->get('item_comment_engine','local')=='diquis'}
{include file="module:leoblog/views/templates/front/default/_diquis_comment.tpl"}
{else}
{include file="module:leoblog/views/templates/front/default/_local_comment.tpl"}
{/if}
{elseif $config->get('item_show_listcomment','1') == 0 && $config->get('item_show_formcomment','1') == 1}
<div class="blog-comment-block clearfix">
{include file="module:leoblog/views/templates/front/default/_local_comment.tpl"}
</div>
{/if}
{else}
<div class="alert alert-warning">{l s='Sorry, This blog is not avariable. May be this was unpublished or deleted.' mod='leoblog'}</div>
{/if}
</article>
<div id="s_test" hidden>
{hook h='displayApSC' sc_key=sc3749181901}
</div>
</div>
<div class="hidden-xl-down hidden-xl-up datetime-translate">
{l s='Sunday' mod='leoblog'}
{l s='Monday' mod='leoblog'}
{l s='Tuesday' mod='leoblog'}
{l s='Wednesday' mod='leoblog'}
{l s='Thursday' mod='leoblog'}
{l s='Friday' mod='leoblog'}
{l s='Saturday' mod='leoblog'}
{l s='January' mod='leoblog'}
{l s='February' mod='leoblog'}
{l s='March' mod='leoblog'}
{l s='April' mod='leoblog'}
{l s='May' mod='leoblog'}
{l s='June' mod='leoblog'}
{l s='July' mod='leoblog'}
{l s='August' mod='leoblog'}
{l s='September' mod='leoblog'}
{l s='October' mod='leoblog'}
{l s='November' mod='leoblog'}
{l s='December' mod='leoblog'}
</div>
{/if}
</section>
{/block}

View File

@@ -0,0 +1,184 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
{extends file=$layout}
{block name='content'}
<section id="main">
{if isset($error)}
<div id="blogpage">
<div class="blog-detail">
<div class="alert alert-warning">{l s='Sorry, We are updating data, please come back later!!!!' mod='leoblog'}</div>
</div>
</div>
{else}
<div id="blogpage">
<article class="blog-detail">
{if $is_active}
<h1 class="blog-title">{$blog->meta_title|escape:'html':'UTF-8'}</h1>
<span id="post_id" hiden>{$blog->id}
<div class="blog-meta">
{if $config->get('item_show_author','1')}
<span class="blog-author">
<i class="material-icons">person</i> <span>{l s='Posted By' mod='leoblog'}: </span>
<a href="{$blog->author_link|escape:'html':'UTF-8'}" title="{$blog->author|escape:'html':'UTF-8'}">{$blog->author|escape:'html':'UTF-8'}</a>
</span>
{/if}
{if $config->get('item_show_category','1')}
<span class="blog-cat">
<i class="material-icons">list</i> <span>{l s='In' mod='leoblog'}: </span>
<a href="{$blog->category_link|escape:'html':'UTF-8'}" title="{$blog->category_title|escape:'html':'UTF-8'}">{$blog->category_title|escape:'html':'UTF-8'}</a>
</span>
{/if}
{if $config->get('item_show_created','1')}
<span class="blog-created">
<i class="material-icons">&#xE192;</i> <span>{l s='On' mod='leoblog'}: </span>
<time class="date" datetime="{strtotime($blog->date_add)|date_format:"%Y"|escape:'html':'UTF-8'}">
{assign var='blog_date' value=strtotime($blog->date_add)|date_format:"%A"}
{l s=$blog_date mod='leoblog'}, <!-- day of week -->
{assign var='blog_month' value=strtotime($blog->date_add)|date_format:"%B"}
{l s=$blog_month mod='leoblog'} <!-- month-->
{assign var='blog_day' value=strtotime($blog->date_add)|date_format:"%e"}
{l s=$blog_day mod='leoblog'} <!-- day of month -->
{assign var='blog_year' value=strtotime($blog->date_add)|date_format:"%Y"}
{l s=$blog_year mod='leoblog'} <!-- year -->
</time>
</span>
{/if}
{if isset($blog_count_comment)&&$config->get('item_show_counter','1')}
<span class="blog-ctncomment">
<i class="material-icons">comment</i> <span>{l s='Comment' mod='leoblog'}:</span>
{$blog_count_comment|intval}
</span>
{/if}
{if isset($blog->hits)&&$config->get('item_show_hit','1')}
<span class="blog-hit">
<i class="material-icons">favorite</i> <span>{l s='Hit' mod='leoblog'}:</span>
{$blog->hits|intval}
</span>
{/if}
</div>
{if $blog->preview_url && $config->get('item_show_image','1')}
<div class="blog-image">
<img src="{$blog->preview_url|escape:'html':'UTF-8'}" title="{$blog->meta_title|escape:'html':'UTF-8'}" class="img-fluid" />
</div>
{/if}
<div class="blog-description">
{if $config->get('item_show_description',1)}
{$blog->description nofilter}{* HTML form , no escape necessary *}
{/if}
{$blog->content nofilter}{* HTML form , no escape necessary *}
</div>
{if trim($blog->video_code)}
<div class="blog-video-code">
<div class="inner ">
{$blog->video_code nofilter}{* HTML form , no escape necessary *}
</div>
</div>
{/if}
<div class="social-share">
{include file="module:leoblog/views/templates/front/default/_social.tpl"}
</div>
{if $tags}
<div class="blog-tags">
<span>{l s='Tags:' mod='leoblog'}</span>
{foreach from=$tags item=tag name=tag}
<a href="{$tag.link|escape:'html':'UTF-8'}" title="{$tag.tag|escape:'html':'UTF-8'}"><span>{$tag.tag|escape:'html':'UTF-8'}</span></a>
{/foreach}
</div>
{/if}
{if !empty($samecats)||!empty($tagrelated)}
<div class="extra-blogs row">
{if !empty($samecats)}
<div class="col-lg-6 col-md-6 col-xs-12">
<h4>{l s='In Same Category' mod='leoblog'}</h4>
<ul>
{foreach from=$samecats item=cblog name=cblog}
<li><a href="{$cblog.link|escape:'html':'UTF-8'}">{$cblog.meta_title|escape:'html':'UTF-8'}</a></li>
{/foreach}
</ul>
</div>
<div class="col-lg-6 col-md-6 col-xs-12">
<h4>{l s='Related by Tags' mod='leoblog'}</h4>
<ul>
{foreach from=$tagrelated item=cblog name=cblog}
<li><a href="{$cblog.link|escape:'html':'UTF-8'}">{$cblog.meta_title|escape:'html':'UTF-8'}</a></li>
{/foreach}
</ul>
</div>
{/if}
</div>
{/if}
{if $productrelated}
{/if}
{if $config->get('item_show_listcomment','1') == 1}
<div class="blog-comment-block clearfix">
{if $config->get('item_comment_engine','local')=='facebook'}
{include file="module:leoblog/views/templates/front/default/_facebook_comment.tpl"}
{elseif $config->get('item_comment_engine','local')=='diquis'}
{include file="module:leoblog/views/templates/front/default/_diquis_comment.tpl"}
{else}
{include file="module:leoblog/views/templates/front/default/_local_comment.tpl"}
{/if}
{elseif $config->get('item_show_listcomment','1') == 0 && $config->get('item_show_formcomment','1') == 1}
<div class="blog-comment-block clearfix">
{include file="module:leoblog/views/templates/front/default/_local_comment.tpl"}
</div>
{/if}
{else}
<div class="alert alert-warning">{l s='Sorry, This blog is not avariable. May be this was unpublished or deleted.' mod='leoblog'}</div>
{/if}
</article>
<div id="s_test" hidden>
{hook h='displayApSC' sc_key=sc3749181901}
</div>
</div>
<div class="hidden-xl-down hidden-xl-up datetime-translate">
{l s='Sunday' mod='leoblog'}
{l s='Monday' mod='leoblog'}
{l s='Tuesday' mod='leoblog'}
{l s='Wednesday' mod='leoblog'}
{l s='Thursday' mod='leoblog'}
{l s='Friday' mod='leoblog'}
{l s='Saturday' mod='leoblog'}
{l s='January' mod='leoblog'}
{l s='February' mod='leoblog'}
{l s='March' mod='leoblog'}
{l s='April' mod='leoblog'}
{l s='May' mod='leoblog'}
{l s='June' mod='leoblog'}
{l s='July' mod='leoblog'}
{l s='August' mod='leoblog'}
{l s='September' mod='leoblog'}
{l s='October' mod='leoblog'}
{l s='November' mod='leoblog'}
{l s='December' mod='leoblog'}
</div>
{/if}
</section>
{/block}

View File

@@ -0,0 +1,116 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
{extends file=$layout}
{block name='content'}
<section id="main">
{if isset($category) && $category->id_leoblogcat && $category->active}
{if isset($no_follow) AND $no_follow}
{assign var='no_follow_text' value='rel="nofollow"'}
{else}
{assign var='no_follow_text' value=''}
{/if}
<div id="blog-category" class="blogs-container">
{if $category->show_title}
<h1>{$category->title|escape:'html':'UTF-8'}</h1>
{/if}
<div class="inner">
{if $config->get('listing_show_categoryinfo',1)}
<div class="panel panel-default">
<div class="panel-body">
{if $category->image}
<div class="row">
<div class="category-image col-xs-12 col-sm-12 col-lg-4 col-md-6 text-center">
<img src="{$category->image|escape:'html':'UTF-8'}" class="img-fluid" alt="" />
</div>
<div class="col-xs-12 col-sm-12 col-lg-8 col-md-6 category-info caption">
{$category->content_text nofilter}{* HTML form , no escape necessary *}
</div>
</div>
{else}
<div class="category-info caption">
{$category->content_text nofilter}{* HTML form , no escape necessary *}
</div>
{/if}
</div>
</div>
{/if}
{if $childrens&&$config->get('listing_show_subcategories',1)}
<div class="childrens">
<h3 class="section-title">{l s='Childrens' mod='leoblog'}</h3>
<div class="row">
{foreach $childrens item=children name=children}
<div class="col-lg-3">
{if isset($children.thumb)}
<img src="{$children.thumb|escape:'html':'UTF-8'}" class="img-fluid"/>
{/if}
<h4><a href="{$children.category_link|escape:'html':'UTF-8'}" title="{$children.title|escape:'html':'UTF-8'}">{$children.title|escape:'html':'UTF-8'}</a></h4>
<div class="child-desc">{$children.content_text nofilter}</div>{* HTML form , no escape necessary *}
</div>
{/foreach}
</div>
</div>
{/if}
<div class="clearfix"></div>
{if count($leading_blogs)+count($secondary_blogs)}
<h3 class="section-title">{l s='Recent blog posts' mod='leoblog'}</h3>
{if count($leading_blogs)}
<div class="leading-blog">
{foreach from=$leading_blogs item=blog name=leading_blog}
{if ($smarty.foreach.leading_blog.iteration%$listing_leading_column==1)&&$listing_leading_column>1}
<div class="row">
{/if}
<div class="{if $listing_leading_column<=1}no{/if}col-lg-{floor(12/$listing_leading_column|escape:'html':'UTF-8')}">
{include file="module:leoblog/views/templates/front/default/_listing_blog.tpl"}
</div>
{if ($smarty.foreach.leading_blog.iteration%$listing_leading_column==0||$smarty.foreach.leading_blog.last)&&$listing_leading_column>1}
</div>
{/if}
{/foreach}
</div>
{/if}
{if count($secondary_blogs)}
<div class="secondary-blog">
{foreach from=$secondary_blogs item=blog name=secondary_blog}
{if ($smarty.foreach.secondary_blog.iteration%$listing_secondary_column==1)&&$listing_secondary_column>1}
<div class="row">
{/if}
<div class="{if $listing_secondary_column<=1}no{/if}col-lg-{floor(12/$listing_secondary_column|escape:'html':'UTF-8')}">
{include file="module:leoblog/views/templates/front/default/_listing_blog.tpl"}
</div>
{if ($smarty.foreach.secondary_blog.iteration%$listing_secondary_column==0||$smarty.foreach.secondary_blog.last)&&$listing_secondary_column>1}
</div>
{/if}
{/foreach}
</div>
{/if}
<div class="top-pagination-content clearfix bottom-line">
{include file="module:leoblog/views/templates/front/default/_pagination.tpl"}
</div>
{elseif empty($childrens)}
<div class="alert alert-warning">{l s='Sorry, We are updating data, please come back later!!!!' mod='leoblog'}</div>
{/if}
</div>
</div>
{else}
<div class="alert alert-warning">{l s='Sorry, We are updating data, please come back later!!!!' mod='leoblog'}</div>
{/if}
</section>
{/block}

View File

@@ -0,0 +1,46 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
<div id="blog-localengine">
<form class="form-horizontal" method="post" id="comment-form" action="{$blog_link|escape:'html':'UTF-8'}" onsubmit="return false;">
<div class="form-group">
<label class="col-lg-3 control-label" for="inputFullName">{l s='Full Name' mod='leoblog'}</label>
<div class="col-lg-9">
<input type="text" name="fullname" placeholder="{l s='Enter your full name' mod='leoblog'}" id="inputFullName" class="form-control">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label" for="inputEmail">{l s='Email' mod='leoblog'}</label>
<div class="col-lg-9">
<input type="text" name="email" placeholder="{l s='Enter your email' mod='leoblog'}" id="inputEmail" class="form-control">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label" for="inputComment">{l s='Comment' mod='leoblog'}</label>
<div class="col-lg-9">
<textarea type="text" name="comment" rows="6" placeholder="{l s='Enter your comment' mod='leoblog'}" id="inputComment" class="form-control"></textarea>
</div>
</div>
<div class="form-group">
<img src="{$captcha_image|escape:'html':'UTF-8'}" alt="" align="left"/>
<input class="form-control" type="text" name="captcha" value="" size="10" />
</div>
<input type="hidden" name="id_leoblog_blog" value="{$id_leoblog_blog|intval}">
<div class="form-group">
<div class="col-lg-9 col-lg-offset-3">
<button class="btn btn-default btn-outline btn-submit-comment-wrapper" name="submitcomment" type="submit">
<span class="btn-submit-comment">{l s='Submit' mod='leoblog'}</span>
<span class="leoblog-cssload-container cssload-speeding-wheel"></span>
</button>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,93 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
{extends file=$layout}
{block name='content'}
<section id="main">
{if isset($no_follow) AND $no_follow}
{assign var='no_follow_text' value='rel="nofollow"'}
{else}
{assign var='no_follow_text' value=''}
{/if}
<div id="blog-listing" class="blogs-container box">
{if isset($filter.type)}
{if $filter.type=='tag'}
<h1>{l s='Filter Blogs By Tag' mod='leoblog'} : <span>{$filter.tag|escape:'html':'UTF-8'}</span></h1>
{elseif $filter.type=='author'}
{if isset($filter.id_employee)}
<h1>{l s='Filter Blogs By Blogger' mod='leoblog'} : <span>{$filter.employee->firstname|escape:'html':'UTF-8'} {$filter.employee->lastname|escape:'html':'UTF-8'}</span></h1>
{else}
<h1>{l s='Filter Blogs By Blogger' mod='leoblog'} : <span>{$filter.author_name|escape:'html':'UTF-8'}</span></h1>
{/if}
{/if}
{else}
<h1 class="blog-lastest-title">{l s='Lastest Blogs' mod='leoblog'}</h1>
{if $url_rss != ''}
<h4 class="blog-lastest-rss"><a href="{$url_rss}">{l s='RSS' mod='leoblog'}</a></h4>
{/if}
{/if}
<div class="inner">
{if count($leading_blogs)+count($secondary_blogs)>0}
{if count($leading_blogs)}
<div class="leading-blog">
{foreach from=$leading_blogs item=blog name=leading_blog}
{if ($smarty.foreach.leading_blog.iteration%$listing_leading_column==1)&&$listing_leading_column>1}
<div class="row">
{/if}
<div class="{if $listing_leading_column<=1}no{/if}col-lg-{floor(12/$listing_leading_column|escape:'html':'UTF-8')}">
{include file="module:leoblog/views/templates/front/default/_listing_blog.tpl"}
</div>
{if ($smarty.foreach.leading_blog.iteration%$listing_leading_column==0||$smarty.foreach.leading_blog.last)&&$listing_leading_column>1}
</div>
{/if}
{/foreach}
</div>
{/if}
{if count($secondary_blogs)}
<div class="secondary-blog">
{foreach from=$secondary_blogs item=blog name=secondary_blog}
{if ($smarty.foreach.secondary_blog.iteration%$listing_secondary_column==1)&&$listing_secondary_column>1}
<div class="row">
{/if}
<div class="{if $listing_secondary_column<=1}no{/if}col-lg-{floor(12/$listing_secondary_column|escape:'html':'UTF-8')}">
{include file="module:leoblog/views/templates/front/default/_listing_blog.tpl"}
</div>
{if ($smarty.foreach.secondary_blog.iteration%$listing_secondary_column==0||$smarty.foreach.secondary_blog.last)&&$listing_secondary_column>1}
</div>
{/if}
{/foreach}
</div>
{/if}
<div class="top-pagination-content clearfix bottom-line">
{include file="module:leoblog/views/templates/front/default/_pagination.tpl"}
</div>
{else}
<div class="alert alert-warning">{l s='Sorry, We are update data, please come back later!!!!' mod='leoblog'}</div>
{/if}
</div>
</div>
</section>
{/block}

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,18 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
<!-- Block categories module -->
{if $tree}
<div id="categories_blog_menu" class="block blog-menu">
<h4 class="title_block">{if isset($currentCategory)}{$currentCategory->title|escape:'html':'UTF-8'}{else}{l s='Blog Categories' mod='leoblog'}{/if}</h4>
<div class="block_content">
{$tree nofilter}{* HTML form , no escape necessary *}
</div>
</div>
{/if}
<!-- /Block categories module -->

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;

View File

@@ -0,0 +1,18 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
{if isset($leoblogtags) AND !empty($leoblogtags)}
<section id="tags_blog_block_left" class="block leo-blog-tags hidden-sm-down">
<h4 class='title_block'><a href="">{l s='Tags Post' mod='leoblog'}</a></h4>
<div class="block_content clearfix">
{foreach from=$leoblogtags item="tag"}
<a href="{$tag.link}">{$tag.name}</a>
{/foreach}
</div>
</section>
{/if}

View File

@@ -0,0 +1,30 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
{if isset($leading_blogs) AND !empty($leading_blogs)}
<section id="blogPopularBlog" class="block leo-block-sidebar hidden-sm-down">
<h4 class='title_block'><a href="">{l s='Popular Articles' mod='leoblog'}</a></h4>
<div class="block_content products-block">
<ul class="lists">
{foreach from=$leading_blogs item="blog" name=leading_blog}
<li class="list-item clearfix{if $smarty.foreach.leading_blog.last} last_item{elseif $smarty.foreach.leading_blog.first} first_item{else}{/if}">
<div class="blog-image">
<a class="products-block-image" title="{$blog.title|escape:'html':'UTF-8'}" href="{$blog.link|escape:'html':'UTF-8'}">
<img alt="{$blog.title|escape:'html':'UTF-8'}" src="{$blog.preview_url|escape:'html':'UTF-8'}" class="img-fluid">
</a>
</div>
<div class="blog-content">
<h3 class="post-name"><a title="{$blog.title}" href="{$blog.link|escape:'html':'UTF-8'}">{$blog.title}</a></h3>
<span class="info">{$blog.date_add|date_format:"%b %d, %Y"}</span>
</div>
</li>
{/foreach}
</ul>
</div>
</section>
{/if}

View File

@@ -0,0 +1,31 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
{if isset($leading_blogs) AND !empty($leading_blogs)}
<section id="blogRecentBlog" class="block leo-block-sidebar hidden-sm-down">
<h4 class='title_block'><a href="">{l s='Recent Articles' mod='leoblog'}</a></h4>
<div class="block_content products-block">
<ul class="lists">
{foreach from=$leading_blogs item="blog" name=leading_blog}
<li class="list-item clearfix{if $smarty.foreach.leading_blog.last} last_item{elseif $smarty.foreach.leading_blog.first} first_item{else}{/if}">
<div class="blog-image">
<a class="products-block-image" title="{$blog.title|escape:'html':'UTF-8'}" href="{$blog.link|escape:'html':'UTF-8'}">
<img alt="{$blog.title|escape:'html':'UTF-8'}" src="{$blog.preview_url|escape:'html':'UTF-8'}" class="img-fluid">
</a>
</div>
<div class="blog-content">
<h3 class="post-name"><a title="{$blog.title}" href="{$blog.link|escape:'html':'UTF-8'}">{$blog.title}</a></h3>
<span class="info">{$blog.date_add|date_format:"%b %d, %Y"}</span>
</div>
</li>
{/foreach}
</ul>
</div>
</section>
{/if}

View File

@@ -0,0 +1,24 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 2007-2018 Leotheme
* @description: Content Management
*}
<!-- Block RSS module-->
<div id="rss_block_left" class="block">
<h4 class="title_block">{$title|escape:'html':'UTF-8'}</h4>
<div class="block_content">
{if $rss_links}
<ul>
{foreach from=$rss_links item='rss_link'}
<li><a href="{$rss_link.url|escape:'html':'UTF-8'}" title="{$rss_link.title|escape:'html':'UTF-8'}">{$rss_link.title|escape:'html':'UTF-8'}</a></li>
{/foreach}
</ul>
{else}
<p>{l s='No RSS feed added' mod='leoblog'}</p>
{/if}
</div>
</div>
<!-- /Block RSS module-->

View File

@@ -0,0 +1,36 @@
<?php
/*
* 2007-2012 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2012 PrestaShop SA
* @version Release: $Revision: 13573 $
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*/
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Location: ../");
exit;