[field:pubdate runphp='yes']
$a="<font color='#ff0000'>";
$d="<font color='#858585'>";
$b="</font>";
$c=strftime("%m月%d日","@me");
$ntime = time();
$oneday = 3600 * 24;
if(($ntime - @me)<$oneday) @me = $a.$c.$b;
else @me = $d.$c.$b;
[/field:pubdate]

以上就是【DEDE 24小时内发布的信息日期为红色】的全部内容了,欢迎留言评论进行交流!

赞(0) 踩(0)
发表我的评论

最新评论

  1. 暂无评论