不支持GD库'; $cfg_if_tpledit = $mymps_mymps[cfg_if_tpledit] == 0 ? '关闭' : '开启'; $if_del_install = !is_file(MYMPS_ROOT . '/install/index.php') ? '已删除' : '未删除'; $Register_Globals = ini_get('Register_Globals') ? 'on' : 'off'; $Magic_Quotes_Gpc = MAGIC_QUOTES_GPC ? 'on' : 'off'; $expose_php = ini_get('expose_php') ? 'on' : 'off'; $eAccelerator = function_exists('eAccelerator_info') ? '支持 ' : '不支持'; $eAcceleratorr = function_exists('eAccelerator_info') ? eAccelerator_info() : array(); $eAccelerator .= $eAcceleratorr['version']; $cur_dir = getcwdOL(); $cur_dir = $cur_dir == '/admin' ? '/admin' : '' . $cur_dir . ''; $latestbackup = $db->getOne('SELECT value FROM `' . $db_mymps . 'config` WHERE description = \'latestbackup\' AND type = \'database\''); $parttime = round((0 < $latestbackup ? $timestamp - $latestbackup : 0) / (3600 * 24)); if (!$latestbackup) { $message = '您尚未备份过MayiCMS系统全部数据'; } else { if (13 < $parttime) { $message = '您已经超过两周没有备份MayiCMS系统全部数据了'; } else { if ($parttime == 0) { $message = '您今天已经备份过MayiCMS全部数据'; } else { $message = '您在 ' . $parttime . ' 天前备份过MayiCMS系统数据,上次备份:' . GetTime($latestbackup) . ''; } } } $message .= ',点此备份系统数据'; $dsxx = mymps_count('information', 'WHERE info_level = \'0\''); $dshy = mymps_count('member', 'WHERE status = \'0\''); $dsyl = mymps_count('flink', 'WHERE ischeck = \'1\''); $dsxw = mymps_count('news', 'WHERE iscommend = \'0\''); $dsjgwz = mymps_count('member_docu', 'WHERE if_check= \'0\''); $dshydp = mymps_count('member_comment', 'WHERE commentlevel= \'0\''); $welcome = array('常用' => "\r\n\t\t\t" . '