//帝国cms7.5循环一级栏目下的所有二级栏目的方法
<?php
$bclassid = $GLOBALS[navclassid];// 获取当前栏目id
$cr['classid']=$class_r[$GLOBALS[navclassid]][bclassid];
$bclassurl=sys_ReturnBqClassname($cr,9);
?>
[e:loop={"select classid, classname, classpath from `[!db.pre!]enewsclass` where bclassid='$bclassid' order by `classid` desc ",5,24,0,0,0}]
<div class="proclass_nav" class="<?=$class?>"><a href="[!--news.url--]<?=esub($bqr[classpath],200)?>/" target="_blank" title="<?=esub($bqr[classname],18)?>"><?=esub($bqr[classname],18)?></a></div>
[/e:loop]