网站之家技术交流论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 1314|回复: 0

灵动标签调用discuz-x1新帖,精华帖子

[复制链接]
发表于 2012-11-1 01:33:21 | 显示全部楼层 |阅读模式
新帖(动态地址)
  1. [e:loop={"select tid,subject,dateline  from pre_forum_thread order by tid desc limit 10",10,24,0}]
  2. <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>
  3. [/e:loop]
复制代码
精华(动态地址)
  1. [e:loop={"select tid,subject,dateline,digest  from pre_forum_thread where digest!=0 order by tid desc limit 10",10,24,0}]
  2. <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>
  3. [/e:loop]
复制代码
新帖(静态地址)
  1. [e:loop={"select tid,subject,dateline  from pre_forum_thread  order by tid desc limit 4",10,24,0}]
  2. <li><span><?=date('Y-m-d',$bqr[dateline])?></span><a href="/bbs/thread-<?=$bqr[tid]?>-1-1.html" target="_blank"><?=$bqr[subject]?></a></li>
  3. [/e:loop]
复制代码
精华(静态地址)
  1. [e:loop={"select tid,subject,dateline,digest  from pre_forum_thread where digest!=0 order by tid desc limit 4",10,24,0}]
  2. <li><span><?=date('Y-m-d',$bqr[dateline])?></span><a href="/bbs/thread-<?=$bqr[tid]?>-1-1.html" target="_blank"><?=$bqr[subject]?></a></li>
  3. [/e:loop]
复制代码
热帖 (动态地址)
回复达到20,及更多
  1. [e:loop={"select tid,subject,dateline,replies  from pre_forum_thread where  replies>=20 order by tid desc limit 10",10,24,0}]
  2. <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>
  3. [/e:loop]
复制代码
热帖 (静态地址)
回复达到20,及更多
  1. [e:loop={"select tid,subject,dateline,replies from pre_forum_thread where replies>=20 order by tid desc limit 10",10,24,0}]
  2. <li><span><?=date('Y-m-d',$bqr[dateline])?></span><a href="/bbs/thread-<?=$bqr[tid]?>-1-1.html" target="_blank"><?=$bqr[subject]?></a></li>
  3. [/e:loop]
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|网站之家技术交流论坛 ( 粤ICP备09092995号 )

GMT+8, 2024-12-22 22:30 , Processed in 0.089597 second(s), 8 queries , File On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表