diff --git a/src/admin/makehtml_archives_action.php b/src/admin/makehtml_archives_action.php index a546a166..650c7dfb 100644 --- a/src/admin/makehtml_archives_action.php +++ b/src/admin/makehtml_archives_action.php @@ -79,7 +79,7 @@ $ttime = time() - $sstime; $ttime = number_format(($ttime / 60), 2); //返回提示信息 $tjlen = $totalnum > 0 ? ceil(($tjnum / $totalnum) * 100) : 100; -$tjsta = "<div style='margin-bottom:18px;margin-bottom:18px;width:260px;height:18px;text-align:left;border:1px solid #1eb867;border-radius:.2rem'><div style='max-width:260px;width:$tjlen%;height:18px;background:#1eb867'></div></div>"; +$tjsta = "<div style='margin-bottom:20px;width:260px;height:18px;text-align:left;border:1px solid #1eb867;border-radius:.2rem'><div style='max-width:260px;width:$tjlen%;height:18px;background:#1eb867'></div></div>"; $tjsta .= "到达位置<span class='text-primary'>".($startdd + $pagesize)."</span>,用时<span class='text-primary'>{$ttime}</span>分钟,完成更新文档总数<span class='text-primary'>$tjlen</span>%"; //速度测试 if ($tjnum < $totalnum) { diff --git a/src/admin/sys_data_done.php b/src/admin/sys_data_done.php index c83124dc..1187ee21 100644 --- a/src/admin/sys_data_done.php +++ b/src/admin/sys_data_done.php @@ -257,8 +257,8 @@ else if ($dopost == 'redat') { function PutInfo($msg1, $msg2) { global $cfg_soft_lang; - $msginfo = "<!DOCTYPE html><html><head><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1'><title>提示信息</title><style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#1eb867;text-decoration:none}.tips{margin:70px auto 0;padding:0;width:500px;height:auto;background:#fff;border-radius:.2rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.tips-head{margin:0 20px;padding:18px 0;border-bottom:1px solid #f5f5f5}.tips-head p{margin:0;padding-left:10px;line-height:18px;text-align:left;border-left:3px solid #dc3545}.tips-box{padding:20px;min-height:130px;color:#545b62}.btn a{display:inline-block;margin:18px auto 0;padding:.375rem .75rem;font-size:12px;color:#fff;background:#1eb867;border-radius:.2rem;text-align:center;transition:all .3s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}.text-primary{color:#007bff!important}@media (max-width:768px){body{padding:0 15px}.tips{width:100%}}</style></head><body><center><div class='tips'><div class='tips-head'><p>提示信息</p></div><div class='tips-box'>{$msg1}{$msg2}</div></div>"; - echo $msginfo."</center></body></html>"; + $msginfo = "<!DOCTYPE html><html><head><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1'><title>提示信息</title><style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#1eb867;text-decoration:none}.tips-box{margin:70px auto 0;width:500px;height:auto;background:#fff;border-radius:.2rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.tips-head{margin:0 20px;padding:18px 0;border-bottom:1px solid #f5f5f5}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.tips-body{padding:20px;min-height:130px;color:#545b62}.btn{margin-top:20px;text-align:center}.btn a{display:inline-block;padding:.375rem .75rem;font-size:12px;color:#fff;background:#1eb867;border-radius:.2rem;text-align:center;transition:all .3s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}.text-primary{color:#007bff}@media (max-width:768px){.tips{padding:0 15px}.tips,.tips-box{width:100%}}</style></head><body><div class='tips'><div class='tips-box'><div class='tips-head'><p>提示信息</p></div><div class='tips-body'>{$msg1}{$msg2}</div></div></div>"; + echo $msginfo."</body></html>"; } function RpLine($str) { diff --git a/src/admin/templets/sys_data.htm b/src/admin/templets/sys_data.htm index 54292e5d..f2c66183 100644 --- a/src/admin/templets/sys_data.htm +++ b/src/admin/templets/sys_data.htm @@ -184,7 +184,7 @@ } ?> <tr> - <td bgcolor="#e9ecef" colspan="8"> + <td colspan="8"> 分卷大小:<input name="fsize" type="text" id="fsize" value="2048" class="admin-input-sm"> K <label><input type="checkbox" name="isstruct" id="isstruct" value="1" checked="1"> 备份结构</label> <?php if (@function_exists('gzcompress') && false) {?> diff --git a/src/admin/templets/sys_data_revert.htm b/src/admin/templets/sys_data_revert.htm index 9f2391fc..ec9d692b 100644 --- a/src/admin/templets/sys_data_revert.htm +++ b/src/admin/templets/sys_data_revert.htm @@ -91,7 +91,7 @@ } ?> <tr> - <td bgcolor="#e9ecef" colspan="4"> + <td colspan="4"> <label><input name="structfile" type="checkbox" id="structfile" value="<?php echo $structfile?>" checked="1"> 还原表结构信息(<?php echo $structfile?>)</label> <label><input name="delfile" type="checkbox" id="delfile" value="1"> 还原后删除备份文件</label> <button name="b1" type="button" id="b1" onClick="SelAll()" class="btn btn-success btn-sm">全选</button> diff --git a/src/system/common.func.php b/src/system/common.func.php index ee919382..fb7dc807 100755 --- a/src/system/common.func.php +++ b/src/system/common.func.php @@ -332,9 +332,8 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) return; } if (empty($GLOBALS['cfg_plus_dir'])) $GLOBALS['cfg_plus_dir'] = '..'; - $htmlhead = "<!DOCTYPE html><html><head><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1'><title>提示信息</title><base target='_self'></head>"; - $htmlhead .= "<body><center><script>"; - $htmlfoot = "</script></center></body></html>"; + $htmlhead = "<!DOCTYPE html><html><head><meta charset='utf-8'><meta http-equiv='X-UA-Compatible' content='IE=Edge,chrome=1'><title>提示信息</title><base target='_self'></head><body><script>"; + $htmlfoot = "</script></body></html>"; $litime = ($limittime == 0 ? 1000 : $limittime); $func = ''; if ($gourl == '-1') { @@ -352,10 +351,9 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) } $func .= "var pgo=0;function JumpUrl(){if (pgo==0){location='$gourl'; pgo=1;}}"; $rmsg = $func; - $rmsg .= "document.write(\"<style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#1eb867;text-decoration:none}.tips{margin:70px auto 0;padding:0;width:500px;height:auto;background:#fff;border-radius:.2rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.tips-head{margin:0 20px;padding:18px 0;border-bottom:1px solid #f5f5f5}.tips-head p{margin:0;padding-left:10px;line-height:18px;text-align:left;border-left:3px solid #dc3545}.tips-box{padding:20px;min-height:130px;color:#545b62}.btn a{display:inline-block;margin:18px auto 0;padding:.375rem .75rem;font-size:12px;color:#fff;background:#1eb867;border-radius:.2rem;text-align:center;transition:all .3s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}.text-primary{color:#007bff!important}@media (max-width:768px){body{padding:0 15px}.tips{width:100%}}</style>\");"; - $rmsg .= "document.write(\"<div class='tips'>"; - $rmsg .= "<div class='tips-head'><p>提示信息</p></div>\");"; - $rmsg .= "document.write(\"<div class='tips-box'>\");"; + $rmsg .= "document.write(\"<style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#545b62;background:#f5f5f5}a{color:#1eb867;text-decoration:none}.tips-box{margin:70px auto 0;width:500px;height:auto;background:#fff;border-radius:.2rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.tips-head{margin:0 20px;padding:18px 0;border-bottom:1px solid #f5f5f5}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.tips-body{padding:20px;min-height:130px;color:#545b62}.btn{margin-top:20px;text-align:center}.btn a{display:inline-block;padding:.375rem .75rem;font-size:12px;color:#fff;background:#1eb867;border-radius:.2rem;text-align:center;transition:all .3s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}.text-primary{color:#007bff}@media (max-width:768px){.tips{padding:0 15px}.tips,.tips-box{width:100%}}</style>\");"; + $rmsg .= "document.write(\"<div class='tips'><div class='tips-box'><div class='tips-head'><p>提示信息</p></div>\");"; + $rmsg .= "document.write(\"<div class='tips-body'>\");"; $rmsg .= "document.write(\"".str_replace("\"", "“", $msg)."\");"; $rmsg .= "document.write(\""; if ($onlymsg == 0) { @@ -366,7 +364,7 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) $rmsg .= "</div>\");"; } } else { - $rmsg .= "</div>\");"; + $rmsg .= "</div></div>\");"; } $msg = $htmlhead.$rmsg.$htmlfoot; }