帝国CMS模板灵动标签调用同级栏目导航,带当前栏目高亮判断
帝国cms模板灵动标签调用同级栏目导航,带当前栏目高亮判断
代码如下:其中hover为当前栏目判断CSS高亮样式!
[e:loop={"select classname,classpath,classid from phome_enewsclass where bclassid='".$class_r[$GLOBALS[navclassid]][bclassid]."' and showclass=0 order by classid ",0,24,0}] " class="=$class?>">=$bqr[classname]?> [/e:loop]