首页 > 运营 > 帮助中心 > 正文

帝国cms最新文章显示红色日期的教程

2019-10-11 22:58:33
字体:
来源:转载
供稿:网友

使用程序代码

$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>';
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表