==============判断新闻的样式【前面加图标【紧====热 】】==================
[e:loop={'7,39,46,50',10,0,0,'','onclick DESC'}]
<?
//print_r($bqr);die();
//echo $bqr;
$good="";
if($bqr[isgood]==1) //一级推荐
{
$good="<img src='/images/index-13.jpg' />";
}
else if($bqr[firsttitle]==1)//表示一级头条
{
$good="<img src='/images/index-15.jpg'/>";
}
?>
<li><?=$good?><a href="<?=$bqsr['titleurl']?>" target="_blank"><?=$bqr['title']?></a><span class="warp_right_time"><?=date("Y-m-d",time())?> </span></li>
[/e:loop]
备注: [e:loop={栏目ID,显示条数,操作类型,只显示有标题图片}]
------分隔线----------------------------
------分隔线----------------------------