runphp标签实现 24小时内发布的文章时间加红

[field:pubdate runphp=’yes’] 
$a=”<font color=red>”.strftime(‘%m-%d’,@me).”</font>”;$b=strftime(‘%m-%d’,@me);$ntime = time(); $day3 = 3600 * 24;if(($ntime – @me) < $day3) @me = $a;else @me =$b; [/field:pubdate] 

发表评论