不支持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" . '' . "\r\n\t\t\t\t", '审核' => "\r\n\t\t\t" . '
' . "\r\n\t\t\t" . '' . "\r\n\t\t\t" . '' . "\r\n\t\t\t" . '' . "\r\n\t\t\t" . '' . "\r\n\t\t\t" . '' . "\r\n\t\t\t" . '' . "\r\n\t\t\t", '数据统计' => $mymps_count_str, '相关说明' => '商业用户授权' . "\r\n" . '欢迎查看使用教程
' . "\r\n" . '技术支持服务使用教程' . "\r\n" . '
' . "\r\n" . '售前咨询 Q Q:969304012(点击交谈) ' . "\r\n\t\t\t", '安全建议' => "\r\n\t\t\t" . '在线编辑模板功能 当前:' . $cfg_if_tpledit . '。建议您只有在十分必要的时候才开启它。请修改 /data/config.inc.php 关闭此功能
' . "\r\n\t" . '系统 install目录 当前:' . $if_del_install . '。为防止站外人员利用,建议您安装完成后,删除该目录
' . "\r\n\t" . '系统管理目录 当前:' . $cur_dir . '。建议您安装完成后,修改目录名(可直接修改)。
' . "\r\n\t" . '数据安全' . $message, '服务器相关' => "\r\n\t\t" . '
服务器环境:' . $_SERVER['SERVER_SOFTWARE'] . '
' . "\r\n\t\t" . '
服务器系统:' . PHP_OS . '
' . "\r\n\t\t" . '
当前时间:' . GetTime($timestamp) . ' ' . date('星期N', $timestamp) . '
' . "\r\n\t\t" . '
PHP程式版本:' . PHP_VERSION . '
' . "\r\n\t\t" . '
Register_Globals:' . $Register_Globals . '   [荐off]
' . "\r\n\t\t" . '
Magic_Quotes_Gpc:' . $Magic_Quotes_Gpc . '   [荐on]
' . "\r\n\t\t" . '
expose_php:' . $expose_php . '   [荐off]
' . "\r\n\t\t" . '
eAccelerator:' . $eAccelerator . '   
' . "\r\n\t\t" . '
MYSQL版本:' . $db->version() . '
' . "\r\n\t\t" . '
mymps目录: ' . MYMPS_ROOT . '
' . "\r\n\t\t" . '
使用域名: ' . $_SERVER['SERVER_NAME'] . '
' . "\r\n\t\t" . '
脚本超时时间:' . ini_get('max_execution_time') . '
' . "\r\n\t\t" . '
附件上传上限' . ini_get('upload_max_filesize') . '
' . "\r\n\t\t" . '
GD库版本' . $gd_version . '
' . "\r\n\t\t" . '
检测文件读写权限点此检测' . "\t\t\r\n\t\t", '研发团队' => "\r\n\t\t" . '
系统官网: https://www.mayicms.com
' . "\r\n\t\t" . '
使用教程: https://www.mayicms.com/jiaocheng/
' . "\r\n\t\t" . '
交流论坛: https://www.mayicms.com/bbs/
' . "\r\n\t\t" . '
MayiCMS版本: ' . MPS_VERSION . '
' . "\r\n\t\t\t");