{* * 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='hook_extra'} {/block} {block name="left_column"} {if $show_in_post}
{Module::getInstanceByName('anblog')->hookDisplayLeftColumn(array()) nofilter}
{/if} {/block} {block name="content_wrapper"} {if !$show_in_post}
{/if}
{if $show_in_blog}
{/if}
{if isset($error)}
{l s='Sorry, no posts has been posted in the blog yet, but it will be done soon' mod='anblog'}
{else}
{if $is_active}

{$blog->meta_title|escape:'html':'UTF-8'}

{if isset($blog->hits)&&$config->get('item_show_hit','1')} visibility {$blog->hits|intval} {l s='Views' mod='anblog'} {/if} {if $config->get('item_show_created','1')} {/if} {if isset($blog_count_comment)&&$config->get('item_show_counter','1')} comment {$blog_count_comment|intval} {l s='comments' mod='anblog'} {/if} {if $config->get('item_show_author','1')} person {l s='Posted By' mod='anblog'}: {$blog->author|escape:'html':'UTF-8'} {/if} {if $config->get('item_show_category','1')} list {l s='In' mod='anblog'}: {$blog->category_title|escape:'html':'UTF-8'} {/if}
{if $blog->preview_url && $config->get('item_show_image','1')}
{/if} {if $config->get('likes','1')} {/if}
{if $config->get('item_show_description',1)} {$blog->description nofilter}{* HTML form , no escape necessary *} {/if} {$blog->content nofilter}{* HTML form , no escape necessary *}
{if trim($blog->video_code)}
{$blog->video_code nofilter}{* HTML form , no escape necessary *}
{/if} {if $blog->products}
{foreach from=$blog->products item=product name=products}
{$product.cover.legend|escape:'html':'UTF-8'}
{$product.name|escape:'html':'UTF-8'}
{if $product.show_price}
{$product.price|escape:'html':'UTF-8'} {if $product.has_discount}{$product.regular_price|escape:'html':'UTF-8'}{/if}
{/if}
{/foreach}
{/if} {if $tags}
{l s='Tags:' mod='anblog'} {foreach from=$tags item=tag name=tag} {$tag.tag|escape:'html':'UTF-8'} {/foreach}
{/if} {if $config->get('item_show_listcomment','1') == 1}
{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') ) }
{include file="module:anblog/views/templates/front/_local_comment.tpl"}
{/if} {else}
{l s='Sorry, This blog is not avariable. May be this was unpublished or deleted.' mod='anblog'}
{/if}
{l s='Sunday' mod='anblog'} {l s='Monday' mod='anblog'} {l s='Tuesday' mod='anblog'} {l s='Wednesday' mod='anblog'} {l s='Thursday' mod='anblog'} {l s='Friday' mod='anblog'} {l s='Saturday' mod='anblog'} {l s='January' mod='anblog'} {l s='February' mod='anblog'} {l s='March' mod='anblog'} {l s='April' mod='anblog'} {l s='May' mod='anblog'} {l s='June' mod='anblog'} {l s='July' mod='anblog'} {l s='August' mod='anblog'} {l s='September' mod='anblog'} {l s='October' mod='anblog'} {l s='November' mod='anblog'} {l s='December' mod='anblog'}
{/if}
{/block}