找回密码
 立即注册

QQ登录

只需一步,快速开始

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>
复制代码

本教程由无限星辰工作室CRX349独家整理和提供,转载请注明地址,谢谢。本文地址:https://www.xmspace.net/thread-160-1-1.html
无限星辰工作室  好集导航 Discuz全集下载  星辰站长网  集热爱361  一品文学  手机小游戏合集   海外空间网 星辰api  星辰支付二维码管理平台 阿里云服务器 腾讯云服务器
服务Discuz!建站|DiscuzQ配置|二开|小程序|APP|搬家|挂马清理|防护|Win/Linux环境搭建|优化|运维|
服务理念:专业 诚信 友好QQ842062626 服务项目 Q群315524225

发表于 2014-4-15 10:06:54 | 显示全部楼层 |阅读模式

回复 | 使用道具 举报

该帖共收到 0 条回复!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

美图秀

    • fastadmin 后台界面使用字段数组类型
    • Discuz!x3.5 修改标题高亮颜色
    • Discuz!x3.5 应用中心 下载应用一直下载中
    • 帖子定时显示
    • 论坛辅助审核
拖动客服框
Online Service
点击这里给我发消息
点击这里联系我们
微信扫一扫
在线客服
快速回复 返回顶部 返回列表