| @@ -18,7 +18,7 @@ if ($dopost == 'filemanager') { | |||||
| if (file_exists('./file_manage_main.php')) { | if (file_exists('./file_manage_main.php')) { | ||||
| header("location:file_manage_main.php?activepath=$cfg_medias_dir"); | header("location:file_manage_main.php?activepath=$cfg_medias_dir"); | ||||
| } else { | } else { | ||||
| ShowMsg("找不到文件管理器,可能已经卸载!", "-1"); | |||||
| ShowMsg("找不到文件管理器,可能已经卸载", "-1"); | |||||
| } | } | ||||
| exit(); | exit(); | ||||
| } | } | ||||
| @@ -257,7 +257,7 @@ else if ($dopost == 'redat') { | |||||
| function PutInfo($msg1, $msg2) | function PutInfo($msg1, $msg2) | ||||
| { | { | ||||
| global $cfg_soft_lang; | 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:#424b51;background:#f8f8f8}a{color:#28a745;text-decoration:none}.tips{margin:70px auto 0;padding:0;width:430px;height:auto;background:#fff;border-radius:.2rem}.tips-head{margin:0 20px;padding:16px 0;border-bottom:1px solid #f8f8f8}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.tips-box{padding:20px;min-height:120px;color:#424b51}.btn a{display:inline-block;margin:20px auto 0;padding:.375rem .75rem;font-size:12px;color:#fff;background:#28a745;border-radius:.2rem;text-align:center;transition:all .6s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}@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>"; | |||||
| $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:#424b51;background:#f8f8f8}a{color:#28a745;text-decoration:none}.tips{margin:70px auto 0;padding:0;width:430px;height:auto;background:#fff;border-radius:.2rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.tips-head{margin:0 20px;padding:16px 0;border-bottom:1px solid #f8f8f8}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.tips-box{padding:20px;min-height:120px;color:#424b51}.btn a{display:inline-block;margin:20px auto 0;padding:.375rem .75rem;font-size:12px;color:#fff;background:#28a745;border-radius:.2rem;text-align:center;transition:all .6s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}@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>"; | echo $msginfo."</center></body></html>"; | ||||
| } | } | ||||
| function RpLine($str) | function RpLine($str) | ||||
| @@ -81,7 +81,7 @@ | |||||
| </header> | </header> | ||||
| <main class="container login-from mt-5"> | <main class="container login-from mt-5"> | ||||
| <?php echo $redmsg; ?> | <?php echo $redmsg; ?> | ||||
| <div class="login-area"> | |||||
| <div class="login-area shadow-sm"> | |||||
| <h4 class="mb-4 text-center">后台登录</h4> | <h4 class="mb-4 text-center">后台登录</h4> | ||||
| <form name="form1" method="post" action="login.php"> | <form name="form1" method="post" action="login.php"> | ||||
| <input type="hidden" name="gotopage" value="<?php if(!empty($gotopage)) echo RemoveXSS($gotopage); ?>"> | <input type="hidden" name="gotopage" value="<?php if(!empty($gotopage)) echo RemoveXSS($gotopage); ?>"> | ||||
| @@ -258,7 +258,7 @@ function ShowMsg($msg, $gourl, $onlymsg = 0, $limittime = 0) | |||||
| } | } | ||||
| $func .= "var pgo=0;function JumpUrl(){if (pgo==0){location='$gourl'; pgo=1;}}"; | $func .= "var pgo=0;function JumpUrl(){if (pgo==0){location='$gourl'; pgo=1;}}"; | ||||
| $rmsg = $func; | $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:#424b51;background:#f8f8f8}a{color:#28a745;text-decoration:none}.tips{margin:70px auto 0;padding:0;width:430px;height:auto;background:#fff;border-radius:.2rem}.tips-head{margin:0 20px;padding:16px 0;border-bottom:1px solid #f8f8f8}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.tips-box{padding:20px;min-height:120px;color:#424b51}.btn a{display:inline-block;margin:20px auto 0;padding:.375rem .75rem;font-size:12px;color:#fff;background:#28a745;border-radius:.2rem;text-align:center;transition:all .6s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}@media (max-width:768px){body{padding:0 15px}.tips{width:100%}}</style>\");"; | |||||
| $rmsg .= "document.write(\"<style>body{margin:0;line-height:1.5;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#f8f8f8}a{color:#28a745;text-decoration:none}.tips{margin:70px auto 0;padding:0;width:430px;height:auto;background:#fff;border-radius:.2rem;box-shadow:0 .125rem .25rem rgba(0,0,0,.075)}.tips-head{margin:0 20px;padding:16px 0;border-bottom:1px solid #f8f8f8}.tips-head p{margin:0;padding-left:10px;line-height:16px;text-align:left;border-left:3px solid #dc3545}.tips-box{padding:20px;min-height:120px;color:#424b51}.btn a{display:inline-block;margin:20px auto 0;padding:.375rem .75rem;font-size:12px;color:#fff;background:#28a745;border-radius:.2rem;text-align:center;transition:all .6s}.btn a:focus{background:#006829;border-color:#005b24;box-shadow:0 0 0 0.2rem rgba(38,159,86,.5)}@media (max-width:768px){body{padding:0 15px}.tips{width:100%}}</style>\");"; | |||||
| $rmsg .= "document.write(\"<div class='tips'>"; | $rmsg .= "document.write(\"<div class='tips'>"; | ||||
| $rmsg .= "<div class='tips-head'><p>提示信息</p></div>\");"; | $rmsg .= "<div class='tips-head'><p>提示信息</p></div>\");"; | ||||
| $rmsg .= "document.write(\"<div class='tips-box'>\");"; | $rmsg .= "document.write(\"<div class='tips-box'>\");"; | ||||