源码论坛,商业源码下载,尽在锦尚中国商业源码论坛

标题: 帝国CMS灵动标签调用discuz信息 [打印本页]

作者: 洪七公    时间: 2023-2-1 15:21
标题: 帝国CMS灵动标签调用discuz信息

新帖(动态地址)

[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]


作者: 洪七公    时间: 2023-2-1 15:22
我个人测试了一下,应该是一个数据库内安装了discuz,并且discuz是安装在同域名下的2级目录bbs下




欢迎光临 源码论坛,商业源码下载,尽在锦尚中国商业源码论坛 (https://bbs.52jscn.com/) Powered by Discuz! X3.3