免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
返回列表 發帖

[分享] 首頁快速登錄美化

我不是原創~只是純分享給需要的人!

sshot-1.jpg

在templates/default/discuz.htm裡查找
  1. <!--{if !$discuz_uid}-->
複製代碼
在後面添加
  1. <style>
  2. .txtz { padding-left:20px;background-repeat:no-repeat;background-position: 2px 2px; border:1px solid;width:120px;height:18px;border-color:#6eb1d5 #D3E8F2 #D3E8F2 #6eb1d5;}
  3.         .grey { font-size: 12px;color:#444444;float: left;font-weight: bold; }
  4. .mima { float: right;margin-right: 5px; }
  5. .zhuce { float: right;margin-right: 5px;margin-top: 7px; }
  6. .denglu { width: 40px;height:23px;float: left;margin-top: 3px;margin-bottom: 2px;margin-right: 10px;}
  7. </style>
  8. <form id="loginform" method="post" name="login" action="logging.php?action=login&loginsubmit=true">
  9. <table>
  10. <tr>
  11. <td>
  12. <input type="hidden" name="formhash" value="{FORMHASH}">
  13. <input type="hidden" name="cookietime" value="2592000">
  14. <input type="hidden" id="fl_qid_inp" name="questionid" value="0">
  15. <input type="hidden" name="referer" value="index.php">
  16.    用户名:<input type="text" name="username" size="10" class="txtz" autocomplete="off" style="background-image:url('http://homepage8.seed.net.tw/web@5/n7197/username.gif')" tabindex="1">
  17.    密碼:<input type="password" name="password" size="10" class="txtz" autocomplete="off" style="background-image:url('http://homepage8.seed.net.tw/web@5/n7197/password.gif')" abindex="1">
  18. </td>
  19. <td>
  20. <p style="color:#999999;margin-top: 7px;"><span id="fl_qid_hover" class="dropmenu" onmouseover="showMenu(this.id, 0, 0, 2, 250, 0, 'fl_qid')">{lang security_question}</span></p>
  21. <p id="fl_qid" style="margin-left:-6px"></p>
  22. <ul id="fl_qid_menu" class="popupmenu_popup headermenu_popup" style="width:150px;display:none">
  23.          <li><a href="javascript:;" onclick="switchqid(0, this)" id="qid0">無{lang security_question}</a></li>
  24. <li><a href="javascript:;" onclick="switchqid(1, this)">1.{lang security_question_1}</a></li>
  25. <li><a href="javascript:;" onclick="switchqid(2, this)">2.{lang security_question_2}</a></li>
  26. <li><a href="javascript:;" onclick="switchqid(3, this)">3.{lang security_question_3}</a></li>
  27. <li><a href="javascript:;" onclick="switchqid(4, this)">4.{lang security_question_4}</a></li>
  28. <li><a href="javascript:;" onclick="switchqid(5, this)">5.{lang security_question_5}</a></li>
  29. <li><a href="javascript:;" onclick="switchqid(6, this)">6.{lang security_question_6}</a></li>
  30. <li><a href="javascript:;" onclick="switchqid(7, this)">7.{lang security_question_7}</a></li>
  31. </ul>
  32. </td>
  33. <td><p id="fl_qa" style="display:none"><input type="text" name="answer" class="txtz" autocomplete="off" style="background-image:url('http://homepage8.seed.net.tw/web@5/n7197/warning.gif')" abindex="1"></p>
  34.       </div>
  35. <script>
  36. function switchqid(id, obj) {
  37. $('fl_qid_hover').innerHTML = id > 0 ? '{lang security_question} ' + id : '{lang security_question}';
  38. $('fl_qid_inp').value = id;
  39. hideMenu();
  40. $('fl_qa').style.display = id > 0 ? '' : 'none';
  41. lastqid.style.fontWeight = '';
  42. lastqid = obj;
  43. lastqid.style.fontWeight = 'bold';
  44. }
  45. var lastqid = $('qid0');
  46. lastqid.style.fontWeight = 'bold';
  47. </script>
  48. </td>

  49. <td><input type="image" src="http://homepage8.seed.net.tw/web@5/n7197/login.gif" id="login" name="loginsubmit" alt="登陸" /></td>

  50. <td><a href="$regname" onclick="floatwin('open_register', this.href, 600, 400, '600,0');return false;" class="noborder"><img src="http://homepage8.seed.net.tw/web@5/n7197/reg.gif"></a></td>

  51.   </tr>

  52. </table>
  53. </form>
複製代碼
最後要更新媛存

不錯ㄛ、謝謝提供分享!!借來分享

TOP

templates/default/discuz.htm

在哪裡啊

TOP

55templates/default/discuz.htm

在哪裡啊

TOP

後台→界面→左邊模板管理→進入詳情→找templates/default/discuz.htm→之後再找 <!--{if !$discuz_uid}--> 在後面添加代碼 若在不懂我也沒辦法。。。。願 神賜福你們

TOP

返回列表