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

57 lines
2.6KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title><?php echo $cfg_softname." ".$cfg_version; ?></title>
  6. <link href="css/base.css" rel="stylesheet" type="text/css" />
  7. <link href="css/login.css" rel="stylesheet" type="text/css" />
  8. <script src="../include/js/jquery/jquery.js" language="javascript" type="text/javascript"></script>
  9. <script type="text/javascript">
  10. $ = jQuery;
  11. function changeAuthCode() {
  12. var num = new Date().getTime();
  13. var rand = Math.round(Math.random() * 10000);
  14. num = num + rand;
  15. $('#ver_code').css('visibility','visible');
  16. if ($("#vdimgck")[0]) {
  17. $("#vdimgck")[0].src = "../plus/vdimgck.php?tag=" + num;
  18. }
  19. return false;
  20. }
  21. </script>
  22. </head>
  23. <body>
  24. <div id="login-box">
  25. <div class="login-top"><a href="../index.php" target="_blank" title="返回网站主页">返回网站主页</a></div>
  26. <?php echo $redmsg; ?>
  27. <div class="login-main">
  28. <form name="form1" method="post" action="login.php">
  29. <input type="hidden" name="gotopage" value="<?php if(!empty($gotopage)) echo RemoveXSS($gotopage);?>" />
  30. <input type="hidden" name="dopost" value="login" />
  31. <input name='adminstyle' type='hidden' value='newdedecms' />
  32. <dl>
  33. <dt>用户名:</dt>
  34. <dd><input type="text" name="userid"/></dd>
  35. <dt>密&nbsp;&nbsp;码:</dt>
  36. <dd><input type="password" class="alltxt" name="pwd"/></dd>
  37. <?php
  38. if(preg_match("/6/",$safe_gdopen))
  39. {
  40. ?>
  41. <dt>验证码:</dt>
  42. <dd><input id="vdcode" type="text" name="validate" style="text-transform:uppercase;"/><img id="vdimgck" align="absmiddle" onClick="this.src=this.src+'?'" style="cursor: pointer;" alt="看不清?点击更换" src="../plus/vdimgck.php"/>
  43. <a href="#" onClick="changeAuthCode();">看不清? </a></dd>
  44. <?php
  45. }
  46. ?>
  47. <dt>&nbsp;</dt>
  48. <dd><button type="submit" name="sm1" class="login-btn" onclick="this.form.submit();">登录</button></dd>
  49. </dl>
  50. </form>
  51. </div>
  52. <div class="login-power">Powered by<a href="http://www.dedecms.com" title="DedeCMS官网"><strong>DedeCMS<?php echo $cfg_version; ?></strong></a>&copy; 2004-2011 <a href="http://www.desdev.cn" target="_blank">DesDev</a> Inc.</div>
  53. </div>
  54. <div class="dede-iframe"><iframe name="loginad" src="login.php?dopost=showad" frameborder="0" id="loginad" scrolling="no" marginwidth="0" marginheight="0" width="100%"></iframe></div>
  55. </body>
  56. </html>