免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
歡迎蒞臨,跑跑卡丁車台灣伺服器「NO1嫩咖」俱樂部的論壇站點,提醒您,在本站發言請勿涉及不當言論、灌水、政治、辱罵..等不雅字眼,違者刪除警告,如發文有不法交易、詐欺...等實際違法行為,本站將協助蒐證,並通報網絡警察單位進行辦理,論壇良好環境需你我共同遵守原則,再次感謝您的蒞臨。
帖子
返回列表 發帖

discuz7.2默認模板常用源代碼備份

備份常用discuz7.2模板源代碼

login.htm
  1. {template header}

  2. <!--{if !empty($message)}-->
  3. $ucsynlogin
  4. <script type="text/javascript" reload="1">
  5. {if $message == 2}
  6.         hideWindow('login');
  7.         showWindow('register', '$location');
  8. {elseif $message == 1}
  9.         display('main_messaqge');
  10.         display('layer_login');
  11.         display('layer_message');
  12.         {if $groupid == 8}
  13.                 $('messageleft').innerHTML = '<p>{lang login_succeed} $usergroups $discuz_user</p><p>{lang login_succeed_inactive_member}</p>';
  14.                 $('messageright').innerHTML = '<a href="memcp.php">{lang user_center}</a>';
  15.                 setTimeout("window.location.href='memcp.php'", $mrefreshtime);
  16.         {else}
  17.                 $('messageleft').innerHTML = '<p>{lang login_succeed} $usergroups $discuz_user</p>';
  18.                 {if !empty($floatlogin)}
  19.                         $('messageright').innerHTML = '<a href="javascript:;" onclick="location.reload()">{lang login_refresh}</a>';
  20.                         setTimeout('location.reload()', $mrefreshtime);
  21.                 {else}
  22.                         {eval $dreferer = str_replace('&amp;', '&', dreferer());}
  23.                         $('messageright').innerHTML = '<a href="$dreferer">{lang login_location}</a>';
  24.                         setTimeout("window.location.href='$dreferer'", $mrefreshtime);
  25.                 {/if}
  26.         {/if}
  27.         {if $_DCACHE['settings']['frameon'] && $_DCOOKIE['frameon'] == 'yes'}
  28.                 if(top != self) {
  29.                         parent.leftmenu.location.reload();
  30.                 }
  31.         {/if}
  32. {/if}
  33. </script>
  34. <!--{else}-->
  35. <!--{if empty($infloat)}-->
  36. <div id="nav"><a href="$indexname">$bbname</a> $navigation</div>
  37. <div id="wrap" class="wrap s_clear">
  38.         <div class="main"><div class="content nofloat">
  39. <!--{/if}-->
  40. <div class="fcontent" id="main_messaqge">
  41.         <div id="layer_login">
  42.                 <h3 class="float_ctrl">
  43.                         <em id="returnmessage">{lang login_member}</em>
  44.                         <span><!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('login')" title="{lang close}">{lang close}</a><!--{/if}--></span>
  45.                 </h3>
  46.                 <div class="postbox">
  47.                         <form method="post" name="login" id="loginform" class="s_clear" onsubmit="{if $pwdsafety}pwmd5('password3');{/if}pwdclear = 1;ajaxpost('loginform', 'returnmessage', 'returnmessage', 'onerror');return false;" action="logging.php?action=login&loginsubmit=yes{if !empty($infloat)}&floatlogin=yes{/if}">
  48.                                 <input type="hidden" name="formhash" value="{FORMHASH}" />
  49.                                 <input type="hidden" name="referer" value="$referer" />
  50.                                 <div class="loginform nolabelform">
  51.                                         <div class="float_typeid selectinput" id="account">
  52.                                                 <select name="loginfield" style="float:left;width:50px;" id="loginfield">
  53.                                                         <option value="username">{lang username}</option>
  54.                                                         <option value="uid">{lang uid}</option>
  55.                                                         <option value="email">{lang email}</option>
  56.                                                 </select>
  57.                                                 <input type="text" name="username" autocomplete="off" size="36" class="txt" tabindex="1" value="$username" />
  58.                                         </div>
  59.                                         <p class="selectinput loginpsw">
  60.                                                 <label for="password3">{lang login_password}</label>
  61.                                                 <input type="password" id="password3" name="password" onfocus="clearpwd()" onkeypress="detectCapsLock(event, this)" size="36" class="txt" tabindex="1" />
  62.                                         </p>

  63.                                         <div id="seccodelayer"><!--{if $secqaacheck || $seccodecheck}-->{subtemplate seccheck}<!--{/if}--></div>

  64.                                         <div class="float_typeid selecttype">
  65.                                                 <select id="questionid" name="questionid" change="if($('questionid').value > 0) {$('answer').style.display='';} else {$('answer').style.display='none';}">
  66.                                                         <option value="0">{lang security_question}</option>
  67.                                                         <option value="1">{lang security_question_1}</option>
  68.                                                         <option value="2">{lang security_question_2}</option>
  69.                                                         <option value="3">{lang security_question_3}</option>
  70.                                                         <option value="4">{lang security_question_4}</option>
  71.                                                         <option value="5">{lang security_question_5}</option>
  72.                                                         <option value="6">{lang security_question_6}</option>
  73.                                                         <option value="7">{lang security_question_7}</option>
  74.                                                 </select>
  75.                                         </div>
  76.                                         <p><input type="text" name="answer" id="answer" style="display:none" autocomplete="off" size="36" class="txt" tabindex="1" /></p>
  77.                                 </div>
  78.                                 <div class="logininfo multinfo">
  79.                                         <h4>{lang login_guest}</h4>
  80.                                         <p><a href="javascript:;" onclick="display('layer_login');display('layer_lostpw');" title="{lang getpassword}">{lang getpassword}</a></p>
  81.                                         <p><a href="javascript:;" onclick="ajaxget('member.php?action=clearcookies&formhash={FORMHASH}', 'returnmessage', 'returnmessage');return false;" title="{lang login_clearcookies}">{lang login_clearcookies}</a></p>
  82.                                 </div>
  83.                                 <p class="fsubmit s_clear">
  84.                                         <!--{if $sitemessage[login]}--><a href="javascript:;" id="custominfo_login" class="right"><img src="{IMGDIR}/info.gif" alt="{lang faq}" /></a><!--{/if}-->
  85.                                         <button class="submit" type="submit" name="loginsubmit" value="true" tabindex="1">{lang login}</button>
  86.                                         <input type="checkbox" class="checkbox" name="cookietime" id="cookietime" tabindex="1" value="2592000" $cookietimecheck /> <label for="cookietime">{lang login_permanent}</label>
  87.                                 </p>
  88.                         </form>
  89.                 </div>
  90.         </div>
  91.         <div id="layer_lostpw" style="display: none;">
  92.                 <h3 class="float_ctrl">
  93.                         <em id="returnmessage3">{lang getpassword}</em>
  94.                         <span><!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('login')" title="{lang close}">{lang close}</a><!--{/if}--></span>
  95.                 </h3>
  96.                 <div class="postbox">
  97.                         <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">
  98.                                 <input type="hidden" name="formhash" value="{FORMHASH}" />
  99.                                 <input type="hidden" name="handlekey" value="lostpwform" />
  100.                                 <div class="loginform">
  101.                                         <label><em>{lang username}:</em><input type="text" name="username" size="25" value=""  tabindex="1" class="txt" /></label>
  102.                                         <label><em>{lang email}:</em><input type="text" name="email" size="25" value=""  tabindex="1" class="txt" /></label>
  103.                                 </div>
  104.                                 <div class="logininfo multinfo">
  105.                                         <h4>{lang login_guest}</h4>
  106.                                         <p><a href="javascript:;" onclick="display('layer_login');display('layer_lostpw');">{lang return_login}</a></p>
  107.                                 </div>
  108.                                 <p class="fsubmit s_clear">
  109.                                         <em>&nbsp;</em>
  110.                                         <button class="submit" type="submit" name="lostpwsubmit" value="true" tabindex="100">{lang submit}</button>
  111.                                 </p>
  112.                         </form>
  113.                 </div>
  114.         </div>
  115. </div>
  116. <div id="layer_message" class="fcontent alert_win" style="display: none;">
  117.         <h3 class="float_ctrl">
  118.                 <em>{lang login_member}</em>
  119.                 <span><!--{if !empty($infloat)}--><a href="javascript:;" class="float_close" onclick="hideWindow('login')" title="{lang close}">{lang close}</a><!--{/if}--></span>
  120.         </h3>
  121.         <hr class="shadowline" />
  122.         <div class="postbox"><div class="alert_right">
  123.                 <div id="messageleft"></div>
  124.                 <p class="alert_btnleft" id="messageright"></p>
  125.         </div>
  126. </div>

  127. <script type="text/javascript" src="{$jspath}md5.js?{VERHASH}" reload="1"></script>
  128. <script type="text/javascript" reload="1">
  129. var pwdclear = 0;
  130. function initinput_login() {
  131.         document.body.focus();
  132.         $('loginform').username.focus();
  133.         simulateSelect('loginfield');
  134.         simulateSelect('questionid');
  135. }
  136. if(BROWSER.ie && BROWSER.ie < 7) {
  137.         setTimeout('initinput_login()', 500);
  138. } else {
  139.         initinput_login();
  140. }
  141. {if $sitemessage[login]}
  142. showPrompt('custominfo_login', 'click', '{echo trim($sitemessage[login][array_rand($sitemessage[login])])}', $sitemessage[time]);
  143. {/if}

  144. {if $pwdsafety}
  145. var pwmd5log = new Array();
  146. function pwmd5() {
  147.         numargs = pwmd5.arguments.length;
  148.         for(var i = 0; i < numargs; i++) {
  149.                 if(!pwmd5log[pwmd5.arguments[i]] || $(pwmd5.arguments[i]).value.length != 32) {
  150.                         pwmd5log[pwmd5.arguments[i]] = $(pwmd5.arguments[i]).value = hex_md5($(pwmd5.arguments[i]).value);
  151.                 }
  152.         }
  153. }
  154. {/if}

  155. function clearpwd() {
  156.         if(pwdclear) {
  157.                 $('password3').value = '';
  158.         }
  159.         pwdclear = 0;
  160. }

  161. function messagehandle_lostpwform(key) {
  162.         if(key == 141) {
  163.                 $('messageleft').innerHTML = '<p>{lang getpassword_msg}</p>';
  164.                 $('messageright').innerHTML = '<a href="javascript:;" onclick="hideMenu(\'fwin_login\', \'win\')">{lang close}</a>';
  165.         }
  166. }

  167. </script>
  168. <!--{/if}-->

  169. {eval updatesession();}
  170. <!--{if empty($infloat)}-->
  171.         </div></div>
  172. </div>
  173. <!--{/if}-->
  174. {template footer}
複製代碼

TOP

css_script.htm
  1. [SCRIPTCSS]
  2. <!--{if $forum['ismoderator']}-->
  3.         <link href="forumdata/cache/style_{STYLEID}_moderator.css?{VERHASH}" rel="stylesheet" type="text/css" />
  4. <!--{/if}-->

  5. [CURSCRIPT = index]
  6.         #ann { margin: 5px 0 10px; padding: 2px 5px; line-height: 30px; border: solid {COMMONBORDER}; border-width: 1px 0; background: {COMMONBG}; }
  7.                 #ann dl { overflow: hidden; }
  8.                 #ann dt { float: left; width: 5em; background: url({IMGDIR}/ann_icon.gif) no-repeat 0 50%; text-indent: 2em; font-weight: 700; }
  9.                 #ann dd { margin-left: 30px; }
  10.                         #ann li {  padding-left: 10px; white-space: nowrap; }
  11.                                 #ann em { margin-left: 5px; color: {MIDTEXT}; font-size: 0.83em; }
  12.                 #annbody { height: 30px; overflow: hidden; padding-right: 16px; }
  13.         .forumcount { margin-left: 16px; }

  14.         .forumlinks, .forumimglink, .forumtxtlink { padding: 6px; border-top: 1px solid {COMMONBORDER}; }
  15.                 .forumlinks ul li { float: left; width: 49%; height: 50px; line-height: 1.4em; }
  16.                 .forumimglink a { margin-right: 8px; }
  17.                 .forumimglink img { margin: 2px 0; }
  18.                         .forumlogo { float: left; padding-top: 2px; width: 100px; }
  19.                         .forumcontent { padding-right: 18px; height: 50px; }
  20.                         .forumcontent p { overflow: hidden; height: 17px; color: {MIDTEXT}; }
  21.                 .forumtxtlink li { float: left; margin-right: 5px; width: 8em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  22.         #online h3 { font-weight: 400; }
  23.                 #online h3 a, #online h3 em, #online h3 strong { font-weight: 700; }

  24.         .feed { border-top: 3px solid {COMMONBORDER}; }
  25. [/CURSCRIPT]

  26. [CURSCRIPT = index,forumdisplay]
  27.         #onlinelist {}
  28.                 #onlinelist dt, #onlinelist dd { padding: 1em; border-top: 1px solid {COMMONBORDER}; }
  29.                 #onlinelist dd ul li { float: left; margin: 4px 0; width: 20%; height: 14px; line-height: 14px; }
  30.                         #onlinelist dt img, #onlinelist dd img { vertical-align: middle; }
  31.                 /* 侧边开关 */
  32.                 #sidebar_img { float: right; display: inline; margin: 0 6px; padding: 6px 25px 6px 6px; background: url({IMGDIR}/sidebar_toggle.gif) no-repeat 100% 5px; color: {HIGHLIGHTLINK}; position: relative; z-index:98; }
  33.                         .collapsed_no:hover { background-position: 100% -35px !important; text-decoration: none; }
  34.                         .collapsed_yes { background-position: 100% -75px !important; }
  35.                                 .collapsed_yes:hover { background-position: 100% -115px !important; text-decoration: none; }

  36.                 .textinfolist li { margin-bottom: 2px; }
  37.                         .side .textinfolist li a { text-decoration: none; color: {TABLETEXT}; }
  38.                         .side .textinfolist li a:hover { text-decoration: underline; }

  39.                 /* request side */
  40.                 .side_poll li{ line-height: 1.8em; }
  41.                 .side_trade li { padding-bottom: 5px; }
  42.                         .side_trade li strong { float: left; width: 80px; height: auto; text-align: center; }
  43.                 .side_type { height: 23px; border-bottom: 1px solid {MENUBORDER}; margin: 0 4px; }
  44.                         .side_type h4 { float: left; cursor:pointer; margin: 0 0 -1px 4px; height: 22px; line-height: 22px; padding: 0 4px; border: 1px solid {MENUBORDER}; font-weight: 300; color: {LIGHTTEXT}; }
  45.                         .side_type h4.current { margin-bottom: 1px; height: 23px; border-bottom: 1px {SPECIALBG}; background: {SPECIALBG}; font-weight: 700; color: {HIGHLIGHTLINK} }
  46.                         .combine h4 { display: none; }

  47.                 h3.requesttabs { height: 22px; line-height: 22px; padding: 4px 6px; color: {HIGHLIGHTLINK}; font-weight: 700; }
  48.                         .requesttabs span { float: right; font-weight: 300; color: {LIGHTTEXT}; }
  49.                         .with_side .side h3.requesttabs a { margin: 0 4px; font-weight: 300; color: {LIGHTTEXT}; text-decoration: none; }
  50.                         .with_side .side h3.requesttabs a:hover { text-decoration: underline; }
  51.                         .with_side .side h3.requesttabs a.current { font-weight: 700; color: {TABLETEXT} }

  52.                 /* 侧边搜索框 */
  53.                 #headsearch em { font-size: 20px; margin-right: 10px; color: {HIGHLIGHTLINK}; }
  54.                 #qihoosearch input, #gform input#q { margin: 6px 0; }

  55.         /*热点*/
  56.         #hot { margin-bottom: 20px; }
  57.                 #hot h3 { margin-bottom: 10px; font-size: 14px; color: {LIGHTTEXT}; }
  58.                 #hot .desc { color: {MIDTEXT}; }
  59.                         #hot .desc a { color: {HIGHLIGHTLINK}; }
  60.                 #hot .cite, #hot cite, #hot cite a { color: {LIGHTTEXT}; }
  61.                 #hot dt, #hot li { background: url({IMGDIR}/dot_c.gif) no-repeat 0 50%; position: relative; }
  62.                 #hot_img { float: left; padding-right: 14px; width: 200px; border-right: 1px dashed {COMMONBORDER}; }
  63.                         #hot_img img { margin-bottom: 1em; padding: 2px; width: 200px; height: 150px; border: 1px solid {COMMONBORDER}; }
  64.                         #hot_img h2 { position: relative; }
  65.                         #hot_img .desc { padding: 5px 0; }
  66.                 .img #hot_main { float: right; margin-left: -230px; width: 100%; }
  67.                         .img dl, .img ul { margin-left: 230px; }
  68.                         #hot dt strong { margin-right: 1em; }
  69.                         #hot dl { border-top: 1px dashed {COMMONBORDER}; }
  70.                                 #hot dt, #hot dd { padding-left: 10px; }
  71.                                 #hot dt { padding-top: 8px; background-position: 0 15px; }
  72.                                 #hot dd { padding-bottom: 8px; border-bottom: 1px dashed {COMMONBORDER}; color: {MIDTEXT}; }
  73.                 #hot ul {  padding: 8px 0; border-bottom: 1px dashed {COMMONBORDER}; }
  74.                         #hot li { float: left; width: 49.5%; line-height: 22px; height: 22px; text-indent: 10px; white-space: nowrap; overflow: hidden; text-overflow:  ellipsis; }
  75.                         #hot .deloption { position: absolute; right: 0; margin: 0; border: 3px solid {WRAPBG}; background-color: {WRAPBG}; }
  76. [/CURSCRIPT]

  77. [CURSCRIPT = index,forumdisplay,tag]
  78.         /* TAG 标签云 */
  79.         .taglist {}
  80.                 .taglist a { height: 30px; line-height: 30px; margin-right: 20px; word-break: keep-all;  }
  81.                 #infoside .taglist a { margin-right: 10px; height: 22px; line-height: 22px; }
  82.                         /* TAG颜色无需替换为变量 */
  83.                         a.tagl1, a.tagl2 { font-size: 12px; color: #666 !important; }
  84.                         a.tagl2 { color: #999 !important; }
  85.                         a.tagl3 { font-size: 14px; color: #090 !important; }
  86.                         a.tagl4 { font-size: 16px; color: #09C !important; }
  87.                         a.tagl5 { font-size: 18px; color: #F60 !important; }
  88. [/CURSCRIPT]

  89. [CURSCRIPT = forumdisplay]
  90.         /* forumdisplay.php header */
  91.         #forumheader { line-height: 24px; }
  92.         #forumheader h1 { float: left; margin-right: 1em; font-weight: 700; }
  93.         #forumheader .forumstats { float: left; margin-right: 1em; }
  94.                 #forumheader .forumstats strong { color: {NOTICETEXT}; }
  95.         .forumaction { float: left; }
  96.                 .forumaction a { padding: 3px 1em 3px 20px; background: url({IMGDIR}/icon_fav.gif) no-repeat 0 50%;}
  97.                 .forumaction .attention { background: url({IMGDIR}/attention.gif) no-repeat 0 50%; }
  98.                 .forumaction .feed {  background: url({IMGDIR}/icon_feed.gif) no-repeat 0 50%; }
  99.                 .forumaction .recyclebin { padding: 3px 1em 3px 20px; background-image: url({IMGDIR}/recyclebin.gif); }
  100.         #forumheader #modedby { clear: both; }
  101.                 #forumheader #modedby a { color: {HIGHLIGHTLINK}; }
  102.         #forumheader .modlink { float: right; }
  103.                 #forumheader .modlink a { padding: 0 0 0 5px; color: {HIGHLIGHTLINK}; }
  104.         .recommends { border: 1px solid {NOTICETEXT}; color: {NOTICETEXT}; font-size:9px; padding: 0 3px; }

  105.         /* 主题分类 */
  106.         .threadtype { padding: 8px 6px; border-top: 3px solid {COMMONBORDER}; line-height: 2em; }
  107.                 .threadtype a, .threadtype strong { margin-right: 6px; padding-right: 6px; border-right: 1px solid {COMMONBORDER}; white-space: nowrap; }
  108.                         .threadtype .popupmenu_popup a { margin-right: 0; padding-right: 0; border: none; }
  109.                         .threadtype strong { font-weight: 700; color: {HIGHLIGHTLINK}; white-space: nowrap; }
  110.         .dtypeoption { overflow: hidden; margin-bottom: 6px; }
  111.                 .dtypeoption li { float: left; padding: 4px 0; margin-right: 14px; }
  112.                         .dtypeoption li strong { margin-right: 4px; font-weight: 700; color: {MIDTEXT}; }

  113.         .dtypeqsearch { margin-bottom: 10px; border-top: 1px solid {COMMONBORDER}; padding-top: 4px; clear: both; }
  114.                 .dtypeqsearch h5{ height: 1.8em; line-height: 1.8em; color: {NOTICETEXT}; font-weight: 700; }
  115.                 .dtypeqsearch li { height: 22px; margin-bottom: 8px;  }
  116.                 .dtypeqsearch a { color: {HIGHLIGHTLINK}; }

  117.         .rule { margin: 0 8px; }
  118.         #modarea, #subforum { margin: 1em 0; }
  119.                 #modarea .list h3 { margin-bottom: 6px; border-bottom: 1px dashed {COMMONBORDER}; font-weight: 400; }
  120.                         #modarea .list h3 .current { font-weight: 700; color: {HIGHLIGHTLINK}; }
  121. [/CURSCRIPT]

  122. [CURSCRIPT = index,forumdisplay,viewthread]
  123.         .titlelist li { margin: 3px 0; height: 1.6em; background: url({IMGDIR}/dot.gif) no-repeat 8px 9px;  overflow: hidden; }
  124.                         .titlelist li a { padding-left: 16px; }
  125.                         .titlelist li cite { float: right; padding: 0 10px 0 0; width: 90px; overflow:hidden; text-align:right; }
  126.                         .titlelist li cite a { padding: 0; color: {MIDTEXT}; }
  127.         .postbtn, .replybtn, #modopt, #modopttmp { float: left;  margin-right: 10px; color: {HIGHLIGHTLINK}; cursor: pointer; }
  128.                 #modopt, #modopttmp, .threadlist tfoot a { background-color: {INPUTBG}; border: 1px solid; border-color: {INPUTBORDERDARKCOLOR} {INPUTBORDER} {INPUTBORDER} {INPUTBORDERDARKCOLOR}; padding: 0 16px 0 6px; line-height: 20px; }
  129.                         .threadlist tfoot a { margin-right: 5px; padding: 3px 16px 3px 3px; }
  130.                         #modopt:hover, #modopttmp:hover, .threadlist tfoot a:hover { text-decoration: none; color: {HIGHLIGHTLINK}; }
  131.         .postbtn, .replybtn { width: 67px; height: 30px; background: url({IMGDIR}/newtopic.gif) no-repeat 0 0; font-size: 14px; font-weight: 700; line-height: 28px; *line-height: 32px; text-align: center; overflow: hidden; }
  132.                 .replybtn { background-image: url({IMGDIR}/reply.gif); }
  133.                 .postbtn a, .replybtn a { display: block; padding-left: 5px; color: #FFF; letter-spacing: 5px; }
  134.                 .postbtn a:hover, .replybtn a:hover { text-decoration: none; }
  135. [/CURSCRIPT]

  136. [CURSCRIPT = viewthread]
  137.         /* 评分窗口 */
  138.         .ratelist { margin-bottom: 3px; }
  139.                 .ratelist .dropdownbtn { margin-right: 5px; }
  140.                 .ratelist .txt { width: 45px; }
  141.                 .ratelist label { float: left; white-space: nowrap; overflow: hidden; width: 120px; }

  142.         /* 解析 TAG 弹出菜单 */
  143.         .tagthread { width: 360px; }
  144.                 .tagthread .close { float: right; }
  145.                 .tagthread h4 { line-height: 26px; border-bottom: 1px solid {COMMONBORDER}; }
  146.                 .tagthread ul { padding: 5px; }
  147.                         .tagthread li { line-height: 1.8em; }
  148.                 .tagthread li.more { padding-right: 10px; text-align: right; background: url({IMGDIR}/arrow_right.gif) no-repeat 100% 50%; }

  149.         .forumcontrol { }
  150.         .forumcontrol table { width: 100%; background: {SPECIALBG}; }
  151.                 .forumcontrol td { padding: 15px; }
  152.                         .forumcontrol .narrow td { padding: 0 15px 5px; }
  153.                 .forumcontrol .modaction { width: 140px; background: {CONTENTSEPARATE}; }
  154.         .userinfopanel { margin: -1px 0 0 9px; width: 500px; border: 1px solid {DROPMENUBORDER}; background: {WRAPBG}; filter: alpha(opacity=96); opacity: 0.96; }
  155.                 .popavatar { float: left; width: 150px; }
  156.                         .popavatar p { padding: 0 10px; }
  157.                 .popuserinfo { float: left; width: 350px; padding: 5px 0; }
  158.                 .imicons img { vertical-align: middle; margin: 0 8px 0 0; }
  159.                 .userinfopanel p { text-align: left; margin: 0 !important; padding: 0 !important; }
  160.                         .userinfopanel p a { color: {HIGHLIGHTLINK}; }
  161.                 .userinfopanel dl { margin: 5px 0; padding: 5px 0; }
  162.                         .postauthor .userinfopanel dt { width: 70px; }
  163.                         .postauthor .userinfopanel dd { width: 100px; }
  164.                 .popupmenu_popup .postauthor { width: 180px; }
  165.                         .popupmenu_popup .postauthor a { color: {HIGHLIGHTLINK}; }
  166.                 .userinfopanel .avatar { margin: 0 0 10px 0 !important; }
  167.                 .profile_side ul { margin: 5px 30px; line-height: 1.6em; overflow: hidden; }
  168.                         .profile_side li { margin: 5px 0; background-position: 0 50%; background-repeat: no-repeat; text-indent: 22px; }
  169.                                 .profile_side li.pm { background-image: url({IMGDIR}/pmto.gif); }
  170.                                 .profile_side li.buddy { background-image: url({IMGDIR}/addbuddy.gif); }
  171.         .extralist { border: solid {INPUTBORDER}; border-width: 2px 0;  }
  172.                 .extralist td, .extralist th { height: 2.2em; padding-left: 14px; line-height: 2.2em; border: solid {COMMONBORDER}; border-width: 1px 0; }
  173.                 .extralist th { width: 120px; background: {INTERLEAVECOLOR}; font-weight: 700; }
  174.                 .extralist td em { font-weight: 700; color: {HIGHLIGHTLINK};}
  175.                 .extralist td span, .extralist td strong { color: {NOTICETEXT}; font-size: 14px; margin-right: 4px; }
  176.                 .extralist td strong {font-weight: 700; }

  177.         /* Notice 跳转 */
  178.         #ntc_jp { margin-left: -9px; margin-top: -33px; width: 460px; height: 43px; background: url({IMGDIR}/notice_jump.png) no-repeat 0 0; line-height: 35px; position: absolute; }
  179.                 #ntc_jp div { margin: 0 11px 0 9px; background: #3285D6; }
  180.                 #ntc_jp em { float: left; padding-left: 15px; color: #47E8FF; font-weight: 700; }
  181.                 #ntc_jp h2 { float: right; display: inline; margin-right: 10px; width: 300px; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #EAF2F9; text-align: right; }
  182.                         * html #ntc_jp h2 { font-family: Simsun, sans-serif; }
  183.                         #ntc_jp h2 a { color: #EAF2F9; text-decoration: underline; }
  184.         #ntc_jp .deloption { float: right; margin-top: 12px !important; }

  185.         .viewthread { }
  186.                 .threadfix { padding-bottom: 0!important; min-height: 300px !important; }
  187.                 * html .threadfix { height: 300px !important; }
  188.                 .viewthread table, #pmprompt table, #forumlinks, #pmlist, #specialpost, #newpost, #editpost { table-layout: fixed; }
  189.                         .viewthread td.postcontent, .viewthread td.postauthor { vertical-align: top; padding: 0 1px; border: none; overflow: hidden; }
  190.                                 .viewthread td.postcontent { padding: 0 15px; }
  191.                                 .viewthread td.postbottom { vertical-align:bottom; }
  192.                         .mainbox td.postauthor { padding: 0; width: 170px; background: {SPECIALBG}; overflow: hidden; }
  193.                                 .postauthor .avatar { margin: 10px 20px; }
  194.                                 .postauthor p, .postauthor dl.profile { margin: 5px 10px 5px 20px; }
  195.                                         .postauthor p.customstatus { color: {MIDTEXT} }
  196.                                         .postauthor p em, .postauthor dt em { color: {NOTICETEXT}; }
  197.                                         .postauthor dd, .postauthor dt { height: 1.6em; line-height: 1.6em; float: left; overflow: hidden; font-family: Tahoma, sans-serif; }
  198.                                         .postauthor dt { margin-right: 5px; width: 50px; }
  199.                                         .postauthor dd { width: 80px; }
  200.                                         .postauthor .shadowline { margin: 9px 20px 4px; *margin: 0 20px -5px; }

  201.                                 .posterinfo, .postmessage, .postact { max-width: {CONTENTWIDTH}; }
  202.                                 #threadstamp { position:absolute;margin-top: -70px;margin-left:170px; }
  203.                                 * html .postmessage { width: {CONTENTWIDTH}; }

  204.                                 .postinfo { color: {MIDTEXT}; margin-bottom: 10px; border-bottom: 1px dashed {COMMONBORDER}; line-height: 36px; height: 36px; overflow: hidden; }
  205.                                         .postinfo strong a { float: right; height: 24px; font-weight: 100; color: {TABLETEXT}; line-height: 24px; padding: 0 6px; margin-top: 4px; border: 1px solid {WRAPBG}; }
  206.                                                 .posterinfo a.posterlink { color: {HIGHLIGHTLINK}; }
  207.                                         .postinfo strong em.rpostno { float: right; font-weight: 100; color: {TABLETEXT}; margin-left: 20px; }
  208.                                                 .postinfo strong em.rpostno input { border: 1px solid {HIGHLIGHTLINK}; }
  209.                                                 .postinfo #rpostnobtn { cursor: pointer; }
  210.                                                 * html .postinfo strong em.rpostno { margin-top: 6px; }
  211.                                                 .postinfo strong a:hover { border: 1px solid {HIGHLIGHTLINK}; text-decoration: none; }
  212.                                                 .msgfontsize img { vertical-align: middle; }
  213.                                                 * html .msgfontsize { margin-top: 8px; }
  214.                                         .postinfo em { color: {HIGHLIGHTLINK}; margin-right: 4px; }
  215.                                         .posterinfo { color: {LIGHTTEXT}; margin-right: auto; }
  216.                                                 * html .authorinfo { padding-top: 8px; }
  217.                                                 .authicon { margin-bottom: -4px; cursor: pointer; }
  218.                                                 .posterinfo a, .posterinfo em { margin: 0 4px; color: {TABLETEXT}; }
  219.                                                 .posterinfo cite { float: right; }
  220.                                                         .posterinfo cite img { vertical-align: middle; margin: 0 8px 6px 0; }

  221.                                 .postmessage { clear: left; }
  222.                                         .postmessage *  { line-height: normal; }
  223.                                         .postmessage h1, .postmessage h2 { margin: 8px 0; font-size: 1.17em; }
  224.                                                 .postmessage h1 a { font-weight: 400; color: {TABLETEXT}; }
  225.                                                 #threadtitle { margin-bottom: 8px; border-bottom: 1px dashed {COMMONBORDER}; }
  226.                                                 #threadtitle h2 { font-size: 1.33em; }
  227.                                                 .postmessage h2 em { float: right; font-size: 12px; font-weight: 400; }
  228.                                                 .defaultpost { padding-bottom: 1em; }
  229.                                         .t_msgfont, .t_msgfont td { font-size: {MSGFONTSIZE}; line-height: 1.6em; }
  230.                                                 .t_msgfont a { color: {HIGHLIGHTLINK}; }
  231.                                         .t_bigfont .t_msgfont, .t_bigfont .t_msgfont td { font-size: {MSGBIGSIZE}; line-height: 1.6em; }
  232.                                         .recordinfo { height: 32px; }
  233.                                                 .t_msgfont *, .t_bigfont .t_msgfont * { line-height: normal; }
  234.                                         .postratings { float: right; }
  235.                                 .signatures { overflow: hidden; padding: 20px 0 10px; color: {MIDTEXT}; line-height: 1.6em; background: url({IMGDIR}/sigline.gif) no-repeat 0 0; }
  236.                                         .signatures * { line-height: normal; }
  237.                                         .signatures strong { font-weight: 700; }
  238.                                 .postactions { padding: 0 10px 0 0; border-top: 1px dashed {COMMONBORDER}; }
  239.                                         .postactions strong { cursor: pointer; }
  240.                                         .postactions .right { margin: 8px 0 0 5px; }
  241.                                         .postactions p { float: right; }
  242.                                         .postactions p a { margin-right: 6px; }
  243.                                 .postact { line-height: 36px; }
  244.                                 .postact em { float: left;}
  245.                                         .postact em a { padding: 5px 10px 5px 25px; }
  246.                                         .fastreply { background: url({IMGDIR}/fastreply.gif) no-repeat 0 50%; }
  247.                                         .repquote { background: url({IMGDIR}/repquote.gif) no-repeat 0 50%; }
  248.                                         .editpost { background: url({IMGDIR}/edit.gif) no-repeat 0 50%; }
  249.                                 .postmessage .typeoption { margin-bottom: 1em; }
  250.                                         .typeoption h4 { padding: 10px 2px; border-bottom: 1px solid {COMMONBORDER}; font-size: 14px; font-weight: bold; }
  251.                                         .typeoption table { width: 600px; }
  252.                                         .typeoption th, .typeoption td { border-bottom: 1px solid {COMMONBORDER}; padding: 4px;  }
  253.                                         /* 待定:BOX */
  254.                                         .postmessage .box tbody th, .postmessage .box tbody td { border-top-color: {COMMONBORDER}; }
  255.                         .t_msgfont ul { margin-left: 14px; }
  256.                                 .t_msgfont li { margin-left: 2em; }
  257.                                 .t_msgfont ul li { list-style-type: disc; }
  258.                                         ul.litype_1 li { list-style-type: decimal; }
  259.                                         ul.litype_2 li { list-style-type: lower-alpha; }
  260.                                         ul.litype_3 li { list-style-type: upper-alpha; }
  261.                         .postattach { width: 500px; margin: 10px 0; }
  262.                         .zoominner { padding: 5px 10px 10px; background: #FFF; text-align: left; }
  263.                                 .zoominner p { padding: 8px 0; color: {LIGHTTEXT} }
  264.                                         .zoominner p a { float: left; margin-left: 10px; width: 17px; height: 17px; background: url({IMGDIR}/imgzoom_tb.gif) no-repeat 0 0; line-height: 100px; overflow: hidden; }
  265.                                                 .zoominner p a:hover { background-position: 0 -39px; }
  266.                                         .zoominner p a.imgadjust { background-position: -40px 0; }
  267.                                                 .zoominner p a.imgadjust:hover { background-position: -40px -39px; }
  268.                                         .zoominner p a.imgclose { background-position: -80px 0; }
  269.                                                 .zoominner p a.imgclose:hover { background-position: -80px -39px; }

  270.                         .tagrelated { border-top:1px dashed {COMMONBORDER}; margin: 10px 0; }
  271.                                 .tagrelated h3 { padding: 6px 0; color: {HIGHLIGHTLINK}; }
  272.                                         .tagrelated h3 em { float: right; }
  273.                                                 .taghelated h3 em a { color: {MIDTEXT}; font-weight: 300; }
  274.                                 .tagrelated li { padding-bottom: 6px; }

  275.                         .zoomctl { float: right; text-indent: -999px; overflow: hidden; }
  276.                         .t_attach, .t_attach_img { border: 1px solid {COMMONBORDER}; background: {WRAPBG}; font-size: 12px; padding: 5px; }
  277.                         .t_attach { width: 130px; }
  278.                                 .t_attach em { color: {LIGHTTEXT}; }
  279.                         .t_attachinsert { margin: 1em 0; font-size: 12px; }
  280.                                 .t_attachinsert p img { margin-bottom: -4px; }
  281.                         .t_table { border: 1px solid {SPECIALBORDER}; empty-cells: show; border-collapse: collapse; }
  282.                                 .t_table td { padding: 4px; border: 1px solid {SPECIALBORDER}; overflow: hidden; }

  283.                         .threadad {}
  284.                                 .threadad td.postauthor { background: {CONTENTSEPARATE}; padding: 0; height: 6px; }
  285.                                 .adcontent { background: {SPECIALBG}; overflow: hidden; }

  286.                         .locked { margin: 10px 0; width: 600px; w\idth: 560px; padding: 8px 8px 8px 24px; border: 1px dashed #FF9A9A; background: {WRAPBG} url({IMGDIR}/locked.gif) no-repeat 6px 50%; font-size: 12px; }
  287.                                 .locked:hover { background: {COMMONBG} url({IMGDIR}/locked.gif) no-repeat 6px 50%; }
  288.                                 .locked strong { color: {NOTICETEXT}; }

  289.                         .viewpay { margin: 0 6px; padding: 1px 0 1px 24px; background: url({IMGDIR}/viewpay.gif) no-repeat 6px 60%; color: {HIGHLIGHTLINK}; font-weight: 700; }

  290.                         .showhide { border: 1px dashed #FF9A9A; margin: 8px 0; padding: 10px; }
  291.                                 .showhide h4{ margin-bottom: 10px; color: #F66; font-size: 12px; text-align: center; }

  292.                         .pstatus, .modact { display: block; height: 32px; text-align: center; font-style: normal; color: {LIGHTTEXT}; font-size: 12px; }
  293.                                 .pstatus, .modact, .modact a { line-height: 32px !important; color: {LIGHTTEXT}; }
  294.                         .useraction { height: 50px; width: 110px; clear: both; display: block; margin: 20px auto; }
  295.                                 .nrate { width: 220px; }
  296.                                 .useraction a { float: left; margin-right: 10px; padding: 30px 0 0; width: 45px; height: 20px; text-align: center; background: url({IMGDIR}/ajaxaction.gif) no-repeat 0 0; }
  297.                                 .useraction #share { background-position: 0 -50px; }
  298.                                 #ajax_recommendlink { float: left; margin-right: 10px; width: 100px; height: 50px; text-align: center; background: url({IMGDIR}/recommend.gif) no-repeat 0 0; }
  299.                                         #recommendav, #recommendv { cursor: pointer; height: 26px; line-height: 26px; font-size: 14px; font-weight: 700; color: #FFF; }
  300.                                         ul#recommendav { font-size: 11px; }
  301.                                                 ul#recommendav li { margin-top: 6px; }
  302.                                                 ul#recommendav li#recommendv_subtract { color: #EEE; }
  303.                                         .recommend_act li { float: left; width: 50%; }
  304.                                         #recommend_add, #recommend_subtract { float: none; margin-right: 0; padding: 0 0 0 15px; *padding-left: 19px; width: auto; height: 24px; line-height: 24px; background: url({IMGDIR}/rec_add.gif) no-repeat 2px 50%; *background-position: 6px 0; }
  305.                                         #recommend_subtract { background-image: url({IMGDIR}/rec_subtract.gif) !important; }

  306.                         /* 此处无变量替换 */
  307.                         .newrate .cornerlayger { color: {LIGHTTEXT}; border: 1px solid #CCC; background: #F7F9F8; white-space: nowrap; }
  308.                                  .newrate .cornerlayger em { color: {NOTICETEXT}; }
  309.                                 .newrate .attach_popup { width: auto; }
  310.                         .newrate .minicorner { background: url({IMGDIR}/ratesrcorebg.gif) no-repeat 5px 0; }

  311.                         .re_unsolved, .re_solved { font-size: 14px; float: right; height: 21px; width: 48px; padding-left: 10px; line-height: 21px; color: #C30; font-weight: 700; }
  312.                         .re_solved { color: #060; }

  313.                                 .votemsg { width: 486px; height: 80px; }

  314.                         .buyinfo { margin: 5px 10px; }
  315.                                 .buyinfo table td, .buyinfo table th { border-bottom: 1px solid #DDD; padding: 6px; }
  316.                                 .buyinfo table th { width: 100px; }
  317.                                 .buyinfo p { padding: 6px; }

  318.                         .quote, .blockcode { margin: 10px 0; padding: 10px 10px 10px 65px; }
  319.                         .quote { padding-bottom: 5px; background: #F9F9F9 url({IMGDIR}/icon_quote_s.gif) no-repeat 20px 6px; }
  320.                                 .quote blockquote { margin: 0; padding: 0 65px 5px 0; background: url({IMGDIR}/icon_quote_e.gif) no-repeat 100% 100%; line-height: 1.6em; }

  321.                         .blockcode { padding: 10px 0 5px 10px; width: 598px; w\idth: 586px; border: 1px solid #CCC; background: #F7F7F7 url({IMGDIR}/codebg.gif) repeat-y 0 0; overflow: hidden; }
  322.                                 .blockcode ol { margin: 0 0 0 10px; padding: 0; }
  323.                                         .blockcode ol li { padding-left: 10px; list-style-type: decimal-leading-zero; font-family: Monaco,Consolas,"Lucida Console","Courier New",serif; font-size: 12px; line-height: 1.8em; }
  324.                                                 .blockcode ol li:hover { background: #FFF; color: {HIGHLIGHTLINK}; }
  325.                                         * html .blockcode ol li { font-family: "Courier New",serif; }
  326.                                 .blockcode em { margin-left: 43px; color: #09C !important; font-size: 12px; cursor: pointer; }

  327.                         .threadtags { margin-top: -8px; padding-left: 20px; background: url({IMGDIR}/tag.gif) no-repeat 0 50%; color: #999; }
  328.                                 .threadtags a, .footoperation span.threadtags a { margin-right: 6px; color: #333; line-height: 30px; }
  329.                                                 .threadtags .postkeywords a { color: {NOTICETEXT}; }
  330.                                 .pagecontrol { float: right; width: 160px; }
  331.                                         .print { padding-left: 20px; background: url({IMGDIR}/printpost.gif) no-repeat 0 10px; *line-height: 38px; }
  332.                                         .msgfsize * { float: left; }
  333.                                                 .msgfsize small, .msgfsize big { width: 20px; text-indent: -9999px; cursor: pointer; }
  334.                                                 .msgfsize small { background: url({IMGDIR}/text_common.gif) no-repeat 7px 8px; }
  335.                                                 .msgfsize big { background: url({IMGDIR}/text_zoom.gif) no-repeat 0 8px; }

  336.                         .postmessage strong { font-weight: bold; }
  337.                         .postmessage em { color:{MIDTEXT}; }
  338.                         .postmessage span.t_tag { cursor: pointer; border-bottom: 1px solid #F00; white-space: nowrap; }
  339.                         .postmessage span.t_tag:hover { border-bottom: 1px solid {NOTICEBORDER}; }
  340.                         .t_msgfontfix table, .specialmsg table { margin-left: 1px; }

  341.                         .taglinks { margin: 10px; border-top: 1px dashed {SPECIALBORDER}; overflow: hidden; }
  342.                                 .taglinks div { float: left; width: 33%; }
  343.                                         .taglinks div h4 { height: 30px; line-height: 30px; text-indent: 14px; }
  344.                                                 .taglinks div h4 a { color:  {HIGHLIGHTLINK}}
  345.                                         .taglinks div ul { border-right: 1px dashed {SPECIALBORDER}; margin: 0 10px 0 20px; }
  346.                                                 .taglinks div.noborder ul { border-right: none; }
  347.                                                 .taglinks div ul li { list-style: none; height: 20px; overflow: hidden; line-height: 20px; color:  {LIGHTTEXT}; white-space: nowrap; }
  348.                                                 .taglinks div li a:hover { color:  {HIGHLIGHTLINK}}
  349.                                         .taglinks div dl dt { float: left; width: 100px; text-align: center; }
  350.                                                 .taglinks div dl dt img { width: 76px; height: 58px; }
  351.                                                 .taglinks div dl dt p { margin: 10px; overflow: hidden; color:  {LIGHTTEXT}; }
  352.                                         .taglinks div dl dd { margin-left: 80px; }

  353.                                 #relatedthreads td { height: 30px; }

  354.         .postattachlist { width: 100%; margin-top: 2em; border-bottom: 1px dashed {COMMONBORDER} !important; overflow: hidden; font-size: 12px; }
  355.                 .t_attachlist { float: left; width: 45%; height: 50px; overflow: hidden; padding: 10px; }
  356.                         .t_attachlist a { color: {HIGHLIGHTLINK}; text-decoration: underline; }
  357.                         .t_attachlist dt { width: 40px; float: left; font-weight: 700; }
  358.                         .t_attachlist strong { color: {NOTICETEXT}; margin-right: 6px; }
  359.                                 .t_attachlist dt img { width: 32px; height: 32px; }
  360.                         .t_attachlist dd { margin-left: 40px; color: {LIGHTTEXT} }
  361.                         .attachname { height: 16px; margin-bottom: 3px; overflow: hidden; white-space: nowrap; }
  362.                         *html .attachname { white-space: normal; }
  363.                 .attachimg { width: 580px; height: auto; overflow: visible; float: none; }
  364.                         .attachimg dt { width: 0; }
  365.                         .attachimg dd { margin-left: 0; }
  366.                         .attachimg .zoom { cursor: pointer; }
  367.                         .imgtitle { margin-bottom: 10px; }
  368.                 .attach_popup { width: 180px; border: solid {WRAPBG}; border-width: 0; }

  369.         .newrate { margin: 20px 0; }
  370.                 .newrate dt { float: left; width: 80px; padding-top: 7px; text-align: center; }
  371.                         .newrate dt strong { height: 46px; padding: 12px 8px; font-size: 24px; background: #FFF4DD; }
  372.                         .newrate dt p { padding-top: 10px; }
  373.                                 .newrate dt strong a,.newrate dt strong a em { line-height: 48px; height: 48px; color: {NOTICETEXT}; }
  374.                 .newrate dd { margin-left: 80px; }
  375.                         .newrate dd ul li { float: left; list-style: none; width: 67px; height: 84px; overflow: hidden; margin:0 4px; text-align: center; }

  376.                         .newrate dd ul.ratelist { float: none; padding-top: 1px; }
  377.                         .newrate dd ul.ratelist li { height: 24px; width: auto; line-height: 24px; margin: 4px 0; color:{LIGHTTEXT}; text-align: left; float: none;  }
  378.                         .ratelist img { height: 24px; width: 24px; vertical-align: middle }
  379.                         .ratelist em { margin-left: 10px; color: {NOTICETEXT}; }
  380.                         .ratelist a { margin-right: 6px; }
  381.                         .ratelist span { margin: 0 4px; color: {LIGHTTEXT};}
  382.                                 .rateavatar { padding: 8px 0; }
  383.                                         .rateavatar img { margin: auto; }

  384.         #authornewfeed { padding: 2px 12px 2px 23px; *padding: 3px 12px 1px 23px; background: url({IMGDIR}/notify_bg_m.gif) no-repeat 0 50%; color: #FFF; cursor: pointer; }
  385.         #authornewfeed_menu { padding-top: 10px; width: 250px; background: url({IMGDIR}/pm_ntc.gif) no-repeat 0 0; }
  386.                 #authornewfeed_menu div { padding-bottom: 10px; background: url({IMGDIR}/pm_ntc.gif) no-repeat -250px 100%; }
  387.                         #authornewfeed_menu ul { zoom: 1; border: solid #91C8E2; border-width: 0 2px; background: #FEFEFE; }
  388.                                 #authornewfeed_menu li { margin: 0 5px; padding: 4px 0 4px 20px; border-bottom: 1px solid #F4F4F4; color: #444; }
  389.                                         #authornewfeed_menu a { color: #09C; text-decoration: underline; }
  390.                                         #authornewfeed_menu img.appicon { position: absolute; float: left; margin-top: 3px; *margin-top: 0; margin-left: -20px; width: 16px; height: 16px; }
  391.         #f_post td { padding-top: 15px; padding-bottom: 20px; vertical-align: top; }
  392.         #f_post p, .fastcheck { margin: 5px 0; }
  393.                 #f_post .txtarea { margin: -1px 0 0; width: 596px; height: 120px; border-color: {INPUTBORDERDARKCOLOR} {INPUTBORDER} {INPUTBORDER} {INPUTBORDERDARKCOLOR}; border-top: none; overflow: auto; }
  394.                 * html .signatures { height: expression(signature(this)); }
  395.         .t_msgfontfix { min-height: 100px; }
  396.                 * html .t_msgfontfix { height: 100px; overflow: visible; }
  397.         .stand_select .postauthor { background: #EBF2F8; }
  398.         .stand_select .itemtitle, .stand_select .solidline { margin: 15px 15px 10px; }
  399.                 .stand_select h2 { float: left; }

  400. /* 热点话题 */
  401. .focus { float: right; position: fixed; bottom: 0; z-index: 300; right: 0; overflow: hidden; padding: 8px; width: 255px; border: 2px solid {FLOATMASKBGCOLOR}; background: {FLOATBGCOLOR}; }
  402.         * html .focus { position: absolute; top: expression(offsetParent.scrollTop+document.documentElement.clientHeight-this.offsetHeight); }
  403.         .focus .float_ctrl { margin: 0; }
  404.                 .focus .float_ctrl em { font-size: 12px; }
  405.         .focus .shadowline { margin: 8px 0 5px; *margin: 0; }
  406.         .detail { text-align: left; }
  407.                 .detail h4 { overflow: hidden; white-space: nowrap; margin-bottom: 5px; }
  408.                 .detail p { overflow: hidden; height: 58px; }
  409.                 .detail img { float: left; margin-right: 8px; width: 58px; height: 58px; }
  410.                 .detail a { color: {TABLETEXT}; }
  411.         .moreinfo { float: right; padding: 0 5px 0 15px; background: url({IMGDIR}/notice.gif) no-repeat 0 3px; }
  412. [/CURSCRIPT]

  413. [CURSCRIPT = forumdisplay,viewthread]
  414.         .postmenu { width: 100px; }
  415.                 #visitedforums_menu { width: 140px; }
  416.                 .postmenu li, #visitedforums_menu li { float: left; background: url({IMGDIR}/folder_s.gif) no-repeat 3px 50%; }
  417.                         .postmenu .poll { background-image: url({IMGDIR}/pollsmall.gif); }
  418.                         .postmenu .trade { background-image: url({IMGDIR}/tradesmall.gif); }
  419.                         .postmenu .reward { background-image: url({IMGDIR}/rewardsmall.gif); }
  420.                         .postmenu .activity { background-image: url({IMGDIR}/activitysmall.gif); }
  421.                         .postmenu .debate { background-image: url({IMGDIR}/debatesmall.gif); }
  422.                         .postmenu a, #visitedforums_menu a { display: block; width: 75px; border-bottom: 1px solid {COMMONBORDER}; padding-left: 25px; }
  423.                                 .postmenu a:hover, #visitedforums_menu a:hover { text-decoration: none; color: {HIGHLIGHTLINK}; border-bottom-color: {SPECIALBORDER}; }
  424.                         #visitedforums_menu li { background: none; }
  425.                                 #visitedforums_menu li a { padding-left: 0; width: 140px; }
  426.         #fjump_menu { padding: 0 30px 0 10px; }
  427.                 #fjump_menu dl { padding: 5px 0; }
  428.                         #fjump_menu dt a { font-weight: 700; color: {MIDTEXT}; }
  429.                         #fjump_menu dd { padding-left: 1em; }
  430.                                 #fjump_menu .sub { padding-left: 1em; }
  431.                                 #fjump_menu .current a { font-weight: 700; }
  432.                                 #fjump_menu li a { color: {HIGHLIGHTLINK}; }
  433. [/CURSCRIPT]

  434. [CURSCRIPT = viewthread,misc]
  435.         .userlist { overflow: auto; margin: 4px 0; height: 220px; }
  436.                 .userlist li { list-style: none; float: left; width: 33%; height: 1.8em; line-height: 1.8em; }
  437. [/CURSCRIPT]

  438. [CURSCRIPT = pm,notice]
  439.         #pm_content h1 { float: left; font-size: 14px; }
  440.                 .postpm { float: right; color: {HIGHLIGHTLINK}; font-weight: 700; }

  441.                 .pm_header { padding: 6px; border: solid {COMMONBORDER}; border-width: 1px 0; }
  442.                         .pm_header #pm_search { float: right; }
  443.                 .pm_list li { position: relative; *margin-top: -2px; padding: 10px 140px 10px 75px; min-height: 48px; _height: 48px; border-bottom: 1px solid {COMMONBORDER}; }
  444.                         .pm_list li .avatar { position: absolute; left: 5px; top: 8px; }
  445.                                 .pm_list .self .avatar { left: auto; right: 75px; }
  446.                                 .pm_list .cite  { margin: -3px 0 5px; color: {LIGHTTEXT}; }
  447.                                         .pm_list .cite cite { margin-right: 1em; color: {TABLETEXT}; font-weight: 700; }
  448.                                                 .pm_list .cite cite a { color: {TABLETEXT}; }
  449.                                 .more { margin-top: 5px; }
  450.                                         .more a, .ntc a, .pm_list .action a { color: {HIGHLIGHTLINK}; }
  451.                                 .pm_list .action a { position: absolute; top: 10px; right: 15px; }
  452.                                         .pm_list .action a.delete { display: block; width: 12px; height: 12px; background: url({IMGDIR}/close.gif) no-repeat 0 0; text-indent: -9999px; overflow: hidden; }
  453.                                         .pm_list .action a.delete:hover { background-position: 0 -12px; }
  454.                                 .pm_list .action input { position: absolute; bottom: 15px; right: 13px; }
  455.                         .pm_list li.pm_date { padding: 5px 0 5px 75px; min-height: 0; border-bottom: none; }
  456.                         #pm_list ul.onerror { padding: 20px 0 0 95px; background-position: 75px 22px; }
  457.                         #pmlist .summary a { color: {HIGHLIGHTLINK}; }
  458.                 .pmreply { margin: 1em 0; padding-left: 75px; }
  459.                         .pmreply textarea { width: 510px; }
  460.                 .pmback { width: 70px; padding-left: 15px; w\idth: 55px; background: url({IMGDIR}/arrow_left.gif) no-repeat 0 50%; }
  461.                 .newpm_notice { padding: 0 0 10px 75px; border-bottom: 1px solid {COMMONBORDER}; }
  462.                         .newpm_notice a { color: {HIGHLIGHTLINK}; }
  463.                         .newpm_notice .back { float: left; display: inline; margin-left: -70px; background: url({IMGDIR}/arrow_left.gif) no-repeat 0 50%; padding-left: 15px; }
  464.                 .quote  { margin: 10px 0; padding: 0 0 0 20px; border: none; background: url({IMGDIR}/icon_quote_m_s.gif) no-repeat 0 0; }
  465.                         .quote blockquote { margin: 0; padding: 0 20px 0 0; display: inline; background: url({IMGDIR}/icon_quote_m_e.gif) no-repeat 100% 100%; line-height: 1.6em; color: {LIGHTTEXT}; text-decoration: none; }

  466.                 .blockall { margin-bottom: 10px; padding: 10px 0; background: {SPECIALBG}; text-align: center; color: {LIGHTTEXT}; }
  467.                         .blockall a { color: {HIGHLIGHTLINK}; font-size: 1.17em; }
  468.                 .blacklist li a, .blacklist li strong { float: left; }
  469.                         .blacklist .remove { margin: 4px 0 0 5px; width: 12px; height: 12px; background: url({IMGDIR}/close.gif) no-repeat 100% 50px; line-height: 100px; overflow: hidden; }
  470.                                 .blacklist .hover .remove { background-position: 100% 0; }
  471.                                 .blacklist .remove:hover { background-position: 100% -12px; }
  472.                         .allblocked { margin-bottom: 10px; padding-bottom: 10px; width: 100% !important; border-bottom: 1px solid {COMMONBORDER}; }
  473.                                 .allblocked a { margin-left: 10px; color: {HIGHLIGHTLINK}; }
  474. [/CURSCRIPT]

  475. [CURSCRIPT = pm,my,profile,viewthread]
  476.         #buddies ul { width: 400px; }
  477.                 #buddies li { float: left; width: 8em; height: 1.6em; overflow: hidden; white-space: nowrap; }
  478. [/CURSCRIPT]

  479. [CURSCRIPT = magic]
  480.         .magicprice { color: {NOTICETEXT}; font-weight: 700; font-size: 16px; }
  481.         .magic_yes { color: #080; font-weight: 700; }
  482.         .magic_no { color: #F00; font-weight: 700; }
  483.         .mymagic { margin-bottom: 30px; }
  484.                 .mymagic .inlinelist li { margin-top: 10px; width: 50%; }
  485.                 .mymagic .magicimg { float:left; margin-right: 10px; width: 25%; background: url({IMGDIR}/magicbox.gif) no-repeat 0 0; }
  486.                         .mymagic .magicimg img { margin: 8px; }
  487.                 .mymagic .magicdetail { float:left; width: 65%; color: #666; }
  488.                         .magicdetail h5 { font-size: 14px; color: #333; }
  489.                         .magicdetail a { color: {HIGHLIGHTLINK}; }
  490.                         .magicdetail p { margin: 6px 0; }
  491.                 .mymagic p { margin: 3px 0; }
  492.                 .mymagic .inlinelist .clear { float: none; clear: both; margin: 0; width: 100%; }
  493.         .magicnum { margin: 10px 0; color: #333; }
  494.                 .magicnum p { margin-top: 5px; }
  495.         .fixed { margin-bottom: 10px; width: 340px; }
  496.                 .fixed .magicimg { margin-right: 0; width: 30%; }
  497.                 .fixed .magicdetail { width: 70%; }
  498. [/CURSCRIPT]

  499. [CURSCRIPT = medal]
  500.         .medallist { overflow: hidden; margin-bottom: 30px; }
  501.                 .medallist li { margin-bottom: 15px; width: 24.9%; }
  502.                         .medalimg { float: left; margin: 5px; width: 15%; }
  503.                         .medalinfo { float: left; width: 75%; }
  504.                                 .medalinfo p { color: {MIDTEXT}; }
  505.                         .medalexp { margin-left: 8px; color: {LIGHTTEXT}; font-weight: 400; }
  506.                 .medallist .clear { overflow: hidden; float: none; clear: both; margin: 0; width: 100%; height: 1px; }
  507.         .medalp { margin-bottom: 10px; }
  508. [/CURSCRIPT]

  509. [CURSCRIPT = invite]
  510.         .invitecode { border: none !important; background-color: transparent; font-family: "Courier New", Courier, monospace, serif; }
  511.                 input.marked { background: transparent url({IMGDIR}/check_right.gif) no-repeat 100% 50%; }
  512.                 .expiration .invitecode { text-decoration: line-through; color: red; }
  513. [/CURSCRIPT]

  514. [CURSCRIPT = search]
  515.         .searchform { position: relative; margin: 0 5px 10px; padding: 30px 10px 20px 160px; border-top: 5px solid {WRAPBG}; background: {SPECIALBG}; }
  516.                 .searchlabel { position: absolute; left: 0; _left: -160px; top: 30px; width: 150px; text-align: center; font-weight: 700; font-size: 26px; color: {HIGHLIGHTLINK}; line-height: 30px; }
  517.                         .searchlabel strong { display: block; font-size: 14px; color: {MIDTEXT}; font-weight: 400; text-align: center; }
  518.                 .searchform h3 { margin: 10px 2px; font-size: 14px; }
  519.                 .searchkey { margin-bottom: 1em; zoom: 1; }
  520.                 .searchkey #searchsubmit { margin: 0 16px 0 10px; }
  521.                         * html #searchsubmit { height: 21px; line-height: 19px; }
  522.                         *+html #searchsubmit { height: 21px; line-height: 19px; }
  523.                         .searchkey a { background: url(../../images/common/editor.gif) 0 -541px no-repeat; padding:2px 0 2px 22px; color: {HIGHLIGHTLINK}; }

  524.         .searchlist { margin: 5px 20px; }
  525.                 .searchlist h1 { font-size: 14px; }
  526.                         .searchlist h1 em { font-weight: 400; }
  527.         #srchfid optgroup, #moveto optgroup { font-style: normal; font-weight: 400; font-size: 12px; }
  528. [/CURSCRIPT]

  529. [CURSCRIPT = faq,announcement]
  530.         .faqmessage, .announcemsg { margin-bottom: 10px; font-size: 14px; padding-bottom: 20px; border-bottom: 1px solid {COMMONBORDER}; }
  531.         .faqmessage ul, .announcemsg ul { padding-left: 1.6em; }
  532.         .faq li { margin-left: 2em; }
  533.                 .faq ul li { list-style-type: disc; }
  534.                 .t_msgfont ul.o li, .faq ol li { list-style-type: decimal; }
  535.         .author { margin-bottom: 5px; font-size: 12px; color: {LIGHTTEXT}; }
  536. [/CURSCRIPT]

  537. [CURSCRIPT = memcp]
  538. .avatararea { float: left; margin-right: 20px; width: 120px; }
  539.         .avatararea a { display:block; margin: 15px 0; width: 119px; height: 31px; line-height: 31px; text-align: center; background: url({IMGDIR}/bigbtn.gif) no-repeat; font-size: 14px; }
  540.                 .avatararea a:hover { text-decoration: none; }
  541.         #avatarctrl { float: left; }
  542. [/CURSCRIPT]

  543. [CURSCRIPT = memcp,credits]
  544.         .creditstable {}
  545.                 .creditstable td { padding: 10px 5px !important; }
  546.                 .cre_title { width: 50px; }
  547.                 .cre_opt { width: 150px; }
  548.                 .cre_arrow { width: 30px; }
  549.                 .cre_btn { margin-top: 10px; }
  550. [/CURSCRIPT]

  551. [CURSCRIPT = my]
  552.         .friendavatar { float: left; margin: 10px 10px 10px 0; }
  553.         .friendinfo { overflow: hidden; margin: 10px 10px 10px 0; }
  554.                 * html .friendinfo { margin-left: 70px; }
  555.                 .friendinfo p { color: {LIGHTTEXT} }
  556.                 .friendinfo a { text-decoration: none !important; }
  557.                         .friendinfo a:hover { text-decoration: underline !important; }
  558.                         .friendinfo h5 a { font-size: 14px; color: {HIGHLIGHTLINK}; }
  559.                 .friendctrl { margin-top :5px; }
  560.                         .friendctrl a { color: {TABELTEXT}; }
  561.                 .buddyname { margin-bottom: 8px; line-height: 16px; }
  562. [/CURSCRIPT]

  563. [CURSCRIPT = modcp]
  564.         .notelist { margin-top: -1px; border-top: 1px solid {COMMONBORDER}; border-bottom: 1px solid {COMMONBORDER}; zoom: 1; }
  565.                 .notelist .c_header, .notelistsubmit { margin: 10px; }
  566.                 .notelistbg, .notelistbg .c_header h3, .notelistbg .closenode .c_header_ctrlbtn { background-color: {INTERLEAVECOLOR}; }
  567.                 .notelistmsg { overflow: hidden; margin: 0 10px 10px 33px; }
  568.                         .notelistmsg .submit { margin-top: 10px; }
  569.                         .notelistmsg h3 { margin: 30px 0 5px; color: {HIGHLIGHTLINK}; }
  570.         .datalist .announcetable { width: 600px; }
  571.                 .datalist .announcetable, .datalist .announcetable th, .datalist .announcetable td { padding: 3px 0; border: none; }
  572.                 .datalist .announcetable th { font-weight: 700; }
  573.                 .anno_subject .txt { width: 270px; *width: 220px; }
  574.                 .anno_type select { width: 80px; }
  575.                 .anno_time .txt { width: 80px; }
  576.                 .anno_msg .txtarea, .anno_msg .txt { width: 590px; }
  577.                         .anno_msg .txtarea { margin-top: -1px; border-top-color: {INPUTBORDER}; }
  578.         .schresult .formtable th { padding: 5px 10px 5px 20px; width: 60px; }
  579.         .schresult .formtable td a{ color: {HIGHLIGHTLINK}; font-weight: 700; }
  580. [/CURSCRIPT]

  581. [CURSCRIPT = modcp,magic]
  582.         .filterform { margin-bottom: 15px; padding: 10px; border: 1px solid {SPECIALBORDER}; background-color: {SPECIALBG}; }
  583.                 .filterform table, .filterform table th, .filterform table td { margin-bottom: 0; border: none; }
  584. [/CURSCRIPT]

  585. [CURSCRIPT = stats,member]
  586.         .hasscrolltable { overflow: hidden; zoom: 1; * padding-bottom: 9px; }
  587.                 .datalist .scrollfixedtable { float: left; margin-top: 1px; margin-left: 1px; width: 20%; }
  588.                 .scrolltable { float:left; width: 79%; overflow-x: scroll; }
  589.                         .scrolltable table { table-layout: fixed; margin: 1px 0 0; width: 1600px; }
  590.                 .datalist .fixedtable { margin-bottom: 10px; width: 99%; text-align: right; }
  591.                         .datalist .fixedtable a { text-decoration: underline; }
  592.                 .datalist table a { text-decoration: underline; }
  593.                         .datalist table a:hover { color: {HIGHLIGHTLINK}; }
  594. [/CURSCRIPT]

  595. [CURSCRIPT = profile]
  596.         #profile .itemtitle h1 { color: {HIGHLIGHTLINK}; }
  597.         #profile p { margin: 5px 0; }
  598.         .profile_side .avatar { margin: 25px 0; text-align: center; }
  599.         .profile_side ul { margin: 5px 30px; line-height: 1.6em; overflow: hidden; }
  600.         .profile_side li { margin: 5px 0; background-position: 0 50%; background-repeat: no-repeat; text-indent: 22px; }
  601.                 .profile_side li.pm { background-image: url({IMGDIR}/pmto.gif); }
  602.                 .profile_side li.buddy { background-image: url({IMGDIR}/addbuddy.gif); }
  603.                 .profile_side li.space { background-image: url({IMGDIR}/home.gif); }
  604.                 .profile_side li.searchthread { background-image: url({IMGDIR}/folder_new.gif); }
  605.                 .profile_side li.searchpost { background-image: url({IMGDIR}/fastreply.gif); }
  606.                 .profile_side li.magic { background-image: url({IMGDIR}/magic.gif);}
  607.         #profile_stats li { text-indent: 0; }
  608.         #profile_stats li img { float: left; margin-right: 6px; }
  609.         #uch_feed { float: right; width: 50%; }
  610.                 #uch_feed li { width: 100%; height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  611.                 #uch_feed img { margin-bottom: -4px; }
  612.                 #uch_feed a { color: {HIGHLIGHTLINK}; }
  613. [/CURSCRIPT]

  614. [CURSCRIPT = post]
  615. .editorcontent { {FLOATBGCODE}; }
  616.         .editorcontent a { color: {HIGHLIGHTLINK}; }
  617.         .editorcontent .btnbar { position: relative; }
  618. #custominfoarea { right: 10px; left: auto; }
  619. #e_iframe { width: 100%; border: none; margin: 0; padding: 0; }
  620. #e_textarea { width: 100%; padding: 0; }

  621. .specialpost { overflow: hidden; margin: 15px 0;  }
  622. .specialinfo { float: left; padding-right: 14px; width: 400px; border-right: 1px dashed #CCC; }
  623.         .specialpost p { padding: 2px 0; height: 30px; line-height: 30px; }
  624.         .specialinfo textarea { width: 360px; height: 80px; }
  625.         .optionnum, .optioninfo { float:left; width: 16px; margin-right: 6px; }
  626.         .optioninfo { width: 300px; }
  627.         .specialinfo dl, .specialaddons dl { margin: 5px 0; }
  628.                 .specialinfo dl dt, .specialaddons dl dt { float: left; width: 62px; font-weight: 700; clear: left; }
  629.                 .specialaddons dl dt{ font-weight: 400; }
  630.                 .specialinfo dl dd, .specialaddons dl dd { margin: 5px 0 15px 65px; display: inherit; }
  631.                 .specialinfo dl dd strong { padding: 0 8px; }
  632.         .specialinfo .float_postinfo { height: 22px; }
  633.         .specialinfo .float_typeid { margin-right: 6px; margin-left: 0; }
  634. .specialaddons { float: left; margin-left: 10px; width: 170px; overflow: hidden; }
  635.         .spaoptlist p { height: 20px; line-height: 20px; }
  636.         .spaoptlist input[type=radio] { margin: 0 3px 0 0; }
  637. .spslonginput { width: 280px; }
  638. .splonginput { width: 150px; }
  639. .spmediuminput { width: 90px; }
  640.         .specialaddons select.spmediuminput { width: 96px; }
  641. .spshortinput{ width: 30px; }

  642. /* poll */
  643. .sppoll p{ clear: both; *padding: 1px 0 2px; height: auto; line-height: auto !important; }

  644. /* trade */
  645. .goodsimg { margin: 0 10px 0 0; width: 200px; border: 1px solid #AAA; }

  646. /* classifieds */
  647. .classifieds { margin: 10px 0; }
  648.         .classifieds .formtable th { vertical-align: top; width: 70px; }
  649.         .classifieds .txt { width: 600px; }
  650.         .classifieds .txtarea { width: 600px; height: 58px; }
  651.         .classifieds .inlinelist { float: left; width: 610px; }
  652.                 .classifieds .inlinelist li { float: left; margin-bottom: 5px; width: 33%; }

  653. .uploadfile { width: 500px; }
  654. *+html .uploadfile { width: 520px; }
  655.         .post_tablelist { height: auto; line-height: 160%; border-bottom: none; }
  656.                 .post_tablelist table { *table-layout: fixed; }
  657.                         .post_tablelist table td { height: 28px; line-height: 28px; border-bottom: 1px solid #F5F5F5; }
  658.                                 .attachnum { width: 16px; }
  659.                                 .attachctrl { width: 40px; }
  660.                                 .attachname {}
  661.                                         .attachname p img, .attachname_swf p img { vertical-align: middle; height: 16px; }
  662.                                         .attachname .lighttxt, .attachname_swf .lighttxt { color: {LIGHTTEXT} !important; }
  663.                                 .attachview, .attachpr { width: 40px; text-align: center; }
  664.                                         .attachview .txt, .attachpr .txt { width: 25px; }
  665.                                 .attachurl img { height: 20px !important; }
  666.                                 .attachdel { width: 20px }
  667.                                 *+html .attachdel { width: 40px; }
  668.                                 .attachdesc { width: 80px; text-align: center; }
  669.                                         .attachdesc .txt { width: 74px; }
  670.                 .upfilelist { height: auto !important; height: 165px; max-height: 300px; overflow: auto; overflow-x: hidden; }
  671.                         .upfilelist a, #attachimglist a, #uch_albums a { color: {HIGHLIGHTLINK}; }

  672.         .uploadinfo { white-space: normal; }
  673.         .uploadblock { margin: 8px 0; padding: 8px; border: 1px solid {SPECIALBORDER}; background-color: {SPECIALBG}; text-align: center; }
  674.                 .filedata { margin-bottom: 8px; }

  675.         .popupmenu_popup .float_ctrl { position: absolute; right: 10px; top: 18px; *top: 13px; }

  676. .floatboxswf { margin: 15px auto; width:470px; height: 268px; text-align: center; border: 1px solid #CCC; }

  677. .fontname_menu { width: 97px; }
  678. .fontsize_menu { width: 27px; line-height: normal; }
  679. .fontsize_menu ul li{ line-height: normal; }
  680. .fontname_menu li, .fontsize_menu li, .simple_menu li { cursor: pointer; }
  681. .editor_colornormal, .editor_colorhover { border: none !important; padding: 2px !important; }
  682.         .editor_colornormal div { width: 10px; height: 10px; overflow: hidden; cursor: pointer; border: 1px solid {WRAPBG}; }
  683.                 .editor_colorhover div { width: 10px; height: 10px; overflow: hidden; cursor: pointer; border: 1px solid {TABLETEXT}; }

  684. .imglist { margin-bottom: 5px; width: 100%; *width: 99.6%; }
  685.         .imglist td { padding: 8px 0; }
  686.         .imglist img { border: 1px solid {COMMONBORDER}; }
  687.         .imginfo { margin-right: 8px; }
  688.                 * html .imginfo { margin-right: 3px; }
  689.                 .imginfo .deloption { margin-top: 10px; }
  690.                 .imginfo .txt { width: 85px; }
  691.         .imgdeleted { opacity: 0.3; filter:alpha(opacity=30); }

  692. .extcreditbox { height: 350px; width: 100%; overflow: auto; }
  693.         .extname { width: 100px; }
  694.         .extcredits { width: 80px; }

  695. .columntype { margin-top: 5px; }
  696. * html .columntype * { font-family: Tahoma, sans-serif; }
  697.         .posttags strong, .columntype strong { font-weight: 700; }
  698.         .posttags p, .columntype p { margin-bottom: 5px; }
  699.         .columntype .txt { vertical-align: middle; width: 40px; }
  700.         .posttags { width: 360px; }
  701.                 .posttags .txt { margin-right: 8px; width: 250px; }
  702.         .columntype table { margin: 5px 0 0 -10px; width: 85%; }
  703.                 .columntype td { padding: 0 10px; vertical-align: top; border-left: 1px dashed #CCC; }
  704.                 .firstlist { border: none !important; }

  705. /*PostForm & Editor common*/
  706. .editortoolbar table { width: auto; }
  707. .editortoolbar a, .editortoolbar .a { display: block; cursor: pointer; }
  708.         .editortoolbar a.hover, .editortoolbar a:hover, .editortoolbar .a1 { background-color: {ALTBG2}; text-decoration: none; }

  709. .editorrow { margin-top:5px; padding: 3px 2px; height:48px; overflow: hidden; line-height:18px; border:1px solid; border-color: {INPUTBORDERDARKCOLOR} {INPUTBORDER} {INPUTBORDER} {INPUTBORDERDARKCOLOR}; clear:both; background: {COMMONBG}; }
  710.         .editor { text-align: left; }
  711.                 .editorbtn { margin-right: 50px; }
  712.                         .editor em { margin: 0 5px; float: left; display: block; height: 20px; width: 3px; background:url(../../images/common/editor.gif) no-repeat 0 -701px; border: 1px solid {COMMONBG}; }
  713.                         .editor a { margin: 1px 0; float: left; text-align: left; text-decoration: none; display: block; height: 21px; width: 20px; background:url(../../images/common/editor.gif) no-repeat 0 30px; text-indent: -9999px; overflow: hidden; border: 1px solid {COMMONBG};  }
  714.                                 a.oneditor, .editor a:hover { background: {DROPMENUBGCOLOR} url(../../images/common/editor.gif) no-repeat 0 21px; border: 1px solid {DROPMENUBORDER}; }
  715.                                 a.editormode { float: right; right: 20px; width: 50px; background: {COMMONBG}; text-align: right; text-decoration: none !important; }
  716.                                 *html a.editormode {right: 50px; }
  717.                                 a.editormode:hover { background: {DROPMENUBGCOLOR}; border-color: {DROPMENUBORDER}; }
  718.                                 a.plugeditor { text-indent: 0; background-position: 0 40px; }

  719.                         .minibtn { float: left; height: 44px; padding: 1px 6px; background:url(../../images/common/editor.gif) no-repeat 0 -286px; }
  720.                                 .minibtn p { clear: left; }

  721.                                 #e_cmd_simple { background-position: 0 0; }
  722.                                 #e_cmd_bold { font-weight: 700; text-decoration: none; }
  723.                                 #e_cmd_italic { font-style: italic; text-decoration: none; }
  724.                                 #e_cmd_underline { text-decoration: underline; }
  725.                                 #e_cmd_strikethrough { text-decoration: line-through; }
  726.                                 #e_cmd_fontname { background-position: 0 -21px;}
  727.                                 #e_cmd_fontsize { background-position: 0 -41px;}
  728.                                 #e_cmd_forecolor { background-position: 0 -81px;}
  729.                                 #e_cmd_createlink { background-position: 0 -121px;}
  730.                                 #e_cmd_paragraph { background-position: 0 -783px;}
  731.                                 #e_cmd_table { background-position: 0 -381px;}
  732.                                 #e_cmd_list { background-position: 0 -261px;}
  733.                                 #e_cmd_hide { background-position: 0 -421px;}
  734.                                 #e_cmd_free { background-position: 0 -401px;}

  735.                                 #e_cmd_unlink { background-position: 0 -201px; }
  736.                                 #e_cmd_removeformat { background-position: 0 -181px; }
  737.                                 #e_cmd_undo { background-position: 0 -221px; }
  738.                                 #e_cmd_redo { background-position: 0 -241px; }
  739.                                 #e_cmd_savedata { background-position: 0 -581px; }
  740.                                 #e_cmd_loaddata { background-position: 0 -601px; }
  741.                                 #e_cmd_clearcontent { background-position: 0 -101px; }
  742.                                 #e_cmd_checklength { background-position: 0 -161px; }

  743.                                 .tblbtn_disabled { background-position: 0 -842px !important; }
  744.                                 .hidebtn_disabled { background-position: 0 -863px !important; }
  745.                                         .tblbtn_disabled:hover, .hidebtn_disabled { border-color: {COMMONBG} !important; background-color: {COMMONBG} !important; cursor: default; }

  746.                         .maxbtn { position: relative; float: left; height: 44px; padding: 1px 2px 1px 6px; background:url(../../images/common/editor.gif) no-repeat 0 -286px; }
  747.                                 .maxbtn a { width: 40px; padding-top: 26px; height: 18px; text-indent: 0; font-size: 12px; text-align: center; background: url(../../images/common/bigeditor.gif) no-repeat; }
  748.                                 .maxbtn a.oneditor, .maxbtn a:hover { background: {DROPMENUBGCOLOR} url(../../images/common/bigeditor.gif) no-repeat; }

  749.                                 .haspic, .hasatt { position: absolute; top: 2px; width: 12px; height: 12px; line-height: 12px; text-align: center; background-color: #BBB; color: #FFF; font-weight: 700; font-size: 11px; }
  750.                                         .haspic { left: 78px; }
  751.                                         .hasatt { left: 120px; }

  752.                                 #e_cmd_paste { background-position: 4px -315px; }

  753.                                 #e_cmd_smilies { background-position: 4px 0px; }
  754.                                 #e_cmd_image { background-position: 4px -45px; }
  755.                                 #e_cmd_attach { background-position: 4px -360px; }
  756.                                 #e_cmd_audio { background-position: 4px -90px; }
  757.                                 #e_cmd_video { background-position: 4px -135px; }
  758.                                 #e_cmd_flash { background-position: 4px -180px; }
  759.                                 #e_cmd_code { background-position: 4px -225px; }
  760.                                 #e_cmd_quote { background-position: 4px -270px; }

  761. .newediter { border-style: solid; border-color: {INPUTBORDERDARKCOLOR} {INPUTBORDER} {INPUTBORDER} {INPUTBORDERDARKCOLOR}; border-width: 0 1px 1px; padding: 0px 0px 0px 4px; background: {INPUTBG}; }
  762.         .newediter .autosave { padding: 0 2px; width: 562px; height: 87px; border-width: 1px; border: none; background: {INPUTBG}; }
  763.         .newediter .max { height: 230px; }
  764. a.customedit { text-indent: 0 !important; }
  765. .popupfix { white-space: nowrap; }

  766. * html #e_cmd_image_menu { width: 480px; }

  767. .popupmenu_option .txt, .popupmenu_option .txtarea { margin: 5px 0; }
  768. [/CURSCRIPT]

  769. [CURSCRIPT = task]
  770.         .taskbar { position: relative; margin: 5px 0; width: 200px; height: 14px; border: 1px solid #5AAF4A; background: #FFF; }
  771.                 .taskbar_text { position: absolute; top: -3px; right: 5px; z-index: 7; font-size: 10px; }
  772.                 .taskbar .optionbar { float: none; position: absolute; margin: 0; background: #5AAF4A; }
  773. [/CURSCRIPT]
複製代碼

TOP

forumdisplay.htm
  1. {subtemplate header}

  2. <!--{if $forum['ismoderator']}-->
  3.         <script type="text/javascript" src="{$jspath}moderate.js?{VERHASH}"></script>
  4. <!--{/if}-->

  5. <div id="nav"><a id="fjump" href="$indexname"{if $forumjump == 1} class="dropmenu" onmouseover="showMenu({'ctrlid':this.id})"{/if}>$bbname</a> $navigation</div>

  6. <!--{if $admode && !empty($advlist['text'])}-->
  7. <div id="ad_text" class="ad_text" >
  8.         <table summary="Text Ad" cellpadding="0" cellspacing="0">$advlist[text]</table>
  9. </div>
  10. <!--{else}-->
  11. <div id="ad_text"></div>
  12. <!--{/if}-->

  13. <div id="wrap"{if $infosidestatus['allow'] < 2} class="wrap s_clear"{else} class="wrap with_side s_clear"{/if}>
  14. <!--{if $infosidestatus[allow] == 2}-->
  15.         <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['{lang sidebar_collapsed_yes}', '{lang sidebar_collapsed_no}']);" class="$collapseimg[sidebar]"><!--{if $collapseimg[sidebar] == 'collapsed_yes'}-->{lang sidebar_collapsed_yes}<!--{else}-->{lang sidebar_collapsed_no}<!--{/if}--></a>
  16. <!--{elseif $infosidestatus[allow] == 1}-->
  17.         <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['', '{lang sidebar_collapsed_no}']);" class="collapsed_yes">{lang sidebar_collapsed_yes}</a>
  18. <!--{/if}-->
  19. <div class="main">
  20.         <div class="content">
  21.                 $pluginhooks[forumdisplay_header]
  22.                 <div id="forumheader" class="s_clear">
  23.                         <h1 style="{if $forum[extra][namecolor]}color: {$forum[extra][namecolor]};{/if}">$forum[name]</h1>
  24.                         <p class="forumstats">[ <strong>$forum[threads]</strong> {lang thread} / {echo $forum[posts]-$forum[threads]} {lang reply} ]</p>
  25.                         <div class="forumaction">
  26.                                 <div class="right">
  27.                                 $pluginhooks[forumdisplay_forumaction]
  28.                                 <!--{if $discuz_uid}-->
  29.                                         <a href="my.php?item=attention&type=forum&action=add&fid=$fid" id="ajax_attention" class="attention" onclick="ajaxmenu(this);doane(event);">{lang attention_forum}</a>
  30.                                         <a href="my.php?item=favorites&amp;fid=$fid" id="ajax_favorite" onclick="ajaxmenu(this);doane(event);">{lang thread_favorite}</a>
  31.                                 <!--{/if}-->
  32.                                 <!--{if $rssstatus}--><a href="rss.php?fid=$fid&amp;auth=$rssauth" target="_blank" class="feed">RSS</a><!--{/if}-->
  33.                                 </div>
  34.                                 <!--{if $forum['recyclebin'] && $forum['ismoderator']}-->
  35.                                         <a href="{if $adminid == 1}admincp.php?action=recyclebin&amp;frames=yes{elseif $forum['ismoderator']}modcp.php?action=recyclebins&amp;fid=$fid{/if}" class="recyclebin" target="_blank">{lang forum_recyclebin}</a>
  36.                                 <!--{/if}-->
  37.                         </div>
  38.                         <!--{if $forum[description]}--><p class="channelinfo">{lang forum_description}: $forum[description]</p><!--{/if}-->
  39.                         <p id="modedby">
  40.                                 <!--{if $forum['ismoderator']}-->
  41.                                         <div class="modlink">
  42.                                         $pluginhooks[forumdisplay_modlink]
  43.                                         <!--{if $forum['modworks']}-->
  44.                                                 <!--{if $reportnum}--><a href="modcp.php?action=report&fid=$fid" target="_blank">{lang mod_works_report_existence}</a> |<!--{/if}-->
  45.                                                 <!--{if $modnum}--><a href="modcp.php?action=moderate&op=threads&fid=$fid" target="_blank">{lang mod_works_modpost_existence}</a> |<!--{/if}-->
  46.                                                 <!--{if $modusernum}--><a href="modcp.php?action=moderate&op=members&fid=$fid" target="_blank">{lang mod_works_moduser_existence}</a> |<!--{/if}-->
  47.                                         <!--{/if}-->
  48.                                         <a href="modcp.php?fid=$fid" target="_blank">{lang modcp}</a>
  49.                                         </div>
  50.                                 <!--{/if}-->
  51.                                 {lang forum_modedby}: <!--{if $moderatedby}-->$moderatedby<!--{else}-->{lang forum_opening}<!--{/if}-->
  52.                         </p>
  53.                 </div>
  54.                 $pluginhooks[forumdisplay_top]

  55.                 <!--{if $forum['recommendlist'] || $forum['rules']}-->
  56.                         <div id="modarea" class="s_clear">
  57.                                 <div class="list">
  58.                                         <span class="headactions"><img onclick="toggle_collapse('modarea_c');" alt="{lang spread}" title="{lang spread}" src="{IMGDIR}/$collapseimg[modarea_c].gif" id="modarea_c_img" class="toggle" /></span>
  59.                                         <h3>
  60.                                                 <!--{if $forum['recommendlist']}-->
  61.                                                         <a href="javascript:;" id="tab_1" class="current" {if $forum['rules']} onclick="switchTab('tab', 1, 2)"{/if}>{lang forum_recommend}</a><!--{if $forum['ismoderator'] && $allowrecommendthread}--><a href="modcp.php?action=forums&op=recommend&show=all&fid=$fid" target="_blank">[{lang edit}]</a><!--{/if}-->
  62.                                                 <!--{/if}-->
  63.                                                 <!--{if $forum['recommendlist'] &&  $forum['rules']}--><span class="pipe">|</span><!--{/if}--><!--{if $forum['rules']}--><a href="javascript:;" id="tab_2"{if !$forum['recommendlist']} class="current"{/if} {if $forum['recommendlist']} onclick="switchTab('tab', 2, 2)"{/if}>{lang forum_rules}</a><!--{/if}-->
  64.                                         </h3>
  65.                                 </div>
  66.                                 <div id="modarea_c" style="$collapse[modarea_c]">
  67.                                         <!--{if $forum['recommendlist']}-->
  68.                                                 <div id="tab_c_1">
  69.                                                 {subtemplate recommend}
  70.                                                 </div>
  71.                                         <!--{/if}-->
  72.                                         <!--{if $forum['rules']}-->
  73.                                                 <div id="tab_c_2"{if $forum['recommendlist']} style="display:none"{/if} class="rule">$forum[rules]</div>
  74.                                         <!--{/if}-->
  75.                                 </div>
  76.                         </div>
  77.                 <!--{/if}-->

  78.                 <!--{if $subexists}-->
  79.                 <div id="subforum" class="mainbox list">{template forumdisplay_subforum}</div>
  80.                 <!--{/if}-->
  81.                 $pluginhooks[forumdisplay_middle]

  82.                 <div class="pages_btns s_clear">
  83.                         $multipage
  84.                         <span <!--{if $visitedforums}-->id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id})"<!--{/if}--> class="pageback"><a href="$indexname">{lang return_index}</a></span>
  85.                         <span class="postbtn" id="newspecial" prompt="post_newthread" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"><a href="post.php?action=newthread&fid=$fid"{if !$forum['allowspecialonly']} onclick="showWindow('newthread', this.href);return false;"{/if}>{lang send_posts}</a></span>
  86.                 </div>

  87.                 <!--{if $forum['threadtypes'] && $forum['threadtypes']['listable'] || $forum['threadsorts']}-->
  88.                 <div class="threadtype">
  89.                         <!--{if $forum['threadtypes'] && $forum['threadtypes']['listable']}-->
  90.                         <p>
  91.                                 <!--{if $typeid || $sortid}--><a href="forumdisplay.php?fid=$fid">{lang forum_viewall}</a><!--{else}--><strong>{lang forum_viewall}</strong><!--{/if}-->
  92.                                 <!--{loop $forum['threadtypes']['flat'] $id $name}--><!--{if $typeid != $id}--><a href="forumdisplay.php?fid=$fid&amp;filter=type&amp;typeid=$id$sortadd">$name</a><!--{else}--><strong>$name</strong><!--{/if}--> <!--{/loop}-->
  93.                                 <!--{if $forum['threadtypes']['selectbox']}-->
  94.                                         <span id="threadtypesmenu" class="dropmenu" onmouseover="showMenu({'ctrlid':this.id})">{lang admin_type_more}</span>
  95.                                         <div class="popupmenu_popup headermenu_popup" id="threadtypesmenu_menu" style="display: none">
  96.                                         <ul>
  97.                                         <!--{loop $forum['threadtypes']['selectbox'] $id $name}-->
  98.                                                 <li>
  99.                                                 <!--{if $typeid != $id}-->
  100.                                                         <a href="forumdisplay.php?fid=$fid&filter=type&typeid=$id$sortadd">$name</a>
  101.                                                 <!--{else}-->
  102.                                                         <strong>$name</strong>
  103.                                                 <!--{/if}-->
  104.                                                 </li>
  105.                                         <!--{/loop}-->
  106.                                         </ul>
  107.                                         </div>
  108.                                 <!--{/if}-->
  109.                         </p>
  110.                         <!--{/if}-->

  111.                         <!--{if $forum['threadsorts']}-->
  112.                         <p>
  113.                                 <!--{if !$forum['threadtypes']['listable']}--><!--{if $sortid}--><a href="forumdisplay.php?fid=$fid">{lang forum_viewall}</a><!--{else}--><strong>{lang forum_viewall}</strong><!--{/if}--><!--{/if}-->
  114.                                 <!--{loop $forum['threadsorts']['flat'] $id $name}--><!--{if $sortid != $id}--><a href="forumdisplay.php?fid=$fid&amp;filter=sort&amp;sortid=$id$typeadd">$name</a><!--{else}--><strong>$name</strong><!--{/if}--> <!--{/loop}-->
  115.                                 <!--{if $forum['threadsorts']['selectbox']}-->
  116.                                         <span id="threadsortsmenu" class="dropmenu" onmouseover="showMenu({'ctrlid':this.id})">{lang admin_type_more}</span>
  117.                                         <div class="popupmenu_popup headermenu_popup" id="threadsortsmenu_menu" style="display: none">
  118.                                         <ul>
  119.                                         <!--{loop $forum['threadsorts']['selectbox'] $id $name}-->
  120.                                                 <li>
  121.                                                 <!--{if $sortid != $id}-->
  122.                                                         <a href="forumdisplay.php?fid=$fid&filter=sort&sortid=$id$typeadd">$name</a>
  123.                                                 <!--{else}-->
  124.                                                         <strong>$name</strong>
  125.                                                 <!--{/if}-->
  126.                                                 </li>
  127.                                         <!--{/loop}-->
  128.                                         </ul>
  129.                                         </div>
  130.                                 <!--{/if}-->
  131.                         </p>
  132.                         <!--{/if}-->
  133.                 </div>
  134.                 <!--{/if}-->

  135.                 <div id="threadlist" class="threadlist datalist" style="position: relative;">
  136.                 <form method="post" name="moderate" id="moderate" action="topicadmin.php?action=moderate&fid=$fid&infloat=yes&nopost=yes">
  137.                         <input type="hidden" name="formhash" value="{FORMHASH}" />
  138.                         <input type="hidden" name="listextra" value="$extra" />
  139.                         <table summary="forum_$fid" {if !$separatepos}id="forum_$fid"{/if} cellspacing="0" cellpadding="0" class="datatable">
  140.                                 <thead class="colplural">
  141.                                         <tr>
  142.                                                 <td colspan="2">&nbsp;<a href="javascript:;" id="filtertype" class="dropmenu" onclick="showMenu({'ctrlid':this.id});"><!--{if $filter == poll}-->{lang thread_poll}
  143.                                                         <!--{elseif $filter == trade}-->{lang thread_trade}
  144.                                                         <!--{elseif $filter == activity}-->{lang thread_activity}
  145.                                                         <!--{elseif $filter == debate}-->{lang thread_debate}
  146.                                                         <!--{elseif $filter == reward}-->{lang thread_reward}
  147.                                                         <!--{else}-->{lang type}<!--{/if}--></a></td>
  148.                                                 <!--{if $forum['ismoderator']}--><td class="icon">&nbsp;</td><!--{/if}-->
  149.                                                 <th>
  150.                                                         <ul class="itemfilter s_clear">
  151.                                                                 <li>{lang thread}:</li>
  152.                                                                 <li{if !$filter} class="current"{/if}><a href="forumdisplay.php?fid=$fid"><span>{lang all}</span></a></li>
  153.                                                                 <li{if $filter == 'digest'} class="current"{/if}><a class="filter" href="forumdisplay.php?fid=$fid&amp;filter=digest"><span>{lang digestposts}</span></a></li>
  154.                                                                 <!--{if $recommendthread[status]}--><li{if $filter == 'recommend'} class="current"{/if}><a class="filter" href="forumdisplay.php?fid={$fid}&filter=recommend&orderby=recommends"><span>{lang order_recommends}</span></a></li><!--{/if}-->
  155.                                                                 <li class="pipe">|</li>
  156.                                                                 <li>{lang dateline_range}:</li>
  157.                                                                 <li{if $filter == 86400} class="current"{/if}><a href="forumdisplay.php?fid=$fid&orderby=$orderby&filter=86400$typeadd$sortadd"><span>{lang last_1_days}</span></a></li>
  158.                                                                 <li{if $filter == 172800} class="current"{/if}><a href="forumdisplay.php?fid=$fid&orderby=$orderby&filter=172800$typeadd$sortadd"><span>{lang last_2_days}</span></a></li>
  159.                                                                 <li{if $filter == 604800} class="current"{/if}><a href="forumdisplay.php?fid=$fid&orderby=$orderby&filter=604800$typeadd$sortadd"><span>{lang last_7_days}</span></a></li>
  160.                                                                 <li{if $filter == 2592000} class="current"{/if}><a href="forumdisplay.php?fid=$fid&orderby=$orderby&filter=2592000$typeadd$sortadd"><span>{lang last_30_days}</span></a></li>
  161.                                                                 <li{if $filter == 7948800} class="current"{/if}><a href="forumdisplay.php?fid=$fid&orderby=$orderby&filter=7948800$typeadd$sortadd"><span>{lang last_90_days}</span></a></li>
  162.                                                                 <li class="pipe">|</li>
  163.                                                                 <li><a class="order {if $orderby == 'heats' || $orderby == 'recommends'}order_active{/if}" href="forumdisplay.php?fid={$fid}&filter=$filter&orderby={if $filter == 'recommend'}recommends{else}heats{/if}$typeadd$sortadd">{lang order_heats}</a></li>
  164.                                                         </ul>
  165.                                                 </th>
  166.                                                 <td class="author"><a href="forumdisplay.php?fid={$fid}&filter=$filter&orderby=dateline$typeadd$sortadd" class="order {if $orderby == 'dateline'}order_active{/if}">{lang author}/{lang time}</a></td>
  167.                                                 <td class="nums"><a href="forumdisplay.php?fid={$fid}&filter=$filter&orderby=replies$typeadd$sortadd" class="order {if $orderby == 'replies'}order_active{/if}">{lang replies}</a>&nbsp;<a href="forumdisplay.php?fid={$fid}&filter=$filter&orderby=views$typeadd$sortadd" class="order {if $orderby == 'views'}order_active{/if}">{lang views}</a></td>
  168.                                                 <td class="lastpost"><cite><a href="forumdisplay.php?fid={$fid}&filter=$filter&orderby=lastpost$typeadd$sortadd" class="order {if $orderby == 'lastpost'}order_active{/if}">{lang lastpost}</a></cite></td>
  169.                                         </tr>
  170.                                 </thead>

  171.                                 <!--{if $page == 1 && !empty($announcement)}-->
  172.                                 <tbody>
  173.                                         <tr>
  174.                                                 <td class="folder"><img src="{IMGDIR}/ann_icon.gif" alt="{lang announcement}" /></td>
  175.                                                 <td class="icon">&nbsp;</td>
  176.                                                 <!--{if $forum['ismoderator']}--><td class="icon">&nbsp;</td><!--{/if}-->
  177.                                                 <th class="subject"><strong>{lang announcement}: <!--{if empty($announcement['type'])}--><a href="announcement.php?id=$announcement[id]#$announcement[id]" target="_blank">$announcement[subject]</a><!--{else}--><a href="$announcement[message]" target="_blank">$announcement[subject]</a><!--{/if}--></strong></th>
  178.                                                 <td class="author">
  179.                                                         <cite><a href="space.php?uid=$announcement[authorid]">$announcement[author]</a></cite>
  180.                                                         <em>$announcement[starttime]</em>
  181.                                                 </td>
  182.                                                 <td class="nums">&nbsp;</td>
  183.                                                 <td class="lastpost">&nbsp;</td>
  184.                                         </tr>
  185.                                 </tbody>
  186.                                 <!--{/if}-->

  187.                                 <!--{if $threadcount}-->
  188.                                 <!--{loop $threadlist $key $thread}-->

  189.                                 <!--{if $forumseparator == 1 && $separatepos == $key + 1}-->
  190.                                 <tbody>
  191.                                         <tr>
  192.                                                 <td class="folder"></td><td>&nbsp;</td>
  193.                                                 <!--{if $forum['ismoderator']}--><td>&nbsp;</td><!--{/if}-->
  194.                                                 <th class="subject">{lang forum_thread}</th><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td>
  195.                                         </tr>
  196.                                 </tbody>
  197.                                 <!--{/if}-->
  198.                                 <tbody id="$thread[id]">
  199.                                         <tr>
  200.                                                 <td class="folder">
  201.                                                         <a href="viewthread.php?tid=$thread[tid]&amp;extra=$extra" title="{lang target_blank}" target="_blank">
  202.                                                         <!--{if $thread[folder] == 'lock'}-->
  203.                                                                 <img src="{IMGDIR}/folder_lock.gif" /></a>
  204.                                                         <!--{elseif in_array($thread['displayorder'], array(1, 2, 3, 4))}-->
  205.                                                                 <img src="{IMGDIR}/pin_$thread[displayorder].gif" alt="$threadsticky[3-$thread[displayorder]]" /></a>
  206.                                                         <!--{else}-->
  207.                                                                 <img src="{IMGDIR}/folder_$thread[folder].gif" /></a>
  208.                                                         <!--{/if}-->
  209.                                                 </td>
  210.                                                 <td class="icon">
  211.                                                 <!--{if $thread['special'] == 1}-->
  212.                                                         <a href="forumdisplay.php?fid=$fid&amp;filter=poll"><img src="{IMGDIR}/pollsmall.gif" alt="{lang thread_poll}" /></a>
  213.                                                 <!--{elseif $thread['special'] == 2}-->
  214.                                                         <a href="forumdisplay.php?fid=$fid&amp;filter=trade"><img src="{IMGDIR}/tradesmall.gif" alt="{lang thread_trade}" /></a>
  215.                                                 <!--{elseif $thread['special'] == 3}-->
  216.                                                         <a href="forumdisplay.php?fid=$fid&amp;filter=reward"><img src="{IMGDIR}/rewardsmall.gif" alt="{lang thread_reward}" <!--{if $thread['price'] < 0}-->class="solved"<!--{/if}--> /></a>
  217.                                                 <!--{elseif $thread['special'] == 4}-->
  218.                                                         <a href="forumdisplay.php?fid=$fid&amp;filter=activity"><img src="{IMGDIR}/activitysmall.gif" alt="{lang thread_activity}" /></a>
  219.                                                 <!--{elseif $thread['special'] == 5}-->
  220.                                                         <a href="forumdisplay.php?fid=$fid&amp;filter=debate"><img src="{IMGDIR}/debatesmall.gif" alt="{lang thread_debate}" /></a>
  221.                                                 <!--{else}-->
  222.                                                         $thread['icon']
  223.                                                 <!--{/if}-->
  224.                                                 </td>
  225.                                                 <!--{if $forum['ismoderator']}-->
  226.                                                 <td class="icon">
  227.                                                         <!--{if $thread['fid'] == $fid && $thread['digest'] >= 0}-->
  228.                                                                 <!--{if $thread['displayorder'] <= 3 || $adminid == 1}-->
  229.                                                                         <input onclick="tmodclick(this)" class="checkbox" type="checkbox" name="moderate[]" value="$thread[tid]" />
  230.                                                                 <!--{else}-->
  231.                                                                         <input class="checkbox" type="checkbox" disabled="disabled" />
  232.                                                                 <!--{/if}-->
  233.                                                         <!--{else}-->
  234.                                                                 <input class="checkbox" type="checkbox" disabled="disabled" />
  235.                                                         <!--{/if}-->
  236.                                                 </td>
  237.                                                 <!--{/if}-->
  238.                                                 <th class="subject $thread[folder]">
  239.                                                         <label>{$pluginhooks[forumdisplay_thread][$key]}&nbsp;</label>
  240.                                                         <!--{if $thread['moved']}-->
  241.                                                                 <!--{if $forum['ismoderator']}-->
  242.                                                                         <a href="topicadmin.php?action=moderate&optgroup=3&operation=delete&tid=$thread[moved]" onclick="showWindow('mods', this.href);return false">{lang thread_moved}:</a>
  243.                                                                 <!--{else}-->
  244.                                                                         {lang thread_moved}:
  245.                                                                 <!--{/if}-->
  246.                                                         <!--{/if}-->
  247.                                                         $thread[sortid] $thread[typeid]
  248.                                                         <span id="thread_$thread[tid]"><a href="viewthread.php?tid=$thread[tid]&amp;extra=$extra"$thread[highlight]>$thread[subject]</a></span>
  249.                                                         <!--{if $thread['readperm']}--> - [{lang readperm} <span class="bold">$thread[readperm]</span>]<!--{/if}-->
  250.                                                         <!--{if $thread['price'] > 0}-->
  251.                                                                 <!--{if $thread['special'] == '3'}-->
  252.                                                                 - <span style="color: #C60">[{lang thread_reward}{$extcredits[$creditstransextra[2]][title]} <span class="bold">$thread[price]</span> {$extcredits[$creditstransextra[2]][unit]}]</span>
  253.                                                                 <!--{else}-->
  254.                                                                 - [{lang price} {$extcredits[$creditstransextra[1]][title]} <span class="bold">$thread[price]</span> {$extcredits[$creditstransextra[1]][unit]}]
  255.                                                                 <!--{/if}-->
  256.                                                         <!--{elseif $thread['special'] == '3' && $thread['price'] < 0}-->
  257.                                                                 - <span style="color: #269F11">[{lang reward_solved}]</span>
  258.                                                         <!--{/if}-->
  259.                                                         <!--{if $thread['attachment'] == 2}-->
  260.                                                                 <img src="images/attachicons/image_s.gif" alt="{lang attach_img}" class="attach" />
  261.                                                         <!--{elseif $thread['attachment'] == 1}-->
  262.                                                                 <img src="images/attachicons/common.gif" alt="{lang attachment}" class="attach" />
  263.                                                         <!--{/if}-->
  264.                                                         <!--{if $thread['displayorder'] == 0}-->
  265.                                                                 <!--{if $thread[recommendicon]}-->
  266.                                                                         <img src="{IMGDIR}/recommend_$thread[recommendicon].gif" class="attach" alt="{lang thread_recommend}" title="{lang thread_recommend}" />
  267.                                                                 <!--{/if}-->
  268.                                                                 <!--{if $thread[heatlevel]}-->
  269.                                                                         <img src="{IMGDIR}/hot_$thread[heatlevel].gif" class="attach" alt="$thread[heatlevel] {lang heats}" title="$thread[heatlevel] {lang heats}" />
  270.                                                                 <!--{/if}-->
  271.                                                                 <!--{if $thread['digest'] > 0}-->
  272.                                                                         <img src="{IMGDIR}/digest_$thread[digest].gif" class="attach" alt="{lang thread_digest} $thread[digest]" title="{lang thread_digest} $thread[digest]" />
  273.                                                                 <!--{/if}-->
  274.                                                                 <!--{if $thread['rate'] > 0}-->
  275.                                                                         <img src="{IMGDIR}/agree.gif" class="attach" alt="{lang rate_credit_add}" title="{lang rate_credit_add}" />
  276.                                                                 <!--{/if}-->
  277.                                                         <!--{/if}-->
  278.                                                         <!--{if $thread[multipage]}-->
  279.                                                                 <span class="threadpages">$thread[multipage]</span>
  280.                                                         <!--{/if}-->
  281.                                                 </th>
  282.                                                 <td class="author">
  283.                                                         <cite>
  284.                                                         <!--{if $thread['authorid'] && $thread['author']}-->
  285.                                                                 <a href="space.php?uid=$thread[authorid]">$thread[author]</a>
  286.                                                         <!--{else}-->
  287.                                                                 <!--{if $forum['ismoderator']}-->
  288.                                                                         <a href="space.php?uid=$thread[authorid]">{lang anonymous}</a>
  289.                                                                 <!--{else}-->
  290.                                                                         {lang anonymous}
  291.                                                                 <!--{/if}-->
  292.                                                         <!--{/if}-->
  293.                                                         </cite>
  294.                                                         <em>$thread[dateline]</em>
  295.                                                 </td>
  296.                                                 <td class="nums"><strong>$thread[replies]</strong>/<em>$thread[views]</em></td>
  297.                                                 <td class="lastpost">
  298.                                                         <cite><!--{if $thread['lastposter']}--><a href="{if $thread[digest] != -2}space.php?username=$thread[lastposterenc]{else}viewthread.php?tid=$thread[tid]&amp;page={echo max(1, $thread[pages]);}{/if}">$thread[lastposter]</a><!--{else}-->{lang anonymous}<!--{/if}--></cite>
  299.                                                         <em><a href="{if $thread[digest] != -2}redirect.php?tid=$thread[tid]&amp;goto=lastpost$highlight#lastpost{else}viewthread.php?tid=$thread[tid]&amp;page={echo max(1, $thread[pages]);}{/if}">$thread[lastpost]</a></em>
  300.                                                 </td>
  301.                                         </tr>
  302.                                 </tbody>
  303.                                 <!--{/loop}-->
  304.                         <!--{else}-->
  305.                                 <tbody><tr><th colspan="6"><p class="nodata">{lang forum_nothreads}</p></th></tr></tbody>
  306.                         <!--{/if}-->
  307.                         </table>
  308.                         <!--{if $forum['ismoderator'] && $threadcount}-->
  309.                                 {template topicadmin_modlayer}
  310.                         <!--{/if}-->

  311.                 </form>
  312.                 </div>
  313.                 <div class="pages_btns s_clear">
  314.                         $multipage
  315.                         <span <!--{if $visitedforums}-->id="visitedforums" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id})"<!--{/if}--> class="pageback"><a href="$indexname">{lang return_index}</a></span>
  316.                         <span class="postbtn" id="newspecialtmp" onmouseover="$('newspecial').id = 'newspecialtmp';this.id = 'newspecial';showMenu({'ctrlid':this.id})"><a href="post.php?action=newthread&fid=$fid"{if !$forum['allowspecialonly']} onclick="showWindow('newthread', this.href);return false;"{/if}>{lang send_posts}</a></span>
  317.                 </div>

  318.                 <!--{if $whosonlinestatus}-->
  319.                 <dl id="onlinelist">
  320.                         <!--{if $detailstatus}-->
  321.                         <dd>
  322.                                 <span class="headactions"><a href="forumdisplay.php?fid=$fid&amp;page=$page&amp;showoldetails=no#online"><img src="{IMGDIR}/collapsed_no.gif" alt="" /></a></span>
  323.                                 <h3>{lang forum_activeusers}</h3>
  324.                         </dd>
  325.                         <dd>
  326.                                 <ul class="s_clear">
  327.                                 <!--{loop $whosonline $key $online}-->
  328.                                         <li title="{lang time}: $online[lastactivity]{LF} {lang action}: $online[action]{LF} {lang forum}: $forumname">
  329.                                         <img src="images/common/$online[icon]"  alt="" />
  330.                                         <!--{if $online['uid']}-->
  331.                                                 <a href="space.php?uid=$online[uid]">$online[username]</a>
  332.                                         <!--{else}-->
  333.                                                 $online[username]
  334.                                         <!--{/if}-->
  335.                                         </li>
  336.                                 <!--{/loop}-->
  337.                                 </ul>
  338.                         </dd>
  339.                         <!--{else}-->
  340.                         <dt>
  341.                                 <span class="headactions"><a href="forumdisplay.php?fid=$fid&amp;page=$page&amp;showoldetails=yes#online" class="nobdr"><img src="{IMGDIR}/collapsed_yes.gif" alt="" /></a></span>
  342.                                 <h3>{lang forum_activeusers}</h3>
  343.                         </dt>
  344.                         <!--{/if}-->
  345.                 </dl>
  346.                 <!--{/if}-->
  347.                 $pluginhooks[forumdisplay_bottom]

  348.         </div>
  349. </div>
  350. <!--{if $infosidestatus[allow] == 2}-->
  351.         <div id="sidebar" class="side" style="$collapse[sidebar]">
  352.                 <!--{if !empty($qihoo['status']) && ($qihoo['searchbox'] & 2)}-->
  353.                         <div id="qihoosearch" class="sidebox">
  354.                                 <form method="post" action="search.php?srchtype=qihoo" onSubmit="this.target='_blank';">
  355.                                 <input type="hidden" name="searchsubmit" value="yes" />
  356.                                 <input type="text" class="txt" name="srchtxt" size="20" value="$qihoo_searchboxtxt" />
  357.                                 &nbsp;<button type="submit">{lang search}</button>
  358.                                 </form>
  359.                         </div>
  360.                 <!--{/if}-->
  361.                 <!--{if $infosidestatus[0]}-->
  362.                         <!--{if !empty($qihoo['status']) && ($qihoo['searchbox'] & 2)}-->
  363.                                 <hr class="shadowline"/>
  364.                         <!--{/if}-->
  365.                         <div id="infoside">
  366.                         {eval request($infosidestatus, 1, 0);}
  367.                         </div>
  368.                 <!--{/if}-->
  369.         </div>
  370. <!--{/if}-->

  371. <!--{if $allowpost && ($allowposttrade || $allowpostpoll || $allowpostreward || $allowpostactivity || $allowpostdebate || $threadplugins || $forum['threadsorts'])}-->
  372.         <ul class="popupmenu_popup postmenu" id="newspecial_menu" style="display: none">
  373.                 <!--{if !$forum['allowspecialonly']}--><li><a href="post.php?action=newthread&fid=$fid" onclick="showWindow('newthread', this.href);doane(event)">{lang post_newthread}</a></li><!--{/if}-->
  374.                 <!--{if $allowpostpoll}--><li class="poll"><a href="post.php?action=newthread&fid=$fid&special=1">{lang post_newthreadpoll}</a></li><!--{/if}-->
  375.                 <!--{if $allowpostreward}--><li class="reward"><a href="post.php?action=newthread&fid=$fid&special=3">{lang post_newthreadreward}</a></li><!--{/if}-->
  376.                 <!--{if $allowpostdebate}--><li class="debate"><a href="post.php?action=newthread&fid=$fid&special=5">{lang post_newthreaddebate}</a></li><!--{/if}-->
  377.                 <!--{if $allowpostactivity}--><li class="activity"><a href="post.php?action=newthread&fid=$fid&special=4">{lang post_newthreadactivity}</a></li><!--{/if}-->
  378.                 <!--{if $allowposttrade}--><li class="trade"><a href="post.php?action=newthread&fid=$fid&special=2">{lang post_newthreadtrade}</a></li><!--{/if}-->
  379.                 <!--{if $threadplugins}-->
  380.                         <!--{loop $forum['threadplugin'] $tpid}-->
  381.                                 <!--{if array_key_exists($tpid, $threadplugins) && @in_array($tpid, $allowthreadplugin)}-->
  382.                                         <li class="popupmenu_option"{if $threadplugins[$tpid][icon]} style="background-image:url($threadplugins[$tpid][icon])"{/if}><a href="post.php?action=newthread&fid=$fid&specialextra=$tpid">{$threadplugins[$tpid][name]}</a></li>
  383.                                 <!--{/if}-->
  384.                         <!--{/loop}-->
  385.                 <!--{/if}-->
  386.                 <!--{if $forum['threadsorts'] && !$forum['allowspecialonly']}-->
  387.                         <!--{loop $forum['threadsorts']['types'] $id $threadsorts}-->
  388.                                 <!--{if $forum['threadsorts']['show'][$id]}-->
  389.                                         <li class="popupmenu_option"><a href="post.php?action=newthread&amp;fid=$fid&amp;extra=$extra&amp;sortid=$id">$threadsorts</a></li>
  390.                                 <!--{/if}-->
  391.                         <!--{/loop}-->
  392.                         <!--{loop $forum['typemodels'] $id $model}-->
  393.                                 <li class="popupmenu_option"><a href="post.php?action=newthread&amp;fid=$fid&amp;extra=$extra&amp;modelid=$id">$model[name]</a></li>
  394.                         <!--{/loop}-->
  395.                 <!--{/if}-->
  396.         </ul>
  397. <!--{/if}-->

  398. <ul class="popupmenu_popup headermenu_popup filter_popup" id="filtertype_menu" style="display: none;">
  399.         <li><a href="forumdisplay.php?fid=$fid">{lang forum_viewall}</a></li>
  400.         <!--{if $showpoll}--><li {if $filter == 'poll'}class="active"{/if}><a href="forumdisplay.php?fid=$fid&amp;filter=poll">{lang thread_poll}</a></li><!--{/if}-->
  401.         <!--{if $showtrade}--><li {if $filter == 'trade'}class="active"{/if}><a href="forumdisplay.php?fid=$fid&amp;filter=trade">{lang thread_trade}</a></li><!--{/if}-->
  402.         <!--{if $showreward}--><li {if $filter == 'reward'}class="active"{/if}><a href="forumdisplay.php?fid=$fid&amp;filter=reward">{lang thread_reward}</a></li><!--{/if}-->
  403.         <!--{if $showactivity}--><li {if $filter == 'activity'}class="active"{/if}><a href="forumdisplay.php?fid=$fid&amp;filter=activity">{lang thread_activity}</a></li><!--{/if}-->
  404.         <!--{if $showdebate}--><li {if $filter == 'debate'}class="active"{/if}><a href="forumdisplay.php?fid=$fid&amp;filter=debate">{lang thread_debate}</a></li><!--{/if}-->
  405.         <!--{if $threadplugins}-->
  406.                 <!--{loop $forum['threadplugin'] $tpid}-->
  407.                         <!--{if array_key_exists($tpid, $threadplugins) && @in_array($tpid, $allowthreadplugin)}-->
  408.                                 <li  {if $filter == 'special' && $extraid == $tpid}class="active"{/if}><a href="forumdisplay.php?fid=$fid&amp;filter=special&extraid=$tpid">{$threadplugins[$tpid][name]}</a></li>
  409.                         <!--{/if}-->
  410.                 <!--{/loop}-->
  411.         <!--{/if}-->
  412. </ul>

  413. <!--{if $visitedforums}-->
  414.         <ul class="popupmenu_popup" id="visitedforums_menu" style="display: none">
  415.                 $visitedforums
  416.         </ul>
  417. <!--{/if}-->

  418. <!--{if $forumjump}-->
  419.         <div class="popupmenu_popup" id="fjump_menu" style="display: none">
  420.         $forummenu
  421.         </div>
  422. <!--{/if}-->

  423. <!--{if $maxpage > 1}-->
  424.         <script type="text/javascript">document.onkeyup = function(e){keyPageScroll(e, {if $page > 1}1{else}0{/if}, {if $page < $maxpage}1{else}0{/if}, 'forumdisplay.php?fid=$fid$forumdisplayadd', $page);}</script>
  425. <!--{/if}-->

  426. {subtemplate footer}
複製代碼

TOP

Discuz.htm
  1. {subtemplate header}

  2. <div id="nav"><a href="$indexname">$bbname</a> &raquo; {lang home}</div>
  3. <!--{if $admode && !empty($advlist['text'])}--><div class="ad_text" id="ad_text"><table summary="Text Ad" cellpadding="0" cellspacing="1">$advlist[text]</table></div><!--{else}--><div id="ad_text"></div><!--{/if}-->
  4. <div id="wrap"{if $infosidestatus['allow'] < 2} class="wrap s_clear"{else} class="wrap with_side s_clear"{/if}>
  5. <!--{if $infosidestatus[allow] == 2}-->
  6.         <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['{lang sidebar_collapsed_yes}', '{lang sidebar_collapsed_no}']);" class="$collapseimg[sidebar]"><!--{if $collapseimg[sidebar] == 'collapsed_yes'}-->{lang sidebar_collapsed_yes}<!--{else}-->{lang sidebar_collapsed_no}<!--{/if}--></a>
  7. <!--{elseif $infosidestatus[allow] == 1}-->
  8.         <a id="sidebar_img" href="javascript:;" onclick="sidebar_collapse(['', '{lang sidebar_collapsed_no}']);" class="collapsed_yes">{lang sidebar_collapsed_yes}</a>
  9. <!--{/if}-->
  10. <div class="main"><div class="content">
  11. $pluginhooks[index_header]

  12. {template index_header}

  13. <!--{if $indexhot['status']}-->
  14.         {subtemplate index_heats}
  15. <!--{/if}-->

  16. $pluginhooks[index_hot]

  17. <div class="itemtitle s_clear">
  18.         <p class="right forumcount">
  19.                 {lang index_today}: <em>$todayposts</em>, {lang index_yesterday}: <em>$postdata[0]</em>, {lang index_members}: <em>$totalmembers</em>
  20.         </p>
  21.         <!--{if $indextype}-->
  22.                 {subtemplate index_navbar}
  23.         <!--{/if}-->
  24. </div>

  25. <!--{eval $rkey=array_rand($catlist);}-->
  26. $pluginhooks[index_top]
  27. <!--{loop $catlist $key $cat}-->
  28.         <!--{if $cat['forumscount']}-->
  29.                 <div class="mainbox list">
  30.                         <span class="headactions">
  31.                                 <!--{if $cat['moderators']}-->{lang forum_category_modedby}: $cat[moderators]<!--{/if}-->
  32.                                 <img id="category_$cat[fid]_img" src="{IMGDIR}/$cat[collapseimg]" title="{lang spread}" alt="{lang spread}" onclick="toggle_collapse('category_$cat[fid]');" />
  33.                         </span>
  34.                         <h3><a href="$indexname?gid=$cat[fid]" style="{if $cat[extra][namecolor]}color: {$cat[extra][namecolor]};{/if}">$cat[name]</a></h3>
  35.                         <table id="category_$cat[fid]" summary="category$cat[fid]" cellspacing="0" cellpadding="0" style="$collapse['category_'.$cat[fid]]">
  36.                         <!--{if !$cat['forumcolumns']}-->
  37.                                 <!--{loop $cat[forums] $forumid}-->
  38.                                         <!--{eval $forum=$forumlist[$forumid];}-->
  39.                                         <tbody id="forum$forum[fid]">
  40.                                                 <tr>
  41.                                                         <th$forum[folder]>
  42.                                                                 $forum[icon]
  43.                                                                 <div class="left">
  44.                                                                 <h2><a href="forumdisplay.php?fid=$forum[fid]" {if $forum[redirect]}target="_blank"{/if} style="{if $forum[extra][namecolor]}color: {$forum[extra][namecolor]};{/if}">$forum[name]</a><!--{if $forum[todayposts] && !$forum['redirect']}--><em> ({lang index_today}: <strong>$forum[todayposts]</strong>)</em><!--{/if}--></h2>
  45.                                                                 <!--{if $forum[description]}--><p>$forum[description]</p><!--{/if}-->
  46.                                                                 <!--{if $forum['subforums']}--><p>{lang forum_subforums}: $forum['subforums']</p><!--{/if}-->
  47.                                                                 <!--{if $forum['moderators']}--><!--{if $moddisplay == 'flat'}--><p>{lang forum_moderators}: $forum[moderators]</p><!--{else}--><span class="dropmenu" id="mod$forum[fid]" onmouseover="showMenu({'ctrlid':this.id})">{lang forum_moderators}</span><ul class="popupmenu_popup headermenu_popup" id="mod$forum[fid]_menu" style="display: none">$forum[moderators]</ul><!--{/if}--><!--{/if}-->
  48.                                                                 </div>
  49.                                                         </th>
  50.                                                         <td class="forumnums">
  51.                                                                 <!--{if $forum['redirect']}-->N/A<!--{else}--><em>$forum[threads]</em> / $forum[posts]<!--{/if}-->
  52.                                                         </td>
  53.                                                         <td class="forumlast">
  54.                                                         <!--{if $forum['permission'] == 1}-->
  55.                                                                 {lang private_forum}
  56.                                                         <!--{else}-->
  57.                                                                 <!--{if $forum['redirect']}-->
  58.                                                                         <a href="forumdisplay.php?fid=$forum[fid]">{lang url_link}</a>
  59.                                                                 <!--{elseif is_array($forum['lastpost'])}-->
  60.                                                                         <p><a href="redirect.php?tid=$forum[lastpost][tid]&amp;goto=lastpost#lastpost">{echo cutstr($forum[lastpost][subject], 30)}</a></p>
  61.                                                                         <cite><!--{if $forum['lastpost']['author']}-->$forum['lastpost']['author']<!--{else}-->{lang anonymous}<!--{/if}--> - $forum[lastpost][dateline]</cite>
  62.                                                                 <!--{else}-->
  63.                                                                         {lang never}
  64.                                                                 <!--{/if}-->
  65.                                                         <!--{/if}-->
  66.                                                         </td>
  67.                                                 </tr>
  68.                                         </tbody>
  69.                                 <!--{/loop}-->
  70.                         <!--{else}-->
  71.                                 <tr class="narrowlist">
  72.                                 <!--{loop $cat['forums'] $forumid}-->
  73.                                         <!--{eval $forum=$forumlist[$forumid];}-->
  74.                                         <!--{if $forum['orderid'] && ($forum['orderid'] % $cat['forumcolumns'] == 0)}-->
  75.                                                 </tr></tbody>
  76.                                                 <!--{if $forum['orderid'] < $cat['forumscount']}-->
  77.                                                         <tbody><tr>
  78.                                                 <!--{/if}-->
  79.                                         <!--{/if}-->
  80.                                         <th width="$cat[forumcolwidth]"{$forum[folder]}>
  81.                                                 <h2><a href="forumdisplay.php?fid=$forum[fid]" {if $forum[redirect]}target="_blank"{/if} style="{if $forum[extra][namecolor]}color: {$forum[extra][namecolor]};{/if}">$forum[name]</a><!--{if $forum[todayposts]}--><em> ({lang index_today}: <strong>$forum[todayposts]</strong>)</em><!--{/if}--></h2>
  82.                                                 <!--{if !$forum[redirect]}-->
  83.                                                         <p>{lang forum_threads}: $forum[threads], {lang forum_posts}: $forum[posts]</p>
  84.                                                         <!--{if $forum['permission'] == 1}-->
  85.                                                                 <p>{lang private_forum}
  86.                                                         <!--{else}-->
  87.                                                                 <p>{lang forum_lastpost}:
  88.                                                                         <!--{if is_array($forum['lastpost'])}-->
  89.                                                                                 <a href="redirect.php?tid=$forum[lastpost][tid]&amp;goto=lastpost#lastpost" title="{echo cutstr($forum[lastpost][subject], 30)} {lang forum_lastpost_by} {if $forum['lastpost']['author']}$forum['lastpost']['authorusername']{else}{lang anonymous}{/if}  ">$forum[lastpost][dateline]</a>
  90.                                                                         <!--{else}-->
  91.                                                                                 {lang never}
  92.                                                                         <!--{/if}-->
  93.                                                                 </p>
  94.                                                         <!--{/if}-->
  95.                                                 <!--{else}-->
  96.                                                         <p>{lang url_link}</p>
  97.                                                 <!--{/if}-->
  98.                                         </th>
  99.                                 <!--{/loop}-->
  100.                                 $cat['endrows']
  101.                         <!--{/if}-->
  102.                         </table>
  103.                 </div>
  104.                 <!--{if $admode && !empty($advlist['intercat']) && ($advlist['intercat'][$key] = array_merge(($advlist['intercat'][0] ? $advlist['intercat'][0] : array()), ($advlist['intercat'][$key] ? $advlist['intercat'][$key] : array())))}--><div class="ad_column" id="ad_intercat_$key"><!--{echo $advitems[$advlist['intercat'][$key][array_rand($advlist['intercat'][$key])]]}--></div><!--{else}--><div id="ad_intercat_$key"></div><!--{/if}-->
  105.         <!--{/if}-->
  106. <!--{/loop}-->

  107. $pluginhooks[index_middle]

  108. <!--{if $_DCACHE['forumlinks'][0] || $_DCACHE['forumlinks'][1] || $_DCACHE['forumlinks'][2]}-->
  109.         <div class="mainbox list">
  110.                 <span class="headactions"><img id="forumlinks_img" src="{IMGDIR}/$collapseimg[forumlinks].gif" alt="" onclick="toggle_collapse('forumlinks');" /></span>
  111.                 <h3>{lang board_links}</h3>
  112.                 <div id="forumlinks" style="$collapse[forumlinks]">
  113.                 <!--{if $_DCACHE['forumlinks'][0]}-->
  114.                         <div class="forumlinks">
  115.                                 <ul class="s_clear">$_DCACHE['forumlinks'][0]</ul>
  116.                         </div>
  117.                 <!--{/if}-->
  118.                 <!--{if $_DCACHE['forumlinks'][1]}-->
  119.                         <div class="forumimglink">
  120.                                 $_DCACHE['forumlinks'][1]
  121.                         </div>
  122.                 <!--{/if}-->
  123.                 <!--{if $_DCACHE['forumlinks'][2]}-->
  124.                         <div class="forumtxtlink">
  125.                                 <ul class="s_clear">
  126.                                 $_DCACHE['forumlinks'][2]
  127.                                 </ul>
  128.                         </div>
  129.                 <!--{/if}-->
  130.                 </div>
  131.         </div>
  132. <!--{/if}-->

  133. <!--{if empty($gid) && $maxbdays &&$_DCACHE['birthdays_index']['todaysbdays']}-->
  134.         <div class="mainbox list" id="bdays">
  135.         <h3 id="bdayslist">
  136.                 <a href="member.php?action=list&amp;type=birthdays">{lang todays_birthdays}</a>: $_DCACHE[birthdays_index][todaysbdays]
  137.         </h3>
  138.         </div>
  139. <!--{/if}-->
  140. <!--{if empty($gid) && $whosonlinestatus}-->
  141.         <div class="mainbox list" id="online">
  142.         <!--{if $whosonlinestatus}-->
  143.                 <!--{if $detailstatus}-->
  144.                         <span class="headactions"><a href="$indexname?showoldetails=no#online" title="{lang pm_close}"><img src="{IMGDIR}/collapsed_no.gif" alt="{lang pm_close}" /></a></span>
  145.                         <h3>
  146.                                 <strong><a href="member.php?action=online">{lang onlinemember}</a></strong>
  147.                                 - <em>$onlinenum</em> {lang onlines}
  148.                                 - <em>$membercount</em> {lang index_members}(<em>$invisiblecount</em> {lang index_invisibles}),
  149.                                 <em>$guestcount</em> {lang index_guests}
  150.                                 - {lang index_mostonlines} <em>$onlineinfo[0]</em> {lang on} <em>$onlineinfo[1]</em>.
  151.                         </h3>
  152.                 <!--{else}-->
  153.                         <span class="headactions"><a href="$indexname?showoldetails=yes#online" class="nobdr"><img src="{IMGDIR}/collapsed_yes.gif" alt="" /></a></span>
  154.                         <h3>
  155.                                 <strong><a href="member.php?action=online">{lang onlinemember}</a></strong>
  156.                                 - {lang total} <em>$onlinenum</em> {lang onlines}
  157.                                 - {lang index_mostonlines} <em>$onlineinfo[0]</em> {lang on} <em>$onlineinfo[1]</em>.
  158.                         </h3>
  159.                 <!--{/if}-->
  160.         <!--{else}-->
  161.                 <h4><strong><a href="member.php?action=online">{lang onlinemember}</a></strong></h4>
  162.         <!--{/if}-->
  163.         <!--{if $whosonlinestatus && $detailstatus}-->
  164.                 <dl id="onlinelist">
  165.                 <dt>$_DCACHE[onlinelist][legend]</dt>
  166.                 <!--{if $detailstatus}-->
  167.                         <dd>
  168.                         <ul class="s_clear">
  169.                         <!--{if $whosonline}-->
  170.                                 <!--{loop $whosonline $key $online}-->
  171.                                         <li title="{lang time}: $online[lastactivity]{LF}{lang action}: $online[action] <!--{if $online['fid']}-->{LF}{lang forum}: $online[fid]<!--{/if}-->">
  172.                                         <img src="images/common/$online[icon]" alt="" />
  173.                                         <!--{if $online['uid']}-->
  174.                                                 <a href="space.php?uid=$online[uid]">$online[username]</a>
  175.                                         <!--{else}-->
  176.                                                 $online[username]
  177.                                         <!--{/if}-->
  178.                                         </li>
  179.                                 <!--{/loop}-->
  180.                         <!--{else}-->
  181.                                 <li style="width: auto">{lang online_only_guests}</li>
  182.                         <!--{/if}-->
  183.                         </ul>
  184.                         </dd>
  185.                 <!--{/if}-->
  186.                 </dl>
  187.         <!--{/if}-->
  188.         </div>
  189. <!--{/if}-->

  190. $pluginhooks[index_bottom]
  191. </div></div>

  192. <!--{if $infosidestatus[allow] == 2}-->
  193.         <div id="sidebar" class="side" style="$collapse[sidebar]">
  194.         <!--{if !empty($qihoo['status']) && ($qihoo['searchbox'] & 1)}-->
  195.                 <div id="qihoosearch" class="sidebox">
  196.                 <!--{if !empty($qihoo['status']) && ($qihoo['searchbox'] & 1)}-->
  197.                         <form method="post" action="search.php?srchtype=qihoo" onSubmit="this.target='_blank';">
  198.                                 <input type="hidden" name="searchsubmit" value="yes" />
  199.                                 <input type="text" class="txt" name="srchtxt" value="$qihoo_searchboxtxt" size="20" />
  200.                                 <select name="stype">
  201.                                         <option value="" selected="selected">{lang qihoo_search_filltext}</option>
  202.                                         <option value="1">{lang qihoo_search_title}</option>
  203.                                         <option value="2">{lang qihoo_search_author}</option>
  204.                                 </select>
  205.                                 &nbsp;<button name="searchsubmit" type="submit" value="true">{lang search}</button>
  206.                         </form>

  207.                         <!--{if !empty($qihoo['links']['keywords'])}-->
  208.                                 <strong>{lang qihoo_hot_searches}</strong>
  209.                                 <!--{loop $qihoo['links']['keywords'] $link}-->
  210.                                         $link&nbsp;
  211.                                 <!--{/loop}-->
  212.                         <!--{/if}-->

  213.                         <!--{if $customtopics}-->
  214.                                 <strong>{lang qihoo_custom_topics}</strong>&nbsp;&nbsp;$customtopics [<a href="javascript:;" onclick="showWindow('customtopics', 'misc.php?action=customtopics')">{lang edit}</a>]<br />
  215.                         <!--{/if}-->

  216.                         <!--{if !empty($qihoo['links']['topics'])}-->
  217.                                 <strong>{lang qihoo_topics}</strong>&nbsp;
  218.                                 <!--{loop $qihoo['links']['topics'] $url}-->
  219.                                         {$url} &nbsp;
  220.                                 <!--{/loop}-->
  221.                         <!--{/if}-->
  222.                 <!--{/if}-->
  223.                 </div>
  224.         <!--{/if}-->
  225.         <!--{if $infosidestatus[2]}-->
  226.                 <!--{if !empty($qihoo['status']) && ($qihoo['searchbox'] & 1)}-->
  227.                         <hr class="shadowline"/>
  228.                 <!--{/if}-->
  229.                 <div id="infoside">
  230.                 <!--{if empty($gid)}-->
  231.                         {eval request($infosidestatus, 0, 2);}
  232.                 <!--{else}-->
  233.                         {eval request($infosidestatus, 1, 2);}
  234.                 <!--{/if}-->
  235.                 </div>
  236.         <!--{/if}-->
  237.         </div>
  238. <!--{/if}-->

  239. {subtemplate footer}
複製代碼

TOP

CSS_COMMON.HTM
  1. /*
  2. common.css Official Style for Discuz!(R)
  3. URL: http://www.discuz.net
  4. (C) 2001-2009 Comsenz Inc.
  5. */

  6. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 全局 ~~~~ */
  7. * { word-wrap: break-word; }
  8. html, body { border: 0 !important; }
  9. body { {BGCODE}; text-align: center; }
  10. body, td, input, textarea, select, button { color: {TABLETEXT}; font: {FONTSIZE}/1.6em {FONT}; }
  11. input, select, button { vertical-align:middle; }
  12. textarea { resize: none; }
  13. body, ul, li, dl, dd, p, h1, h2, h3, h4, h5, h6, form, fieldset { margin: 0; padding: 0; }
  14. h1, h2, h3, h4, h5, h6 { font-size: 1em; }
  15. ul li { list-style: none; }
  16. a { text-decoration: none; color: {LINK}; }
  17.         a:hover { text-decoration: underline; }
  18.         .lightlink, .lightlink a { color: {HIGHLIGHTLINK}; }
  19.         a img { border: none; }
  20. em, cite, strong, th { text-align: left; font-style: normal; }
  21. .emfont { color: {NOTICETEXT}; }
  22. table { empty-cells: show; border-collapse: collapse; }
  23. th { font-weight: 400; }
  24. .txt, .txtarea { padding: 2px; *padding:0 2px; height: 16px; *height:20px; border: 1px solid; border-color: {INPUTBORDERDARKCOLOR} {INPUTBORDER} {INPUTBORDER} {INPUTBORDERDARKCOLOR}; background: {INPUTBG}; }
  25.         .txtarea { height: auto; }
  26. .checkbox, .radio { margin: 0; width: 15px; }
  27. .pipe { margin: 0 5px; }
  28. .lighttxt, .lighttxt a, .pipe { color: {LIGHTTEXT}; }
  29. .smalltext { font-size: {SMFONTSIZE}; font-family: {SMFONT}; }
  30. .noborder, .noborder td { border: none !important; }
  31. .nobg { background: none !important; }
  32. .right { float: right; }
  33. .left { float: left; }

  34. .onerror, .onright { clear: both; padding: 2px 2px 2px 22px; background: url({IMGDIR}/check_error.gif) no-repeat 2px 2px; }
  35. .onright { background: url({IMGDIR}/check_right.gif) no-repeat 2px 2px; }
  36. .notice { clear: both; margin: 5px 0; padding: 3px 5px 3px 20px; background: url({IMGDIR}/notice.gif) no-repeat 2px 6px; }
  37. .nodata { margin: 99px auto; text-align: center; color: {LIGHTTEXT}; font-size: 16px; font-weight: 700; }

  38. #ajaxwaitid { display: none; position: absolute; z-index: 100; top: 0; right: 0; width: 100px; height: 1.6em; background: #D00; line-height: 1.6em; color: #FFF; overflow: hidden; }

  39. #checksecanswer img, #checksecanswer3 img, #checkseccodeverify img, #checkseccodeverify3 img, .warning img { vertical-align: middle; }

  40. /* clearfix */
  41. .s_clear:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
  42. .s_clear { zoom: 1; }

  43. /* Lines */
  44. hr { clear: both; margin: 1em 0; border: 0 solid {COMMONBORDER}; background: transparent; }
  45. .solidline { border-top: 1px solid {WRAPBG}; border-bottom-width: 1px; }
  46. .dashline { height: 0px; border-bottom-width: 1px; border-style: dashed; }
  47. .shadowline { *margin: 2px 0; border-width: 1px 0; border-top-color: #C8DCEC; border-bottom-color: #FFF; }
  48.         .side .shadowline { margin: 5px 0; *margin: 2px 0; }

  49. /* 此处无需替换为变量 */
  50. .cornerlayger { padding: 6px 8px; border: 1px solid #09C; background: #EBF2F8; line-height: 1.6em; }
  51. .minicorner { margin-top: -1px; height: 6px; background: url({IMGDIR}/attachinfobg.gif) no-repeat 50% 0; }

  52. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 页面结构 ~~~~ */
  53. .wrap { text-align: left; margin: 0 auto; }
  54.         #wrap { padding-bottom: 10px; min-height: 450px; border: {WRAPBORDER} solid {WRAPBORDERCOLOR}; background-color: {WRAPBG}; clear: both; }
  55.                 * html #wrap { height: 450px; }
  56.         .wrap, #nav { width: {WRAPWIDTH}; }
  57. #header { margin-bottom: 8px; min-width: {WRAPWIDTH}; width: 100%; border-bottom: {HEADERBORDER} solid {HEADERBORDERCOLOR}; {HEADERBGCODE}; }
  58.         #header .wrap { position: relative; padding: 24px 0 22px; }
  59.         #header h2 { float: left; }
  60.         #umenu { position: absolute; right: 0; top: 0; line-height: 20px; }
  61.                 #umenu a { margin: 0 6px; }
  62.                         #umenu cite { font-weight: 700; }
  63.                                 #umenu cite span a { margin: 0; font-weight: 400; }
  64.                         #myprompt.new { padding-left: 22px; background: url({IMGDIR}/notice_newpm.gif) no-repeat 0 50%; }
  65.                         #myprompt_menu a.new { color: {NOTICETEXT}; }
  66.                         #myprompt_menu li { float: left; width: 50%; }
  67.                         .promptmenu { margin-left: -27px; padding-top: 10px; width: 250px; background: transparent url({IMGDIR}/pm_ntc.gif) no-repeat 0 0; text-align: left; opacity: 0.98; }
  68.                                 .promptcontent { padding-bottom: 10px; background: transparent url({IMGDIR}/pm_ntc.gif) no-repeat -250px 100%; }
  69.                                         .promptmenu ul { padding: 0 10px; border: solid #91C8E2; border-width: 0 2px; background: #FEFEFE; }
  70.                                                 .promptmenu li { border-bottom: 1px solid #F4F4F4; line-height: 29px; display: block; width: 100%; color: {LIGHTTEXT}; overflow: hidden; text-overflow: ellipsis; -webkit-text-overflow: ellipsis; -moz-text-overflow: ellipsis; -o-text-overflow: ellipsis; }
  71.                                                         .promptmenu a:hover { text-decoration: none; color: {HIGHLIGHTLINK}; }
  72.                         .up { padding-top: 0; padding-bottom: 10px; width: 150px; background-position: -500px 100%; }
  73.                                 .up .promptcontent { padding-top: 5px; padding-bottom: 0; background-position: -650px 0; }
  74.                                         .up li { border-bottom: none; line-height: 160%; }
  75.                         #uchome_ntc { padding: 1px 10px 3px 15px; *padding: 2px 10px 2px 15px; background: url({IMGDIR}/notify_bg_m.gif) no-repeat 0 50%; color: #FFF !important; }
  76.                                 #uchome_ntc a { margin: 0; }
  77.                 #umenu, #umenu a, #umenu .pipe { color: {HEADERTEXT}; }
  78. #footer { padding: 1em 0; }
  79.         #rightinfo { float: left; }
  80.         #footlink { float: right; text-align: right; }
  81.         #footer, #footer a { color: {FOOTERTEXT}; }

  82. .content { padding: 20px 25px; }
  83.         .content h1 { margin-bottom: 10px; font-size: 16px; font-weight: 400; }

  84. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 菜单、导航、分页等各种模块 ~~~~ */
  85. /* 菜单 */
  86. #menu { position: absolute; right: 0; bottom: 0; _bottom: -2px; height: 26px; }
  87.         #menu li { display: inline; float: left; margin-left: 5px; {MENUBGCODE}; }
  88.                 #menu a { float: left; padding: 0 14px; height: 25px; border: solid {MENUBORDER}; border-width: 1px 1px 0; background: transparent none; line-height: 25px; color: {MENUTEXT}; text-decoration: none; overflow: hidden; }
  89.                         #menu a.dropmenu { padding-right: 20px; background-image: url({IMGDIR}/arrow_down.gif); background-repeat: no-repeat; background-position: 95% 50%; }
  90.                 #menu a:hover { border-color: {HEADERBORDERCOLOR}; background-color: {MENUHOVER}; color: {MENUHOVERTEXT}; }
  91.                 #menu li.current a { height: 26px; border-color: {HEADERBORDERCOLOR}; background-color: {MENUHOVER}; color: {MENUHOVERTEXT}; }

  92. /* 导航 */
  93. #nav { margin: -8px auto 0; background: url({IMGDIR}/icon_nav.gif) no-repeat 0 50%; text-align: left; text-indent: 25px; line-height: 3em; }
  94.         #nav, #nav a { color: {MENUHOVERTEXT}; }

  95. .mainbox table { width: 100%; }

  96. .blocktitle { margin-bottom: 0.5em; font-size: 16px; font-weight: 700; }

  97. .channelinfo { clear: both; margin: 5px 0; color: {MIDTEXT}; }
  98.         .channelinfo img { vertical-align: middle; }
  99.         .channelinfo .onerror { * background-position: 2px 0; }

  100. /* 分页 */
  101. .pages_btns { padding: 5px 0 1em; line-height: 30px; }
  102. .pages, .pageback { float: right; padding: 2px 0; }
  103.         .pages a, .pages strong, .pageback a { float: left; padding: 0 6px; margin-right: 2px; height: 26px; border: 1px solid; line-height: 26px; overflow: hidden; }
  104.                 .pages a, .pageback a { border-color: {COMMONBORDER}; background-color: {WRAPBG}; color: {HIGHLIGHTLINK}; }
  105.                 .pages a:hover, .pageback a:hover { text-decoration: none; }
  106.                 .pages strong { border-color: {HIGHLIGHTLINK}; background-color: {HIGHLIGHTLINK}; color: #FFF; font-weight: 700; }
  107.                         .pages a.prev, .pages a.next { background-repeat: no-repeat; }
  108.                 .pages a.prev { background-image: url({IMGDIR}/arrow_left.gif); background-position: 30% 50%; padding: 0; width: 22px; overflow: hidden; text-indent: -9999px; }
  109.                 .pages a.next { padding-right: 16px; background-image: url({IMGDIR}/arrow_right.gif); background-position: 90% 50%; }
  110.         .pageback a { padding-left: 16px; background: {WRAPBG} url({IMGDIR}/arrow_left.gif) no-repeat 0 50%; }
  111.         .pages a:hover, .pageback a, .pages a.next { border-color: {HIGHLIGHTLINK}; }

  112. /* 左右结构的表格(多用于表单) */
  113. .formtable { width: 100%; }
  114.         .formtable th { padding: 5px 2px; width: 100px; }
  115.                 .formtable th a { font-weight:400; color:{HIGHLIGHTLINK}; text-decoration:underline; }
  116.         .formtable td { padding: 5px 2px; }
  117.         .formtable .sep_space th { height: 40px; }
  118.         .formtable .txt { width: 270px; }
  119.         .formtable .txtarea { float: left; margin: -1px 8px 0 0; width: 270px; height: 60px; border-top-color: {INPUTBORDER}; }

  120. /* 模拟下拉菜单样式 */
  121. .float_typeid { float: left; margin-right: 6px; }
  122.         .float_typeid select { float: left; height: 20px; }
  123.         .float_typeid a { display: block; overflow: hidden; padding: 0 17px 0 4px; width: 73px; height: 20px; text-decoration: none !important; color: {TABLETEXT} !important; border: 1px solid; border-color: {INPUTBORDERDARKCOLOR} {INPUTBORDER} {INPUTBORDER} {INPUTBORDERDARKCOLOR}; background: {INPUTBG} url({IMGDIR}/newarow.gif) no-repeat 100% 0; }
  124.         * html .float_typeid a { height: 18px; padding-top: 2px; }
  125.                 .float_typeid a:hover, .float_typeid a:focus { border: 1px solid {HIGHLIGHTLINK}; background-position: 100% -20px; }
  126.         /* ctrl 'select' width */
  127.         .float_typeid select { width: 94px; }
  128.         .short_select a { width: 39px; }
  129.         .short_select select { width: 60px; }

  130. .select_menu { border: 1px solid {HIGHLIGHTLINK}; background:{INPUTBG} url({IMGDIR}/newarow.gif) no-repeat 100% -20px; text-align: left; }
  131.         .select_menu ul { margin: 0 4px; }
  132.                 .select_menu li { color: {TABLETEXT}; cursor: pointer; }
  133.                         .select_menu li:hover { color: {HIGHLIGHTLINK}; }
  134.                         .select_menu li.current { color: {NOTICETEXT}; }

  135. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 版块列表、帖子列表、用户列表以及其他形式列表 ~~~~ */
  136. .commonlist li { margin: 4px 0; }
  137. .inlinelist li { float: left; width: 33%; }
  138.         .inlinelist li.wide { width: 49.5%; }

  139. /* 数据表 */
  140. .datalist { zoom: 1; }
  141.         .datalist table { margin-bottom: 30px; width: 100%; border: 1px solid {COMMONBORDER}; }
  142.                 .datalist th, .datalist td { padding: 4px 5px; border: 1px solid {COMMONBORDER}; font-weight: 400; }
  143.                         .datalist th img { vertical-align: top; }
  144.                 .datalist table .stat_subject { border-right: none; }
  145.                 .datalist table .stat_num { padding-right: 15px; text-align: right; border-left: none; }

  146.         .datalist .datatable { margin-bottom: 10px; }
  147.                 .datalist .datatable, .datalist .datatable th, .datalist .datatable td { border-width: 1px 0; }
  148.         .datalist .fixtable { table-layout: fixed; }

  149.         /* 交替换色中的深色背景 */
  150.         .colplural, .colplural th, .colplural td, th.highlight, td.highlight { background-color: {INTERLEAVECOLOR}; }

  151. /* 48px 头像列表,需配合 s_clear */
  152. .avt_list li { float: left; margin-right: 9px; width: 64px; height: 54px; text-align: center; }
  153.         .side .avt_list li { margin: 0; width: 33.3% }
  154.         .postmessage .avt_list li { height: 70px; }
  155.         .avt_uname li { height: 80px; }
  156.         .avt_list img { display: block; margin: 0 auto; }
  157.         .avt_list p { width: 96%; white-space: nowrap; overflow: hidden; }
  158.                 .avt_list .cornerlayger p { white-space:normal; text-align: left; }
  159.         .avt_list .minicorner { background: url({IMGDIR}/attachinfobg.gif) no-repeat -30px 0; }
  160. .avt_title { margin: 8px; }

  161. .list { border-top: 3px solid {COMMONBORDER}; }
  162.         .content .list h3 { padding-left: 6px; color: {MIDTEXT}; line-height: 35px; }
  163.         .list td, .list th { height: 50px; padding: 6px 0; border-top: 1px dashed {COMMONBORDER}; color: {MIDTEXT}; }
  164.                 .list th { background: url({IMGDIR}/forum.gif) 5px 10px no-repeat; padding-left: 45px !important; }
  165.                 .narrowlist th { vertical-align: top; }
  166.                 .list th.new { background-image: url({IMGDIR}/forum_new.gif); }
  167.                         .list th h2 em { font-weight: 400; }
  168.                                 .list th h2 em strong { color: {NOTICETEXT} }

  169. .feed { margin-bottom: 10px; }
  170.         .feed h3 { margin: 10px 0 10px 30px; font-size: 14px; color: {LIGHTTEXT}; }
  171.         .feed a { color: {HIGHLIGHTLINK}; }
  172.         .feed li { border-bottom: 1px dashed {COMMONBORDER}; }
  173.         .feed div { padding: 10px 30px; background: url({IMGDIR}/alert.gif) no-repeat 0 12px; position: relative; }
  174.                 .feed div div { padding: 0; background: none; }
  175.                 .feed .f_icon { background: none; }
  176.                         .feed .apptype { position: absolute; float: left; display: inline; margin: 3px 0 0 -30px; }
  177.                 .feed .f_thread { background-image: url({IMGDIR}/folder_new.gif); }
  178.                 .feed .f_reply { background-image: url({IMGDIR}/fastreply.gif); }
  179.                 .feed .f_quote { background-image: url({IMGDIR}/repquote.gif); }
  180.                 .feed .f_buddy { background-image: url({IMGDIR}/user_link.gif); }
  181.                 .feed .f_pin { background-image: url({IMGDIR}/pin_1.gif); background-position: 0 9px; }
  182.                 .feed .f_digest { background-image: url({IMGDIR}/digest_1.gif); }
  183.                 .feed .f_rate { background-image: url({IMGDIR}/agree.gif); }
  184.                 .feed .f_manage { background-image: url({IMGDIR}/icon_manage.gif); }
  185.                 .feed .f_magic { background-image: url({IMGDIR}/magic.gif); }
  186.                 .feed .f_trade { background-image: url({IMGDIR}/tradesmall.gif); }
  187.                 .feed .f_activity { background-image: url({IMGDIR}/activitysmall.gif); }
  188.                 .feed .f_reward { background-image: url({IMGDIR}/rewardsmall.gif); }
  189.                 .feed .f_task { background-image: url({IMGDIR}/icon_task.gif); background-position: 0 14px; }
  190.                 .feed .f_credit { background-image: url({IMGDIR}/viewpay.gif); }
  191.         .feed dfn { position: absolute; right: 0; top: 14px; *top:12px; font-style: normal; }
  192.                 .feed dfn .deloption { float: right; margin: 0; }
  193.         .feed em, .feed em a, .feed .summary { color: {LIGHTTEXT}; }
  194.                 .feed .summary { margin: 12px 2em 6px; }
  195.                         .feed dt { float: left; color: {TABLETEXT}; }
  196.                         .feed dd { margin-bottom: 6px; }
  197.         .feed .il { margin-left: 2em; white-space: nowrap; }
  198.         a.to { padding-right: 1em; background: url({IMGDIR}/arrow_right.gif) no-repeat 100% 50%; }
  199.         .feed i { margin: 0 5px; color: {LIGHTTEXT}; }
  200.         .f_thumb { margin: 5px 0; }
  201.                 .f_thumb img { margin-right: 4px; padding: 2px; max-width: 100px; max-height: 70px; border: 1px solid {COMMONBORDER} }
  202.                         * html .f_thumb img { width: 100px; height: 70px; }
  203.         .feed fieldset  { margin: 10px 0; padding: 0 0 0 20px; border: none; background: url({IMGDIR}/icon_quote_m_s.gif) no-repeat 0 0; }
  204.                 .feed ins { margin: 0; padding: 0 20px 0 0; display: inline; background: url({IMGDIR}/icon_quote_m_e.gif) no-repeat 100% 100%; line-height: 1.6em; color: {LIGHTTEXT}; text-decoration: none; }

  205. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 帖子列表相关 ~~~~ */
  206. .folder { width: 25px; text-align: center; }
  207. td.icon { width: 20px; text-align: center; }
  208.         .icon .solved { filter: alpha(opacity=30); opacity: 0.3; }
  209. .subject label { float: right; }
  210. .threadlist th a:hover, .subject a:hover { color: {HIGHLIGHTLINK}; }

  211. .datatable .subject { padding: 8px 5px; }

  212. .threadpages { white-space: nowrap; }
  213.         .threadpages a { padding: 2px 4px; color: {TABLETEXT}; }
  214.                 .threadpages a:hover { background-color: {SPECIALBG}; }
  215. .forum, .author, .lastpost { width: 110px; }
  216.         .lastpost, .lastpost cite, .lastpost em { text-align: right; }
  217.         .author cite, .lastpost cite { display: block; margin-bottom: -5px; width: 105px; height: 1.6em; overflow: hidden; }
  218.                 thead .lastpost cite { margin-bottom: 0; }
  219.         .author em, .lastpost em, .lastpost em a { font-size: 9px; font-family: Arial, sans-serif; color: {LIGHTTEXT}; }
  220.         .lastpost cite, .lastpost em { display: block; margin-right: 5px; }
  221. .nums { width: 80px; color: {LIGHTTEXT}; text-align: center; }
  222.         thead .nums { color: {TABLETEXT}; }
  223.         .nums strong { padding-right: 2px; color: {HIGHLIGHTLINK}; font-weight: 400; }
  224.         .nums em { padding-left: 2px; color: {TABLETEXT}; }
  225. .forumnums { width: 90px; padding-right: 10px !important; color: {LIGHTTEXT}; text-align: center; }
  226.         .forumnums em { color: {HIGHLIGHTLINK}; }
  227. .forumlast { width: 225px; text-align: left; }
  228. .num { width: 120px; text-align: center; color: red; }

  229. .threadlist td { padding: 0 !important; }
  230.         .threadlist .colplural th, .threadlist .colplural td { padding: 7px 0 !important; background: {SPECIALBG}; }
  231.                 .threadlist .colplural th { padding: 7px 5px !important; }
  232.                         .threadlist .colplural a { color: {HIGHLIGHTLINK}; font-family: Tahoma, sans-serif; }
  233.                                 .threadlist .colplural a:hover { text-decoration: underline; }
  234.                                 .threadlist .colplural .order_active { padding-right: 8px; background: url({IMGDIR}/order.gif) no-repeat 100% 50%; }
  235.                         .itemfilter { line-height: 18px; }
  236.                                 .itemfilter * { float: left; height: 18px; overflow: hidden; }
  237.                                 .itemfilter li { margin-right: 5px; }
  238.                                 .itemfilter .current a { margin-right: 2px; background: url({IMGDIR}/btn_block.gif) no-repeat 0 -161px; }
  239.                                         .itemfilter .current a:hover { text-decoration: none; }
  240.                                 .itemfilter span { cursor: pointer; }
  241.                                 .itemfilter .current span { padding: 0 5px; background: url({IMGDIR}/btn_block.gif) no-repeat 100% -179px; color: #FFF; }
  242.         .threadlist th em { margin-right: 4px; }
  243.         .threadlist th em, .threadlist th em a { color: {HIGHLIGHTLINK}; }
  244.         .threadlist th .attach { vertical-align: middle; }
  245.                 * html .threadlist th .attach { vertical-align: baseline; }
  246.         .threadlist th a { text-decoration: none; }

  247. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 下拉菜单 ~~~~ */
  248. .dropmenu { padding-right: 15px; background: url({IMGDIR}/arrow_down.gif) 100% 50% no-repeat; cursor: pointer; }
  249. .popupmenu_popup { overflow: hidden; padding: 10px; text-align: left; border: 1px solid {DROPMENUBORDER}; {DROPMENUBGCODE}; }
  250.         .popupmenu_popup li { margin: 3px 0; line-height: 20px; }
  251. .headermenu_popup { width: 100px; }
  252.         .headermenu_popup li { width: 100px; border-bottom: 1px solid {COMMONBORDER}; }
  253.                 .headermenu_popup a:hover { text-decoration: none; color: {HIGHLIGHTLINK}; }
  254.                 .headermenu_popup .active { font-weight: 700; }
  255. .titlemenu_popup { padding: 0; }
  256.         .titlemenu_popup li { margin: 0; }
  257.         .titlemenu_popup a { display: block; padding: 3px 8px; }
  258.         * html .titlemenu_popup a { display: inline-block; }
  259.         .titlemenu_popup .current a { background: #F1F5FA; }
  260. .filter_popup { width: 5em; }
  261.         .filter_popup li { width: 60px; }
  262. .showselect_menu { margin-bottom: 0.8em; padding: 5px; text-align: left; border: 1px solid {DROPMENUBORDER}; background: {DROPMENUBGCOLOR}; }

  263. .headactions .popupmenu_popup a, .headactions .popupmenu_popup strong { color: {MIDTEXT}; background: none; white-space: nowrap; }
  264.         .headactions .popupmenu_popup { overflow: visible; }

  265. .hasdropdownbtn {}
  266.         .hasdropdownbtn input { float: left; width: 129px; }
  267.         .hasdropdownbtn .spmediuminput { width: 115px; }
  268.         .dropdownbtn { float: left; overflow: hidden; text-indent: -9999px; width: 20px; height: 20px; border-width: 1px 1px 1px 0; border-style: solid; border-color: {INPUTBORDERDARKCOLOR} {INPUTBORDER} {INPUTBORDER} {INPUTBORDERDARKCOLOR}; background:{INPUTBG} url({IMGDIR}/newarow.gif) no-repeat 0 0; }
  269.                 .dropdownbtn:hover { background-position: 0 -20px; }

  270. /* 风格切换 */
  271. #style_switch { position: absolute; right: 0px; bottom: -25px; }
  272.         #style_switch li { float: left; padding-left: 5px; }
  273.         #style_switch a { float: left; width: 8px; height: 8px; border: 1px solid #DDD; background: #FFF; line-height: 100px; overflow: hidden; }
  274.                 #style_switch a:hover, #style_switch .current a { border-color: #FFF; }
  275.                         #style_switch .current a { margin-top: -1px; border-width: 2px; }

  276. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 广告 ~~~~ */
  277. #ad_headerbanner { float: right; margin: 5px 0 10px; }
  278. .ad_text { margin: 0 auto 5px; padding: 10px 0; width: {WRAPWIDTH}; background: {WRAPBG}; }
  279. .ad_text table { width: 100%; }
  280.         .ad_text td { padding: 3px 20px; text-align: left; }
  281. .ad_textlink1, .ad_textlink2 { margin: 10px 0; padding-left: 20px; background: url({IMGDIR}/icon_ad.gif) no-repeat 0 50%; }
  282. .ad_pip { clear: right; float: right; padding: 10px; background: {WRAPBG}; color: {LIGHTTEXT}; line-height: 130%; }
  283.         .ad_pip li { margin-bottom: 1em; }
  284.         .ad_pip a { color: {HIGHLIGHTLINK}; }
  285. .ad_topicrelated { clear: both; float: right; display: inline; margin: 0 10px 10px; padding: 10px 10px 10px 30px; border: 1px solid #78A73D; background: #CAEEC0; }
  286. .ad_column { text-align: center; }
  287. .ad_footerbanner { text-align: center; clear: both; margin: 5px; }
  288. .ad_float_left, .ad_float_right { float: right; position: fixed; top: 350px; z-index: 300; }
  289.         * html .ad_float_left, * html .ad_float_right { position: absolute; top: expression(offsetParent.scrollTop+350); }
  290.         .ad_float_left { left: 5px; }
  291.         .ad_float_right { right: 5px; }
  292. .ad_couplebanner { top: 5px }
  293. * html .ad_couplebanner { top: expression(offsetParent.scrollTop+5); }

  294. /* HEADACTION */
  295. .headactions { float: right; line-height: 1em; padding: 12px 0 0; }
  296.         .headactions img { vertical-align: middle; cursor: pointer; padding: 0 5px; }
  297.         .headactions a { margin-left: 4px; }
  298.                 .mainbox .headactions { color: {LIGHTTEXT}; }
  299.                         .mainbox .headactions strong { font-weight: 700;}

  300. .msgfix { overflow: hidden; }

  301. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 侧边 ~~~~ */
  302. .side { width: 170px; }
  303.         .sideinner .txt { margin: 6px 0; }
  304.         .side li.current a { font-weight: 700; color: {TABLETEXT}; text-decoration: none; }
  305. .with_side { {SIDEBGCODE}; }
  306.         .with_side .main { float: left; overflow: hidden; margin-left: -180px; width: 100%; }
  307.                 .with_side .content { margin-left: 180px; width: auto; }
  308.         .with_side .side { float: right; padding-bottom: 20px; width: 180px; }
  309.                 .with_side .side h2 { margin: 20px 25px 10px; color: {LIGHTTEXT}; font-size: 14px; }
  310.                 .with_side .side a { color: {HIGHLIGHTLINK}; text-decoration: underline; }
  311.                 .sideinner { padding: 0 25px; }
  312.                         .sideinner .tabs { margin: 5px 0; }
  313.                                 .sideinner .tabs li { line-height: 2em; }
  314.                 .numbg { float: right; text-align: center; width: 35px; height: 2em; background: url({IMGDIR}/numbg.gif) no-repeat 0 50%; color: #FFF; font-weight: 700; }
  315. .special { background: none; }
  316.         .special .main { float: right; }
  317.         .special .side { float: left; }
  318. .sidebox { overflow: hidden; margin: 5px 10px 10px; }
  319.         .sidebox h4 { margin-bottom: 4px; color: {HIGHLIGHTLINK}; }

  320. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 弹出层通用样式 ~~~~ */

  321. /* 弹窗 */
  322. .fwinmask {}
  323.         /* 浮动窗口最外层 */
  324.         .fwin { overflow-x: hidden; margin: 0 auto; text-align: left; }
  325.                 /* 以下 class 都可以分开写,单独定义,以便个性化 */
  326.                 /* 四条边、四个角的公用样式 */
  327.                 .t_l, .t_c, .t_r, .m_l, .m_r, .b_l, .b_c, .b_r { overflow: hidden; opacity: 0.9; filter: alpha(opacity=90); {FLOATMASKBGCODE}; }
  328.                 /* 四个角 */
  329.                 .t_l, .t_r, .b_l, .b_r { width: 8px; height: 8px; }
  330.                 /* 上下两条边 */
  331.                 .t_c, .b_c { height: 8px; }
  332.                 /* 左右两条边 */
  333.                 .m_l, .m_r { width: 8px; }
  334.                 /* 内容区 */
  335.                 .m_c { {FLOATBGCODE}; }
  336.                         .fcontent { margin: 15px; }

  337. .float_ctrl { margin-bottom: 15px; height: 20px; line-height: 20px; }
  338.         .float_ctrl em { float: left; font-size: 14px; font-weight: 700; color: {HIGHLIGHTLINK}; }
  339.                 .float_ctrl em a { text-decoration: none; }
  340.         .float_ctrl .needverify { margin-left: 8px; padding-left: 13px; width: 45px; height: 21px; line-height: 21px; background: url({IMGDIR}/re_unsolved.gif) no-repeat 0 0; font-size: 12px; color: {MIDTEXT}; font-weight: 400; }
  341.         .float_ctrl .onerror, .float_ctrl .onright { white-space: nowrap; height: auto; line-height: 140%; color: {TABLETEXT}; font-size: 12px; font-weight: 400; }

  342.         .float_ctrl span { float: right; color: {LIGHTTEXT}; }
  343.                 .float_ctrl span a, .float_ctrl strong { float: left; text-decoration: none; margin-left: 8px; font-weight: 400; color: {TABLETEXT}; }
  344.                         .float_ctrl span a:hover { color: {LIGHTTEXT}; }
  345.                 .float_close { float: left; width: 20px; height: 20px; overflow: hidden; text-indent: -9999px; background: url({IMGDIR}/newclose.gif) no-repeat 0 0; }
  346.                         .float_close:hover { background-position: 0 -20px; }

  347.                 .floatwrap { overflow: auto; overflow-x: hidden; margin-bottom: 10px; height: 280px; }
  348.                 .fcontent li { list-style: none; }
  349.                 .fcontent a { color: {HIGHLIGHTLINK}; text-decoration: underline; }
  350.                 .fcontent .list { margin: 0 auto; width: 570px; border-top: 3px solid {COMMONBORDER}; border-bottom: 3px solid {COMMONBORDER}; }
  351.                         .fcontent .list th, .fcontent .list td { padding: 3px !important; height: auto; border-bottom: 1px dashed {COMMONBORDER}; }
  352.                         .fcontent .list .btns th, .fcontent .list .btns td { border-bottom: none; }
  353.                         .fcontent .list th { width: 150px; background: none; }

  354. .postbox { clear: both; }
  355.         .moreconf { margin-top: 10px; }
  356.                 .moreconf button, .moreconf a { margin-right: 3px; }

  357. /* 登录和注册 */
  358. .loginform { float: left; margin-bottom: 10px; *margin-bottom: -10px; padding: 20px 0; width: 280px; border-right: 1px solid {CONTENTSEPARATE}; }
  359.         .regsec { margin-bottom: 10px; }
  360.         .channelinfo .onerror, .channelinfo .onright { background-position: 2px 0; }
  361.         .loginform label { clear: both; overflow: hidden; display:block; margin: 0 0 10px; line-height: 22px; }
  362.         .loginform .txt { width: 170px; }
  363.         .loginform select { width: 175px; }
  364.         .fsubmit { clear: both; margin-top: 8px; }
  365.                 .fsubmit .submit { margin-right: 8px; }
  366.                 .loginform label em, .fsubmit em { float: left; width: 60px; }
  367.                         .fsubmit .regpre { *margin-top: 4px; }
  368. .nolabelform .txt{ width: 230px; }
  369. .clause { overflow: auto; margin-bottom: 10px; width: 470px; height: 240px; }
  370. .selectinput { float: none; margin: 0 0 10px; width: 234px; height: 20px; background-color: {INPUTBG}; border: 1px solid; border-color: {INPUTBORDERDARKCOLOR} {INPUTBORDER} {INPUTBORDER} {INPUTBORDERDARKCOLOR}; }
  371.         .selectinput a { float: left; padding-right: 0; width: 61px; border: none; }
  372.                 .selectinput a:hover, .selectinput a:focus { border: none; }
  373.         .selectinput .txt { float: left; width: 160px; border: none; }
  374. .selecttype { float: none; margin: 10px 0; clear: both; }
  375.         .selecttype a, .selecttype a:hover, .selecttype a:focus { padding-right: 0; width: 230px; background-color: transparent; border-color: {FLOATBGCOLOR}; color: {LIGHTTEXT} !important; }
  376. .loginpsw label { float: left; padding-left: 4px; width: 61px; line-height: 150%; }
  377. .capslock { background: url({IMGDIR}/capslock.gif) no-repeat 98% 50%; }

  378. .logininfo { float: left; overflow: visible; margin: 87px 25px 10px 40px; }
  379.         .logininfo h4 { margin-bottom: 10px; font-weight: 400; font-size: 14px; }
  380.         .multinfo { margin-top: 53px; }

  381. /* 全局导航 */
  382. .switchnav { float: left; white-space: nowrap; overflow: hidden; width: 480px; }
  383. .postboardlist { overflow: hidden; margin: 9px 0; width: 597px; border-width: 1px 0 1px 1px; border-style: solid; border-color: {DROPMENUBORDER}; background: #FFF; }
  384.         .postboardlist li { float: left; overflow-x: hidden; overflow-y: auto; padding: 5px; width: 188px; height: 300px; border-right: 1px solid {DROPMENUBORDER}; }
  385.         .postboardlist p { height: 25px; line-height: 25px; }
  386.                 .postboardlist a { display: block; white-space: nowrap; overflow: hidden; padding: 0 4px; text-decoration: none; color: {TABLETEXT}; }
  387.                         .postboardlist a:hover { text-decoration: none; background-color: {INTERLEAVECOLOR}; }
  388.                 .postboardlist .highlightlink { color: {HIGHLIGHTLINK}; }
  389.                 .hassubboard { background: url({IMGDIR}/arrow_right.gif) right center no-repeat; }
  390.         .pbl_selected a, .pbl_selected a:hover { background-color: {HIGHLIGHTLINK}; color: #FFF !important; font-weight: 700; }

  391. /* 弹窗未开启时 */
  392. .nofloat { height: auto !important; height: 410px; min-height: 410px; background-color: {SPECIALBG}; }
  393.         .nofloat .fcontent { margin: 15px auto; width: 600px; }
  394.         .nofloat .loginform { height: auto; }
  395.         .nofloat .clause { width: auto; height: auto; }

  396. /* 发帖标题部分限宽 */
  397. .fcontent .float_postinfo { width: 568px; }

  398. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 各种标题 ~~~~ */
  399. .c_header { overflow: hidden; margin-bottom: 10px; }
  400.         * html .c_header { zoom: 1; }
  401.         .c_header h2, .c_header h3 { float: left; padding-right: 15px; background: {WRAPBG}; font-size: 14px; cursor: pointer;}
  402.         .c_header h3 { background: {WRAPBG} url({IMGDIR}/arrow_down_big.gif) no-repeat 100% 5px; color: {HIGHLIGHTLINK}; }
  403.         .searchfaq h3 { background: none;  cursor: auto; }
  404.                 .c_header .noarrow { background: none; cursor: auto; }
  405.                 .c_header h3 a { color: {HIGHLIGHTLINK}; }
  406.                 .c_header h3 span { font-size: 12px; font-weight: 400; color: {MIDTEXT}; }
  407.                 .c_header h2 em, .c_header h3 em { margin-left: 8px; font-size: 12px; color: {LIGHTTEXT}; font-weight: 400; }
  408.         .c_header_action { float: right; }
  409.         .c_header .c_header_ctrlbtn { display: none; }
  410.         .c_header .c_header_ext { display: block; }
  411. .closenode { background: url({IMGDIR}/dashline.gif) repeat-x 0 10px; }
  412.         .closenode h3 { background-image: url({IMGDIR}/arrow_right_big.gif); }
  413.         .closenode .c_header_ctrlbtn { display: block; background-color: {WRAPBG}; color: {MIDTEXT}; cursor: pointer; }
  414.         .closenode .c_header_ext { display: none; }
  415. .itemtitle { clear: both; overflow: hidden; margin-bottom: 10px; line-height: 23px; }
  416.         .itemtitle h1 { float: left; margin: 0 20px 0 0; }
  417.         .itemtitle ul { float: left; }
  418.                 .itemtitle li { float: left; margin-right: 5px; }
  419.                         .itemtitle li.pipe { margin-left: 0; }
  420.                 .itemtitle ul a { display: block; overflow: hidden; height: 23px; cursor: pointer; }
  421.                 * html .itemtitle ul a { float: left; }
  422.                         .itemtitle ul a span { display: block; padding: 0 7px; *padding: 1px 7px 0; *line-height: 22px; }
  423.                         .itemtitle ul a:hover { background: #F5F5F5 url({IMGDIR}/btn_block.gif) no-repeat 0 -46px; text-decoration: none; }
  424.                                 .itemtitle ul a:hover span { background: url({IMGDIR}/btn_block.gif) no-repeat 100% -69px; }
  425.                 .itemtitle ul a.dropmenu { padding-right: 0; background-position: 0 -161px; }
  426.                         .itemtitle ul a.dropmenu span { padding-right: 12px; background: url({IMGDIR}/btn_block.gif) no-repeat 100% -138px; }
  427.                         .itemtitle ul a.dropmenu:hover { background-position: 0 -46px; }
  428.                                 .itemtitle ul a.dropmenu:hover span { background-position: 100% -115px; }
  429.                 .itemtitle ul .current a, .itemtitle ul .current a:hover, .itemtitle ul .current a.dropmenu:hover { background: {HIGHLIGHTLINK} url({IMGDIR}/btn_block.gif) no-repeat 0 0; }
  430.                         .itemtitle ul .current a span, .itemtitle ul .current a:hover span { background: url({IMGDIR}/btn_block.gif) no-repeat 100% -23px; color: #FFF; }
  431.                         .itemtitle ul .current a.dropmenu span, .itemtitle ul .current a.dropmenu:hover span { background-position: 100% -92px; }

  432. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 发帖 ~~~~ */
  433. /* 浮动发帖 */
  434. .float_postinfo {}
  435.         .float_postinfo em { float: left; margin-right: 5px; padding-left: 3px; height: 20px; border: 1px solid; border-color: {INPUTBORDERDARKCOLOR} {INPUTBORDER} {INPUTBORDER} {INPUTBORDERDARKCOLOR}; background-color: {INPUTBG}; cursor: pointer; }
  436.                 .float_postinfo em img { margin-top: 2px; }
  437.         .float_postinfo input { float: left; }
  438.         .float_postinfo #subject { width: 358px; }
  439.         .float_postinfo .float_typeid { display: inline; margin-right: 0; margin-left: 6px; }
  440.         .viewpoint { margin: 9px 0; }
  441. .colorbox input { margin: 2px; padding: 0px; float:left; cursor: pointer; width: 12px; height: 12px; border: 0; }

  442. /* 表情 */
  443. .smilieslist { padding: 10px; border: 1px solid {DROPMENUBORDER}; {DROPMENUBGCODE}; }
  444.         .smilieslist td { padding: 8px; border: none; cursor: pointer; }
  445.         .smilieslist_page { *float: left; text-align: right; }
  446.                 .smilieslist_page a { margin-right: 5px; color: {HIGHLIGHTLINK}; text-decoration: underline; }
  447.                 .pags_act { float: left; }
  448.         .smilies_preview { margin-top: 5px; padding: 8px; background: {WRAPBG}; border: 1px solid {DROPMENUBORDER}; }

  449.         .smiliesgroup { height: 33px; *height:34px; overflow: hidden; width: expression(this.parentNode.offsetWidth); }
  450.                 .smiliesgroup ul, .imguptype { margin: 6px 0; padding: 0 0 26px 8px; border-bottom: 1px solid {CONTENTSEPARATE}; }
  451.                         .smiliesgroup li, .imguptype li { display: inline; }
  452.                         * html .smiliesgroup li, * html .imguptype li { line-height: 18px; }
  453.                                 .smiliesgroup li a, .imguptype li a { float: left; margin: 2px 6px 0 0; padding: 2px 10px; height: 19px; border: 1px solid {CONTENTSEPARATE}; color: {HIGHLIGHTLINK}; text-decoration: none; }
  454.                                         .smiliesgroup li a:focus, .imguptype li a:focus { outline: none; }
  455.                                         .smiliesgroup li a.current, .imguptype li a.current { border-bottom-color: {DROPMENUBGCOLOR}; font-weight: 700; color: {TABLETEXT}; }

  456. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 其他 ~~~~ */
  457. /* 提示信息 */
  458. .alert_win { margin: 0; width: 350px; }
  459.         .alert_win .float_ctrl { margin-bottom: 0; padding: 8px; }
  460.         .alert_win .shadowline { margin: 0; *margin: -8px 0; }
  461.         .alert_win .postbox { *margin-top: -15px; padding: 15px; }
  462.                 .alert_right, .alert_error, .alert_info { padding: 6px 0 6px 58px; line-height: 160%; background:url({IMGDIR}/right_big.gif) no-repeat 8px 50%; font-size: 14px; }
  463.                 .alert_error { background-image: url({IMGDIR}/error_big.gif); }
  464.                 .alert_info { background-image: url({IMGDIR}/info_big.gif); }
  465.                 .alert_btnleft { margin-top: 8px; }
  466.                 .alert_btn { margin-top: 20px; text-align: center; }
  467.                 .alert_act { margin-top: 20px; padding-left: 58px; }

  468. /* 用于积分奖励提示等通用弹出层 */
  469. .popupcredit {}
  470.         .pc_l, .pc_c, .pc_inner, .pc_r { width: 29px; height: 56px; line-height: 56px; background: url({IMGDIR}/popupcredit_bg.gif) no-repeat 0 0; }
  471.         .pc_c { width: 200px; background-position: 0 -56px; background-repeat: repeat-x; }
  472.                 .pc_inner { white-space: nowrap; text-align: center; width: auto; background-position: 50% -112px; }
  473.                         .pc_inner span { margin-right: 15px; color: #FFEA97; font-size: 14px; font-weight: 700; }
  474.                         * html .pc_inner span { display: inline-block; }
  475.                                 .pc_inner span a { color: #FFEA97; text-decoration: underline; }
  476.                                 .pc_inner span em { color: #FFF; font-size: 18px; font-weight: 400; }
  477.                                 .pc_inner span em.desc { color: #930; }
  478.                         .pc_btn img { opacity: 0.5; }
  479.                                 .pc_btn:hover img { opacity: 1; }
  480.         .pc_r { background-position: -30px 0; }

  481. /* 任务完成度状态条 */
  482. .optionbar { float: left; overflow: hidden; margin: 3px 4px 0 -6px; background: {HIGHLIGHTLINK} url({IMGDIR}/header.gif) repeat-x; height: 14px; }

  483. /* 其他一些通用样式 */
  484. .deloption { float: left; margin: 4px; width: 12px; height: 12px; background: url({IMGDIR}/close.gif) no-repeat 0 0; overflow: hidden; text-indent: -9999px; }
  485.         .deloption:hover { background-position: 0 -12px; }
  486. .color_menu { overflow: hidden; width: 63px; }
  487.         .color_menu a { overflow: hidden; float:left; width: 20px; height: 20px; }
  488. .chosemagic { margin-bottom: 9px; width: 220px; }
  489. .topicadminhigh { height: 200px; }
  490.         .topicadminhigh .tah_body { margin: 5px 0 15px; }
  491.                 .topicadminhigh .tah_body select { width: 217px; }
  492. .topicadminlow { height: 50px; }
  493.         .topicadminlow table { width: 100%; }
  494.         .topicadminlow td { padding: 0 5px; }
  495.         .topicadminlow .txt { width: 100px; }
  496.                 .topicadminlow .wide .txt { width: 50px; }
  497. .topicadminlog {}
  498.         .topicadminlog h4 { font-weight: 400; }
  499.         .topicadminlog .dropdownbtn { border-left-width: 1px; }
  500.         .topicadminlog .txtarea { margin: 5px 0; width: 212px; height: 40px; }
複製代碼

TOP

header.htm
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=$charset" />
  5. <title>$navtitle $bbname $seotitle - Powered by Discuz!</title>
  6. $seohead
  7. <meta name="keywords" content="{$metakeywords}$seokeywords" />
  8. <meta name="description" content="$metadescription $bbname $seodescription - Discuz! Board" />
  9. <meta name="generator" content="Discuz! $version" />
  10. <meta name="author" content="Discuz! Team and Comsenz UI Team" />
  11. <meta name="copyright" content="2001-2009 Comsenz Inc." />
  12. <meta name="MSSmartTagsPreventParsing" content="True" />
  13. <meta http-equiv="MSThemeCompatible" content="Yes" />
  14. <meta http-equiv="x-ua-compatible" content="ie=7" />
  15. <link rel="archives" title="$bbname" href="{$boardurl}archiver/" />
  16. $rsshead
  17. $extrahead
  18. {csstemplate}
  19. <script type="text/javascript">var STYLEID = '{STYLEID}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '$charset', discuz_uid = $discuz_uid, cookiedomain = '$cookiedomain', cookiepath = '$cookiepath', attackevasive = '$attackevasive', disallowfloat = '$disallowfloat', creditnotice = '{if $creditnotice}$creditnames{/if}', {if in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))}gid = parseInt('$thisgid'){elseif CURSCRIPT == 'index'}gid = parseInt('$gid'){else}gid = 0{/if}, fid = parseInt('$fid'), tid = parseInt('$tid')</script>
  20. <script type="text/javascript" src="{$jspath}common.js?{VERHASH}"></script>
  21. </head>

  22. <body id="{CURSCRIPT}" onkeydown="if(event.keyCode==27) return false;">

  23.         <div id="append_parent"></div><div id="ajaxwaitid"></div>

  24.         <div id="header">
  25.                 <div class="wrap s_clear">
  26.                         <h2><a href="$indexname" title="$bbname">{BOARDLOGO}</a></h2>
  27.                         <div id="umenu">
  28.                         <!--{if $discuz_uid}-->
  29.                                 <cite><a href="space.php?uid=$discuz_uid" class="noborder">$discuz_userss</a><!--{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>
  30.                                 <span class="pipe">|</span>
  31.                                 <!--{if $ucappopen['UCHOME']}-->
  32.                                         <a href="{$uchomeurl}/space.php?uid=$discuz_uid" target="_blank">{lang space_short}</a>
  33.                                 <!--{elseif $ucappopen['XSPACE']}-->
  34.                                         <a href="{$xspaceurl}/?uid-$discuz_uid" target="_blank">{lang space_short}</a>
  35.                                 <!--{/if}-->
  36.                                 <a id="myprompt" href="notice.php" <!--{if $prompt}-->class="new" onmouseover="showMenu({'ctrlid':this.id})"<!--{/if}-->>{lang notice}</a>
  37.                                 <span id="myprompt_check"></span>
  38.                                 <a href="pm.php" id="pm_ntc" target="_blank">{lang pm_center}</a>
  39.                                 <!--{if $taskon}-->
  40.                                         <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>
  41.                                 <!--{/if}-->

  42.                                 <span class="pipe">|</span>
  43.                                 <a href="memcp.php">{lang user_center}</a>
  44.                                 <!--{if $discuz_uid && $adminid > 1}--><a href="modcp.php?fid=$fid" target="_blank">{lang modcp}</a><!--{/if}-->
  45.                                 <!--{if $discuz_uid && $adminid == 1}--><a href="admincp.php" target="_blank">{lang admincp}</a><!--{/if}-->
  46.                                 <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
  47.                         <!--{elseif !empty($_DCOOKIE['loginuser'])}-->
  48.                                 <cite><a id="loginuser" class="noborder">$_DCOOKIE['loginuser']</a></cite>
  49.                                 <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">{lang activation}</a>
  50.                                 <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
  51.                         <!--{else}-->
  52.                                 <a href="$regname" onclick="showWindow('register', this.href);return false;" class="noborder">$reglinkname</a>
  53.                                 <a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">{lang login}</a>
  54.                         <!--{/if}-->
  55.                         </div>
  56.                         <div id="ad_headerbanner"><!--{if $admode && !empty($advlist['headerbanner'])}-->$advlist[headerbanner]<!--{/if}--></div>
  57.                         <div id="menu">
  58.                                 <ul>
  59.                                         <!--{if $_DCACHE['settings']['frameon'] > 0}-->
  60.                                                 <li>
  61.                                                 <span class="frameswitch">
  62.                                                 <script type="text/javascript">
  63.                                                         if(top == self) {
  64.                                                                 {if ($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))}
  65.                                                                 top.location = 'frame.php?frameon=yes&referer='+escape(self.location);
  66.                                                                 {/if}
  67.                                                                 document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">{lang frameon_column}<\/a>');
  68.                                                         } else {
  69.                                                                 document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">{lang frameon_flat}<\/a>');
  70.                                                         }
  71.                                                 </script>
  72.                                                 </span>
  73.                                                 </li>
  74.                                         <!--{/if}-->
  75.                                         <!--{loop $navs $id $nav}-->
  76.                                                 <!--{if $id == 3}-->
  77.                                                         <!--{if !empty($plugins['jsmenu'])}-->
  78.                                                                 $nav[nav]
  79.                                                         <!--{/if}-->
  80.                                                         <!--{if !empty($plugins['links'])}-->
  81.                                                                 <!--{loop $plugins['links'] $module}-->
  82.                                                                         <!--{if !$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)}--><li>$module[url]</li><!--{/if}-->
  83.                                                                 <!--{/loop}-->
  84.                                                         <!--{/if}-->
  85.                                                 <!--{else}-->
  86.                                                         <!--{if !$nav['level'] || ($nav['level'] == 1 && $discuz_uid) || ($nav['level'] == 2 && $adminid > 0) || ($nav['level'] == 3 && $adminid == 1)}-->$nav[nav]<!--{/if}-->
  87.                                                 <!--{/if}-->
  88.                                         <!--{/loop}-->
  89.                                         <!--{if in_array($BASEFILENAME, $navmns)}-->
  90.                                                 {eval $mnid = $BASEFILENAME;}
  91.                                         <!--{elseif $navmngs[$BASEFILENAME]}-->
  92.                                                 <!--{loop $navmngs[$BASEFILENAME] $navmng}-->
  93.                                                         <!--{if $navmng[0] == array_intersect_assoc($navmng[0], $_GET)}-->{eval $mnid = $navmng[1];}<!--{/if}-->
  94.                                                 <!--{/loop}-->
  95.                                         <!--{/if}-->
  96.                                 </ul>
  97.                                 <script type="text/javascript">
  98.                                         var currentMenu = $('mn_$mnid') ? $('mn_$mnid') : $('mn_$navmns[0]');
  99.                                         currentMenu.parentNode.className = 'current';
  100.                                 </script>
  101.                         </div>
  102.                         <!--{if !empty($stylejumpstatus)}-->
  103.                                 <script type="text/javascript">
  104.                                         function setstyle(styleid) {
  105.                                                 str = unescape('{echo str_replace("'", "\\'", urlencode($_SERVER[QUERY_STRING]))}');
  106.                                                 str = str.replace(/(^|&)styleid=\d+/ig, '');
  107.                                                 str = (str != '' ? str + '&' : '') + 'styleid=' + styleid;
  108.                                                 location.href = '$BASESCRIPT?' + str;
  109.                                         }
  110.                                 </script>
  111.                                 <ul id="style_switch">
  112.                                 <!--{loop $styles $id $stylename}-->
  113.                                         <li{if $id == STYLEID} class="current"{/if}><a href="###" onclick="setstyle($id)" title="$stylename" style="background: $styleicons[$id];">$stylename</a></li>
  114.                                 <!--{/loop}-->
  115.                                 </ul>
  116.                         <!--{/if}-->
  117.                 </div>
  118.                 <div id="myprompt_menu" style="display:none" class="promptmenu">
  119.                         <div class="promptcontent">
  120.                                 <ul class="s_clear">
  121.                                 <!--{loop $prompts $promptkey $promptdata}-->
  122.                                         <!--{if $promptkey}--><li{if !$promptdata[new]} style="display:none"{/if}><a id="prompt_$promptkey" href="{if $promptdata[script]}$promptdata[script]{else}notice.php?filter=$promptkey{/if}" target="_blank">$promptdata[name] ($promptdata[new])</a></li><!--{/if}-->
  123.                                 <!--{/loop}-->
  124.                                 </ul>
  125.                         </div>
  126.                 </div>
  127.         </div>
  128.         $pluginhooks[global_header]
複製代碼

TOP

6
返回列表
 

 

B Color Image Link Quote Code Smilies
高级模式 | 發新話題

 
你需要登入後才可以回帖 登入|立即註冊