{pc:content action="category" catid="0" num="15" siteid="$siteid" order="listorder ASC"}{loop $data $r}<li class="nav_master{if $top_parentid == $r[catid]||$catid==$r[catid]||$parentid==$r[catid]} current{/if}"><a class="nav_master_a" href="{$r[url]}">{$r[catname]}</a>{pc:content action="category" catid="$r[catid]" num="25" siteid="$siteid" order="listorder asc" return="da"}{if $da}<ul class="nav_sub"><li>{loop $da $v}<a href="{$v[url]}">{$v[catname]}</a>{/loop}</li></ul>{/if}{/pc}
上一篇:PHPCMS替换内容