first commit

This commit is contained in:
2025-01-06 20:47:25 +01:00
commit 3bdbd78c2f
25591 changed files with 3586440 additions and 0 deletions

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,198 @@
{*
* @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>
{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>
{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,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;