我们在帝国wap模板中调用栏目导航的方法,代码如下: <?php$sqld=$empire->query("select * from {$dbtbpre}enewsclass where bclassid=0 and showclass=0 order by myorder,classid limit 0,10");while($rd=$empire->fetch($sqld)){$classurl="list.php?classid=".$rd[classid]."&bclassid=".$bclassid;?><li class="yi-nav-li"><a href="<?=$classurl?>"><?=DoWapClearHtml($rd[classname])?></a></li><?php}?>
|