
解答:
图上“按时间刷新”功能对应的时间字段为truetime,也就是信息的真实发布时间,而我们审核或者修改后的时间字段为newstime字段。所以我们只需要改动生成内容函数中的字段就可以了!
具体方法如下:
打开文件:/e/class/chtmlfun.php
找到:
$add1=$startday&&$endday?' and truetime>='.to_time($startday.' 00:00:00').' and truetime<='.to_time($endday.' 23:59:59'):'';
改成:
$add1=$startday&&$endday?' and newstime>='.to_time($startday.' 00:00:00').' and newstime<='.to_time($endday.' 23:59:59'):'';