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

65 lines
2.9KB

  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="css/login.css">
  12. </head>
  13. <body>
  14. <?php
  15. if(preg_match('/MSIE/i',$_SERVER['HTTP_USER_AGENT']) || preg_match('/Trident/i',$_SERVER['HTTP_USER_AGENT'])){
  16. ?>
  17. <div id="browsehappy" style="padding:20px 30px;font-size:14px;line-height:16px;color:#856404;background:#fff3cd;border-radius:.25rem;border:none">
  18. <a onclick="document.getElementById('browsehappy').style.display='none';" style="float:right;cursor:pointer">×</a>
  19. <span>您正在使用一个过时的浏览器,请您<a href="https://www.dedebiz.com/browsehappy" target="_blank">升级浏览器</a>,以提高您对后台体验</span>
  20. </div>
  21. <?php
  22. }
  23. ?>
  24. <header>
  25. <div class="container top">
  26. <div class="row">
  27. <div class="col-10">
  28. <div class="logo"><img src="../static/web/img/admin-logo.png" title="<?php echo $cfg_soft_enname; ?>"></div>
  29. </div>
  30. <div class="col-2 d-flex justify-content-end goindex">
  31. <a href="../index.php" target="_blank"><i class="fa fa-home"></i></a>
  32. </div>
  33. </div>
  34. </div>
  35. </header>
  36. <main class="container login-from mt-5">
  37. <?php echo $redmsg; ?>
  38. <div class="login-area shadow-sm">
  39. <h4 class="mb-4 text-center">后台登录</h4>
  40. <form name="form1" method="post" action="login.php">
  41. <input type="hidden" name="gotopage" value="<?php if(!empty($gotopage)) echo RemoveXSS($gotopage); ?>">
  42. <input type="hidden" name="dopost" value="login">
  43. <input type="hidden" name="adminstyle" value="newDedeBIZ">
  44. <div class="form-group">
  45. <label for="iptUserid">用户名</label>
  46. <input type="text" name="userid" class="form-control" id="iptUserid">
  47. </div>
  48. <div class="form-group">
  49. <label for="iptPassword">密码</label>
  50. <input type="password" name="pwd" class="form-control" id="iptPassword">
  51. </div>
  52. <div class="form-group">
  53. <label for="iptValidate">验证码</label>
  54. <div class="input-group">
  55. <input type="text" name="validate" class="form-control" id="iptValidate" style="text-transform:uppercase">
  56. <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">
  57. </div>
  58. </div>
  59. <button type="submit" class="btn btn-success btnLogin btn-sm">登录</button>
  60. <div class="login-power"><?php echo $cfg_powerby; ?></div>
  61. </form>
  62. </div>
  63. </main>
  64. </body>
  65. </html>