{* шаблон блока обзора категорий *} {if $big_categories_tree && $big_categories_tree_count>0} {counter name='s1' start=-1 skip=1 print=false assign='select_counter_var'}
{section name=h1 loop=$big_categories_tree} {if $big_categories_tree[h1].categoryID != 1 && $big_categories_tree[h1].parent == 1} {if $big_categories_tree[h1].products_count ne "0"} {assign var="tmp" value=0} {counter name='s1'}
{/if} {/if} {/section}
{else}
{$smarty.const.STRING_NO_CATEGORIES}
{/if}