xwenw.com/tag/%e6%95%88%e6%9e%9c" target="_blank">效果图:

代码:

<div class=”page_cont_menu”>
<?php
if($class_r[$GLOBALS[navclassid]][bclassid]==0){
$classid=$GLOBALS[‘navclassid’];
$classname=$class_r[$classid][classname];
}else{
$classid=$class_r[$GLOBALS[navclassid]][bclassid];
$classname=$class_r[$classid][classname];
}
?>
<?php
$sql=$empire->query(“select classid,sonclass,classname,islast,islist from {$dbtbpre}enewsclass where bclassid=’$classid’ and showclass=0 order by myorder,myorder asc”);
while($s=$empire->fetch($sql)){
$tclass=””;
$fr=explode(‘|’,$class_r[$GLOBALS[navclassid]][featherclass]);
$topbclassid=$fr[2]?$fr[2]:$GLOBALS[navclassid];
if($topbclassid==$s[classid]){
$tclass=’left_active’;
}
$classurl=sys_ReturnBqClassname($s,9);
echo ‘<span><a href=”‘.$classurl.’” class=”‘.$tclass.’” title=”‘.$s[classname].’”>’.$s[classname].'</a></span>’;

}
?>
</div>

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。