代码如下:其中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}]<?php$class=””;if($bqr[classid]==$GLOBALS[navclassid]){$class=’hover’;}?><a href=”<?=$bqsr[classurl]?>” class=”<?=$class?>”><?=$bqr[classname]?></a>[/e:loop]