免费资源网,https://freexyz.cn/
<ul>
  [e:loop={0,10,3,0}]
<?php
$color="grey";
if(date("Y-m-d",$bqr[newstime])==date("Y-m-d"))
{
$color="red";
}
?>
 <li><font color=<?=$color?>><?=date('Y-m-d',$bqr[newstime])?></font> &nbsp;&nbsp; <a href="<?=$bqsr['titleurl']?>"><?=$bqr['title']?></a></li>
   [/e:loop]
  </ul>

或则 当天更新的“标题”显示红色其他颜色变成灰色 
 

 <ul>
  [e:loop={0,10,3,0}]
<?php
$color="grey";
if(date("Y-m-d",$bqr[newstime])==date("Y-m-d"))
{
$color="red";
}
?>
 <li><a href="<?=$bqsr['titleurl']?>"><FONT color=<?=$color?>><?=$bqr['title']?></FONT></a> &nbsp;&nbsp; <?=date('Y-m-d',$bqr[newstime])?></li>
   [/e:loop]
  </ul>
免费资源网,https://freexyz.cn/


帝国cms灵动标签更新标签

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。