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