国内流行的内容管理系统(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.

75 lines
2.8KB

  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/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="../static/font-awesome/css/font-awesome.min.css">
  9. <link rel="stylesheet" href="../static/css/dede.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:#f2f2f2}
  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:#008e38}
  24. </style>
  25. </head>
  26. <body>
  27. <header>
  28. <div class="container top">
  29. <div class="row">
  30. <div class="col-10">
  31. <div class="logo"><img src="../static/img/admin-logo.png" title="<?php echo $cfg_soft_enname; ?>"></div>
  32. </div>
  33. <div class="col-2 d-flex justify-content-end goindex">
  34. <a href="../index.php" target="_blank"><i class="fa fa-home" aria-hidden="true"></i></a>
  35. </div>
  36. </div>
  37. </div>
  38. </header>
  39. <main class="container login-from mt-5">
  40. <?php echo $redmsg; ?>
  41. <div class="login-area">
  42. <h4 class="mb-4 text-center">后台登录</h4>
  43. <form name="form1" method="post" action="login.php">
  44. <input type="hidden" name="gotopage" value="<?php if(!empty($gotopage)) echo RemoveXSS($gotopage); ?>">
  45. <input type="hidden" name="dopost" value="login">
  46. <input type="hidden" name="adminstyle" value="newDedeBIZ">
  47. <div class="form-group">
  48. <label for="iptUserid">用户名</label>
  49. <input type="text" name="userid" class="form-control" id="iptUserid">
  50. </div>
  51. <div class="form-group">
  52. <label for="iptPassword">密码</label>
  53. <input type="password" name="pwd" class="form-control" id="iptPassword">
  54. </div>
  55. <?php
  56. if(preg_match("/6/",$safe_gdopen))
  57. {
  58. ?>
  59. <div class="form-group">
  60. <label for="iptValidate">验证码</label>
  61. <div class="input-group">
  62. <input type="text" name="validate" class="form-control" id="iptValidate" style="text-transform:uppercase">
  63. <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">
  64. </div>
  65. </div>
  66. <?php
  67. }
  68. ?>
  69. <button type="submit" class="btn btn-success btnLogin">登录</button>
  70. <div class="login-power"><?php echo $cfg_powerby; ?></div>
  71. </form>
  72. </div>
  73. </main>
  74. </body>
  75. </html>