<h3>您的当前位置: [!--newsnav--]</h3>
<?php
$fcr=explode('|',$class_r[$GLOBALS[navclassid]][featherclass]);
$bclassid=$fcr[1]?$fcr[1]:$GLOBALS[navclassid]; //取得父栏目id
$classurl=sys_ReturnBqClassname($r,9);
?>
<li><a href="/<?=$class_r[$bclassid][classpath]?>">一级栏目</a><span>|</span></li> //带链接的一级栏目
[e:loop={"select classid, classname, classpath from `[!db.pre!]enewsclass` where bclassid='$bclassid' order by `classid` asc ",5,24,0,0,0}]
<li><a href="/<?=$class_r[$bqr[classid]]['classpath']?>"><?=$class_r[$bqr[classid]]['classname']?></a><span>|</span></li> //循环出所有二级栏目
[/e:loop]