This commit is contained in:
2025-07-03 20:56:08 +02:00
parent c5c208aa43
commit cc0c9e86b8
190 changed files with 21992 additions and 61 deletions

View File

@@ -0,0 +1,38 @@
{*
* 2020 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 2020 anvanto.com
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<!-- Block categories module -->
{if $tree}
<div id="categories_blog_menu" class="block blog-menu block-categories">
<div class="blog-menu-title">
<h4 class="title_block text-uppercase h6">{if isset($currentCategory)}{$currentCategory->title|escape:'html':'UTF-8'}{else}{l s='Blog Categories' mod='anblog'}{/if}</h4>
</div>
<div class="block_content">
{$tree nofilter}{* HTML form , no escape necessary *}
</div>
</div>
{/if}
<!-- /Block categories module -->

View File

@@ -0,0 +1,35 @@
{*
* 2020 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 2020 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($anblogtags) AND !empty($anblogtags)}
<section id="tags_blog_block_left" class="block an-blog-tags block-categories">
<h4 class='title_block'><a href="">{l s='Tags Post' mod='anblog'}</a></h4>
<div class="block_content clearfix">
{foreach from=$anblogtags item="tag"}
<a href="{$tag.link|escape:'htmlall':'UTF-8'}">{$tag.name|escape:'html':'UTF-8'}</a>
{/foreach}
</div>
</section>
{/if}

View File

@@ -0,0 +1,38 @@
{*
* 2020 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 2020 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($an_left_category) AND !empty($an_left_category)}
{$an_left_category nofilter} {* HTML form , no escape necessary *}
{/if}
{if isset($an_left_tag) AND !empty($an_left_tag)}
{$an_left_tag nofilter} {* HTML form , no escape necessary *}
{/if}
{if isset($an_left_recent) AND !empty($an_left_recent)}
{$an_left_recent nofilter} {* HTML form , no escape necessary *}
{/if}
{if isset($url_rss) && $url_rss != ''}
<a href="{$url_rss|escape:'html':'UTF-8'}" class="btn btn-primary ">{$config->get('rss_title_item')|escape:'html':'UTF-8'}</a>
{/if}

View File

@@ -0,0 +1,48 @@
{*
* 2020 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 2020 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($leading_blogs) AND !empty($leading_blogs)}
<section id="blogPopularBlog" class="block an-block-sidebar hidden-sm-down block-categories">
<h4 class='title_block'><a href="">{l s='Popular Articles' mod='anblog'}</a></h4>
<div class="block_content products-block">
<ul class="lists">
{foreach from=$leading_blogs item="blog" name=leading_blog}
<li class="list-item clearfix{if $smarty.foreach.leading_blog.last} last_item{elseif $smarty.foreach.leading_blog.first} first_item{else}{/if}">
<div class="blog-image">
<a class="products-block-image" title="{$blog.title|escape:'html':'UTF-8'}" href="{$blog.link|escape:'html':'UTF-8'}">
<img alt="{$blog.title|escape:'html':'UTF-8'}" src="{$blog.preview_url|escape:'html':'UTF-8'}" class="img-fluid">
</a>
</div>
<div class="blog-content">
<h3 class="post-name"><a title="{$blog.title|escape:'html':'UTF-8'}" href="{$blog.link|escape:'html':'UTF-8'}">{$blog.title|escape:'html':'UTF-8'}</a></h3>
<span class="info">{$blog.date_add|date_format:"%b %d, %Y"|escape:'htmlall':'UTF-8'}</span>
</div>
</li>
{/foreach}
</ul>
</div>
</section>
{/if}

View File

@@ -0,0 +1,52 @@
{*
* 2020 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 2020 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($leading_blogs) AND !empty($leading_blogs)}
<section id="blogRecentBlog" class="block an-block-sidebar block-categories">
<h4 class='title_block'><a href="">{l s='Recent Articles' mod='anblog'}</a></h4>
<div class="block_content products-block">
<ul class="lists">
{foreach from=$leading_blogs item="blog" name=leading_blog}
<li class="list-item clearfix{if $smarty.foreach.leading_blog.last} last_item{elseif $smarty.foreach.leading_blog.first} first_item{else}{/if}">
<div class="blog-image">
<a class="products-block-image" title="{$blog.title|escape:'html':'UTF-8'}" href="{$blog.link|escape:'html':'UTF-8'}">
<img alt="{$blog.title|escape:'html':'UTF-8'}" src="{$blog.preview_url|escape:'html':'UTF-8'}" class="img-fluid">
</a>
</div>
<div class="blog-content">
<h5 class="post-name"><a title="{$blog.title|escape:'html':'UTF-8'}" href="{$blog.link|escape:'html':'UTF-8'}">{$blog.title|escape:'html':'UTF-8'}</a></h5>
<span class="info"> <i class="material-icons">&#xE192;</i> {$blog.date_add|date_format:"%d/%m/%Y"|escape:'htmlall':'UTF-8'}</span>
<div class="blog-shortinfo">
{$blog.description|strip_tags:'UTF-8'|truncate:70:'...' nofilter}{* HTML form , no escape necessary *}
</div>
</div>
</li>
{/foreach}
</ul>
</div>
</section>
{/if}

View File

@@ -0,0 +1,49 @@
{*
* 2020 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 2020 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($articles) AND !empty($articles)}
<div class="clearfix"></div>
<div class="secondary-blog">
<div class="row">
<div class="an_brandslider-title"><h3>Blog</h3></div>
</div>
{foreach from=$articles item=blog name=articlesListing}
{if ($blog@iteration%$columnCount==1)&&$columnCount>1}
<div class="row">
{/if}
<div class="{if $columnCount<=1}no{/if}col-lg-{floor(12/$columnCount|escape:'html':'UTF-8')}">
{include file="module:anblog/views/templates/front/default/_listing_blog.tpl"}
</div>
{if ($blog@iteration%$columnCount==0&&$smarty.foreach.secondary_blog.last)&&$columnCount>1}
</div>
{/if}
{/foreach}
</div>
<div class="clearfix"></div>
{/if}

View File

@@ -0,0 +1,56 @@
{*
* 2020 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 2020 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($articles) AND !empty($articles)}
<div class="clearfix"></div>
<div class="secondary-blog">
<div class="row">
<div class="h3">
<a href="{$anblog_main_page|escape:'html':'UTF-8'}">
{if isset($titleWidget) && $titleWidget != ''}
{$titleWidget|escape:'html':'UTF-8'}
{else}
{l s='Blog' mod='anblog'}
{/if}
</a>
</div>
</div>
{$columnCount = 3}
{foreach from=$articles item=blog name=articlesListing}
{if ($smarty.foreach.articlesListing.iteration%$columnCount==1)&&$columnCount>1}
<div class="row">
{/if}
<div class="{if $columnCount<=1}no{/if}col-lg-{floor(12/$columnCount|escape:'html':'UTF-8')}">
{include file="module:anblog/views/templates/front/default/_listing_blog.tpl"}
</div>
{if ($smarty.foreach.articlesListing.iteration%$columnCount==0&&$smarty.foreach.articlesListing.last)&&$columnCount>1}
</div>
{/if}
{/foreach}
</div>
<div class="clearfix"></div>
{/if}