<table width="100%" border="0" cellspacing="1" cellpadding="3"> [e:loop={"select tid,subject,dateline,fid from discuzdb.cdb_threads order by tid desc limit 10",10,24,0}] <?php $fr=$empire->fetch1("select name from discuzdb.cdb_forums where fid='$bqr[fid]'"); ?> <tr><td> [<?=$fr[name]?>] <a href="/bbs/viewthread.php?tid=<?=$bqr[tid]?>" target="_blank"><?=$bqr[subject]?></a> (<?=date('Y-m-d',$bqr[dateline])?>) </td></tr> [/e:loop] </table> |