帝国CMS按照评论数调用文章排序

帝国CMS文章按照评论数量排序

[e:loop={"select * from [!db.pre!]ecms_news order by plnum desc,id desc limit 5",10,24,0}]
      	<li class="side-con">
        	<a href="<?=$bqsr[titleurl]?>" title="" target="_blank">
                <div class="hotcom-img"><img src="<?=$bqr[titlepic]?>" alt=""></div>
                <div class="hotcom-left">
                  <div class="hot-com-title"><span class="num1">1</span><?=sub($bqr[title],0,30,false)?></div>
                  <div class="hot-com-clock">阅读:<?=$bqr[onclick]?></div>
                </div>
            </a>
        </li>
[/e:loop]

 

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注