{* category navigation tree *} {section name=i loop=$categories_tree} {section name=j loop=$categories_tree max=($categories_tree[i][2]-2)}    {/section} {if $categoryID == $categories_tree[i][0]} {* selected node => point category and don't make a link *} {$categories_tree[i][1]}
{else} {* not selected node => make a link to a category *} 0}class=category_child {/if}>{$categories_tree[i][1]}
{/if} {/section}