{* Шаблон вывода результатов поиска в категории *} {include file="header.tpl.html" header=$smarty.const.STRING_ADVANCED_SEARCH_IN_CATEGORY} {if $allow_products_search}

{include file="advanced_search_in_category.tpl.html"}

{/if} {if $products_to_show} {if $string_product_sort}

{$string_product_sort}

{/if} {if $catalog_navigator}

{$catalog_navigator}

{/if}

{section name=i1 loop=$products_to_show} {if $smarty.section.i1.index is div by $smarty.const.CONF_COLUMNS_PER_PAGE}
{assign var="helpcounter" value=0} {/if}{assign var="helpcounter" value=$helpcounter+1} {include file="product_brief.tpl.html" product_info=$products_to_show[i1]} {if ($smarty.section.i1.index+1) is div by $smarty.const.CONF_COLUMNS_PER_PAGE || $products_to_show_counter eq $smarty.section.i1.index+1}
{section name=e loop=$smarty.const.CONF_COLUMNS_PER_PAGE max=$helpcounter} {assign var="idnrecat" value=$smarty.section.i1.index-$helpcounter+$smarty.section.e.index+1}
{$smarty.const.STRING_MOREPR}
{if $smarty.section.e.index+1 ne $smarty.const.CONF_COLUMNS_PER_PAGE} | {/if} {/section}
{else} | {/if} {/section}

{if $catalog_navigator}

{$catalog_navigator}

{/if} {if $string_product_sort}

{$string_product_sort}

{/if} {else} {if $search_with_change_category_ability}

{$smarty.const.STRING_EMPTY_SEARCH_RESULT}

{/if} {/if}