时间: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邮箱联系删除。
为了让TAGS、碎片、专题等调用信息也可以使用类似灵动标签方式来调用,帝国CMS7.0新增了“索引灵动标签”,使调用信息更强大灵活。灵动
介绍下帝国cms实现网站首页用灵动标签调用文章内容的方法以下是灵动标签的调用方法[e:loop={'58,59,60,61',1,13,0}]
对于熟悉帝国CMS的朋友大都知道使用灵动标签进行特定信息的调用,而灵动标签的强大功能远非如此。灵动标签的PHP函数是:sys_ReturnEcmsLoopBq(
帝国cms日期用的灵动标签实现的英文显示的方法用的灵动标签实现的[e:loop={1,3,0,0}]
一、灵动标签应用之“调用友情链接”。众所周知帝国的友情链接调用标签生成出来的代码是Table的,不符合标准,所以我们用灵动标签调用友情链