[e:loop={22,11,0,0,'','newstime DESC'}]<?php$color="grey";if(date("Y-m-d",$bqr[newstime])==date("Y-m-d")){$color="red";}?><li><a href="<?=$bqr['titleurl']?>" class="layui-clear" target="_blank"><i></i><h3><?=$bqr['title']?></h3> <span><font class="" color=<?=$color?>><?=date("m-d",$bqr[newstime])?></font></span> </a></li>[/e:loop]
转载请注明: » 帝国cms设置当天更新文章日期显示为红色