DiscuzÄ£°å¿ª·¢ÊÖ²á
ÖÆ×÷Ä£°åÇ°±ØÐëÁ˽âµÄ½çÃæ½á¹¹£¨Ò³Í·Ò³Î²Ä£°åÎļþ£©
È«¾Öҳͷ
ҳͷÎļþ·¾¶£ºtemplate/default/common/header.htm

header.htmÎļþ¶þ´Î¼ÓÔصÄÎļþÓУº

template/default/common/header_common.htm È«¾Ö¹«¹²Îļþ
     |--¸ÃÎļþÖаüº¬ÁËÒ³ÃæTITLE£¬¶Ôä¯ÀÀÆ÷µÄÉêÃ÷£¬ÒÔ¼°È«¾Ö±ØÐë´æÔڵĻù±¾´úÂ룬ËùÒÔ²»½¨ÒéÐÂÊÖÐ޸ĴËÎļþ

template/default/common/header_diy.htm DIYģʽʱ¼ÓÔصÄDIY¸¡²ã²Ëµ¥
template/default/common/member/login_simple.htm ÓÒÉϽÇÃÔÄãµÇ½¿ò£¨Î´µÇ¼ʱµ÷ÓøÃÎļþ£©

</head>ÒÔÉϵĴúÂë±ØÐë±£Áô£¬´Ë¶Î´úÂëΪËùÓÐÒ³Ãæ±ØÐëʹÓõĽű¾¡¢ÑùʽÔØÈ룬ȥµôºóÒ³Ã潫»á´íÎóÏÔʾ£¡£¡

³ýÁ˱£Áô</head>ÒÔÉϵĴúÂ룬ÒÔÏ´úÂëÒ²ÊDZØÐë´æÔÚµÄ

Ò³ÃæÖеÄajax½»»¥¹¦ÄܱØÐëÒÀÀµµÄ´úÂ룺

  1. <div id="append_parent"></div><div id="ajaxwaitid"></div>
¸´ÖÆ´úÂë

DIY¹¦ÄܱØÐëµÄ´úÂ룺

  1. <!--{if $_GET['diy'] == 'yes' && (CURMODULE == 'topic' || $_G['group']['allowdiy']) && !empty($_G['style']['tplfile'])}-->
  2.         <!--{template common/header_diy}-->
  3.     <!--{/if}-->
  4.     <!--{if CURMODULE == 'topic' && $topic && empty($topic['useheader']) && !empty($_G['style']['tplfile']) && ($_G['group']['allowdiy'] || $_G['group']['allowaddtopic'] && $topic['uid'] == $_G['uid'] || $_G['group']['allowmanagetopic'])}-->
  5.         <a id="diy-tg" href="javascript:openDiy();" title="{lang open_diy}" class="y"><img src="{STATICURL}image/diy/panel-toggle.png" alt="DIY" /></a>
  6.     <!--{/if}-->
¸´ÖÆ´úÂë

ҳͷ¹ã¸æµ÷ÓôúÂ룺·ÅÖÃÓÚ<div id="hd">ÉÏÃæ

  1. <!--{ad/headerbanner/wp a_h}-->
¸´ÖÆ´úÂë

µ¼º½Ìõµ±Ç°Î»ÖûñÈ¡´úÂ룬±ØÐë·ÅÖÃÓÚlogo´úÂëÇ°Ãæ

  1. <!--{eval $mnid = getcurrentnav();}-->
¸´ÖÆ´úÂë

¶þ¼¶µ¼º½µ÷ÓôúÂ룺·ÅÖÃÓÚ¶þ¼¶µ¼º½´úÂëºóÃæ

  1. <!--{ad/subnavbanner/a_mu}-->
¸´ÖÆ´úÂë

ҳͷËÑË÷Ìõ´úÂ룬¸ù¾Ý×Ô¼ºÄ£°åµÄ½á¹¹Éè¼Æ·Åµ½ÐèÒªµÄλÖü´¿É

  1. <!--{subtemplate common/pubsearchform}-->
¸´ÖÆ´úÂë

È«¾Ö¿ò¼Ü´úÂ룬¸Ã´úÂëµÄ±ÕºÏÔÚfooter.htmÎļþµÚÒ»ÐÐ</div>ÖÐ

  1. <div id="wp" class="wp">
¸´ÖÆ´úÂë

´ËÍâҳͷÎļþ°üº¬¼¸¸ö²å¼þǶÈëµã´úÂ룬×÷Ϊһ¸öÍêÕûµÄÄ£°å£¬²å¼þ¹³×ÓÊDZØÐë´æÔڵģº

¶¥²¿µ¼º½×óǶÈëµã£º

  1. <!--{hook/global_cpnav_extra1}-->
¸´ÖÆ´úÂë

¶¥²¿µ¼º½ÓÒǶÈëµã£º

  1. <!--{hook/global_cpnav_extra2}-->
¸´ÖÆ´úÂë

ÓÒÉϽǵǼ״̬ǶÈëµã£¨¸öÈËÉèÖÃÇ°Ã棩£º

  1. <!--{hook/global_usernav_extra1}-->
¸´ÖÆ´úÂë

ÓÒÉϽǵǼ״̬ǶÈëµã£¨Í˳ö°´Å¥Ç°Ã棩£º

  1. <!--{hook/global_usernav_extra2}-->
¸´ÖÆ´úÂë

ÓÒÉϽǵǼ״̬ǶÈëµã£¨µÚ¶þÐеÚһ룩£º

  1. <!--{hook/global_usernav_extra3}-->
¸´ÖÆ´úÂë



È«¾Öҳβ
ҳβÎļþ·¾¶£ºtemplate/default/common/footer.htm

ҳβÎļþµ£¸ºÕû¸öÄ£°åµÄÖØÒªµÄÊÕβ¹¤×÷£¬Èç¹ûȱÉÙ±ØÐëµÄ´úÂ룬ͬÑùÒ²»áµ¼ÖÂÕû¸ö³ÌÐò¸÷¸ö¹¦Äܲ»ÄÜÕý³£Ê¹Óã¡


ҳβÎļþµÚÒ»¾ä£¨±ØÐë´æÔÚ£©£º

  1. </div>
  2. PS£ºÕâ¸ö±ÕºÏµÄ±êÇ©ÊÇҳͷÎļþµÄ<div id="wp" class="wp">
¸´ÖÆ´úÂë

Õ¾³¤ÍƼö¹¦Äܵ÷ÓôúÂ룺

  1. <!--{eval $focusid = getfocus_rand($_G[basescript]);}-->
  2.     <!--{if $focusid !== null}-->
  3.         <!--{eval $focus = $_G['cache']['focus']['data'][$focusid];}-->
  4.         <div class="focus" id="sitefocus">
  5.             <div class="bm">
  6.                 <div class="bm_h cl">
  7.                     <a href="javascript:;" onclick="setcookie('nofocus_$focusid', 1, $_G['cache']['focus']['cookie']*3600);$('sitefocus').style.display='none'" class="y" title="{lang close}">{lang close}</a>
  8.                     <h2><!--{if $_G['cache']['focus']['title']}-->{$_G['cache']['focus']['title']}<!--{else}-->{lang focus_hottopics}<!--{/if}--></h2>
  9.                 </div>
  10.                 <div class="bm_c">
  11.                     <dl class="xld cl bbda">
  12.                         <dt><a href="{$focus['url']}" class="xi2" target="_blank">$focus['subject']</a></dt>
  13.                         <!--{if $focus[image]}-->
  14.                         <dd class="m"><a href="{$focus['url']}" target="_blank"><img src="{$focus['image']}" alt="$focus['subject']" /></a></dd>
  15.                         <!--{/if}-->
  16.                         <dd>$focus['summary']</dd>
  17.                     </dl>
  18.                     <p class="ptn hm"><a href="{$focus['url']}" class="xi2" target="_blank">{lang focus_show} &raquo;</a></p>
  19.                 </div>
  20.             </div>
  21.         </div>
  22.     <!--{/if}-->
¸´ÖÆ´úÂë

È«¾Öҳβ¹ã¸æ´úÂëµ÷Ó㨱ØÐë´æÔÚ£©£º

  1. <!--{ad/footerbanner/wp a_f/1}--><!--{ad/footerbanner/wp a_f/2}--><!--{ad/footerbanner/wp a_f/3}-->
  2.     <!--{ad/float/a_fl/1}--><!--{ad/float/a_fr/2}-->
  3.     <!--{ad/couplebanner/a_fl a_cb/1}--><!--{ad/couplebanner/a_fr a_cb/2}-->
  4.     <!--{ad/cornerbanner/a_cn}-->
¸´ÖÆ´úÂë

ҳβ²å¼þǶÈëµã£º£¨±ØÐë´æÔÚ£¡£©

  1. <!--{hook/global_footer}-->
¸´ÖÆ´úÂë

ҳβ×ó¿ò¼Ü°æȨÐÅÏ¢£¨±ØÐë´æÔÚ£©

  1. <div id="frt">
  2.             <p>Powered by <strong><a href="http://www.discuz.net" target="_blank">Discuz!</a></strong> <em>$_G['setting']['version']</em><!--{if !empty($_G['setting']['boardlicensed'])}--> <a href="http://license.comsenz.com/?pid=1&host=$_SERVER[HTTP_HOST]" target="_blank">Licensed</a><!--{/if}--></p>
  3.             <p class="xs0">&copy; 2001-2011 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p>
  4.         </div>
¸´ÖÆ´úÂë

ҳβÓпò¼Ü²Ëµ¥¡¢±¸°¸¡¢Ö´ÐÐʱ¼ä¡¢Í³¼Æ´úÂë

  1. <div id="flk" class="y">
  2.             <p>
  3.                 <!--{loop $_G['setting']['footernavs'] $nav}--><!--{if $nav['available'] && ($nav['type'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1)) ||
  4.                         !$nav['type'] && ($nav['id'] == 'stat' && $_G['group']['allowstatdata'] || $nav['id'] == 'report' && $_G['uid'] || $nav['id'] == 'archiver' || $nav['id'] == 'mobile'))}--><!--{if $nav['id'] == 'mobile' && $_G['setting']['mobile']['allowmobile'] != 1}--><!--{eval continue;}--><!--{/if}-->$nav[code]<span class="pipe">|</span><!--{/if}--><!--{/loop}-->
  5.                         <strong><a href="$_G['setting']['siteurl']" target="_blank">$_G['setting']['sitename']</a></strong>
  6.                 <!--{if $_G['setting']['icp']}-->( <a href="http://www.miitbeian.gov.cn/" target="_blank">$_G['setting']['icp']</a> )<!--{/if}-->
  7.                 <!--{hook/global_footerlink}-->
  8.                 <!--{if $_G['setting']['statcode']}-->$_G['setting']['statcode']<!--{/if}-->
  9.             </p>
  10.             <p class="xs0">
  11.                 {lang time_now}
  12.                 <span id="debuginfo">
  13.                 <!--{if debuginfo()}-->, Processed in $_G[debuginfo][time] second(s), $_G[debuginfo][queries] queries
  14.                     <!--{if $_G['gzipcompress']}-->, Gzip On<!--{/if}--><!--{if $_G['memory']}-->, <!--{echo ucwords($_G['memory'])}--> On<!--{/if}-->.
  15.                 <!--{/if}-->
  16.                 </span>

  17.             </p>
  18.         </div>
¸´ÖÆ´úÂë

Óû§»î¶¯ÐÅÏ¢¼Ç¼´úÂ루±ØÐë´æÔÚ£©£º

  1. <!--{eval updatesession();}-->
  2. PS£ºÈ±ÉٸôúÂëÖ±½Óµ¼ÖÂÓû§ÔÚÏßʱ¼äµÈÐÅÏ¢ÎÞ·¨¼Ç¼
¸´ÖÆ´úÂë

Óû§Éý¼¶ÐÅÏ¢µ¯³ö²ã£º£¨Ò³Í·ÓÒÉϽÇÓû§×éÁ¬½Óµ¯³ö£©

  1. <!--{if $upgradecredit !== false}-->
  2.         <div id="g_upmine_menu" class="tip tip_3" style="display:none;">
  3.             <div class="tip_c">
  4.                 {lang credits} $_G[member][credits], {lang thread_groupupgrade} $upgradecredit {lang credits}
  5.             </div>
  6.             <div class="tip_horn"></div>
  7.         </div>
  8.     <!--{/if}-->
¸´ÖÆ´úÂë

Óû§¶ÌÏûÏ¢¡¢Õ¾µãÓʼþ·¢ËÍ´¥·¢´úÂ루±ØÐë´æÔÚ£©

  1. <!--{if !$_G['setting']['bbclosed']}-->
  2.     <!--{if $_G[uid] && !isset($_G['cookie']['checkpm'])}-->
  3.     <script type="text/javascript" src="home.php?mod=spacecp&ac=pm&op=checknewpm&rand=$_G[timestamp]"></script>
  4.     <!--{/if}-->

  5.     <!--{if !isset($_G['cookie']['sendmail'])}-->
  6.     <script type="text/javascript" src="home.php?mod=misc&ac=sendmail&rand=$_G[timestamp]"></script>
  7.     <!--{/if}-->
  8. <!--{/if}-->
¸´ÖÆ´úÂë

ʹÓÃDIY¹¦ÄÜʱ±ØÐëµÄ½Å±¾£¨±ØÐë´æÔÚ£©£º

  1. <!--{if $_GET['diy'] == 'yes'}-->
  2.     <!--{if (CURMODULE == 'topic' || $_G['group']['allowdiy']) && (empty($do) || $do != 'index') && !empty($_G['style']['tplfile'])}-->
  3.         <script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
  4.         <script type="text/javascript" src="{$_G[setting][jspath]}portal_diy.js?{VERHASH}"></script>
  5.     <!--{/if}-->
  6.     <!--{if $space['self'] && CURMODULE == 'space' && $do == 'index'}-->
  7.         <script type="text/javascript" src="{$_G[setting][jspath]}common_diy.js?{VERHASH}"></script>
  8.         <script type="text/javascript" src="{$_G[setting][jspath]}space_diy.js?{VERHASH}"></script>
  9.     <!--{/if}-->
  10. <!--{/if}-->
¸´ÖÆ´úÂë

Óû§ÌáÐѹ¦ÄÜ״̬±ä¸ü£¨±ØÐë´æÔÚ£©£º

  1. <!--{if $_G['member']['newprompt'] && (empty($_G['cookie']['promptstate_'.$_G[uid]]) || $_G['cookie']['promptstate_'.$_G[uid]] != $_G['member']['newprompt']) && $_G['gp_do'] != 'notice'}-->
  2.     <script type="text/javascript">noticeTitle();</script>
  3. <!--{/if}-->
¸´ÖÆ´úÂë

ÂþÓÎ֪ͨ´¥·¢´úÂ룺£¨¹ÜÀíԱϵ¯³öÂþÓÎ֪ͨ£©

  1. <!--{eval userappprompt();}-->
¸´ÖÆ´úÂë

·µ»Ø¶¥²¿¸¡¶¯²Ëµ¥

  1. <!--{if $_G['basescript'] != 'userapp'}-->
  2. <span id="scrolltop" onclick="window.scrollTo('0','0')">{lang scrolltop}</span>
  3. <script type="text/javascript">_attachEvent(window, 'scroll', function(){showTopLink();});</script>
  4. <!--{/if}-->
¸´ÖÆ´úÂë

³ÌÐò¹¦ÄÜ×îºó´¦Àí´úÂ루±ØÐë´æÔÚ£©

  1. <!--{eval output();}-->
  2. PS£ºÎ±¾²Ì¬¡¢Ä£¿é¸üС¢GzipµÈµÈ
¸´ÖÆ´úÂë