首页 > CMS教程 > 帝国Empire > 正文

帝国CMS调用最新最多评论文章

2024-04-25 20:53:40
字体:
来源:转载
供稿:网友

 用灵动标签调用最新最多评论文章:

[e:loop={'select * from [!db.pre!]ecms_news where checked=1 order by plnum desc,id desc limit 8',10,24,0}]
<li> <small><a href="<?=$bqsr[titleurl]?>" class="title"><?=sub($bqr[title],0,30,false)?></a></small>
<p><?=$bqr[smalltext]?></p>
</li>
[/e:loop]

 

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表

图片精选