帝国cms灵动标签调用discuz-x1帖子

时间:2021-05-02

新帖(动态地址)
[e:loop={"select tid,subject,dateline from pre_forum_thread order by tid desc limit 10",10,24,0}]
<li><span><?=date('Y-m-d',$bqr[dateline])?></span><a href="/bbs/forum.php?mod=viewthread&tid=<?=$bqr[tid]?>&extra=page%3D1" target="_blank"><?=$bqr[subject]?></a></li>
[/e:loop]
精华(动态地址)
[e:loop={"select tid,subject,dateline,digest from pre_forum_thread where digest!=0 order by tid desc limit 10",10,24,0}]
<li><span><?=date('Y-m-d',$bqr[dateline])?></span><a href="/bbs/forum.php?mod=viewthread&tid=<?=$bqr[tid]?>&extra=page%3D1" target="_blank"><?=$bqr[subject]?></a></li>
[/e:loop]
新帖(静态地址)
[e:loop={"select tid,subject,dateline from pre_forum_thread order by tid desc limit 4",10,24,0}]
<li><span><?=date('Y-m-d',$bqr[dateline])?></span><a href="/bbs/thread-<?=$bqr[tid]?>-1-1.html" target="_blank"><?=$bqr[subject]?></a></li>
[/e:loop]精华(静态地址)
[e:loop={"select tid,subject,dateline,digest from pre_forum_thread where digest!=0 order by tid desc limit 4",10,24,0}]
<li><span><?=date('Y-m-d',$bqr[dateline])?></span><a href="/bbs/thread-<?=$bqr[tid]?>-1-1.html" target="_blank"><?=$bqr[subject]?></a></li>
[/e:loop]热帖 (动态地址)
回复达到20,及更多
[e:loop={"select tid,subject,dateline,replies from pre_forum_thread where replies>=20 order by tid desc limit 10",10,24,0}]
<li><span><?=date('Y-m-d',$bqr[dateline])?></span><a href="/bbs/forum.php?mod=viewthread&tid=<?=$bqr[tid]?>&extra=page%3D1" target="_blank"><?=$bqr[subject]?></a></li>
[/e:loop]热帖 (静态地址)
回复达到20,及更多
[e:loop={"select tid,subject,dateline,replies from pre_forum_thread where replies>=20 order by tid desc limit 10",10,24,0}]
<li><span><?=date('Y-m-d',$bqr[dateline])?></span><a href="/bbs/thread-<?=$bqr[tid]?>-1-1.html" target="_blank"><?=$bqr[subject]?></a></li>
[/e:loop]

声明:本页内容来源网络,仅供用户参考;我单位不保证亦不表示资料全面及准确无误,也不保证亦不表示这些资料为最新信息,如因任何原因,本网内容或者用户因倚赖本网内容造成任何损失或损害,我单位将不会负任何法律责任。如涉及版权问题,请提交至online#300.cn邮箱联系删除。

相关文章