设置按修改时间显示
if(mb_strlen(strip_tags($rs['title']),'utf8') > 20)
{
$rs['title1'] = str_cut(strip_tags($rs['title']),40,'...');
}else
{
$rs['title1'] = strip_tags($rs['title']);
}
$rs['date'] = substr($rs['modtime'],5,6);
if(time() - strtotime($rs['modtime']) > 129600){$rs['new']="";$rs['red']="";}else{$rs['new']="true";$rs['red']="true";}