调用Discuz最新贴子:cdb_是discuz的表前缀
<table width="100%" border="0" cellspacing="1" cellpadding="3"> [e:loop={"select tid,subject from cdb_threads order by tid desc limit 10",10,24,0}] <tr><td> <a href="/bbs/viewthread.php?tid=<?=$bqr[tid]?>" target="_blank"><?=$bqr[subject]?></a> </td></tr> [/e:loop] </table> |
调用PHPwind最新贴子:pw_是phpwind的表前缀
<table width="100%" border="0" cellspacing="1" cellpadding="3"> [e:loop={"select tid,subject from pw_threads order by tid desc limit 10",10,24,0}] <tr><td> <a href="/bbs/read.php?tid=<?=$bqr[tid]?>" target="_blank"><?=$bqr[subject]?></a> </td></tr> [/e:loop] </table> |
感谢bqgvg的提示
|