免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
帖子
发帖
查看: 6万|回复: 2
上一主题 下一主题 打印

[教学] 仿X3登录框代码(补发)   [复制链接]

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

附件:您需要 登录 才可以下载或查看,没有帐号?立即注册

x
捕获.JPG
2020-12-19 15:15



1、新建模板命名为 login_x 放入下边代码
  1. <style>
  2. /* ~~~~~~~~~~~~~~~~~~~~ x3登录框 ~~~~~~~~~~~~~~~~~~~~ */
  3. #um {padding-right: 60px;_padding-right: 54px;line-height: 2.3;zoom: 1;padding-bottom: 45px;}
  4. #um .avty {display: inline;margin-right: -60px;float: right!important;}
  5. .avty img {padding: 2px;width: 48px!important;height: 48px!important;background: #FFF;border: 1px solid;border-color: #F2F2F2 #CDCDCD #CDCDCD #F2F2F2;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;}
  6. #um p {text-align: right;}
  7. #um .showmenu {margin-right: -5px;}
  8. .showmenu {padding-right: 16px;background: url(../../images/default/arrow_down.gif) no-repeat 100% 50%;cursor: pointer;white-space: nowrap;}
  9. #extcreditmenu, #g_upmine {margin-right: 2px !important;padding-top: 3px;padding-bottom: 3px;padding-left: 10px;}
  10. #g_upmine:hover,#g_upmine_1:hover,#extcreditmenu:hover{z-index: 302;border: 1px solid;border-color: #DDD;border-bottom: none;background-color: #FFF!important;}
  11. #extcreditmenu.a, #g_upmine.a {position: relative;z-index: 302;margin-right: 1px !important;border: 1px solid;border-color: #DDD;border-bottom: none;background-color: #FFF;}
  12. #g_upmine {margin-right: 1px !important;border: 1px solid transparent;}
  13. #extcreditmenu_menu li {line-height: 18px;float: none;display: block;padding-left: 5px !important;padding-right: 1em !important;}
  14. .pbn {line-height: 18px;padding-bottom: 5px !important;}
  15. .mbn {margin-bottom: 5px !important;}
  16. .bbda {border-bottom: 1px dashed #CDCDCD;}
  17. .p_pop a {display: block;padding: 3px 5px;border-bottom: 1px solid #E5EDF2;white-space: nowrap;}
  18. #myprompt_menu.p_pop,#myitem_menu.p_pop {padding: 4px;border: 1px #DDD solid!important;min-width: 60px;background: #FEFEFE;box-shadow: 1px 2px 2px rgba(0,0,0,0.3);}
  19. #myitem_menu li {text-align: left;}
  20. #myitem_menu.p_pop a:hover{color:#369!important;}
  21. #myitem_menu.p_pop li:hover{background:#E5EDF2;}
  22. #g_upmine,#g_upmine_1 {padding-left: 10px;}
  23. .loginform_1 input.txt {color:#999;margin:4px 3px 3px 5px;height:17px; line-height:17px; padding:2px 4px;border-top:#848484 1px solid;border-left:#848484 1px solid;border-right:#e0e0e0 1px solid;border-bottom:#e0e0e0 1px solid; width:120px;}
  24. .checkbox {vertical-align:middle; margin:0px 0px 1px 0px;}
  25. .qqlogin {border-right:1px solid #ddd; margin-right:10px; padding-right:10px;text-align:center;}
  26. #yzbox {width: 142px;position: absolute;border: 1px solid #ddd;background: #fff;right: 124px;padding: 5px;z-index: 1000;}
  27. #questionid { margin:-1px; }
  28. .selecttype { width:235px;border:1px solid #ddd; overflow:hidden;margin:10px 0;height:auto!important;}
  29. #yzbox input.txt {width:132px;margin:0px;}
  30. .closea { color:#333; font-size:12px; float:right;display:inline-block;width:16px;}

  31. .zd {padding: 0px 13px 38px 5px;border-right: 1px solid #E5EDF2;margin-right: 5px;}
  32. .loginform_1 label {display:inline!important;}
  33. .loginform_1 {width:auto!important;height:auto!important;border-right:0px!important;padding:0px!important;margin:0px!important;}
  34. .lzc a {color: #336699!important;font-weight:700;}
  35. .yzwd {width:100px;display:inline-block;}
  36. #jfmenu.jfhide #jfmenu_menu{display:none;}
  37. #jfmenu.jfshow #jfmenu_menu{display:block;}
  38. #jfmenu_menu  p {text-align: left!important;}
  39. #jff {position: absolute;right: 60px;}
  40. #yhmenu.yhhide #yhmenu_menu{display:none;}
  41. #yhmenu.yhshow #yhmenu_menu{display:block;}
  42. .fastlg_l {padding-right: 4px !important;padding: 2px 0 2px 4px;margin-right: 2px;border-right: 1px solid #ddd;}
  43. .fastlg td {padding: 2px 0 2px 4px;}
  44. #layer_lostpw_z{z-index: 9999;top: 30%;position: fixed;left: 35%;}
  45. .dialog{position:absolute; margin:10px;}
  46. .dialog-title {width: 450px;margin-bottom: -30px;position: relative;height: 30px;cursor: move;}

  47. .dialog-chatbar {width: 30px;margin-bottom: -30px;position: relative;height: 30px;cursor: move;}
  48. .dialog-chat {width: 320px;margin-bottom: -30px;position: relative;height: 30px;cursor: move;}
  49. .dialog-gtsgin {width: 300px;margin-bottom: -30px;position: relative;height: 30px;cursor: move;}
  50. .t_l, .t_c, .t_r, .m_l, .m_r, .b_l, .b_c, .b_r {background: rgb(0, 0, 0);overflow: hidden;opacity: 0.2;}
  51. .t_l, .t_r, .b_l, .b_r {width: 8px;height: 8px;}
  52. .b_l {border-radius: 0px 0px 0px 8px;-moz-border-radius: 0 0 0 8px;-webkit-border-radius: 0 0 0 8px;}
  53. .t_c, .b_c {height: 8px;}
  54. .b_r {border-radius: 0px 0px 8px;-moz-border-radius: 0 0 8px 0;-webkit-border-radius: 0 0 8px 0;}
  55. .m_l, .m_r {width: 8px;}
  56. .m_c .c {padding: 0px 10px 10px;}
  57. .loginform_2 {margin-left: 100px;float: left;margin-bottom: 10px;padding: 20px 0;width: 280px;}
  58. .loginform_2 label {clear: both;overflow: hidden;display: block;margin: 0 0 10px;line-height: 22px;}
  59. .loginform_2 label em, .fsubmit em {float: left;width: 60px;}
  60. .rq {color: red;}
  61. .t_l {border-radius: 8px 0px 0px;-moz-border-radius: 8px 0 0 0;-webkit-border-radius: 8px 0 0 0;}
  62. .t_r {border-radius: 0px 8px 0px 0px;-moz-border-radius: 0 8px 0 0;-webkit-border-radius: 0 8px 0 0;}
  63. .pn_z {vertical-align: middle;overflow: hidden;margin-right: 3px;padding: 0;height: 23px;border: 1px solid #999;background: #E5E5E5 url(http://tlb.258club.com/attachments/month_1408/14082814218890df7182a80aa2.png) repeat-x 0 0;cursor: pointer;-moz-box-shadow: 0 1px 0 #E5E5E5;-webkit-box-shadow: 0 1px 0 #E5E5E5;box-shadow: 0 1px 0 #E5E5E5;border-color: #235994;background-color: #06C;background-position: 0 -48px;color: #FFF !important;width: 55px;}
  64. </style>

  65. {eval $diy=$db->fetch_array($db->query("SELECT * FROM cdb_memberfields WHERE uid=$discuz_uid"));}
  66. <!--{if $discuz_uid}-->
  67. <div id="um">
  68.         <div class="avty">
  69.                 <a href="space.php?uid=$discuz_uid">
  70. <!--{if $diy[field_2]}-->
  71. <img onerror="this.onerror=null;this.src=''"  src="$diy[field_2]">
  72. <!--{else}-->
  73. <img src="uc_server/avatar.php?uid=$discuz_uid&size=small" onerror="this.onerror=null;this.src='http://uc.discuz.net/images/noavatar_small.gif'">
  74. <!--{/if}-->
  75. </a>
  76.         </div>
  77.         <p>
  78.                 <!--{if in_array('qqconnect', $plugins['available']) && $connect['allow'] && $_DCOOKIE['connect_is_bind']}-->
  79.                 <img src="{IMGDIR}/connect_qq.gif" align="absmiddle"/>
  80.                 <!--{/if}-->
  81.                 <strong class="vwmy qq"><a href="space.php?uid=$discuz_uid" class="noborder">$discuz_userss</a></strong>
  82.                 <!--{if in_array('qqconnect', $plugins['available']) && $connect['allow'] && !$_DCOOKIE['connect_is_bind']}-->
  83.                 <strong class="vwmy qq"><a href="{$GLOBALS['connect_setting']['login_url']}"><img src="{IMGDIR}/qq_bind.gif" align="absmiddle"/></a></strong>
  84.                 <!--{/if}-->
  85.                 <!--{if $allowinvisible}-->
  86.                 <span id="loginstatus"><!--{if !empty($invisible)}--><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_invisible_mode}</a>
  87.                 <!--{else}-->
  88.                 <a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_normal_mode}</a><!--{/if}--></span>
  89.                 <!--{/if}-->
  90.                 <span class="pipe">|</span><a href="javascript:;" id="myitem" class="showmenu" onmouseover="showMenu({'ctrlid':'myitem'});" initialized="true">我的</a>
  91.                 <span class="pipe">|</span><a href="memcp.php?action=profile&typeid=2">设置</a>
  92.                 <span class="pipe">|</span><a href="pm.php" id="pm_ntc">消息</a>
  93.                 <span class="pipe">|</span>
  94.                 <!--{if $prompt}-->
  95.                 <a id="myprompt" href="notice.php" class="new" onmouseover="showMenu({'ctrlid':this.id})">{lang notice}{eval $gtnewxx = 0;}
  96.                 <!--{loop $prompts $promptkey $promptdata}-->
  97. {eval $gtnewxx = $gtnewxx + $promptdata[new];}
  98.                 <!--{/loop}-->($gtnewxx)
  99.                 </a>
  100.                 <!--{else}-->
  101.                 <a id="myprompt" href="notice.php">{lang notice}</a>
  102.                 <!--{/if}-->
  103.                 <span id="myprompt_check"></span>
  104.                 <span class="pipe">|</span><a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
  105.         </p>

  106. <!--------------积分和用户组--------------->
  107. <!--{if $discuz_uid}-->
  108. {eval $xinxi3=$GLOBALS[extcredits1]+$GLOBALS[extcredits2]+$GLOBALS[extcredits3];}
  109. <!--{if ($xinxi3>9999)}-->{eval $aaa3=floor($xinxi3/10000);}{eval $bbb3="万+";}<!--{else}-->{eval $aaa3=$xinxi3;}{eval $bbb3="";}<!--{/if}-->
  110. <div id="jff" style="line-height: 25px;">
  111.      <span href="javascript:" id="jfmenu" onmouseover="this.className='jfshow'" onmouseout="this.className='jfhide'" class="jfhide" style="cursor: pointer";>
  112.           <span id="g_upmine_1" style="margin: 0 0 0 -90px;position: absolute;width: 90px;">
  113.             <a href="memcp.php?action=credits" style="background: url(/images/default/arrow_down.gif) no-repeat 100% 50%;padding-right: 16px!important;" >积分: $aaa3$bbb3</a>
  114.              <div id="jfmenu_menu"  class="popupmenu_popup headermenu_popup" style="margin-left: -11px;border-top: none;width: 110px;position: absolute;z-index: 301;">
  115.                   <ul>
  116.                                 <!--{loop $extcredits $id $credit}-->
  117.                                 <!--{if $id<=8}-->
  118.                                 <p>
  119.                                          $credit[title]: $GLOBALS['extcredits'.$id] $credit[unit]
  120.                                 </p>
  121.                                 <!--{/if}-->
  122.                                 <!--{/loop}-->
  123.                    </ul>
  124.               </div>
  125.          </span>
  126.     </span>
  127.     <span href="javascript:" id="yhmenu" onmouseover="this.className='yhshow'" onmouseout="this.className='yhhide'" class="yhhide" style="cursor: pointer";>
  128.          <span class="pipe" style="color: rgb(204, 204, 204);margin: 0px -4px 0px 11px;">|</span>
  129.          <span id="g_upmine" style="width: 120px;padding: 5px 0 8px 10px;">
  130.              <a href="memcp.php?action=usergroups"  style="background: url(/images/default/arrow_down.gif) no-repeat 100% 50%;padding-right: 15px !important;text-align: center;">用户组:
  131. {eval $q2 = $db->query("SELECT groupid FROM cdb_members WHERE uid = " . $discuz_uid);}
  132. {eval $q = $db->fetch_array($q2);}
  133. {eval $q2 = $db->query("SELECT * FROM cdb_usergroups WHERE groupid = " . $q[groupid]);}
  134. {eval $q = $db->fetch_array($q2);}
  135. {echo $q[grouptitle];}
  136. </a>
  137.       <div id="yhmenu_menu" class="popupmenu_popup headermenu_popup" style="margin-left: 16px;border-top: none;width: 120px;position: absolute;z-index: 301;">
  138.           <ul>
  139.                {eval $q2 = $db->query("SELECT * FROM cdb_usergroups WHERE type='member' ORDER BY creditshigher");}
  140.                {eval $jfjdinfo=Array();}
  141.                {eval $i=0;}
  142.                {eval while ($asdfgh=$db->fetch_array($q2)) $jfjdinfo[$i++] = $asdfgh;}
  143.                {eval $jifen=$post[credits];}
  144.                {eval $jflevel=0;}
  145.                {eval $jfnum=0;}
  146.                 <!--{loop $jfjdinfo $zzz}-->
  147.                      <!--{if ($jifen>=$zzz[creditslower])}-->
  148.                     {eval $jflevel=$jflevel+1;}
  149.                      <!--{/if}-->
  150.                     {eval $jfnum=$jfnum+1;}
  151.                 <!--{/loop}-->
  152.                 {eval $jflevel4=$jflevel+1;}
  153.                 <!--{if ($jflevel4<$jfnum)}-->
  154.                 {eval $jflevel2=$jflevel+1;}
  155.                 {eval $jfper=floor((($jifen-$jfjdinfo[$jflevel][creditshigher])/($jfjdinfo[$jflevel][creditslower]-$jfjdinfo[$jflevel][creditshigher]))*100);}                        

  156.               <div style="text-align: center;line-height: 20px;">
  157.                   <div>
  158. {eval $mq=$db->fetch_array($db->query("SELECT * FROM cdb_members WHERE uid=$discuz_uid"));}
  159. <!--{if $mq[groupid] == 10}-->
  160. <img src="images/default/star_level1.gif">
  161. <!--{elseif $mq[groupid] == 11}-->
  162. <img src="images/default/star_level2.gif">
  163. <!--{elseif $mq[groupid] == 12}-->
  164. <img src="images/default/star_level2.gif"><img src="images/default/star_level1.gif">
  165. <!--{elseif $mq[groupid] == 13}-->
  166. <img src="images/default/star_level3.gif">
  167. <!--{elseif $mq[groupid] == 14}-->
  168. <img src="images/default/star_level3.gif"><img src="images/default/star_level2.gif">
  169. <!--{elseif $mq[groupid] == 15}-->
  170. <img src="images/default/star_level3.gif"><img src="images/default/star_level3.gif">
  171. <!--{elseif $mq[groupid] == 1}-->
  172. <img src="images/default/star_level3.gif"><img src="images/default/star_level3.gif"><img src="images/default/star_level1.gif">
  173. <!--{elseif $mq[groupid] == 2}-->
  174. <img src="images/default/star_level3.gif"><img src="images/default/star_level3.gif">
  175. <!--{elseif $mq[groupid] == 3}-->
  176. <img src="images/default/star_level3.gif"><img src="images/default/star_level2.gif"><img src="images/default/star_level1.gif">
  177. <!--{elseif $mq[groupid] == 18}-->
  178. <img src="images/default/star_level3.gif"><img src="images/default/star_level3.gif"><img src="images/default/star_level1.gif">
  179. <!--{elseif $mq[groupid] == 17}-->
  180. <img src="images/default/star_level3.gif"><img src="images/default/star_level3.gif">
  181. <!--{elseif $mq[groupid] == 16}-->
  182. <img src="images/default/star_level3.gif"><img src="images/default/star_level2.gif"><img src="images/default/star_level1.gif">
  183. <!--{elseif $mq[groupid] == 19}-->
  184. <img src="images/default/star_level3.gif"><img src="images/default/star_level2.gif"><img src="images/default/star_level1.gif">
  185. <!--{/if}-->
  186.                </div>
  187.                                         <style>
  188. .hm {font-weight: normal!important;text-align: center!important;}.hm p {text-align: center!important;}
  189.                                         </style>
  190. <!--{if $credits>$q[creditslower]}-->
  191.                                         <cite class="hm">管理级别:$q[grouptitle]</cite>
  192.                                         <!--{else}-->
  193.                                         <cite class="hm">距离下一级还需
  194.                                         <p class="xi1">
  195.                                                 {echo ($q[creditslower]-$credits)} 积分
  196.                                         </p>
  197.                                         </cite>
  198.                                         <!--{/if}-->
  199.                 </div>      
  200.              <!--{/if}-->
  201.             </ul>
  202.         </div>
  203.      </span>
  204.      </span>
  205. </div>
  206. <!--{/if}-->
  207. <!--------------积分和用户组end--------------->
  208. </div>
  209. <!--{else}-->
  210. <script type="text/javascript">
  211. function $(id){return document.getElementById(id);}
  212. function Sdiv(Aid) {if($(Aid) !=null){$(Aid).style.display = 'block'}}
  213. function Cdiv(Bid) {if($(Bid) !=null){$(Bid).style.display = 'none'}}
  214. </script>
  215. <div id="tlbd_1" style="float: right;padding-bottom: 10px;">
  216.                <!--{if in_array('qqconnect', $plugins['available']) && $connect['allow']}-->
  217.                     <div class="qqlogin left">                        
  218.                                <p><a rel="nofollow" href="{$GLOBALS['connect_setting']['login_url']}"><img src="images/default/qq_login.gif" class="vm" alt="QQ登录"></a></p>
  219.                                <p class="hm xg1" style="padding-top: 5px;">只需一步,快速开始</p>
  220.                     </div>
  221.                <!--{/if}-->
  222. <script src="templates/colors/logging.htm"></script>
  223. <div class="fastlogin left">
  224. <form method="post" name="login" id="loginform" class="gateform"  action="logging.php?action=login&loginsubmit=yes{if !empty($infloat)}&floatlogin=yes{/if}" onsubmit="return lsSubmit();">
  225. <input type="hidden" name="formhash" value="a45a9ada" />
  226. <input type="hidden" name="referer" value="index.php" />
  227. <div class="fastlg cl">
  228. <input type="hidden" name="loginfield" value="username" />
  229. <span id="return_ls" style="display:none"></span>
  230. <div class="y pns">
  231. <table cellspacing="0" cellpadding="0">
  232. <tbody><tr>
  233. <td style="padding: 2px 4px 2px 4px;"><label for="ls_username">帐号</label></td>
  234. <td>
  235. <input type="text" name="username" autocomplete="on" id="ls_username" class="txt" tabindex="1" style="color:#999" placeholder="UID/用户名/Email">
  236. </td>
  237. <td class="fastlg_l"><label for="ls_cookietime"><input type="checkbox" name="cookietime" id="ls_cookietime" class="pc" value="2592000" tabindex="903" style="margin: 0 5px 1px 0;">自动登录</label></td>
  238. <td>&nbsp;<a href="javascript:;" onclick="display('layer_lostpw_z');"  title="找回密码">找回密码</a></td>
  239. </tr>
  240. <tr>
  241. <td style="padding: 2px 4px 2px 4px;"><label for="password3">密码</label></td>
  242. <td>
  243. <input type="password" id="password3" name="password" onfocus="clearpwd()" onkeypress="detectCapsLock(event, this)"  class="txt" tabindex="1" />
  244. </td>
  245. <td class="fastlg_l">
  246. <button class="pn vm" type="submit" name="loginsubmit" value="true" tabindex="1" style="width: 75px;">登录</button>
  247. </td>
  248. <td>&nbsp;<a href="$regname" class="xi2 xw1" onclick="showWindow('register', this.href);return false;" class="noborder" title="注册帐号">立即注册</a></td>
  249. </tr>
  250. </tbody></table>
  251. <input type="hidden" name="quickforward" value="yes">
  252. <input type="hidden" name="handlekey" value="ls">
  253. </div>
  254. </div>
  255. </form>
  256.        </div>
  257. </div>

  258. <div id="layer_lostpw_z" class="dialog" style="display: none;">
  259. <div class="dialog-title"></div>
  260. <table class="fwin_1" cellspacing="0" cellpadding="0" style="width: 500px;">
  261. <tbody>
  262. <tr>
  263. <td class="t_l"></td>
  264. <td class="t_c"></td>
  265. <td class="t_r"></td>
  266. </tr>

  267. <tr>
  268. <td class="m_l">&nbsp;&nbsp;</td>
  269. <td class="m_c" id="fwin_content_register" fwin="register">
  270. <h3 class="float_ctrl" style="margin: 5px;">
  271. <em id="returnmessage3">{lang getpassword}</em>
  272. <span><a href="javascript:;" class="float_close" onclick="display('layer_lostpw_z');" title="{lang close}">{lang close}</a></span>
  273. </h3>
  274.                
  275. <div class="postbox">
  276. <form method="post" id="lostpwform" class="s_clear" onsubmit="ajaxpost('lostpwform', 'returnmessage3', 'returnmessage3', 'onerror');return false;" action="member.php?action=lostpasswd&lostpwsubmit=yes&infloat=yes">
  277. <input type="hidden" name="formhash" value="{FORMHASH}" />
  278. <input type="hidden" name="handlekey" value="lostpwform" />
  279. <div class="loginform_2">
  280. <label><em><span class="rq">*</span>{lang email}:</em><input type="text" name="email" size="25" value=""  tabindex="1" class="txt" /></label>
  281. <label><em>{lang username}:</em><input type="text" name="username" size="25" value=""  tabindex="1" class="txt" /></label>
  282. </div>                                
  283. <div class="logininfo multinfo"></div>
  284. <p class="fsubmit s_clear" style="margin-left: 100px;">
  285. <em>&nbsp;</em>
  286. <button class="pn_z" type="submit" name="lostpwsubmit" value="true" tabindex="100" style="margin-top: -25px;">{lang submit}</button>
  287. </p>
  288. </form>
  289. </div>

  290. </td>
  291. <td class="m_r"></td>
  292. </tr>
  293. <tr>
  294. <td class="b_l"></td>
  295. <td class="b_c"></td>
  296. <td class="b_r"></td>
  297. </tr>
  298. </tbody>
  299. </table>
  300. </div>
  301. <!--{/if}-->
复制
2、找到header模板里的下边的代码全部删除
  1. <div id="umenu">

  2.                         <!--{if $discuz_uid}-->
  3.                         <cite>

  4.                                 <!--{if in_array('qqconnect', $plugins['available']) && $connect['allow'] && $_DCOOKIE['connect_is_bind']}--><img src="{IMGDIR}/connect_qq.gif" align="absmiddle" /><!--{/if}-->

  5.                                 <a href="space.php?uid=$discuz_uid" class="noborder">$discuz_userss</a>

  6.                                 <!--{if in_array('qqconnect', $plugins['available']) && $connect['allow'] && !$_DCOOKIE['connect_is_bind']}--><a href="{$GLOBALS['connect_setting']['login_url']}"><img src="{IMGDIR}/qq_bind.gif" align="absmiddle" /></a><!--{/if}-->

  7.                                 <!--{if $allowinvisible}--><span id="loginstatus"><!--{if !empty($invisible)}--><a href="member.php?action=switchstatus" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_invisible_mode}</a><!--{else}--><a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_normal_mode}</a><!--{/if}--></span><!--{/if}--></cite>
  8.                                 <span class="pipe">|</span>
  9.                                 <!--{if $ucappopen['UCHOME']}-->
  10.                                         <a href="{$uchomeurl}/space.php?uid=$discuz_uid" target="_blank">{lang space_short}</a>
  11.                                 <!--{elseif $ucappopen['XSPACE']}-->
  12.                                         <a href="{$xspaceurl}/?uid-$discuz_uid" target="_blank">{lang space_short}</a>
  13.                                 <!--{/if}-->
  14.                                 <a id="myprompt" href="notice.php" <!--{if $prompt}-->class="new" onmouseover="showMenu({'ctrlid':this.id})"<!--{/if}-->>{lang notice}</a>
  15.                                 <span id="myprompt_check"></span>
  16.                                 <a href="pm.php" id="pm_ntc" target="_blank">{lang pm_center}</a>
  17.                                 <!--{if $taskon}-->
  18.                                         <a id="task_ntc" {if $doingtask}href="task.php?item=doing" class="new" title="{lang task_unfinish}"{else}href="task.php"{/if} target="_blank">{lang task}</a>
  19.                                 <!--{/if}-->

  20.                                 <span class="pipe">|</span>
  21.                                 <a href="memcp.php">{lang user_center}</a>
  22.                                 <!--{if $discuz_uid && $adminid > 1}--><a href="modcp.php?fid=$fid" target="_blank">{lang modcp}</a><!--{/if}-->
  23.                                 <!--{if $discuz_uid && $adminid == 1}--><a href="admincp.php" target="_blank">{lang admincp}</a><!--{/if}-->
  24.                                 <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
  25.                         <!--{elseif !empty($_DCOOKIE['loginuser'])}-->
  26.                                 <cite><a id="loginuser" class="noborder">$_DCOOKIE['loginuser']</a></cite>
  27.                                 <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">{lang activation}</a>
  28.                                 <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
  29.                         <!--{else}-->

  30.                         <!--{if in_array('qqconnect', $plugins['available']) && $connect['allow']}-->
  31.                         <a rel="nofollow" href="{$GLOBALS['connect_setting']['login_url']}"><img align="absmiddle" src="{IMGDIR}/qq_login.gif"></a>
  32.                         <!--{/if}-->

  33.                                 <a href="$regname" onclick="showWindow('register', this.href);return false;" class="noborder">$reglinkname</a>
  34.                                 <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">{lang login}</a>
  35.                         <!--{/if}-->
  36.                         </div>
  37.                         <div id="ad_headerbanner"><!--{if $admode && !empty($advlist['headerbanner'])}-->$advlist[headerbanner]<!--{/if}--></div>
复制
删除后替换为下边代码
  1. {subtemplate login_x}
复制
3、在header模板的最下边放入代码
  1. <!----------------我的管理弹出菜单---------------->
  2. <ul id="myitem_menu" class="p_pop" style="display: none;">
  3. <!--{if $discuz_uid && $adminid >= 1}--><li><a href="modcp.php?fid=$fid" target="_blank">管理</a></li><!--{/if}-->
  4. <!--{if $discuz_uid && $adminid == 1}--><li><a href="admincp.php" target="_blank">后台</a></li><!--{/if}-->
  5. <li><a href="my.php?item=threads">帖子</a></li>
  6. <li><a href="my.php?item=favorites&type=thread">收藏</a></li>
  7. <li><a href="my.php?item=buddylist&">好友</a></li>
  8. <!--{if $ucappopen['UCHOME']}-->
  9. <li><a href="{$uchomeurl}/space.php?uid=$discuz_uid" target="_blank">{lang space_short}</a></li>
  10. <!--{elseif $ucappopen['XSPACE']}-->
  11. <li><a href="{$xspaceurl}/?uid-$discuz_uid" target="_blank">{lang space_short}</a></li>
  12. <!--{/if}-->
  13. </ul>
  14. <!----------------我的管理弹出菜单end---------------->
复制

最近看过此主题的会员

你好世界
访问时间:2024-08-12 23:10
皓皓兒
访问时间:2024-04-27 07:50
Yenifer
访问时间:2023-06-22 13:33
北京大新
访问时间:2023-03-01 01:23
果卷
访问时间:2022-09-02 11:15
爱的废墟
访问时间:2022-05-13 15:16
梅子
访问时间:2022-01-10 01:10
夜影夜空
访问时间:2021-11-20 00:36
琼斯博士
访问时间:2021-09-20 15:26

点评
B Color Link Smilies

您还可以输入:个字符
X

 X

看帖回帖那是一定要的:淡定中,谢谢分享
发帖际遇:芙蓉姐姐 发帖时在路边被老奶奶碰瓷,花掉17金钱
点评
B Color Link Smilies

您还可以输入:个字符
X

 X

TOP

@所有人
点评
B Color Link Smilies

您还可以输入:个字符
X

 X

TOP

发帖
B Color Image Link Quote Code Smilies
高级模式 | 发新话题

 
您需要登录后才可以回帖 登录|立即注册 
快速
返回顶部
返回首页