first commit

This commit is contained in:
2024-10-28 22:14:22 +01:00
commit b65352c452
40581 changed files with 5712079 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
{*
* 2018 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2018 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = '{$config->get('item_diquis_account','demo4antheme')|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.' d='Shop.Theme.Global'} <a href="http://disqus.com/?ref_noscript">{l s='Comments powered by Disqus.' d='Shop.Theme.Global'}.</a></noscript>

View File

@@ -0,0 +1,39 @@
{*
* 2018 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2018 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<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('item_facebook_width',600)|escape:'html':'UTF-8'}">
</div>

View File

@@ -0,0 +1,124 @@
{*
* 2018 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2018 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<article class="blog-item">
<div class="blog-image-container">
<a href="{$blog.link|escape:'html':'UTF-8'}" title="{$blog.title|escape:'html':'UTF-8'}">
{if $blog.preview_url && $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>
{elseif $blog.thumb_url && $config->get('listing_show_image',1)}
<div class="blog-image">
<img src="{$blog.thumb_url|escape:'html':'UTF-8'}" title="{$blog.title|escape:'html':'UTF-8'}" alt="" class="img-fluid" />
</div>
{/if}
</a>
<div class="blog-meta">
{if $config->get('listing_show_author','1')&&!empty($blog.author)}
<span class="blog-author">
<span>{l s='Posted By' d='Shop.Theme.Global'}:</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">
<span>{l s='In' d='Shop.Theme.Global'}:</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">
<span>{l s='On' d='Shop.Theme.Global'}: </span>
<time class="date" datetime="{strtotime($blog.date_add)|date_format:"%Y"|escape:'html':'UTF-8'}">
{assign var='blog_month' value=strtotime($blog.date_add)|date_format:"%B"}
{l s=$blog_month d='Shop.Theme.Global'}, <!-- month-->
{assign var='blog_day' value=strtotime($blog.date_add)|date_format:"%e"}
{l s=$blog_day d='Shop.Theme.Global'}, <!-- day of month -->
{assign var='blog_year' value=strtotime($blog.date_add)|date_format:"%Y"}
{l s=$blog_year d='Shop.Theme.Global'} <!-- year -->
</time>
</span>
{/if}
{if isset($blog.comment_count)&&$config->get('listing_show_counter','1')}
<span class="blog-ctncomment">
<span>{l s='Comments' d='Shop.Theme.Global'}:</span>
{$blog.comment_count|intval}
</span>
{/if}
{if $config->get('listing_show_hit','1')}
<span class="blog-hit">
<span>{l s='Views' d='Shop.Theme.Global'}:</span>
{$blog.hits|intval}
</span>
{/if}
</div>
{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>
<!--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">{l s='Read more' d='Shop.Theme.Global'}</a>
</p>
{/if}
</div -->
<div class="hidden-xl-down hidden-xl-up datetime-translate">
{l s='Sunday' d='Shop.Theme.Global'}
{l s='Monday' d='Shop.Theme.Global'}
{l s='Tuesday' d='Shop.Theme.Global'}
{l s='Wednesday' d='Shop.Theme.Global'}
{l s='Thursday' d='Shop.Theme.Global'}
{l s='Friday' d='Shop.Theme.Global'}
{l s='Saturday' d='Shop.Theme.Global'}
{l s='January' d='Shop.Theme.Global'}
{l s='February' d='Shop.Theme.Global'}
{l s='March' d='Shop.Theme.Global'}
{l s='April' d='Shop.Theme.Global'}
{l s='May' d='Shop.Theme.Global'}
{l s='June' d='Shop.Theme.Global'}
{l s='July' d='Shop.Theme.Global'}
{l s='August' d='Shop.Theme.Global'}
{l s='September' d='Shop.Theme.Global'}
{l s='October' d='Shop.Theme.Global'}
{l s='November' d='Shop.Theme.Global'}
{l s='December' d='Shop.Theme.Global'}
</div>
</article>

View File

@@ -0,0 +1,105 @@
{*
* 2018 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2018 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div id="blog-localengine">
{if $comments}
{if $config->get('item_show_listcomment','1') == 1}
<h4 class="comment-list-title">{l s='Comments' d='Shop.Theme.Global'}</h4>
<div class="comments clearfix">
<div class="comments-list">
{foreach from=$comments item=comment name=comment} {$default=''}
<div class="comment-item" id="comment{$comment.id_anblog_comment|escape:'html':'UTF-8'}">
<div class="comment-wrap">
<div class="comment-content">
{$comment.comment|nl2br nofilter}{* HTML form , no escape necessary *}
</div>
<div class="comment-meta">
<span class="comment-infor">
<span class="comment-created">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="14px" height="14px">
<path fill-rule="evenodd" fill="rgb(198, 198, 198)"
d="M7.123,0.500 C8.917,0.500 10.541,1.230 11.721,2.403 C12.895,3.583 13.625,5.206 13.625,7.000 C13.625,8.794 12.895,10.417 11.721,11.597 C10.541,12.771 8.917,13.500 7.123,13.500 C5.328,13.500 3.704,12.771 2.530,11.597 C1.350,10.417 0.625,8.794 0.625,7.000 C0.625,5.206 1.350,3.583 2.529,2.403 C3.704,1.230 5.328,0.500 7.123,0.500 L7.123,0.500 ZM10.437,6.645 C10.631,6.645 10.786,6.805 10.786,7.000 C10.786,7.195 10.631,7.355 10.437,7.355 L7.133,7.355 L7.123,7.355 C6.993,7.355 6.878,7.280 6.818,7.175 L6.813,7.170 L6.813,7.170 L6.808,7.160 L6.808,7.160 L6.808,7.155 L6.808,7.155 L6.803,7.145 L6.803,7.145 L6.798,7.135 L6.798,7.135 L6.798,7.130 L6.798,7.130 L6.793,7.119 L6.793,7.119 L6.788,7.115 L6.788,7.115 L6.788,7.104 L6.788,7.104 L6.783,7.095 L6.783,7.095 L6.783,7.089 L6.783,7.089 L6.777,7.079 L6.777,7.079 L6.777,7.069 L6.777,7.069 L6.777,7.064 L6.777,7.059 L6.772,7.054 L6.772,7.054 L6.772,7.044 L6.772,7.044 L6.772,7.034 L6.772,7.034 L6.772,7.025 L6.772,7.025 L6.772,7.020 L6.772,7.020 L6.772,7.010 L6.772,7.010 L6.772,7.000 L6.772,7.000 L6.772,2.768 C6.772,2.573 6.927,2.419 7.122,2.419 C7.317,2.419 7.477,2.573 7.477,2.768 L7.477,6.645 L10.437,6.645 ZM11.221,2.903 C10.171,1.854 8.722,1.210 7.123,1.210 C5.523,1.210 4.074,1.854 3.024,2.903 C1.980,3.952 1.330,5.401 1.330,7.000 C1.330,8.599 1.980,10.047 3.024,11.097 C4.074,12.146 5.523,12.791 7.123,12.791 C8.722,12.791 10.171,12.146 11.221,11.097 C12.270,10.048 12.920,8.599 12.920,7.000 C12.920,5.401 12.271,3.952 11.221,2.903 L11.221,2.903 Z"/>
</svg>
<span>{l s='Created On' d='Shop.Theme.Global'} {strtotime($comment.date_add)|date_format:"%A, %e/%m/%Y"|escape:'html':'UTF-8'}</span>
</span>
<span class="comment-postedby"><i class="material-icons">person</i><span>{l s='Posted By' d='Shop.Theme.Global'}: {$comment.user|escape:'html':'UTF-8'}</span></span>
</span>
</div>
</div>
</div>
{/foreach}
</div>
{if $blog_count_comment}
<div class="top-pagination-content clearfix bottom-line">
{include file="module:anblog/views/templates/front/_pagination.tpl"}
</div>
{/if}
</div>
{/if}
{/if}
{if $config->get('item_show_formcomment','1') == 1}
<h4>{l s='Leave a comment' d='Shop.Theme.Global'}</h4>
<form class="form-horizontal clearfix" method="post" id="comment-form" action="{$blog_link|escape:'html':'UTF-8'}" onsubmit="return false;">
<div class="row">
<div class="form-group col-md-4">
<input type="text" name="user" placeholder="{l s='Name' d='Shop.Theme.Global'}" id="inputFullName" class="form-control">
</div>
<div class="form-group col-md-4">
<input type="text" name="email" placeholder="{l s='Email' d='Shop.Theme.Global'}" id="inputEmail" class="form-control">
</div>
<div class="form-group col-md-12">
<textarea type="text" name="comment" rows="8" placeholder="{l s='Your comment' d='Shop.Theme.Global'}" id="inputComment" class="form-control"></textarea>
<div class="blog-comment-note">{l s='Please note, comments must be approved before they are published' d='Shop.Theme.Global'}</div>
</div>
{if $config->get('google_captcha_status')}
<div class="form-group col-md-12">
<div class="ipts-captcha">
<div class="g-recaptcha" data-sitekey="{$config->get('google_captcha_site_key')}"></div>
</div>
</div>
{/if}
<input type="hidden" name="id_anblog_blog" value="{$id_anblog_blog|intval}">
<div class="form-group col-md-12">
<button class="btn btn-primary btn-submit-comment-wrapper" name="submitcomment" type="submit">
<span class="btn-submit-comment">{l s='Post comment' d='Shop.Theme.Global'}</span>
<span class="anblog-cssload-container cssload-speeding-wheel"></span>
</button>
</div>
</div>
</form>
{/if}
</div>

View File

@@ -0,0 +1,109 @@
{*
* 2018 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2018 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{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">
{if $start!=$stop}
<div id="pagination{if isset($paginationId)}_{$paginationId|escape:'html':'UTF-8'}{/if}" class="col-xs-12 col-md-12 col-lg-12">
<ul class="page-list clearfix text-sm-center">
{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"><span>...</span></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}
</ul>
</div>
{/if}
</nav>
{/if}

View File

@@ -0,0 +1,70 @@
{*
* 2018 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2018 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<div class="social-wrap">
<div class="social-heading">{l s='Like This' d='Shop.Theme.Global'}</div>
{if $config->get('social_code','')}
{html_entity_decode($config->get('social_code','')) nofilter}
{else}
<div class="blog-social-list">
<!-- Facebook Button -->
<div class="itemSocialButton itemFacebookButton">
<a href="http://www.facebook.com/sharer.php?u={$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}" class="facebook-share-button" data-count="horizontal" >
{l s='Facebook' d='Shop.Theme.Global'}
</a>
</div>
<!-- Twitter Button -->
<div class="itemSocialButton itemTwitterButton">
<a href="https://twitter.com/intent/tweet?text={$blog->meta_title|escape:'html':'UTF-8'} {$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}" class="twitter-share-button" data-count="horizontal" >
{l s='Twitter' d='Shop.Theme.Global'}
</a>
</div>
<!-- Pinterest Button -->
<div class="itemSocialButton itemPinterestButton">
<a href="http://www.pinterest.com/pin/create/button/?media={if $blog->preview_url && $config->get('item_show_image','1')}{$smarty.server.HTTP_HOST}{$blog->preview_url|escape:'html':'UTF-8'}{/if}&url={$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}" class="pinterest-share-button" data-count="horizontal" >
{l s='Pinterest' d='Shop.Theme.Global'}
</a>
</div>
<!-- Linkedin Button -->
<div class="itemSocialButton itemLinkedinButton">
<a href="https://www.linkedin.com/shareArticle?mini=true&url={$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}&title={$blog->meta_title|escape:'html':'UTF-8'}&source=LinkedIn" class="linkedin-share-button" data-count="horizontal" >
{l s='LinkedIn' d='Shop.Theme.Global'}
</a>
</div>
<!-- Tumblr Button -->
<div class="itemSocialButton itemTumblrButton">
<a href="http://www.tumblr.com/share/link?url={$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}" class="tumblr-share-button" data-count="horizontal" >
{l s='Tumblr' d='Shop.Theme.Global'}
</a>
</div>
{/if}
</div>
</div>

View File

@@ -0,0 +1,219 @@
{*
* 2018 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2018 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file="page.tpl"}
{if isset($smarty.get.view)}
{if $smarty.get.view != 'nocolumn'}
{block name="left_column"}
{if $config->get('show_in_blog')}
<div class="row">
<div id="left-column" class="col-xs-12 col-sm-4 col-md-3">
<div class="anblog_left_mobile-cover"></div>
<div class="anblog_left_mobile-modal">
<div id="anblog_left_wrapper">
<div class="mobile-menu-header">
<div class="anblog_left_mobile-btn-close">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="16px" height="16px">
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
d="M16.002,0.726 L15.274,-0.002 L8.000,7.273 L0.725,-0.002 L-0.002,0.726 L7.273,8.000 L-0.002,15.274 L0.725,16.002 L8.000,8.727 L15.274,16.002 L16.002,15.274 L8.727,8.000 L16.002,0.726 Z"/>
</svg>
</div>
</div>
{Module::getInstanceByName('anblog')->hookDisplayLeftColumn(array()) nofilter}
</div>
</div>
</div>
{/if}
{/block}
{/if}
{else}
{block name="left_column"}
{if $config->get('show_in_blog')}
<div class="row">
<div id="left-column" class="col-xs-12 col-sm-4 col-md-3">
<div class="anblog_left_mobile-cover"></div>
<div class="anblog_left_mobile-modal">
<div id="anblog_left_wrapper">
<div class="mobile-menu-header">
<div class="anblog_left_mobile-btn-close">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="16px" height="16px">
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
d="M16.002,0.726 L15.274,-0.002 L8.000,7.273 L0.725,-0.002 L-0.002,0.726 L7.273,8.000 L-0.002,15.274 L0.725,16.002 L8.000,8.727 L15.274,16.002 L16.002,15.274 L8.727,8.000 L16.002,0.726 Z"/>
</svg>
</div>
</div>
{Module::getInstanceByName('anblog')->hookDisplayLeftColumn(array()) nofilter}
</div>
</div>
</div>
{/if}
{/block}
{/if}
{block name="content_wrapper"}
{if !$config->get('show_in_blog')}
<div class="row">
{/if}
<div id="content-wrapper" class="left-column right-column
{if isset($smarty.get.view) and $smarty.get.view == 'nocolumn'}
col-sm-12 col-md-12
{else}
{if $config->get('show_in_blog')}col-sm-12 col-md-9{else}col-sm-12 col-md-12{/if}
{/if}
">
{if $config->get('show_in_blog')}
<div class="hidden-md-up">
<button id="anblog_left_toggler" class="btn btn-secondary">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="16px" height="4px">
<image x="0px" y="0px" width="16px" height="4px" xlink:href="data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAECAMAAACwak/eAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAS1BMVEUAAAAmIyQmIyQmIyQmIyQmJCUmIyQmJCQmIyQmJCQmIyQmJCQmIyQlIyQmJCUmIyQmJCUmJCQmJCUlIyQmIyQmJCQmJCUlIyT///8VIQx0AAAAFHRSTlMAX/PXIT7oPu+SwcGSktc+6NfzX4D2ZO4AAAABYktHRBibaYUeAAAAB3RJTUUH4wsSETMJQZd5WgAAAD9JREFUCNcVy8ERgCAMAMFLwIiIggrYf6fG784soiHCYrZCDCqk3jfIY+5QxpscZnHoM8Pxg+jppVqrXq77+QA/HgImmGTStAAAAABJRU5ErkJggg==" />
</svg>
{l s='Show sidebar' d='Shop.Theme.Global'}
</button>
</div>
{/if}
{if !$config->get('show_in_blog')}
<h1 class="h2 blog-pagetitle">{l s='Blog' d='Shop.Theme.Global'}</h1>
{/if}
{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($filter.type)}
{if $filter.type=='tag'}
<h1>{l s='Filter Blogs By Tag' d='Shop.Theme.Global'} : <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' d='Shop.Theme.Global'} : <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' d='Shop.Theme.Global'} : <span>{$filter.author_name|escape:'html':'UTF-8'}</span></h1>
{/if}
{/if}
{/if}
{************************************************}
{if isset($category) && $category->id_anblogcat && $category->active}
{if $config->get('listing_show_categoryinfo',1)}
<h1 class="h2">{$category->title|escape:'html':'UTF-8'}</h1>
<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}
{************************************************}
{if $config->get('show_in_blog')}
{if isset($smarty.get.view) and $smarty.get.view == 'nocolumn'}
<div class="row">
{/if}
<h1 class="h2 blog-pagetitle">{l s='Blog' d='Shop.Theme.Global'}</h1>
{/if}
{if count($leading_blogs)>0}
<div class="row blog-item-list">
{foreach from=$leading_blogs item=blog name=leading_blog}
{if isset($smarty.get.view) and $smarty.get.view != 'nocolumn'}
{if $smarty.get.view == 'type1'}
<div class="col-sm-12">
{include file="module:anblog/views/templates/front/miniature-post-type1.tpl"}
</div>
{elseif $smarty.get.view == 'type2'}
<div class="{if $config->get('show_in_blog')}col-sm-6{else}col-sm-4{/if}">
{include file="module:anblog/views/templates/front/miniature-post-type2.tpl"}
</div>
{elseif $smarty.get.view == 'type3'}
<div class="col-sm-12">
{include file="module:anblog/views/templates/front/miniature-post-type3.tpl"}
</div>
{/if}
{else}
{if $config->get('item_posts_type') == 'Type 1'}
<div class="col-sm-12">
{include file="module:anblog/views/templates/front/miniature-post-type1.tpl"}
</div>
{elseif $config->get('item_posts_type') == 'Type 2'}
<div class="
{if isset($smarty.get.view) and $smarty.get.view == 'nocolumn'}
col-sm-4
{else}
{if $config->get('show_in_blog')}col-sm-6{else}col-sm-6{/if}
{/if}
">
{include file="module:anblog/views/templates/front/miniature-post-type2.tpl"}
</div>
{else}
<div class="col-sm-12">
{include file="module:anblog/views/templates/front/miniature-post-type3.tpl"}
</div>
{/if}
{/if}
{/foreach}
</div>
<div class="top-pagination-content clearfix bottom-line">
{include file="module:anblog/views/templates/front/_pagination.tpl"}
</div>
{else}
<div class="alert alert-warning">{l s='Sorry, no posts has been posted in the blog yet, but it will be done soon.' d='Shop.Theme.Global'}</div>
{/if}
</div>
</div>
</div>
{/block}

View File

@@ -0,0 +1,70 @@
{*
* 2018 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2018 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{function name=printList}
<ul {if $parent != 1}id="sub_{$parent|escape:'htmlall'}"{/if} class="level{$level|escape:'htmlall'} category-sub-menu{if $level == 1} tree dhtml {else} collapse {/if}">
{foreach $items as $item}
<li id="list_{$item['id_anblogcat']|escape:'htmlall'}" class=" {if isset($item['menu_class'])} {$item['menu_class']}{/if} {if $item['id_anblogcat'] == $selected}selected{/if}">
<a href="{$item['category_link']|escape:'htmlall'}" class="category-sub-link" title="{$item['title']|escape:'htmlall'}">
{if ($item['icon_class'])}
<i class="fa fa-{$item['icon_class']}"></i>
{/if}
<span>{$item['title']|escape:'htmlall'}</span>
</a>
{if isset($item['children'])}
<div class="navbar-toggler collapse-icons"
data-toggle="collapse" data-target="#sub_{$item['id_anblogcat']|escape:'htmlall'}">
<i class="material-icons add">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="9px" height="6px">
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
d="M4.566,5.375 L0.551,0.375 L8.580,0.375 L4.566,5.375 Z"/>
</svg>
</i>
<i class="material-icons remove" style="transform: rotate(180deg)">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="9px" height="6px">
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
d="M4.566,5.375 L0.551,0.375 L8.580,0.375 L4.566,5.375 Z"/>
</svg>
</i>
</div>
{assign var=level value=$level+1}
{call name=printList level=$level parent=$item['id_anblogcat'] items=$item['children']}
{else}
{assign var=level value=$level-1}
{/if}
</li>
{/foreach}
</ul>
{/function}
{call name=printList level=1 parent=1 items=$tree}

View File

@@ -0,0 +1,61 @@
{*
* 2018 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2018 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<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' d='Shop.Theme.Global'}</label>
<div class="col-lg-9">
<input type="text" name="fullname" placeholder="{l s='Enter your full name' d='Shop.Theme.Global'}" id="inputFullName" class="form-control">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label" for="inputEmail">{l s='Email' d='Shop.Theme.Global'}</label>
<div class="col-lg-9">
<input type="text" name="email" placeholder="{l s='Enter your email' d='Shop.Theme.Global'}" id="inputEmail" class="form-control">
</div>
</div>
<div class="form-group">
<label class="col-lg-3 control-label" for="inputComment">{l s='Comments' d='Shop.Theme.Global'}</label>
<div class="col-lg-9">
<textarea type="text" name="comment" rows="6" placeholder="{l s='Enter your comment' d='Shop.Theme.Global'}" id="inputComment" class="form-control"></textarea>
</div>
</div>
<div class="g-recaptcha" data-sitekey="{$config->get('google_captha_site_key')}"></div>
<input type="hidden" name="id_anblog_blog" value="{$id_anblog_blog|intval}">
<div class="form-group">
<div class="col-lg-9 col-lg-offset-3">
<button class="btn btn-default btn-submit-comment-wrapper" name="submitcomment" type="submit">
<span class="btn-submit-comment">{l s='Submit' d='Shop.Theme.Global'}</span>
<span class="anblog-cssload-container cssload-speeding-wheel"></span>
</button>
</div>
</div>
</form>
</div>

View File

@@ -0,0 +1,88 @@
{*
* 2018 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2018 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<article class="blog-item">
<div class="blog-image-container">
{if $blog.preview_url && $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 Module::getInstanceByName('an_theme')->getParam('product_lazyLoad')}
src="{$urls.base_url}/modules/an_theme/views/img/loading.svg" data-src="{$blog.preview_url|escape:'html':'UTF-8'}"
{else}
src="{$blog.preview_url|escape:'html':'UTF-8'}"
{/if}
title="{$blog.title|escape:'html':'UTF-8'}" width="{$anblog_imageTypes.anblog_listing_leading_img.width}" height="{$anblog_imageTypes.anblog_listing_leading_img.height}" alt="{$blog.title|escape:'html':'UTF-8'}" class="{if Module::getInstanceByName('an_theme')->getParam('product_lazyLoad')}b-lazy{/if} img-fluid" />
</a>
</div>
{elseif $blog.thumb_url && $config->get('listing_show_image',1)}
<div class="blog-image">
<img src="{$blog.thumb_url|escape:'html':'UTF-8'}" title="{$blog.title|escape:'html':'UTF-8'}" alt="" class="img-fluid" />
</div>
{/if}
<h3 class="title">
<a href="{$blog.link|escape:'html':'UTF-8'}" title="{$blog.title|escape:'html':'UTF-8'}">{$blog.title|escape:'html':'UTF-8'}</a>
</h3>
<div class="blog-meta">
<span class="blog-created">
<time class="date" datetime="{strtotime($blog.date_add)|date_format:"%Y"|escape:'html':'UTF-8'}">
{assign var='blog_day' value=strtotime($blog.date_add)|date_format:"%e"}{l s='On:' d='Shop.Theme.Global'} {assign var='blog_month' value=strtotime($blog.date_add)|date_format:"%B"}{l s=$blog_month d='Shop.Theme.Global'}, {l s=$blog_day d='Shop.Theme.Global'}, {assign var='blog_year' value=strtotime($blog.date_add)|date_format:"%Y"}{l s=$blog_year d='Shop.Theme.Global'}
</time>
</span>
</div>
</div>
<div class="hidden-xl-down hidden-xl-up datetime-translate">
{l s='Sunday' d='Shop.Theme.Global'}
{l s='Monday' d='Shop.Theme.Global'}
{l s='Tuesday' d='Shop.Theme.Global'}
{l s='Wednesday' d='Shop.Theme.Global'}
{l s='Thursday' d='Shop.Theme.Global'}
{l s='Friday' d='Shop.Theme.Global'}
{l s='Saturday' d='Shop.Theme.Global'}
{l s='January' d='Shop.Theme.Global'}
{l s='February' d='Shop.Theme.Global'}
{l s='March' d='Shop.Theme.Global'}
{l s='April' d='Shop.Theme.Global'}
{l s='May' d='Shop.Theme.Global'}
{l s='June' d='Shop.Theme.Global'}
{l s='July' d='Shop.Theme.Global'}
{l s='August' d='Shop.Theme.Global'}
{l s='September' d='Shop.Theme.Global'}
{l s='October' d='Shop.Theme.Global'}
{l s='November' d='Shop.Theme.Global'}
{l s='December' d='Shop.Theme.Global'}
</div>
</article>

View File

@@ -0,0 +1,102 @@
{*
* 2018 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2018 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<article class="blog-item blog-item-type-1">
<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_hit','1')}
<span class="blog-hit">
<i class="material-icons">visibility</i> <span> {$blog.hits|intval} {l s='Views' d='Shop.Theme.Global'}</span>
</span>
{/if}
{if $config->get('listing_show_created','1')}
<span class="blog-created">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="14px" height="14px">
<path fill-rule="evenodd" fill="rgb(198, 198, 198)"
d="M7.123,0.500 C8.917,0.500 10.541,1.230 11.721,2.403 C12.895,3.583 13.625,5.206 13.625,7.000 C13.625,8.794 12.895,10.417 11.721,11.597 C10.541,12.771 8.917,13.500 7.123,13.500 C5.328,13.500 3.704,12.771 2.530,11.597 C1.350,10.417 0.625,8.794 0.625,7.000 C0.625,5.206 1.350,3.583 2.529,2.403 C3.704,1.230 5.328,0.500 7.123,0.500 L7.123,0.500 ZM10.437,6.645 C10.631,6.645 10.786,6.805 10.786,7.000 C10.786,7.195 10.631,7.355 10.437,7.355 L7.133,7.355 L7.123,7.355 C6.993,7.355 6.878,7.280 6.818,7.175 L6.813,7.170 L6.813,7.170 L6.808,7.160 L6.808,7.160 L6.808,7.155 L6.808,7.155 L6.803,7.145 L6.803,7.145 L6.798,7.135 L6.798,7.135 L6.798,7.130 L6.798,7.130 L6.793,7.119 L6.793,7.119 L6.788,7.115 L6.788,7.115 L6.788,7.104 L6.788,7.104 L6.783,7.095 L6.783,7.095 L6.783,7.089 L6.783,7.089 L6.777,7.079 L6.777,7.079 L6.777,7.069 L6.777,7.069 L6.777,7.064 L6.777,7.059 L6.772,7.054 L6.772,7.054 L6.772,7.044 L6.772,7.044 L6.772,7.034 L6.772,7.034 L6.772,7.025 L6.772,7.025 L6.772,7.020 L6.772,7.020 L6.772,7.010 L6.772,7.010 L6.772,7.000 L6.772,7.000 L6.772,2.768 C6.772,2.573 6.927,2.419 7.122,2.419 C7.317,2.419 7.477,2.573 7.477,2.768 L7.477,6.645 L10.437,6.645 ZM11.221,2.903 C10.171,1.854 8.722,1.210 7.123,1.210 C5.523,1.210 4.074,1.854 3.024,2.903 C1.980,3.952 1.330,5.401 1.330,7.000 C1.330,8.599 1.980,10.047 3.024,11.097 C4.074,12.146 5.523,12.791 7.123,12.791 C8.722,12.791 10.171,12.146 11.221,11.097 C12.270,10.048 12.920,8.599 12.920,7.000 C12.920,5.401 12.271,3.952 11.221,2.903 L11.221,2.903 Z"/>
</svg>
<time class="date" datetime="{strtotime($blog.date_add)|date_format:"%Y"|escape:'html':'UTF-8'}">
{assign var='blog_day' value=strtotime($blog.date_add)|date_format:"%e"}{l s=$blog_day d='Shop.Theme.Global'}/{assign var='blog_month' value=strtotime($blog.date_add)|date_format:"%m"}{l s=$blog_month d='Shop.Theme.Global'}/{assign var='blog_year' value=strtotime($blog.date_add)|date_format:"%Y"}{l s=$blog_year d='Shop.Theme.Global'}
</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> {$blog.comment_count|intval} {l s='comments' d='Shop.Theme.Global'}</span>
</span>
{/if}
{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' d='Shop.Theme.Global'}:</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' d='Shop.Theme.Global'}:</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}
</div>
{if $blog.preview_url && $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 src="{$blog.preview_url|escape:'html':'UTF-8'}" title="{$blog.title|escape:'html':'UTF-8'}" alt="" class="img-fluid" /></a>
</div>
{elseif $blog.thumb_url && $config->get('listing_show_image',1)}
<div class="blog-image">
<img src="{$blog.thumb_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">{l s='Read more' d='Shop.Theme.Global'}</a>
</p>
{/if}
</div>
</article>

View File

@@ -0,0 +1,106 @@
{*
* 2018 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2018 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<article class="blog-item blog-item-type-2">
<div class="blog-image-container">
{if $blog.preview_url && $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 src="{$blog.preview_url|escape:'html':'UTF-8'}" title="{$blog.title|escape:'html':'UTF-8'}" alt="" class="img-fluid" />
</a>
</div>
{elseif $blog.thumb_url && $config->get('listing_show_image',1)}
<div class="blog-image">
<img src="{$blog.thumb_url|escape:'html':'UTF-8'}" title="{$blog.title|escape:'html':'UTF-8'}" alt="" class="img-fluid" />
</div>
{/if}
{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_hit','1')}
<span class="blog-hit">
<i class="material-icons">visibility</i> <span> {$blog.hits|intval} {l s='Views' d='Shop.Theme.Global'}</span>
</span>
{/if}
{if $config->get('listing_show_created','1')}
<span class="blog-created">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="14px" height="14px">
<path fill-rule="evenodd" fill="rgb(198, 198, 198)"
d="M7.123,0.500 C8.917,0.500 10.541,1.230 11.721,2.403 C12.895,3.583 13.625,5.206 13.625,7.000 C13.625,8.794 12.895,10.417 11.721,11.597 C10.541,12.771 8.917,13.500 7.123,13.500 C5.328,13.500 3.704,12.771 2.530,11.597 C1.350,10.417 0.625,8.794 0.625,7.000 C0.625,5.206 1.350,3.583 2.529,2.403 C3.704,1.230 5.328,0.500 7.123,0.500 L7.123,0.500 ZM10.437,6.645 C10.631,6.645 10.786,6.805 10.786,7.000 C10.786,7.195 10.631,7.355 10.437,7.355 L7.133,7.355 L7.123,7.355 C6.993,7.355 6.878,7.280 6.818,7.175 L6.813,7.170 L6.813,7.170 L6.808,7.160 L6.808,7.160 L6.808,7.155 L6.808,7.155 L6.803,7.145 L6.803,7.145 L6.798,7.135 L6.798,7.135 L6.798,7.130 L6.798,7.130 L6.793,7.119 L6.793,7.119 L6.788,7.115 L6.788,7.115 L6.788,7.104 L6.788,7.104 L6.783,7.095 L6.783,7.095 L6.783,7.089 L6.783,7.089 L6.777,7.079 L6.777,7.079 L6.777,7.069 L6.777,7.069 L6.777,7.064 L6.777,7.059 L6.772,7.054 L6.772,7.054 L6.772,7.044 L6.772,7.044 L6.772,7.034 L6.772,7.034 L6.772,7.025 L6.772,7.025 L6.772,7.020 L6.772,7.020 L6.772,7.010 L6.772,7.010 L6.772,7.000 L6.772,7.000 L6.772,2.768 C6.772,2.573 6.927,2.419 7.122,2.419 C7.317,2.419 7.477,2.573 7.477,2.768 L7.477,6.645 L10.437,6.645 ZM11.221,2.903 C10.171,1.854 8.722,1.210 7.123,1.210 C5.523,1.210 4.074,1.854 3.024,2.903 C1.980,3.952 1.330,5.401 1.330,7.000 C1.330,8.599 1.980,10.047 3.024,11.097 C4.074,12.146 5.523,12.791 7.123,12.791 C8.722,12.791 10.171,12.146 11.221,11.097 C12.270,10.048 12.920,8.599 12.920,7.000 C12.920,5.401 12.271,3.952 11.221,2.903 L11.221,2.903 Z"/>
</svg>
<time class="date" datetime="{strtotime($blog.date_add)|date_format:"%Y"|escape:'html':'UTF-8'}">
{assign var='blog_day' value=strtotime($blog.date_add)|date_format:"%e"}{l s=$blog_day d='Shop.Theme.Global'}/{assign var='blog_month' value=strtotime($blog.date_add)|date_format:"%m"}{l s=$blog_month d='Shop.Theme.Global'}/{assign var='blog_year' value=strtotime($blog.date_add)|date_format:"%Y"}{l s=$blog_year d='Shop.Theme.Global'}
</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> {$blog.comment_count|intval} {l s='comments' d='Shop.Theme.Global'}</span>
</span>
{/if}
{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' d='Shop.Theme.Global'}:</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' d='Shop.Theme.Global'}:</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}
</div>
</div>
<div class="blog-info">
{if $config->get('listing_show_description','1')}
<div class="blog-shortinfo">
{$blog.description|strip_tags:'UTF-8'|truncate:90:'...' 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' d='Shop.Theme.Global'}</a>
</p>
{/if}
</div>
</article>

View File

@@ -0,0 +1,103 @@
{*
* 2018 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2018 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<article class="blog-item blog-item-type-3">
<div class="row">
<div class="blog-image-container col-md-6">
{if $blog.preview_url && $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 src="{$blog.preview_url|escape:'html':'UTF-8'}" title="{$blog.title|escape:'html':'UTF-8'}" alt="" class="img-fluid" /></a>
</div>
{elseif $blog.thumb_url && $config->get('listing_show_image',1)}
<div class="blog-image">
<img src="{$blog.thumb_url|escape:'html':'UTF-8'}" title="{$blog.title|escape:'html':'UTF-8'}" alt="" class="img-fluid" />
</div>
{/if}
</div>
<div class="blog-info col-md-6">
{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_hit','1')}
<span class="blog-hit">
<i class="material-icons">visibility</i> <span> {$blog.hits|intval} {l s='Views' d='Shop.Theme.Global'}</span>
</span>
{/if}
{if $config->get('listing_show_created','1')}
<span class="blog-created">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="14px" height="14px">
<path fill-rule="evenodd" fill="rgb(198, 198, 198)"
d="M7.123,0.500 C8.917,0.500 10.541,1.230 11.721,2.403 C12.895,3.583 13.625,5.206 13.625,7.000 C13.625,8.794 12.895,10.417 11.721,11.597 C10.541,12.771 8.917,13.500 7.123,13.500 C5.328,13.500 3.704,12.771 2.530,11.597 C1.350,10.417 0.625,8.794 0.625,7.000 C0.625,5.206 1.350,3.583 2.529,2.403 C3.704,1.230 5.328,0.500 7.123,0.500 L7.123,0.500 ZM10.437,6.645 C10.631,6.645 10.786,6.805 10.786,7.000 C10.786,7.195 10.631,7.355 10.437,7.355 L7.133,7.355 L7.123,7.355 C6.993,7.355 6.878,7.280 6.818,7.175 L6.813,7.170 L6.813,7.170 L6.808,7.160 L6.808,7.160 L6.808,7.155 L6.808,7.155 L6.803,7.145 L6.803,7.145 L6.798,7.135 L6.798,7.135 L6.798,7.130 L6.798,7.130 L6.793,7.119 L6.793,7.119 L6.788,7.115 L6.788,7.115 L6.788,7.104 L6.788,7.104 L6.783,7.095 L6.783,7.095 L6.783,7.089 L6.783,7.089 L6.777,7.079 L6.777,7.079 L6.777,7.069 L6.777,7.069 L6.777,7.064 L6.777,7.059 L6.772,7.054 L6.772,7.054 L6.772,7.044 L6.772,7.044 L6.772,7.034 L6.772,7.034 L6.772,7.025 L6.772,7.025 L6.772,7.020 L6.772,7.020 L6.772,7.010 L6.772,7.010 L6.772,7.000 L6.772,7.000 L6.772,2.768 C6.772,2.573 6.927,2.419 7.122,2.419 C7.317,2.419 7.477,2.573 7.477,2.768 L7.477,6.645 L10.437,6.645 ZM11.221,2.903 C10.171,1.854 8.722,1.210 7.123,1.210 C5.523,1.210 4.074,1.854 3.024,2.903 C1.980,3.952 1.330,5.401 1.330,7.000 C1.330,8.599 1.980,10.047 3.024,11.097 C4.074,12.146 5.523,12.791 7.123,12.791 C8.722,12.791 10.171,12.146 11.221,11.097 C12.270,10.048 12.920,8.599 12.920,7.000 C12.920,5.401 12.271,3.952 11.221,2.903 L11.221,2.903 Z"/>
</svg>
<time class="date" datetime="{strtotime($blog.date_add)|date_format:"%Y"|escape:'html':'UTF-8'}">
{assign var='blog_day' value=strtotime($blog.date_add)|date_format:"%e"}{l s=$blog_day d='Shop.Theme.Global'}/{assign var='blog_month' value=strtotime($blog.date_add)|date_format:"%m"}{l s=$blog_month d='Shop.Theme.Global'}/{assign var='blog_year' value=strtotime($blog.date_add)|date_format:"%Y"}{l s=$blog_year d='Shop.Theme.Global'}
</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> {$blog.comment_count|intval} {l s='comments' d='Shop.Theme.Global'}</span>
</span>
{/if}
{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' d='Shop.Theme.Global'}:</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' d='Shop.Theme.Global'}:</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}
</div>
{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">{l s='Read more' d='Shop.Theme.Global'}</a>
</p>
{/if}
</div>
</div>
</article>

View File

@@ -0,0 +1,242 @@
{*
* 2018 Anvanto
*
* 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 Anvanto (anvantoco@gmail.com)
* @copyright 2018 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file="page.tpl"}
{block name='head' append}
<meta property="og:type" content="article">
<meta property="og:url" content="{$urls.current_url}">
<meta property="og:title" content="{$blog->meta_title|escape:'html':'UTF-8'}">
<meta property="og:site_name" content="{$shop.name}">
<meta property="og:description" content="{$blog->content|strip_tags:'UTF-8'|truncate:150:'...' nofilter}">
<meta property="og:image" content="{$urls.shop_domain_url}{$blog->preview_url|escape:'html':'UTF-8'}">
{/block}
{block name="left_column"}
{if $config->get('show_in_post')}
<div class="row">
<div id="left-column" class="col-xs-12 col-sm-4 col-md-3">
<div class="anblog_left_mobile-cover"></div>
<div class="anblog_left_mobile-modal">
<div id="anblog_left_wrapper">
<div class="mobile-menu-header">
<div class="anblog_left_mobile-btn-close">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="16px" height="16px">
<path fill-rule="evenodd" fill="rgb(0, 0, 0)"
d="M16.002,0.726 L15.274,-0.002 L8.000,7.273 L0.725,-0.002 L-0.002,0.726 L7.273,8.000 L-0.002,15.274 L0.725,16.002 L8.000,8.727 L15.274,16.002 L16.002,15.274 L8.727,8.000 L16.002,0.726 Z"/>
</svg>
</div>
</div>
{Module::getInstanceByName('anblog')->hookDisplayLeftColumn(array()) nofilter}
</div>
</div>
</div>
{/if}
{/block}
{block name="content_wrapper"}
{if !$config->get('show_in_post')}
<div class="row">
{/if}
<div id="content-wrapper" class="left-column right-column {if $config->get('show_in_post')}col-sm-12 col-md-9{else}col-sm-12 col-md-12{/if}">
{if $config->get('show_in_blog')}
<div class="hidden-md-up">
<button id="anblog_left_toggler" class="btn btn-secondary">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="16px" height="4px">
<image x="0px" y="0px" width="16px" height="4px" xlink:href="data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAECAMAAACwak/eAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAS1BMVEUAAAAmIyQmIyQmIyQmIyQmJCUmIyQmJCQmIyQmJCQmIyQmJCQmIyQlIyQmJCUmIyQmJCUmJCQmJCUlIyQmIyQmJCQmJCUlIyT///8VIQx0AAAAFHRSTlMAX/PXIT7oPu+SwcGSktc+6NfzX4D2ZO4AAAABYktHRBibaYUeAAAAB3RJTUUH4wsSETMJQZd5WgAAAD9JREFUCNcVy8ERgCAMAMFLwIiIggrYf6fG784soiHCYrZCDCqk3jfIY+5QxpscZnHoM8Pxg+jppVqrXq77+QA/HgImmGTStAAAAABJRU5ErkJggg==" />
</svg>
{l s='Show sidebar' d='Shop.Theme.Global'}
</button>
</div>
{/if}
<section id="main">
{if isset($error)}
<div id="blogpage">
<div class="blog-detail">
<div class="alert alert-warning">{l s='Sorry, no posts has been posted in the blog yet, but it will be done soon' d='Shop.Theme.Global'}</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>
<div class="blog-meta">
{if isset($blog->hits)&&$config->get('item_show_hit','1')}
<span class="blog-hit">
<i class="material-icons">visibility</i><span>{$blog->hits|intval} {l s='Views' d='Shop.Theme.Global'}</span>
</span>
{/if}
{if $config->get('item_show_created','1')}
<span class="blog-created">
<svg
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
width="14px" height="14px">
<path fill-rule="evenodd" fill="rgb(198, 198, 198)"
d="M7.123,0.500 C8.917,0.500 10.541,1.230 11.721,2.403 C12.895,3.583 13.625,5.206 13.625,7.000 C13.625,8.794 12.895,10.417 11.721,11.597 C10.541,12.771 8.917,13.500 7.123,13.500 C5.328,13.500 3.704,12.771 2.530,11.597 C1.350,10.417 0.625,8.794 0.625,7.000 C0.625,5.206 1.350,3.583 2.529,2.403 C3.704,1.230 5.328,0.500 7.123,0.500 L7.123,0.500 ZM10.437,6.645 C10.631,6.645 10.786,6.805 10.786,7.000 C10.786,7.195 10.631,7.355 10.437,7.355 L7.133,7.355 L7.123,7.355 C6.993,7.355 6.878,7.280 6.818,7.175 L6.813,7.170 L6.813,7.170 L6.808,7.160 L6.808,7.160 L6.808,7.155 L6.808,7.155 L6.803,7.145 L6.803,7.145 L6.798,7.135 L6.798,7.135 L6.798,7.130 L6.798,7.130 L6.793,7.119 L6.793,7.119 L6.788,7.115 L6.788,7.115 L6.788,7.104 L6.788,7.104 L6.783,7.095 L6.783,7.095 L6.783,7.089 L6.783,7.089 L6.777,7.079 L6.777,7.079 L6.777,7.069 L6.777,7.069 L6.777,7.064 L6.777,7.059 L6.772,7.054 L6.772,7.054 L6.772,7.044 L6.772,7.044 L6.772,7.034 L6.772,7.034 L6.772,7.025 L6.772,7.025 L6.772,7.020 L6.772,7.020 L6.772,7.010 L6.772,7.010 L6.772,7.000 L6.772,7.000 L6.772,2.768 C6.772,2.573 6.927,2.419 7.122,2.419 C7.317,2.419 7.477,2.573 7.477,2.768 L7.477,6.645 L10.437,6.645 ZM11.221,2.903 C10.171,1.854 8.722,1.210 7.123,1.210 C5.523,1.210 4.074,1.854 3.024,2.903 C1.980,3.952 1.330,5.401 1.330,7.000 C1.330,8.599 1.980,10.047 3.024,11.097 C4.074,12.146 5.523,12.791 7.123,12.791 C8.722,12.791 10.171,12.146 11.221,11.097 C12.270,10.048 12.920,8.599 12.920,7.000 C12.920,5.401 12.271,3.952 11.221,2.903 L11.221,2.903 Z"/>
</svg>
<time class="date" datetime="{strtotime($blog->date_add)|date_format:"%Y"|escape:'html':'UTF-8'}">
{assign var='blog_day' value=strtotime($blog->date_add)|date_format:"%e"}{l s=$blog_day d='Shop.Theme.Global'}/{assign var='blog_month' value=strtotime($blog->date_add)|date_format:"%m"}{l s=$blog_month d='Shop.Theme.Global'}/{assign var='blog_year' value=strtotime($blog->date_add)|date_format:"%Y"}{l s=$blog_year d='Shop.Theme.Global'}
</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>{$blog_count_comment|intval} {l s='comments' d='Shop.Theme.Global'}</span>
</span>
{/if}
{if $config->get('item_show_author','1')}
<span class="blog-author">
<i class="material-icons">person</i> <span>{l s='Posted By' d='Shop.Theme.Global'}: </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' d='Shop.Theme.Global'}: </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}
</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->content nofilter}{* HTML form , no escape necessary *}
{/if}
</div>
{if $tags}
<div class="blog-tags">
{foreach from=$tags item=tag name=tag}
<a href="{$tag.link|escape:'html':'UTF-8'}" title="{$tag.tag|escape:'html':'UTF-8'}">{$tag.tag|escape:'html':'UTF-8'}</a>
{/foreach}
</div>
{/if}
<div class="social-share">
{include file="module:anblog/views/templates/front/_social.tpl" social_code=$config->get('social_code','')}
</div>
{if $blog->products}
{*
<div class="products-grid col-xs-12 col-sm-12 col-md-12">
{foreach from=$blog->products item=product name=products}
<div class="product-item col-xs-12 col-sm-4 col-md-3">
<div class="product-thumbnail"><a href="{$product.link}" title="{$product.name}"><img class="img-fluid" src="{if isset($product.cover.bySize.menu_default)}{$product.cover.bySize.menu_default.url}{else} {$product.cover.bySize.home_default.url}{/if}" alt="{$product.cover.legend}" /></a></div>
<div class="product-information-dropdown">
<h5 class="product-name"><a href="{$product.link}" title="{$product.name}">{$product.name}</a></h5>
{if $product.show_price}
<div class="product-price-and-shipping"><span class="price product-price">{$product.price}</span>
{if $product.has_discount}<span class="regular-price">{$product.regular_price}</span>{/if}</div>
{/if}
</div>
</div>
{/foreach}
</div>
*}
<section id="products" class="featured-products featured-products-box clearfix">
<div class="products products-mobile-row">
{foreach from=$blog->products item=product name=products}
{include file="catalog/_partials/miniatures/product.tpl" product=$product}
{/foreach}
</div>
</section>
{/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:anblog/views/templates/front/_facebook_comment.tpl"}
{elseif $config->get('item_comment_engine','local')=='diquis'}
{include file="module:anblog/views/templates/front/_diquis_comment.tpl"}
{elseif ($config->get('google_captcha_site_key') && $config->get('google_captcha_site_key')) || !$config->get('google_captcha_status')}
{include file="module:anblog/views/templates/front/_local_comment.tpl"}
{/if}
{elseif $config->get('item_show_listcomment','1') == 0 && $config->get('item_show_formcomment','1') == 1 && (($config->get('google_captcha_site_key') && $config->get('google_captcha_site_key')) || !$config->get('google_captcha_status') ) }
<div class="blog-comment-block clearfix">
{include file="module:anblog/views/templates/front/_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.' d='Shop.Theme.Global'}</div>
{/if}
</article>
</div>
<div class="hidden-xl-down hidden-xl-up datetime-translate">
{l s='Sunday' d='Shop.Theme.Global'}
{l s='Monday' d='Shop.Theme.Global'}
{l s='Tuesday' d='Shop.Theme.Global'}
{l s='Wednesday' d='Shop.Theme.Global'}
{l s='Thursday' d='Shop.Theme.Global'}
{l s='Friday' d='Shop.Theme.Global'}
{l s='Saturday' d='Shop.Theme.Global'}
{l s='January' d='Shop.Theme.Global'}
{l s='February' d='Shop.Theme.Global'}
{l s='March' d='Shop.Theme.Global'}
{l s='April' d='Shop.Theme.Global'}
{l s='May' d='Shop.Theme.Global'}
{l s='June' d='Shop.Theme.Global'}
{l s='July' d='Shop.Theme.Global'}
{l s='August' d='Shop.Theme.Global'}
{l s='September' d='Shop.Theme.Global'}
{l s='October' d='Shop.Theme.Global'}
{l s='November' d='Shop.Theme.Global'}
{l s='December' d='Shop.Theme.Global'}
</div>
{/if}
</section>
{/block}