帝国CMS技巧之灵动标签如何调用discuz-x1帖子

588 ℃

帝国cms技巧之灵动标签如何调用discuz-x1帖子

新帖(动态地址)
[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]

百度echarts如何实现X轴文字竖排

CMS网站被挂黑链应该如何解决?(如何防止黑链)

为什么页面标题,只有一个关键词?

织梦channelartlist在栏目列表获取二级三级栏目

详解织梦DedeCms的安全问题优化解决办法(安全设置

标签: CMS网站, dateline, discuz, tid, x轴文字竖排

上面是“帝国CMS技巧之灵动标签如何调用discuz-x1帖子”的全面内容,想了解更多关于 帝国cms 内容,请继续关注web建站教程。

当前网址:https://m.ipkd.cn/webs_1177.html

声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!

Fuse.js中文文档官网介绍
iframe框架调用高度自适应方法
es6语法中关于Set的运用方法
php有哪些全局变量
织梦dedecms点击次数标签的调用[field:click/]