<table
width="200" border="0" cellpadding="3"
cellspacing="1" bgcolor="#4FB4DE">
<tr>
<td height="25"><strong><font color="#FFFFFF">栏目导航</font></strong></td>
</tr>
[e:loop={"select classid,classname from {$dbtbpre}enewsclass
where bclassid=0 order by myorder,classid
desc",0,24,0}]
<?php
$classurl=sys_ReturnBqClassname($bqr,9);//取得栏目地址
$bgcolor="#FFFFFF";
if($GLOBALS[navclassid])
{
$fcr=explode('|',$class_r[$GLOBALS[navclassid]][featherclass]);
$topbclassid=$fcr[1]?$fcr[1]:$GLOBALS[navclassid];//取得当前栏目的一级栏目ID
if($bqr[classid]==$topbclassid)
{
$bgcolor="#C3EFFF";
}
}
?>
<tr>
<td height="25" bgcolor="<?=$bgcolor?>"><a
href="<?=$classurl?>"><?=$bqr[classname]?></a></td>
</tr>
[/e:loop]
</table> |