「{sdcms[webname]}网站地图」
{sdcms:rs top="0" table="sd_category" where="followid=0" order="ordnum,cateid" var="sdcms_rs:cateid"}
{sdcms:rp top="0" table="sd_category" where="followid=[sdcms_rs] and ismenu=1" order="ordnum,cateid"} {$rp[catename]} {/sdcms:rp}
{/sdcms:rs}