{#foreach from=$categories item=c#}
{#if $c.root_id==0#}
{#/if#}
{#/foreach#}
{#$c.cate_name#} ({#$c.cate_postcount#})
-
{#foreach from=$categories item=sc#}
{#if $sc.root_id == $c.cate_id#}
- {#$sc.cate_name#} ({#$sc.cate_postcount#}) {#/if#} {#/foreach#}
{#get_adcode(5)#}