<!--
EOT;
$array=$Fid_db[257];
ksort($array);
foreach($array AS $key=>$value){
print <<<EOT
-->
<TABLE style="MARGIN-BOTTOM: 10px" border=0 cellSpacing=1 cellPadding=0
width="100%" bgColor=#bed8f1>
<TBODY>
<TR>
<TD class=position bgColor=#ffffff><FONT color=#0461af><B>$value</B></FONT></TD></TR>
<TR>
<TD class=content_w bgColor=#ffffff>
<UL class=list4>
<!--
EOT;
//对应栏目列表
$min=0;
$rows=35;
$DESC='DESC'; //可选desc or asc
$ORDER='A.list'; //可选A.posttime, A.hits, A.lastview, A.digg_num, A.digg_time, rand(),A.list
$SQL_yz=' AND A.yz=1 '; //是否为认证
$_fid_sql=" AND A.fid=$key "; //对应fid, $key对应当前栏目id.
$SQL="A LEFT JOIN qb_reply R ON A.aid=R.aid WHERE R.topic=1 $_fid_sql $SQL_yz ORDER BY $ORDER $DESC LIMIT $min,$rows";
$which='A.*,R.content';
$listdb=list_article($SQL,$which,$leng,$erp);
$k=0;
foreach($listdb AS $key=>$rs){
$k++;
$rs[title]=get_word($rs[title],40);
print <<<EOT
-->
<LI><A title={$rs[title]}认证 href="fineview.php?fid=$rs[fid]&id=$rs[aid]">$rs[title]</A></LI>
<!--
EOT;
}print <<<EOT
-->
</UL></TD></TR></TBODY></TABLE>
<!--
EOT;
}print <<<EOT
-->