Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[发布] 会员外部登录代码

[复制链接]
livefor 发表于 2013-5-8 11:42:38 | 显示全部楼层 |阅读模式
会员外部登录代码自己测试了几个论坛登录都可以,
看到论坛有很多需要的,发出来,可以自己加个css美化一下,大家帮忙测试看能否使用吧!
其中有2个红色标记的地方修改为你的论坛地址就可以了

  1. <P> <!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>"></P>
  3. <P><head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  5. <title>外部登录</title>
  6. </head></P>
  7. <P><body></P>
  8. <P><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"></P>
  26. <P>
  27. <option value="username"></option></select><a href="javascript:;" id="loginfield_Lrp14_ctrl" style="width:45px" tabindex="1">用户名</a>
  28. </span>
  29. </th>
  30. <td><input type="text" name="username" id="username_Lrp14" autocomplete="off" size="30" class="px p_fre" tabindex="1" value="" fwin="login"></td>
  31. <td class="tipcol"><a href="member.php?mod=register">立即注册</a></td>
  32. </tr>
  33. </tbody></table>
  34. </div>
  35. <div class="rfm">
  36. <table>
  37. <tbody><tr>
  38. <th><label for="password3_Lrp14">密码:</label></th>
  39. <td><input type="password" id="password3_Lrp14" name="password" onfocus="clearpwd()" size="30" class="px p_fre" tabindex="1" fwin="login"></td>
  40. <td class="tipcol"><a href="javascript:;" onclick="display('layer_login_Lrp14');display('layer_lostpw_Lrp14');" title="找回密码">找回密码</a></td>
  41. </tr>
  42. </tbody></table>
  43. </div>
  44. <div class="rfm">
  45. <table>
  46. <tbody><tr>
  47. <th>安全提问:</th>
  48. <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">
  49. <option value="0">安全提问(未设置请忽略)</option>
  50. <option value="1">母亲的名字</option>
  51. <option value="2">爷爷的名字</option>
  52. <option value="3">父亲出生的城市</option>
  53. <option value="4">您其中一位老师的名字</option>
  54. <option value="5">您个人计算机的型号</option>
  55. <option value="6">您最喜欢的餐馆名称</option>
  56. <option value="7">驾驶执照最后四位数字</option>
  57. </select></td>
  58. </tr>
  59. </tbody></table>
  60. </div>
  61. <div class="rfm" id="loginanswer_row_Lrp14" style="display:none" fwin="login">
  62. <table>
  63. <tbody><tr>
  64. <th>答案:</th>
  65. <td><input type="text" name="answer" id="loginanswer_Lrp14" autocomplete="off" size="30" class="px p_fre" tabindex="1" fwin="login"></td>
  66. </tr>
  67. </tbody></table>
  68. </div></P>
  69. <P>
  70. <div class="rfm  bw0">
  71. <table>
  72. <tbody><tr>
  73. <th></th>
  74. <td><label for="cookietime_Lrp14"><input type="checkbox" class="pc" name="cookietime" id="cookietime_Lrp14" tabindex="1" value="2592000" fwin="login">自动登录</label></td>
  75. </tr>
  76. </tbody></table>
  77. </div></P>
  78. <P><div class="rfm mbw bw0">
  79. <table width="100%">
  80. <tbody><tr>
  81. <th> </th>
  82. <td>
  83. <button class="pn pnc" type="submit" name="loginsubmit" value="true" tabindex="1"><strong>登录</strong></button>
  84. </td>
  85. <td>
  86. </td>
  87. </tr>
  88. </tbody></table>
  89. </div></P>
  90. <P>
  91. </div>
  92. </form>
  93. </div></P>
  94. <P></div></P>
  95. <P></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></P>
  96. <P></body></P>
  97. <P></html></P>
复制代码
回复

使用道具 举报

可爱的轩轩 发表于 2013-5-8 15:07:00 | 显示全部楼层
外部登陆什么意思??
回复

使用道具 举报

1314学习网 发表于 2013-5-8 17:32:28 | 显示全部楼层
前排看看前排看看
回复

使用道具 举报

来去自如 发表于 2013-5-9 08:48:06 | 显示全部楼层
好像没什么人回复那
回复

使用道具 举报

 楼主| livefor 发表于 2013-5-9 11:42:46 | 显示全部楼层
来去自如 发表于 2013-5-9 08:48
好像没什么人回复那

查看81   回复3   
回复

使用道具 举报

youhunsky 发表于 2013-8-23 14:38:43 | 显示全部楼层
总算被我找到 。MARK
回复

使用道具 举报

cqyy8.com 发表于 2013-11-16 10:29:33 | 显示全部楼层
好东西。。。我有两个整合的站需要这个。。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-11-23 08:29 , Processed in 0.105074 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表