`{pc:content action="category" catid="0" num="10" siteid="$siteid" order="listorder ASC"}
`
`<li><a {if !$catid}class="current"{/if} href="{siteurl($siteid)}">首页</a></li>
`
`{loop $data $r}
`
`<li>
`
`<a href="{$r['url']}"{if $r['catid'] == $catid || $CATEGORYS[$CAT['parentid']]['catid']==$r['catid']} class="current"{/if}>{$r['catname']}</a>
`
` {if $r['child']}
`
` <ul class="sub_nav">
`
`{pc:content action="category" catid="$r['catid']" num="15" siteid="$siteid" order="listorder ASC"}
`
`{loop $data $r}
`
`<li><a href="{$r['url']}">{$r['catname']}</a></li>
`
`{/loop}
`
`{/pc}
`
`</ul>
`
`{/if}
`
`</li>
`
`{/loop}
`
`{/pc}`