{* Шаблон вывода результатов простого поиска товаров *} {include file="header.tpl.html" header=$smarty.const.ADMIN_SEARCH_BUTTON} {if $products_to_show_count > 0}
{$smarty.const.STRING_FOUND} {$products_found} {$smarty.const.STRING_PRODUCTS}
{if $string_product_sort}
{$string_product_sort}
{/if} {if $search_navigator}
{$search_navigator}
{/if} {section name=q loop=$products_to_show max=$products_to_show_count} {if $smarty.section.q.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.q.index+1) is div by $smarty.const.CONF_COLUMNS_PER_PAGE || $products_to_show_counter eq $smarty.section.q.index+1} {section name=e loop=$smarty.const.CONF_COLUMNS_PER_PAGE max=$helpcounter} {assign var="idnrecat" value=$smarty.section.q.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[q]}
{$smarty.const.STRING_MOREPR}
{if $search_navigator}
{$search_navigator}
{/if} {if $string_product_sort}
{$string_product_sort}
{/if}
{$smarty.const.STRING_FOUND} {$products_found} {$smarty.const.STRING_PRODUCTS}
{else}
{$smarty.const.STRING_NO_MATCHES_FOUND}
 
{/if}