diff --git a/src/admin/sys_payment.php b/src/admin/sys_payment.php index bc882af8..fc8a6cf9 100644 --- a/src/admin/sys_payment.php +++ b/src/admin/sys_payment.php @@ -8,15 +8,11 @@ * @license https://www.dedebiz.com/license * @link https://www.dedebiz.com */ - if (!empty($_REQUEST['dopost'])) define('IS_DEDEAPI', TRUE); - require_once(dirname(__FILE__)."/config.php"); require_once(DEDEINC.'/datalistcp.class.php'); - CheckPurview('sys_Data'); $dopost = (empty($dopost)) ? '' : $dopost; - if ($dopost === "get_payments") { $sql = "SELECT * FROM `#@__sys_payment`"; $dsql->SetQuery($sql); @@ -46,7 +42,6 @@ if ($dopost === "get_payments") { } else { $configItem[$kk] = $ii; } - } $cfg = json_encode($configItem); $upQuery = "UPDATE `#@__sys_payment` SET sortrank='$sortrank',status='$status',config='$cfg' WHERE code='$key'; "; @@ -65,7 +60,5 @@ if ($dopost === "get_payments") { )); exit; } - include DedeInclude('templets/sys_payment.htm'); - ?> \ No newline at end of file diff --git a/src/admin/sys_repair.php b/src/admin/sys_repair.php index 0b2680de..e5154d71 100644 --- a/src/admin/sys_repair.php +++ b/src/admin/sys_repair.php @@ -17,8 +17,7 @@ if (empty($dopost)) { $win->mainTitle = "系统修复工具"; $wecome_info = "系统修复工具"; $win->AddTitle('本工具用于检测和修复您的系统可能存在的错误'); - $msg = " - + $msg = "
-
由于手动升级时用户没运行指定的SQL语句,或自动升级的遗漏处理或处理出错,可能会导致一些错误,使用本工具会自动检测并处理,本工具目前主要执行下面动作:
@@ -29,8 +28,7 @@ if (empty($dopost)) {
常规检测
- "; + "; $win->AddMsgItem("$msg"); $winform = $win->GetWindow('hand', ''); $win->Display(); @@ -46,8 +44,7 @@ else if ($dopost == 1) { $win->mainTitle = "系统修复工具"; $wecome_info = "系统修复工具 > 检测数据结构"; $win->AddTitle('本工具用于检测和修复您的系统可能存在的错误'); - $msg = " - + $msg = "
-
已完成数据结构完整性检测 @@ -58,8 +55,7 @@ else if ($dopost == 1) {
检测数据
- "; + "; $win->AddMsgItem("$msg"); $winform = $win->GetWindow('hand', ''); $win->Display(); @@ -123,16 +119,14 @@ else if ($dopost == 2) { $win->mainTitle = "系统修复工具"; $wecome_info = "系统修复工具 > 检测微表正确性"; $win->AddTitle('本工具用于检测和修复您的系统可能存在的错误'); - $msg = " - + $msg = "
-
{$msg}
{$errall}
- "; + "; $win->AddMsgItem("$msg"); $winform = $win->GetWindow('hand', ''); $win->Display(); @@ -177,16 +171,14 @@ else if ($dopost == 3) { $win->mainTitle = "系统修复工具"; $wecome_info = "系统修复工具 > 高级综合检测修复"; $win->AddTitle('本工具用于检测和修复您的系统可能存在的错误'); - $msg = " - + $msg = "
-
完成所有修复操作,移除错误记录{$errnum}条

完成修正
- "; + "; $win->AddMsgItem("$msg"); $winform = $win->GetWindow('hand', ''); $win->Display();