{* Общий шаблон для категорий *} {assign var="preheader" value="+"} {if $admlink}{assign var="postheader" value=`$preheader``$categoryName`}{else}{assign var="postheader" value=$categoryName}{/if} {include file="header.tpl.html" header=$postheader}
{if $smarty.const.CONF_SHOW_COUNTPROD eq 1}{$smarty.const.STRING_COUNTPROD}: {$products_to_showc}{/if}{$smarty.const.LINK_TO_HOMEPAGE}{section name=i loop=$product_category_path}{if $product_category_path[i].categoryID != 1} / {$product_category_path[i].name}{/if}{/section}
{if $selected_category.description} {include file="header.tpl.html" header=$smarty.const.STRING_CATEGORY_DESK}
{if $selected_category.picture}{$selected_category.name}{/if}{$selected_category.description}
 
{/if} {if $catrescur} {section name=r loop=$catrescur} {if $catrescur[r][3] != ""} {if $smarty.const.CONF_MOD_REWRITE eq 1} {assign var="tlink" value="`$catrescur[r].name`"} {else} {assign var="tlink" value="`$catrescur[r].name`"} {/if} {include file="header.tpl.html" header=$tlink}
{if $catrescur[r].picture}{$catrescur[r].name}{/if}{$catrescur[r].description}
{$smarty.const.STRING_GO_PODCAT}
{/if} {/section} {/if} {if $products_to_show} {if $string_product_sort}
{$string_product_sort}
{/if} {if $catalog_navigator}
{$catalog_navigator}
{/if} {section name=u loop=$products_to_show} {if $smarty.section.u.index is div by $smarty.const.CONF_COLUMNS_PER_PAGE} {assign var="helpcounter" value=0} {/if}{assign var="helpcounter" value=$helpcounter+1} {if ($smarty.section.u.index+1) is div by $smarty.const.CONF_COLUMNS_PER_PAGE || $products_to_show_counter eq $smarty.section.u.index+1} {section name=e loop=$smarty.const.CONF_COLUMNS_PER_PAGE max=$helpcounter} {assign var="idnrecat" value=$smarty.section.u.index-$helpcounter+$smarty.section.e.index+1} {if $smarty.section.e.index+1 ne $smarty.const.CONF_COLUMNS_PER_PAGE}{/if} {/section} {else} {/if} {/section}
{include file="product_brief.tpl.html" product_info=$products_to_show[u]}
{$smarty.const.STRING_MOREPR}
{if $catalog_navigator}
{$catalog_navigator}
{/if} {if $string_product_sort}
{$string_product_sort}
{/if} {else}
{if !$search_with_change_category_ability || $advanced_search_in_category}{if $advanced_search_in_category}{$smarty.const.STRING_EMPTY_SEARCH_RESULT}{else}{$smarty.const.STRING_EMPTY_CATEGORY}{/if}{/if}
{/if} {if $categorylinkscat} {include file="header.tpl.html" header=$smarty.const.STRING_CAT_USE_AUX}
{assign var="sett" value=0} {section name=icat loop=$categorylinkscat}
{$categorylinkscat[icat][1]}
{/section}
 
{/if}