帝国cms调用当前顶级栏目下所有下级子栏目并且当前高亮显示啊

wdzsjl 3周前 (10-29) 阅读数 20 #宝塔面板
[e:loop={"select classname,classpath,classid from phome_enewsclass where bclassid='".$class_r[$GLOBALS[navclassid]][bclassid]."' order by myorder,classid desc ",0,24,0}] <?php $classurl=sys_ReturnBqClassname($bqr,9);?> <a href="<?=$classurl?>" <?php if($bqr['classid']==$GLOBALS['navclassid']){?> class="on"<?php } ?> title="<?=$bqr[classname]?>"><?=$bqr[classname]?></a> [/e:loop]

 

wx.jpg ywfw.jpg
热门