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

118 line
3.7KB

  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. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  8. <title><?php echo $cfg_webname; ?>后台登录</title>
  9. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  10. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  11. <link rel="stylesheet" href="../static/web/css/style.css">
  12. <style>
  13. body {
  14. font: 14px Helvetica Neue, Helvetica, PingFang SC, Tahoma, Arial, sans-serif;
  15. color: #424b51;
  16. background: #f6f6f6
  17. }
  18. img {
  19. max-width: 100%
  20. }
  21. input {
  22. font-size: 14px !important
  23. }
  24. header {
  25. background: #fff
  26. }
  27. header .logo {
  28. width: 300px;
  29. padding: 1rem 0
  30. }
  31. .goindex {
  32. line-height: 68px
  33. }
  34. .login-from {
  35. max-width: 560px;
  36. width: 100%
  37. }
  38. .login-area {
  39. padding: 1.25rem;
  40. background: #fff;
  41. border-radius: .2rem
  42. }
  43. .login-area .btnLogin {
  44. width: 100%
  45. }
  46. .login-power {
  47. padding-top: 1rem
  48. }
  49. .login-power a,
  50. .goindex a {
  51. color: #28a745
  52. }
  53. .btnLogin,
  54. .form-control {
  55. height: 36px
  56. }
  57. </style>
  58. </head>
  59. <body>
  60. <?php
  61. if(preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])){
  62. ?>
  63. <div id="browsehappy" style="padding:20px 30px;font-size:14px;line-height:16px;color:#856404;background:#fff3cd;border-radius:.25rem;border:none">
  64. <a onclick="document.getElementById('browsehappy').style.display='none';" style="float:right;cursor:pointer">×</a>
  65. <span>您正在使用一个过时的浏览器,请您<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,以提高您对后台体验</span>
  66. </div>
  67. <?php
  68. }
  69. ?>
  70. <header>
  71. <div class="container top">
  72. <div class="row">
  73. <div class="col-10">
  74. <div class="logo"><img src="../static/web/img/admin-logo.png" title="<?php echo $cfg_soft_enname; ?>"></div>
  75. </div>
  76. <div class="col-2 d-flex justify-content-end goindex">
  77. <a href="../index.php" target="_blank"><i class="fa fa-home"></i></a>
  78. </div>
  79. </div>
  80. </div>
  81. </header>
  82. <main class="container login-from mt-5">
  83. <?php echo $redmsg; ?>
  84. <div class="login-area">
  85. <h4 class="mb-4 text-center">后台登录</h4>
  86. <form name="form1" method="post" action="login.php">
  87. <input type="hidden" name="gotopage" value="<?php if(!empty($gotopage)) echo RemoveXSS($gotopage); ?>">
  88. <input type="hidden" name="dopost" value="login">
  89. <input type="hidden" name="adminstyle" value="newDedeBIZ">
  90. <div class="form-group">
  91. <label for="iptUserid">用户名</label>
  92. <input type="text" name="userid" class="form-control" id="iptUserid">
  93. </div>
  94. <div class="form-group">
  95. <label for="iptPassword">密码</label>
  96. <input type="password" name="pwd" class="form-control" id="iptPassword">
  97. </div>
  98. <?php
  99. if(preg_match("/6/",$safe_gdopen))
  100. {
  101. ?>
  102. <div class="form-group">
  103. <label for="iptValidate">验证码</label>
  104. <div class="input-group">
  105. <input type="text" name="validate" class="form-control" id="iptValidate" style="text-transform:uppercase">
  106. <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">
  107. </div>
  108. </div>
  109. <?php
  110. }
  111. ?>
  112. <button type="submit" class="btn btn-success btnLogin btn-sm">登录</button>
  113. <div class="login-power"><?php echo $cfg_powerby; ?></div>
  114. </form>
  115. </div>
  116. </main>
  117. </body>
  118. </html>