{* front-end homepage*}
{$smarty.const.STRING_GREETINGS} |
{if $root_categories[i][3] ne ""} |
{$root_categories[i][1]} ({$root_categories[i][2]})
{* show sub categories *}
{assign var="tmp" value=0}
{section name=j loop=$root_categories_subs}
{if $root_categories_subs[j][3] == $root_categories[i][0]}
{if $tmp == 1} |
{else}
{assign var="tmp" value=1}
{/if}
{$root_categories_subs[j][1]}
{/if}
{/section}
|
{if ($smarty.section.i.index+1) is div by 1}|
|
{if ($smarty.section.i.index+1) is div by 2}