来源: 互联网 日期: 2020-07-13 20:23:29
用灵动标签调用最新最多评论文章:
[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]