<?php $bdcid=$empire->fetch1("select * from {$dbtbpre}dp_tagsclassadd where modid='$GLOBALS[navclassid]' limit 1"); $tsql=$empire->query("select * from {$dbtbpre}enewstags where cid=".$bdcid['classid']." order by tagid desc limit 10"); while($tr=$empire->fetch($tsql)){ $tagurl=user_hTagLink($tr['tagid']); ?> <!-- 显示tag模板开始 --> <li><a href="<?=$tagurl?>"><?=$tr['tagname']?></a>(<?=$tr['num']?>)</li> <!-- 显示tag模板结束 --> <? } ?>