login.tpl.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>系统管理后台</title>
  6. <meta name="viewport" content="initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width" />
  7. <meta name="robots" content="noindex,nofollow">
  8. <link href="template/css/login.css" rel="stylesheet" />
  9. <script type="text/javascript" src="js/login.js"></script>
  10. </head>
  11. <body>
  12. <div class="topbg">
  13. <span class="left"><a href="javascript:(0);" onClick="window.open('<?php echo $mymps_global[SiteUrl]?>');" target="_blank">访问网站首页</a></span>
  14. <span class="right"><a href="#" onClick="var strHref=window.location.href;this.style.behavior='url(#default#homepage)';this.setHomePage('<?php echo GetUrl();?>');" style="cursor: hand">设为首页</a> <a href="#" onClick="collect();">加入收藏</a></span>
  15. </div>
  16. <div class="wrap">
  17. <h1>后台管理中心</h1>
  18. <form name="Login" action="index.php?part=chk&url=<?=$url?>&go=<?=$go?>" method="post" onSubmit="return CheckForm();">
  19. <input name="do" value="login" type="hidden">
  20. <div class="login">
  21. <ul>
  22. <li>
  23. <input class="input" required name="username" type="text" placeholder="帐号" title="管理员帐号" />
  24. </li>
  25. <li>
  26. <input class="input" type="password" required name="password" placeholder="密码" title="管理员密码" />
  27. </li>
  28. <?php if ($authcodesettings['adminlogin'] == 1){?>
  29. <li>
  30. <img style="float:right;" src="../<?php echo $mymps_global[cfg_authcodefile]; ?>" alt="看不清,请点击刷新" class="authcode" onClick="this.src=this.src+'?'" align="absmiddle"/> <input style="float:left; width:100px; height:28px;" class="input" type="text" required name="checkcode" placeholder="验证码" title="验证码" />
  31. </li>
  32. <?php }?>
  33. </ul>
  34. <button type="submit" name="submit" class="btn">登录管理</button>
  35. </div>
  36. </form>
  37. </div>
  38. <div class="foot">
  39. </div>
  40. </body>
  41. </html>