first commit

This commit is contained in:
2024-11-05 12:22:50 +01:00
commit e5682a3912
19641 changed files with 2948548 additions and 0 deletions

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,38 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<script type="text/javascript">
var leoblog_del_img_txt = "{$leoblog_del_img_txt|escape:'htmlall':'UTF-8'}";
var leoblog_del_img_mess = "{$leoblog_del_img_mess|escape:'htmlall':'UTF-8'}";
var action = "{$action|escape:'htmlall':'UTF-8'}";
var addnew = "{$addnew|escape:'htmlall':'UTF-8'}";
</script>
<div class="" id="megamenu">
<div class="col-md-4">
<div class="panel panel-default">
<h3 class="panel-title">{$text_title|escape:'htmlall':'UTF-8'}</h3>
<div class="panel-content">
{$text_content|escape:'htmlall':'UTF-8'}
<hr>
<p>
<input type="button" value="{$text_value|escape:'htmlall':'UTF-8'}" id="addcategory" data-loading-text="{$text_process|escape:'htmlall':'UTF-8'}" class="btn btn-danger" name="addcategory">
</p>
<hr>{$tree}{* HTML form , no escape necessary *}
<a href="javascript:void(0);" class="btn btn-danger delete_many_menus">
<i class="icon-trash"></i>&nbsp;Delete selected
</a>
</div>
</div>
</div>
<div class="col-md-8">{$generate_form}{* HTML form , no escape necessary *}</div>
</div>
{literal}
<script type="text/javascript">
$("#content").PavMegaMenuList({action:action, addnew:addnew});
</script>
{/literal}

View File

@@ -0,0 +1,18 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<div class="panel form-horizontal">
<div class="form-group">
<div class="col-lg-1">
<a class="megamenu-correct-module btn btn-success" href="{$link->getAdminLink('AdminModules')|escape:'htmlall':'UTF-8'}&configure=leoblog&success=correct&correctmodule=1">
<i class="icon-AdminParentPreferences"></i>{l s='Correct module' mod='leoblog'}
</a>
</div>
<div class="col-lg-5">* {l s='Please backup the database before run correct module to safe' mod='leoblog'}</div>
</div>
</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,26 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 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|escape:'htmlall':'UTF-8')}
{else }
{l s='%d errors' sprintf=[$errors|count] mod='leoblog'}
<br/>
<ol>
{foreach $errors as $error}
<li>{$error|escape:'htmlall':'UTF-8'}</li>
{/foreach}
</ol>
{/if}
</div>
</div>
{/if}

View File

@@ -0,0 +1,24 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<ol class="level{$level|escape:'htmlall':'UTF-8'}{$t|escape:'htmlall':'UTF-8'}">
{foreach from=$data item=$menu}
<li id="list_{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'}" class="{if $param_id_leoblogcat == $menu.id_leoblogcat}selected{/if}">
<div>
<span class="disclose"><span></span></span>
{$menu.title|escape:'htmlall':'UTF-8'} (ID:{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'})
<input type="checkbox" name="menubox[]" value="{$menu['id_leoblogcat']|escape:'htmlall':'UTF-8'}" class="quickselect" title="Select to delete">
<span class="quickedit" rel="id_{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'}">E</span>
<span class="quickdel" rel="id_{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'}">D</span>
</div>
{if $menu.id_leoblogcat != $parent}
{$model_leoblogcat->genTree($menu.id_leoblogcat, $level + 1)|escape:'htmlall':'UTF-8'}
{/if}
</li>
{/foreach}
</ol>

View File

@@ -0,0 +1,19 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<ol class="level{$level|escape:'htmlall':'UTF-8'}">
{foreach from=$data item=$menu}
<li id="list_{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'}">
<input type="checkbox" value="{$menu.randkey|escape:'htmlall':'UTF-8'}" name="chk_cat[]" id="chk-{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'}" {if $menu.id_leoblogcat|array_search:$select !== false}checked="checked"{/if}/>
<label for="chk-{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'}">{$menu.title|escape:'htmlall':'UTF-8'} (ID:{$menu.id_leoblogcat|escape:'htmlall':'UTF-8'})</label>
{if $menu.id_leoblogcat != $parent}
{$model_leoblogcat->genTreeForApPageBuilder($menu.id_leoblogcat, $level + 1, $select)|escape:'htmlall':'UTF-8'}
{/if}
</li>
{/foreach}
</ol>

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 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|escape:'htmlall':'UTF-8'}{else}{$input.name|escape:'htmlall':'UTF-8'}{/if}"
type="text"
data-hex="true"
{if isset($input.class)} class="{$input.class}"
{else}class="datepicker"{/if}
name="{$input.name|escape:'htmlall':'UTF-8'}"
value="{if isset($input.default) && $fields_value[$input.name] == ''}{$input.default|escape:'htmlall':'UTF-8'}{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 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 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 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 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 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,126 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 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}
{if Configuration::get('LEOBLOG_SHARE_FB') || Configuration::get('LEOBLOG_SHARE_TW') }
<div class="share_button">
<span><i class="fa fa-share-alt"></i>{l s='Share' d='Shop.Theme.Global'}</span>
<ul>
{if Configuration::get('LEOBLOG_SHARE_FB')}
<li class="facebook">
<a href="http://www.facebook.com/sharer.php?u={$smarty.server.HTTP_HOST|escape:'htmlall':'UTF-8'}{$smarty.server.REQUEST_URI|escape:'htmlall':'UTF-8'}">
<span>{l s='Facebook' mod='leoblog'}</span>
</a>
</li>
{/if}
{if Configuration::get('LEOBLOG_SHARE_TW')}
<li class="twitter">
<a href="https://twitter.com/intent/tweet?text={$smarty.server.HTTP_HOST|escape:'htmlall':'UTF-8'}{$smarty.server.REQUEST_URI|escape:'htmlall':'UTF-8'}">
<span>{l s='Twitter' mod='leoblog'}</span>
</a>
</li>
{/if}
</ul>
</div>
{/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">
<a href="{$blog.link|escape:'html':'UTF-8'}" title="{$blog.title|escape:'html':'UTF-8'}">
<img {if isset($aplazyload) && $aplazyload}data-src{else}src{/if}="{$blog.preview_url|escape:'html':'UTF-8'}" title="{$blog.title|escape:'html':'UTF-8'}" alt="" class="img-fluid{if isset($aplazyload) && $aplazyload} lazy{/if}" />
</a>
</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:'...'|cleanHtml 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">{l s='Read more' mod='leoblog'}</a>
</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 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 {if isset($aplazyload) && $aplazyload}class="lazy" data-src{else}src{/if}="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|cleanHtml nofilter}{* HTML form , no escape necessary *}
</div>
</div>
</div>
{/foreach}
{if $blog_count_comment}
<div class="top-pagination-content clearfix bottom-line">
{include file="$_pagination"}
</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 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|escape:'htmlall':'UTF-8'} - {$blogShowing|escape:'htmlall':'UTF-8'} {l s='of' mod='leoblog'} {$nb_items|escape:'htmlall':'UTF-8'} {l s='items' mod='leoblog'}
{else}
{l s='Showing' mod='leoblog'} {$blogShowingStart|escape:'htmlall':'UTF-8'} - {$blogShowing|escape:'htmlall':'UTF-8'} {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 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','')|cleanHtml nofilter}{* HTML form , no escape necessary *}
{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,228 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 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>
{if Configuration::get('LEOBLOG_SHARE_FB') || Configuration::get('LEOBLOG_SHARE_TW') }
<div class="share_button">
<span><i class="fa fa-share-alt"></i>{l s='Share' d='Shop.Theme.Global'}</span>
<ul>
{if Configuration::get('LEOBLOG_SHARE_FB')}
<li class="facebook">
<a href="http://www.facebook.com/sharer.php?u={$smarty.server.HTTP_HOST|escape:'htmlall':'UTF-8'}{$smarty.server.REQUEST_URI|escape:'htmlall':'UTF-8'}">
<span>{l s='Facebook' mod='leoblog'}</span>
</a>
</li>
{/if}
{if Configuration::get('LEOBLOG_SHARE_TW')}
<li class="twitter">
<a href="https://twitter.com/intent/tweet?text={$smarty.server.HTTP_HOST|escape:'htmlall':'UTF-8'}{$smarty.server.REQUEST_URI|escape:'htmlall':'UTF-8'}">
<span>{l s='Twitter' mod='leoblog'}</span>
</a>
</li>
{/if}
</ul>
</div>
{/if} *}
{* <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 {if isset($aplazyload) && $aplazyload}data-src{else}src{/if}="{$blog->image_url|escape:'html':'UTF-8'}" title="{$blog->meta_title|escape:'html':'UTF-8'}" class="img-fluid{if isset($aplazyload) && $aplazyload} lazy{/if}" />
</div>
{/if}
<div class="article-mini-info">
<p class="article-added-tile">{$blog->date_add|date_format:"%d/%m/%Y"}</p>
<h1 class="blog-title">{$blog->meta_title|escape:'html':'UTF-8'}</h1>
</div>
<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="$_social"}
</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}
<div class="article-social">
<h2 class="article-social-text">
Podziel się tym artykułem z Innymi!
</h2>
<ul>
<li>
<a href="http://www.facebook.com/sharer.php?u={$smarty.server.HTTP_REFERER}{$smarty.server.REQUEST_URI}">
<img src="/themes/at_movic/assets/img/icons/FB.svg" alt="">
</a>
</li>
<li>
<a href="http://twitter.com/share?url={$smarty.server.HTTP_REFERER}{$smarty.server.REQUEST_URI}">
<img src="/themes/at_movic/assets/img/icons/TWITTER.svg" alt="">
</a>
</li>
<li>
<a href="https://www.instagram.com/shareArticle?mini=true&url={$smarty.server.HTTP_REFERER}{$smarty.server.REQUEST_URI}">
<img src="/themes/at_movic/assets/img/icons/IG.svg" alt="">
</a>
</li>
</ul>
</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="$_facebook_comment"}
{elseif $config->get('item_comment_engine','local')=='diquis'}
{include file="$_diquis_comment"}
{else}
{include file="$_local_comment"}
{/if}
{elseif $config->get('item_show_listcomment','1') == 0 && $config->get('item_show_formcomment','1') == 1}
<div class="blog-comment-block clearfix">
{include file="$_local_comment"}
</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>
<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,115 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 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 {if isset($aplazyload) && $aplazyload}data-src{else}src{/if}="{$category->image|escape:'html':'UTF-8'}" class="img-fluid{if isset($aplazyload) && $aplazyload} lazy{/if}" alt="" />
</div>
<div class="col-xs-12 col-sm-12 col-lg-8 col-md-6 category-info caption">
{$category->content_text|cleanHtml nofilter}{* HTML form , no escape necessary *}
</div>
</div>
{else}
<div class="category-info caption">
{$category->content_text|cleanHtml 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|cleanHtml 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="$_listing_blog"}
</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="$_listing_blog"}
</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="$_pagination"}
</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 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 {if isset($aplazyload) && $aplazyload}class="lazy" data-src{else}src{/if}="{$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,99 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
{extends file=$layout}
{block name='content'}
<section id="main">
<div class="blog-header">
<h1>Blog</h1>
</div>
{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|escape:'htmlall':'UTF-8'}">{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="$_listing_blog"}
</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">
<div class="blog-tiles">
{foreach from=$secondary_blogs item=blog name=secondary_blog}
<div class="blog-tile">
{include file="$_listing_blog"}
</div>
{* {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="$_listing_blog"}
</div>
{if ($smarty.foreach.secondary_blog.iteration%$listing_secondary_column==0||$smarty.foreach.secondary_blog.last)&&$listing_secondary_column>1}
</div>
{/if} *}
{/foreach}
</div>
</div>
{/if}
<div class="top-pagination-content clearfix bottom-line">
{include file="$_pagination"}
</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,94 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright 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}
{if $title_page != 'Best articles' && $title_page != 'Latest articles' && $title_page != 'Articles favorite'}
<h1>{l s='Search Blogs For : ' mod='leoblog'} <span>{$title_page|escape:'html':'UTF-8'}</span> </h1>
{else}
<h1 class="blog-lastest-title">{$title_page|escape:'html':'UTF-8'}</h1>
{/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="$_listing_blog"}
</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="$_listing_blog"}
</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="$_pagination"}
</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 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|cleanHtml 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 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|escape:'htmlall':'UTF-8'}">{$tag.name|escape:'htmlall':'UTF-8'}</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 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'}" {if isset($aplazyload) && $aplazyload}data-src{else}src{/if}="{$blog.preview_url|escape:'html':'UTF-8'}" class="img-fluid{if isset($aplazyload) && $aplazyload} lazy{/if}">
</a>
</div>
<div class="blog-content">
<h3 class="post-name"><a title="{$blog.title|escape:'htmlall':'UTF-8'}" 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 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'}" {if isset($aplazyload) && $aplazyload}data-src{else}src{/if}="{$blog.preview_url|escape:'html':'UTF-8'}" class="img-fluid{if isset($aplazyload) && $aplazyload} lazy{/if}">
</a>
</div>
<div class="blog-content">
<h3 class="post-name"><a title="{$blog.title|escape:'htmlall':'UTF-8'}" href="{$blog.link|escape:'html':'UTF-8'}">{$blog.title|escape:'htmlall':'UTF-8'}</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 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,9 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<a href="{$link|escape:'htmlall':'UTF-8'}" class="{$hook_name|escape:'htmlall':'UTF-8'} link-top-blog"><i class="material-icons">&#xE254;</i><span class="hidden-sm-down">{$title|escape:'htmlall':'UTF-8'}</span></a>

View File

@@ -0,0 +1,29 @@
{*
* @Module Name: Leo Blog
* @Website: leotheme.com.com - prestashop template provider
* @author Leotheme <leotheme@gmail.com>
* @copyright Leotheme
* @description: Content Management
*}
<div id="search-blog" class="block">
<div class="block_content">
<form method="post" id="form-search-blog" action="{Context::getContext()->link->getModuleLink('leoblog', 'search', array())|escape:'htmlall':'UTF-8'}">
<input class=" form-control " type="text" id="search_blog" name="search_blog" placeholder="{l s='Search...' mod='leoblog'}">
<button type="submit" id="search_blog_button" class="btn btn-default button button-small"><i class="material-icons"></i></button>
</form>
<div id="blog-nav">
<ul>
<li>
<a href="{Context::getContext()->link->getModuleLink('leoblog', 'search', array())|escape:'htmlall':'UTF-8'}?search_blog=Best_articles"><span class="sidebar-text">{l s='Best articles' mod='leoblog'}</span></a>
</li>
<li>
<a href="{Context::getContext()->link->getModuleLink('leoblog', 'search', array())|escape:'htmlall':'UTF-8'}?search_blog=Latest_articles"><span class="sidebar-text">{l s='Latest articles' mod='leoblog'}</span></a>
</li>
<li>
<a href="{Context::getContext()->link->getModuleLink('leoblog', 'search', array())|escape:'htmlall':'UTF-8'}?search_blog=Articles_favorite"><span class="sidebar-text">{l s='Articles favorite' mod='leoblog'}</span></a>
</li>
</ul>
</div>
</div>
</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;