国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
3.4KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="<?php echo $cfg_soft_lang; ?>">
  5. <meta name="robots" content="noindex,nofollow">
  6. <meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
  7. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  9. <link rel="stylesheet" href="../static/web/css/style.css">
  10. <title><?php echo $cfg_webname; ?>后台登录</title>
  11. <style>
  12. body{font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif;color:#424b51;background:#f6f6f6}
  13. img{max-width:100%}
  14. input{font-size:14px!important}
  15. header{background:#fff}
  16. header .logo{width:300px;padding:1rem 0}
  17. .goindex{line-height:68px}
  18. .fa{font-size:16px}
  19. .login-from{max-width:580px;width:100%}
  20. .login-area{background:#fff;padding:1.25rem;border-radius:.25rem}
  21. .login-area .btnLogin{width:100%}
  22. .login-power{padding-top:1rem}
  23. .login-power a,.goindex a{color:#28a745}
  24. </style>
  25. </head>
  26. <body>
  27. <?php
  28. if(preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])){
  29. ?>
  30. <div id="browsehappy" style="padding:20px 30px;font-size:14px;line-height:16px;color:#856404;background:#fff3cd;border-radius:.25rem;border:none">
  31. <a onclick="document.getElementById('browsehappy').style.display='none';" style="float:right;cursor:pointer">×</a>
  32. <span>您正在使用一个过时的浏览器,请您<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,以提高您对后台体验</span>
  33. </div>
  34. <?php
  35. }
  36. ?>
  37. <header>
  38. <div class="container top">
  39. <div class="row">
  40. <div class="col-10">
  41. <div class="logo"><img src="../static/web/img/admin-logo.png" title="<?php echo $cfg_soft_enname; ?>"></div>
  42. </div>
  43. <div class="col-2 d-flex justify-content-end goindex">
  44. <a href="../index.php" target="_blank"><i class="fa fa-home"></i></a>
  45. </div>
  46. </div>
  47. </div>
  48. </header>
  49. <main class="container login-from mt-5">
  50. <?php echo $redmsg; ?>
  51. <div class="login-area">
  52. <h4 class="mb-4 text-center">后台登录</h4>
  53. <form name="form1" method="post" action="login.php">
  54. <input type="hidden" name="gotopage" value="<?php if(!empty($gotopage)) echo RemoveXSS($gotopage); ?>">
  55. <input type="hidden" name="dopost" value="login">
  56. <input type="hidden" name="adminstyle" value="newDedeBIZ">
  57. <div class="form-group">
  58. <label for="iptUserid">用户名</label>
  59. <input type="text" name="userid" class="form-control" id="iptUserid">
  60. </div>
  61. <div class="form-group">
  62. <label for="iptPassword">密码</label>
  63. <input type="password" name="pwd" class="form-control" id="iptPassword">
  64. </div>
  65. <?php
  66. if(preg_match("/6/",$safe_gdopen))
  67. {
  68. ?>
  69. <div class="form-group">
  70. <label for="iptValidate">验证码</label>
  71. <div class="input-group">
  72. <input type="text" name="validate" class="form-control" id="iptValidate" style="text-transform:uppercase">
  73. <img src="../apps/vdimgck.php" onclick="this.src='../apps/vdimgck.php?'+new Date().getTime()+Math.round(Math.random() * 10000)" title="验证码" id="validateimg" style="cursor:pointer">
  74. </div>
  75. </div>
  76. <?php
  77. }
  78. ?>
  79. <button type="submit" class="btn btn-success btnLogin btn-sm">登录</button>
  80. <div class="login-power"><?php echo $cfg_powerby; ?></div>
  81. </form>
  82. </div>
  83. </main>
  84. </body>
  85. </html>