帝国CMS灵动标签调用栏目置顶文章 调用置顶信息,标签附加sql条件参数用:"istop>0" (>是大于号,调用所有置顶)如果需要用置顶1 (istop=1) 灵动标签代码如下: [e:loop={'selfinfo',1,0,1,'istop>0'}]
<div class="news_nr_l">
<div class="row">
<div class="col-md-7"><div class="news_zi">
<h3>March 30 2017 </h3>
<h4><?=$bqr['title']?></h4>
<p><?=$bqr['smalltext']?>...</p>
<a class="news_a" href="<?=$bqsr['titleurl']?>">点击查看更多</a>
</div></div>
<div class="col-md-5 ">
<div class="news_img"><img src="<?=$bqr['titlepic']?>" />
</div></div>
</div>
</div>
[/e:loop]
|