无限星辰工作室-客户无限互联网动力之源

标题: Discuz! 外部登录代码分享 [打印本页]

作者: crx349    时间: 2014-4-15 10:06
标题: Discuz! 外部登录代码分享
看到论坛有很多需要的,发出来,可以自己加个css美化一下。
适用版本:Discuz!x2-x3.1

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<A >http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</A>">
  2. <html xmlns="<A >http://www.w3.org/1999/xhtml</A>">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  5. <title>无限星辰工作室外部登录</title>
  6. </head>
  7. <body>
  8. <table cellpadding="0" cellspacing="0" class="fwin"><tbody><tr><td class="t_l"></td><td class="t_c" style="cursor:move" onmousedown="dragMenu($$('fwin_login'), event, 1)" ondblclick="hideWindow('login')"></td><td class="t_r"></td></tr><tr><td class="m_l" style="cursor:move" onmousedown="dragMenu($$('fwin_login'), event, 1)" ondblclick="hideWindow('login')" )"="">&nbsp;&nbsp;</td><td class="m_c" id="fwin_content_login" style="" fwin="login">
  9. <div id="main_messaqge_Lrp14" fwin="login">
  10. <div id="layer_login_Lrp14" fwin="login">
  11. <h3 class="flb" id="fctrl_login" style="cursor: move; ">
  12. <em id="returnmessage_Lrp14" fwin="login">
  13. 用户登录</em>
  14. <span><a href="javascript:;" class="flbc" onclick="hideWindow('login', 0, 1);" title="关闭">关闭</a></span>
  15. </h3>
  16. <form method="post" autocomplete="off" name="login" id="loginform_Lrp14" class="cl" onsubmit="pwdclear = 1;ajaxpost('loginform_Lrp14', 'returnmessage_Lrp14', 'returnmessage_Lrp14', 'onerror');return false;" action="<STRONG><FONT color=red>您的论坛网址</FONT></STRONG>/member.php?mod=logging&amp;action=login&amp;loginsubmit=yes&amp;handlekey=login&amp;loginhash=Lrp14" fwin="login">
  17. <div class="c cl">
  18. <input type="hidden" name="formhash" value="0c7d2ed7">
  19. <input type="hidden" name="referer" value="<STRONG><FONT color=red>您的论坛网址</FONT></STRONG>/forum.php">
  20. <div class="rfm">
  21. <table>
  22. <tbody><tr>
  23. <th>
  24. <span class="login_slct">
  25. <select name="loginfield" style="float: left; display: none; " width="45" id="loginfield_Lrp14" fwin="login" selecti="0">

  26. <option value="username"></option></select><a href="javascript:;" id="loginfield_Lrp14_ctrl" style="width:45px" tabindex="1">用户名</a>
  27. </span>
  28. </th>
  29. <td><input type="text" name="username" id="username_Lrp14" autocomplete="off" size="30" class="px p_fre" tabindex="1" value="" fwin="login"></td>
  30. <td class="tipcol"><a href="member.php?mod=register">立即注册</a></td>
  31. </tr>
  32. </tbody></table>
  33. </div>
  34. <div class="rfm">
  35. <table>
  36. <tbody><tr>
  37. <th><label for="password3_Lrp14">密码:</label></th>
  38. <td><input type="password" id="password3_Lrp14" name="password" onfocus="clearpwd()" size="30" class="px p_fre" tabindex="1" fwin="login"></td>
  39. <td class="tipcol"><a href="javascript:;" onclick="display('layer_login_Lrp14');display('layer_lostpw_Lrp14');" title="找回密码">找回密码</a></td>
  40. </tr>
  41. </tbody></table>
  42. </div>
  43. <div class="rfm">
  44. <table>
  45. <tbody><tr>
  46. <th>安全提问:</th>
  47. <td><select id="loginquestionid_Lrp14" width="213" name="questionid" onchange="if($$('loginquestionid_Lrp14').value &gt; 0) {$$('loginanswer_row_Lrp14').style.display='';} else {$$('loginanswer_row_Lrp14').style.display='none';}" fwin="login">
  48. <option value="0">安全提问(未设置请忽略)</option>
  49. <option value="1">母亲的名字</option>
  50. <option value="2">爷爷的名字</option>
  51. <option value="3">父亲出生的城市</option>
  52. <option value="4">您其中一位老师的名字</option>
  53. <option value="5">您个人计算机的型号</option>
  54. <option value="6">您最喜欢的餐馆名称</option>
  55. <option value="7">驾驶执照最后四位数字</option>
  56. </select></td>
  57. </tr>
  58. </tbody></table>
  59. </div>
  60. <div class="rfm" id="loginanswer_row_Lrp14" style="display:none" fwin="login">
  61. <table>
  62. <tbody><tr>
  63. <th>答案:</th>
  64. <td><input type="text" name="answer" id="loginanswer_Lrp14" autocomplete="off" size="30" class="px p_fre" tabindex="1" fwin="login"></td>
  65. </tr>
  66. </tbody></table>
  67. </div>

  68. <div class="rfm  bw0">
  69. <table>
  70. <tbody><tr>
  71. <th></th>
  72. <td><label for="cookietime_Lrp14"><input type="checkbox" class="pc" name="cookietime" id="cookietime_Lrp14" tabindex="1" value="2592000" fwin="login">自动登录</label></td>
  73. </tr>
  74. </tbody></table>
  75. </div>
  76. <div class="rfm mbw bw0">
  77. <table width="100%">
  78. <tbody><tr>
  79. <th> </th>
  80. <td>
  81. <button class="pn pnc" type="submit" name="loginsubmit" value="true" tabindex="1"><strong>登录</strong></button>
  82. </td>
  83. <td>
  84. </td>
  85. </tr>
  86. </tbody></table>
  87. </div>

  88. </div>
  89. </form>
  90. </div>
  91. </div>
  92. </td><td class="m_r" style="cursor:move" onmousedown="dragMenu($$('fwin_login'), event, 1)" ondblclick="hideWindow('login')" "=""></td></tr><tr><td class="b_l"></td><td class="b_c" style="cursor:move" onmousedown="dragMenu($$('fwin_login'), event, 1)" ondblclick="hideWindow('login')"></td><td class="b_r"></td></tr></tbody></table>
  93. </body>
  94. </html>
复制代码





欢迎光临 无限星辰工作室-客户无限互联网动力之源 (https://xmspace.net/) Powered by Discuz! X3.4