{* Шаблон вывода спецпредложений *} {if $special_offers}

{section name=i loop=$special_offers} {if $smarty.section.i.index is div by $smarty.const.CONF_TAB_COUNT_IN_HOME}
{/if} {if $smarty.const.CONF_MOD_REWRITE eq 1} {assign var="link" value="`$special_offers[i].name`"} {else} {assign var="link" value="`$special_offers[i].name`"} {/if} {assign var="preheader" value="+"} {if $admlink}{assign var="postheader" value=`$preheader``$link`}{else}{assign var="postheader" value=$link}{/if} {include file="header.tpl.html" header=$postheader}
{if $special_offers[i].cena <= 0}{$smarty.const.STRING_NOPRODUCT_IN}{else}{$special_offers[i].Price}{/if}
{if $smarty.const.CONF_SHOW_ADD2CART eq 1 && $smarty.const.CONF_DISP_INDEXCART eq 1} {if $smarty.const.CONF_OPEN_SHOPPING_CART_IN_NEW_WINDOW eq 1}
| {$smarty.const.ADD_TO_CART_STRING}
{else}{if $smarty.const.CONF_CART_METHOD eq 2}
| {$smarty.const.ADD_TO_CART_STRING}
{else}
| {$smarty.const.ADD_TO_CART_STRING}
{/if}{/if} {/if}
{if $smarty.const.CONF_DISPLAY_FOTO eq 1} {* *} {/if} | {if $special_offers[i].brief_description}{$special_offers[i].brief_description}{/if} {if $smarty.const.CONF_DISPLAY_FOTO eq 0} | {* *} {/if}
{$smarty.const.STRING_MOREPR}
{if ($smarty.section.i.index+1) is div by $smarty.const.CONF_TAB_COUNT_IN_HOME}
{else} | {/if} {/section}

{/if}