帝国cms 调用当前栏目导航
[e:loop={"select * from phome_enewsclass where bclassid in ($GLOBALS[navclassid]) order by classid asc",0,24,0}]
<a href="/<?=$bqr[classpath]?>"><?=$bqr[classname]?></a>
[/e:loop]
$nclassid =$GLOBALS[navclassid];//获取当前栏目ID
$bclassid = $class_r[$GLOBALS[navclassid]][bclassid]; //获取当前父栏目ID