- {lang('homepage')}
{loop categories_nav() $t}
- {$t['catname']}{if count(categories($t['catid']))}{/if} {if count(categories($t['catid']))}
  {loop categories_nav($t['catid']) $t1} {$t1['catname']} {if count(categories($t1['catid']))}
  {loop categories_nav($t1['catid']) $t2} {$t2['catname']} {if count(categories($t2['catid']))}
  {loop categories_nav($t2['catid']) $t3} {$t3['catname']} {if count(categories($t3['catid']))}
  {loop categories_nav($t3['catid']) $t4}
  - {$t4['catname']}
  {/loop}
  {/if}
{/loop}

{/if} {/loop} {/if} {/loop} {/if} {/loop}