帝国CMS灵动标签调用DZ,PW论坛帖子
调用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>
|
转载请注明:站长那些年 » 帝国CMS灵动标签调用DZ,PW论坛帖子
站长那些年 - 网站运营、技术爱好者学习交流平台
站长那些年致力为网站运营、技术爱好者打造一个良好的学习交流平台。深度剖析互联网新技术,每日分享网站运营、设计、互联网新技术等专业知识。
【站长那些年 原创文章 投稿邮箱:website@songhongfeng.com,也可以找各个群的管理】