{* * 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} {/block} {block name="left_column"} {if $config->get('show_in_post')}
{Module::getInstanceByName('anblog')->hookDisplayLeftColumn(array()) nofilter}
{/if} {/block} {block name="content_wrapper"} {if !$config->get('show_in_post')}
{/if}
{if $config->get('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' d='Shop.Theme.Global'}
{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' d='Shop.Theme.Global'} {/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' d='Shop.Theme.Global'} {/if} {if $config->get('item_show_author','1')} person {l s='Posted By' d='Shop.Theme.Global'}: {$blog->author|escape:'html':'UTF-8'} {/if} {if $config->get('item_show_category','1')} list {l s='In' d='Shop.Theme.Global'}: {$blog->category_title|escape:'html':'UTF-8'} {/if}
{if $blog->preview_url && $config->get('item_show_image','1')}
{/if}
{if $config->get('item_show_description',1)} {$blog->content nofilter}{* HTML form , no escape necessary *} {/if}
{if $tags}
{foreach from=$tags item=tag name=tag} {$tag.tag|escape:'html':'UTF-8'} {/foreach}
{/if} {if $blog->products} {*
{foreach from=$blog->products item=product name=products}
{$product.cover.legend}
{$product.name}
{if $product.show_price}
{$product.price} {if $product.has_discount}{$product.regular_price}{/if}
{/if}
{/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.' d='Shop.Theme.Global'}
{/if}
{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'}
{/if}
{/block}