login.html 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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=utf-8" />
  5. <meta http-equiv="Content-Language" content="zh-CN"/>
  6. <title>powered by mymps</title>
  7. <link href="<?=$mymps_global['SiteUrl']?>/template/global/button.css" rel="stylesheet" type="text/css" />
  8. <script language="javascript" src="<?=$mymps_global['SiteUrl']?>/template/default/js/login.js"></script>
  9. </head>
  10. <body style="padding:20px 0px 10px 20px; font-size:14px; line-height:22px; color:#666; font-family:microsoft yahei;">
  11. <div style="float:left; width:290px; border-right:1px #eeeeee solid; margin-bottom:20px; ">
  12. <form name="formLogin" method="post" action="<?=$mymps_global['SiteUrl']?>/<?php echo $mymps_global['cfg_member_logfile']?>" target="_self" onSubmit="return submitForm();">
  13. <input name="mod" type="hidden" value="login">
  14. <input name="action" type="hidden" value="dopost">
  15. <?php
  16. if($gourl == 'seecontact'){
  17. $url = $mymps_global[SiteUrl].'/box.php?part=seecontact&infoid='.$infoid.'&if_view='.$if_view;
  18. }elseif($gourl == 'shoucang'){
  19. $url = $mymps_global[SiteUrl].'/box.php?part=shoucang&infoid='.$infoid;
  20. }elseif($gourl == 'delinfo'){
  21. $url = $mymps_global[SiteUrl].'/box.php?part=delinfo&id='.$id;
  22. }else{
  23. $url = $mymps_global[SiteUrl].'/box.php?part=upgrade&id='.$id.'&catid='.$catid;
  24. }
  25. $url = urlencode($url);
  26. ?>
  27. <input name="url" type="hidden" value="<?php echo $url; ?>">
  28. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  29. <tr>
  30. <td width="60" height="40">帐号:</td>
  31. <td><b style="color:red"><input name="userid" type="text" class="input input-large"/></b></td>
  32. </tr>
  33. <tr>
  34. <td width="60" height="40">密码:</td>
  35. <td><input name="userpwd" type="password" class="input input-large"/></td>
  36. </tr>
  37. <?php if($authcodesettings['login'] == 1) {?>
  38. <tr>
  39. <td width="60" height="40">验证码:</td>
  40. <td><input type="text" name="checkcode" class="input input-large"/> </td>
  41. </td>
  42. <tr>
  43. <td>&nbsp;</td>
  44. <td><img src="<?=$mymps_global['SiteUrl']?>/<?=$mymps_global['cfg_authcodefile']?>" alt="看不清,请点击刷新" class="authcode" align="absmiddle" onClick="this.src=this.src+'?'"/></td>
  45. </tr>
  46. <?}?>
  47. <tr>
  48. <td></td>
  49. <td><label for="memory"><input name="memory" type="checkbox" value="on" class="checkbox" id="memory"/> 记住密码,公共场所慎用</label></td>
  50. </tr>
  51. <tr>
  52. <td height="50">&nbsp;</td>
  53. <td><input type="submit" class="mymps mini" name="log_submit" value="立即登录" /></td>
  54. </tr>
  55. </table>
  56. </form>
  57. </div>
  58. <div style="float:left; padding-left:15px; padding-bottom:6px; margin-top:10px;height:auto; overflow:auto; display:block; width:auto; color:#585858">
  59. 您需要登录方能进行后续操作<br /><br />还没有会员帐号?<br /><br />
  60. <input type="button" class="gray mini" onclick="window.open('<?=$mymps_global['SiteUrl']?>/<?php echo $mymps_global['cfg_member_logfile'];?>?mod=register')" value="立即注册">
  61. </div>
  62. </body>
  63. </html>