{* * 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 *} {extends file="page.tpl"} {block name="left_column"} {if $show_in_blog}
{Module::getInstanceByName('anblog')->hookDisplayLeftColumn(array()) nofilter}
{/if} {/block} {block name="content_wrapper"} {if !$show_in_blog}
{/if}
{if $show_in_blog}
{/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'}

{l s='Filter Blogs By Tag' mod='anblog'} : {$filter.tag|escape:'html':'UTF-8'}

{elseif $filter.type=='author'} {if isset($filter.id_employee)}

{l s='Filter Blogs By Blogger' mod='anblog'} : {$filter.employee->firstname|escape:'html':'UTF-8'} {$filter.employee->lastname|escape:'html':'UTF-8'}

{else}

{l s='Filter Blogs By Blogger' mod='anblog'} : {$filter.author_name|escape:'html':'UTF-8'}

{/if} {/if} {/if} {************************************************} {if isset($category) && $category->id_anblogcat && $category->active}

{$category->title|escape:'html':'UTF-8'}

{if $config->get('listing_show_categoryinfo',1)}
{if $category->image}
{$category->content_text nofilter}{* HTML form , no escape necessary *}
{else}
{$category->content_text nofilter}{* HTML form , no escape necessary *}
{/if}
{/if} {/if} {************************************************} {if count($leading_blogs)>0}
{foreach from=$leading_blogs item=blog name=leading_blog} {if $post_type == 'Type 1'}
{include file="module:anblog/views/templates/front/miniature-post-type1.tpl"}
{elseif $post_type == 'Type 2'}
{include file="module:anblog/views/templates/front/miniature-post-type2.tpl"}
{else}
{include file="module:anblog/views/templates/front/miniature-post-type3.tpl"}
{/if} {/foreach}
{include file="module:anblog/views/templates/front/_pagination.tpl"}
{else}
{l s='Sorry, no posts has been posted in the blog yet, but it will be done soon.' mod='anblog'}
{/if}
{/block}