帝国cms灵动标签loop第一条图片第二条开始调用调用五条文字
loop标签显示条数5改为:"1,5" 从第2条开始显示
<div class="cat-site">
[e:loop={81,1,0,1,'','newstime DESC'}]
<h2 class="entry-title"><a href="<?=$bqsr['titleurl']?>" rel="bookmark"><?=$bqr['title']?></a></h2> <figure class="thumbnail">
<a href="<?=$bqsr['titleurl']?>"><img width="280" height="210" src="<?=$bqr['titlepic']?>" class="attachment-content size-content wp-post-image" alt="<?=$bqr['title']?>" /></a> </figure>
<div class="cat-main"><?=esub($bqr[smalltext],'160','...')?></div>
[/e:loop]
<div class="clear"></div>
<ul class="cat-list">
[e:loop={81,'1,6',0,0,'','newstime DESC'}]
<span class="list-date"><?=date('m/d',$bqr[newstime])?></span><li class="list-title"><i class="icon-li"></i><a href="<?=$bqsr['titleurl']?>" rel="bookmark"><?=$bqr['title']?></a>
[/e:loop]
</ul>
</div>
实际效果如图:http://zzdd.meiwang360.com/wenz/