<?php
$class_sql = $empire->query('select * from phome_enewsclass where islast=1 LIMIT 50'); // 呼叫50個,數量可自改
while ($class_row = $empire->fetch($class_sql)) {
$classurl = sys_ReturnBqClassUrl($class_r[$class_row['classid']]);
?>
<li><a href="<?=$classurl?>"><?=$class_row['classname']?></a></li>
<?php
}
?>