要识别当前栏目?用灵动标签调用 <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> [e:loop={"select classid,classname,classpath from phome_enewsclass where bclassid=父栏目id order by myorder,classid desc",0,24,0}] <?php $titleclass='menu_title'; if($bqr[classid]==$GLOBALS[navclassid]) { $titleclass='menu_title3'; } ?> <TR> <TD class=<?=$titleclass?> onMouseOver="this.className='<?=$titleclass?>';"onmouseout="this.className='<?=$titleclass?>';" height=29><SPAN> <IMG src="style/images/open.jpg"><A href="/<?=$bqr[classpath]?>" target=_blank><?=$bqr[classname]?></A></SPAN></TD></TR> [/e:loop] </TBODY></TABLE>
|