帝国CMS灵动标签当天更新的标题显示红色其他颜色变成灰色
[e:loop={'news',8,18,0}] <?php $color="#333"; if(date("Y-m-d",$bqr[newstime])==date("Y-m-d")) { $color="red"; } ?> <li><a href="<?=$bqsr['titleurl']?>"><span><?=date('m-d',$bqr[newstime])?></span><font color=<?=$color?>><?=$bqr['title']?></font></a> </li> [/e:loop]