帝国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]
OK!搞定,