Files
wyczarujprezent.pl/modules/anblog/views/templates/hook/universal174.tpl
2025-07-03 20:56:08 +02:00

57 lines
1.8 KiB
Smarty

{*
* 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}