帝国cms灵动标签调用discuz和phpwind的最新贴子建站

SEO新闻
帝国cms调用Discuz最新贴子:cdb_是discuz的表前缀 table width=100% border=0 cellspacing=1 cellpadding=3 [e:loop={select tid,subject from cdb_threads order by ti...

帝国cms调用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>

帝国cms调用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>

1
联系我们