loginopen.php 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?php
  2. if(!defined('InEmpireCMS'))
  3. {
  4. exit();
  5. }
  6. ?>
  7. <html>
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  10. <link href="../../data/images/qcss.css" rel="stylesheet" type="text/css">
  11. <title>登录</title>
  12. </head>
  13. <body>
  14. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  15. <form name="form1" method="post" action="../doaction.php">
  16. <input type=hidden name=ecmsfrom value="<?=ehtmlspecialchars($_GET['from'])?>">
  17. <input type=hidden name=prtype value="<?=ehtmlspecialchars($_GET['prt'])?>">
  18. <input type=hidden name=enews value=login>
  19. <tr class="header">
  20. <td height="25" colspan="2"><div align="center">会员登陆</div></td>
  21. </tr>
  22. <tr bgcolor="#FFFFFF">
  23. <td width="24%" height="25">用户名:</td>
  24. <td width="76%" height="25"><input name="username" type="text" id="username"></td>
  25. </tr>
  26. <tr bgcolor="#FFFFFF">
  27. <td height="25">密码:</td>
  28. <td height="25"><input name="password" type="password" id="password"></td>
  29. </tr>
  30. <tr bgcolor="#FFFFFF">
  31. <td height="25">保存:</td>
  32. <td height="25">
  33. <select name="lifetime">
  34. <option value="0">不保存</option>
  35. <option value="3600">一小时</option>
  36. <option value="86400">一天</option>
  37. <option value="2592000">一个月</option>
  38. <option value="315360000">永久</option>
  39. </select>
  40. </td>
  41. </tr>
  42. <?php
  43. if($public_r['loginkey_ok'])
  44. {
  45. ?>
  46. <tr bgcolor="#FFFFFF">
  47. <td height="25">验证码:</td>
  48. <td height="25">
  49. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  50. <tr>
  51. <td width="52"><input name="key" type="text" id="key" size="6">
  52. </td>
  53. <td id="loginshowkey"><a href="#EmpireCMS" onclick="edoshowkey('loginshowkey','login','<?=$public_r['newsurl']?>');" title="点击显示验证码">点击显示验证码</a></td>
  54. </tr>
  55. </table>
  56. </td>
  57. </tr>
  58. <?php
  59. }
  60. ?>
  61. <tr bgcolor="#FFFFFF">
  62. <td height="25">&nbsp;</td>
  63. <td height="25"><input type="submit" name="Submit" value="登陆"> <input type="button" name="button" value="注册" onclick="window.open('../register/');"></td>
  64. </tr>
  65. </form>
  66. </table>
  67. </body>
  68. </html>