'; $dsql->ExecuteNoneQuery("DELETE FROM `#@__arccache`"); $msg = array(); $msg[] = "正在清理arclist调用缓存,下一步清理过期会员浏览历史"; $oldtime = time() - (90 * 24 * 3600); $dsql->ExecuteNoneQuery("DELETE FROM `#@__member_pms` WHERE sendtime<'$oldtime' "); $msg[] = "正在清理过期短信,下一步修正错误文档,可能要占较长时间"; $limit = date('Ymd', strtotime('-15 days')); $dsql->ExecuteNoneQuery("DELETE FROM `#@__statistics_detail` WHERE created_date < '$limit'"); $msg[] = "正在清理15天之前流量统计"; echo DedeAlert(implode("
",$msg), ALERT_INFO, TRUE); if ($uparc == 1) { echo ""; } else { echo ""; } exit(); } //修正错误文档 else if ($step == 9) { ShowMsg('清理错误文档已取消,到系统修复工具进行操作', 'sys_cache_up.php?dopost=ok&step=-1&uparc=1', 0, 5000); exit(); } } include DedeInclude('templets/sys_cache_up.htm'); ?>