帝国cms调用父栏目下的所有栏目和链接

[e:loop={“select classid,classname,classpath from [!db.pre!]enewsclass where bclassid = ‘”.$class_r[$GLOBALS[navclassid]][bclassid].”‘ order by classid”,0,24,0}]
<a href=”<?=$bqsr[classurl]?>” class=”sub_current”><span><?=$bqsr[classname]?></span></a>
[/e:loop]

注意:<?=$bqsr[classname]?> :栏目名称

<?=$bqsr[classurl]?>:栏目链接

Leave a Reply