运用程序代码

$newimg='[!--newstime--]';
if(time()-$r[newstime]<=1*24*3600)
{
$newimg='<FONT color=red>[!--newstime--]</FONT>';
}

$listtemp='<LI><SPAN class=date>'.$newimg.'</SPAN> <a href="[!--titleurl--]" target=_blank>[!--title--]</A> </LI>';

声明:有的资源均来自网络转载,版权归原作者所有,如有侵犯到您的权益 请联系邮箱:123456@qq.com 我们将配合处理!

原文地址:帝国cms最新文章显示红色日期的教程发布于2023-02-11 15:38:40

相关推荐