帝国CMS教程

帝国导航栏目100%简单实现导航高亮效果栏目

2012-01-11

[e:loop={"select classid,classname,classpath from [!db.pre!]enewsclass where bclassid=0 and showclass=0order by myorder,classid asc",0,24,0}]
<?
$class="";
if($GLOBALS[navclassid]==$bqr[classid])
$class="curr";
{
?>
<li class="<?=$class?>"><ahref="<?=$public_r[newsurl]?><?=$bqr[classpath]?>" target="_self"><?=$bqr[classname]?></a></li>
<?php
}
?>
[/e:loop]

电话 短信 电脑 客服