<?php echo '恩斯道商业模板保护！请到官网上购买正版模板  www.eisdl.com';exit;?>
<!--{subtemplate common/header_common}-->
<!--{eval define('STYLEIMGDIR', $_G[style][styleimgdir]);}-->
	<meta name="application-name" content="$_G['setting']['bbname']" />
	<meta name="msapplication-tooltip" content="$_G['setting']['bbname']" />
	<!--{if $_G['setting']['portalstatus']}--><meta name="msapplication-task" content="name=$_G['setting']['navs'][1]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['portal']) ? 'http://'.$_G['setting']['domain']['app']['portal'] : $_G[siteurl].'portal.php'};icon-uri={$_G[siteurl]}{IMGDIR}/portal.ico" /><!--{/if}-->
	<meta name="msapplication-task" content="name=$_G['setting']['navs'][2]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['forum']) ? 'http://'.$_G['setting']['domain']['app']['forum'] : $_G[siteurl].'forum.php'};icon-uri={$_G[siteurl]}{IMGDIR}/bbs.ico" />
	<!--{if $_G['setting']['groupstatus']}--><meta name="msapplication-task" content="name=$_G['setting']['navs'][3]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['group']) ? 'http://'.$_G['setting']['domain']['app']['group'] : $_G[siteurl].'group.php'};icon-uri={$_G[siteurl]}{IMGDIR}/group.ico" /><!--{/if}-->
	<!--{if helper_access::check_module('feed')}--><meta name="msapplication-task" content="name=$_G['setting']['navs'][4]['navname'];action-uri={echo !empty($_G['setting']['domain']['app']['home']) ? 'http://'.$_G['setting']['domain']['app']['home'] : $_G[siteurl].'home.php'};icon-uri={$_G[siteurl]}{IMGDIR}/home.ico" /><!--{/if}-->
	<!--{if $_G['basescript'] == 'forum' && $_G['setting']['archiver']}-->
		<link rel="archives" title="$_G['setting']['bbname']" href="{$_G[siteurl]}archiver/" />
	<!--{/if}-->
	<!--{if !empty($rsshead)}-->$rsshead<!--{/if}-->
	<!--{if $_G['basescript'] == 'forum' || $_G['basescript'] == 'group'}-->
		<script type="text/javascript" src="{$_G[setting][jspath]}forum.js?{VERHASH}"></script>
	<!--{elseif $_G['basescript'] == 'home' || $_G['basescript'] == 'userapp'}-->
		<script type="text/javascript" src="{$_G[setting][jspath]}home.js?{VERHASH}"></script>
	<!--{elseif $_G['basescript'] == 'portal'}-->
		<script type="text/javascript" src="{$_G[setting][jspath]}portal.js?{VERHASH}"></script>
	<!--{/if}-->
	<!--{if $_G['basescript'] != 'portal' && $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
		<script type="text/javascript" src="{$_G[setting][jspath]}portal.js?{VERHASH}"></script>
	<!--{/if}-->
	<!--{if $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
	<link rel="stylesheet" type="text/css" id="diy_common" href="data/cache/style_{STYLEID}_css_diy.css?{VERHASH}" />
	<!--{/if}-->
	<!--[if IE 6]>
  <script type="text/javascript" src="{STYLEIMGDIR}/js/png.js"></script>
  <script type="text/javascript">
  DD_belatedPNG.fix('.png');
  </script>
  <![endif]-->
  <!--{if $_G['cache']['plugin']['eis_skin']}-->
  <!--{eval require './source/plugin/eis_skin/core_inc.php';}-->
  <!--{/if}-->
  <!--{if $_EIS['var']['toptb']==1}-->
  <style type="text/css">
	#eis_toptb{ position: fixed; z-index:300;}
  .ie6 #eis_toptb{ z-index:-1;}
  #hd .eis_wp988 { padding-top:40px;}
	.ie6 #hd .eis_wp988{ padding-top:0px;}
  </style>
  <!--{/if}-->
</head>

<body id="nv_{$_G[basescript]}" class="pg_{CURMODULE}{if $_G['basescript'] === 'portal' && CURMODULE === 'list' && !empty($cat)} {$cat['bodycss']}{/if}" onkeydown="if(event.keyCode==27) return false;">
	<div id="append_parent"></div><div id="ajaxwaitid"></div>
	<!--{if $_GET['diy'] == 'yes' && check_diy_perm($topic)}-->
		<!--{template common/header_diy}-->
	<!--{/if}-->
	<!--{if check_diy_perm($topic)}-->
		<!--{block diynav}-->
			<span class="pipe">|</span><a href="javascript:saveUserdata('diy_advance_mode', '');openDiy();">DIY</a>
		<!--{/block}-->
	<!--{/if}-->
	<!--{if CURMODULE == 'topic' && $topic && empty($topic['useheader']) && check_diy_perm($topic)}-->
		$diynav
	<!--{/if}-->
	<!--{if empty($topic) || $topic['useheader']}-->
  <div class="eis_body1"><div class="eis_body2"><div class="eis_body3">
		<!--{if $_G['setting']['mobile']['allowmobile'] && (!$_G['setting']['cacheindexlife'] && !$_G['setting']['cachethreadon'] || $_G['uid']) && ($_GET['diy'] != 'yes' || !$_GET['inajax']) && ($_G['mobile'] != '' && $_G['cookie']['mobile'] == '' && $_GET['mobile'] != 'no')}-->
			<div class="xi1 bm bm_c">
			    {lang your_mobile_browser}<a href="{$_G['siteurl']}forum.php?mobile=yes">{lang go_to_mobile}</a> <span class="xg1">|</span> <a href="$_G['setting']['mobile']['nomobileurl']">{lang to_be_continue}</a>
			</div>
		<!--{/if}-->
    <!--{subtemplate common/toptb}-->
		<div id="hd">
			<div class="eis_wp988">
				<div class="eis_hdc cl">
					<!--{eval $mnid = getcurrentnav();}-->
          <!--{if !isset($_G['setting']['navlogos'][$mnid])}-->
          <h3 class="png"><a href="./" title="$_G['setting']['bbname']"><img src="{STYLEIMGDIR}/b.gif"></a></h3>
          <!--{else}-->
          <h2>$_G['setting']['navlogos'][$mnid]</h2>
          <!--{/if}-->
          <div class="eis_user">
            <div class="eis_user_l">
              <div class="eis_user_t">
              <!--{if $_G['uid']}-->
              <a href="home.php?mod=space&uid=$_G[uid]" target="_blank" title="{lang visit_my_space}">{$_G[member][username]}</a><span>|</span>
              <!--{if $_G['group']['allowinvisible']}-->
              <span id="loginstatus">
                <a id="loginstatusid" href="member.php?mod=switchstatus" title="{lang login_switch_invisible_mode}" onClick="ajaxget(this.href, 'loginstatus');return false;"></a>
              </span>
              <!--{/if}-->
              <span>|</span><a href="home.php?mod=spacecp">{lang setup}</a>
              <span>|</span><a href="home.php?mod=space&do=pm" id="pm_ntc"{if $_G[member][newpm]} class="new"{/if}>{lang pm_center}</a>
							<span>|</span><a href="home.php?mod=space&do=notice" id="myprompt"{if $_G[member][newprompt]} class="new"{/if}>{lang remind}<!--{if $_G[member][newprompt]}-->($_G[member][newprompt])<!--{/if}--></a><span id="myprompt_check"></span>
              <!--{if $_G['setting']['taskon'] && !empty($_G['cookie']['taskdoing_'.$_G['uid']])}--><span>|</span><a href="home.php?mod=task&item=doing" id="task_ntc" class="new">{lang task_doing}</a><!--{/if}-->
							<span>|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
              <!--{elseif !empty($_G['cookie']['loginuser'])}-->
              <a id="loginuser" class="noborder"><!--{echo dhtmlspecialchars($_G['cookie']['loginuser'])}--></a>
              <span>|</span><a href="member.php?mod=logging&action=login" onClick="showWindow('login', this.href)">{lang activation}</a>
              <span>|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
              
              <!--{elseif !$_G[connectguest]}-->
              <a href="member.php?mod=logging&action=login&referer={echo rawurlencode($dreferer)}" onClick="showWindow('login', this.href);return false;" title="{lang login}">{lang login}</a>
              <span>|</span><a href="member.php?mod={$_G[setting][regname]}" title="$_G['setting']['reglinkname']">$_G['setting']['reglinkname']</a>
              <span>|</span><a href="javascript:;" onClick="showWindow('login', 'member.php?mod=logging&action=login&viewlostpw=1')" title="{lang forgotpw}">{lang forgotpw}</a>
              <!--{if in_array(1,$_EIS[login])}-->
              <span class="pipe">|</span><a href="$_G[connect][login_url]&statfrom=login_simple" class="eis_uimg"><img src="{STYLEIMGDIR}/header/qq_login.png" alt="用QQ账号登陆" /></a>
              <!--{/if}-->         
              <!--{if in_array(2,$_EIS[login])}-->
              <span class="pipe">|</span><a href="$_EIS[var][sina]" class="eis_uimg"><img src="{STYLEIMGDIR}/header/sina_login.png" alt="用新浪微博账号登陆" /></a>
              <!--{/if}--> 
              
              <!--{else}-->
              <span>{$_G[member][username]}</span>
              <span>|</span><span>{lang usergroup}: $_G[group][grouptitle]</span>
              <span>|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
              <!--{/if}-->
              <a href="home.php?mod=space&uid=$_G[uid]" class="eis_uav"><!--{avatar($_G[uid],small)}--></a>
              </div>
            </div>
          </div>
				</div>
        <div class="topbgarea"><div class="topbg"></div></div>
        <div id="eis_nv">
          <ul class="cl">
          <!--{eval $n=1}-->
          <!--{loop $_G['setting']['navs'] $nav}-->
            <!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->
            <li {if $mnid == $nav[navid] && $n == 1}class="first_a a" {elseif $n == 1}class="first" {elseif $mnid == $nav[navid]}class="a" {/if}$nav[nav]></li>
            <!--{/if}-->
          <!--{eval $n++;}-->
          <!--{/loop}-->
          </ul>
          <!--{hook/global_nav_extra}-->
        </div>
        
				<!--{if !empty($_G['setting']['plugins']['jsmenu'])}-->
					<ul class="p_pop h_pop" id="plugin_menu" style="display: none">
					<!--{loop $_G['setting']['plugins']['jsmenu'] $module}-->
						 <!--{if !$module['adminid'] || ($module['adminid'] && $_G['adminid'] > 0 && $module['adminid'] >= $_G['adminid'])}-->
						 <li>$module[url]</li>
						 <!--{/if}-->
					<!--{/loop}-->
					</ul>
				<!--{/if}-->
				$_G[setting][menunavs]        
        <div class="eis_subnav cl">
          <div class="eis_subnav_area">
            <div id="mu" class="cl">
            <!--{if $_G['setting']['subnavs']}-->
              <!--{loop $_G[setting][subnavs] $navid $subnav}-->
                <!--{if $_G['setting']['navsubhover'] || $mnid == $navid}-->
                <ul class="cl {if $mnid == $navid}current{/if}" id="snav_$navid" style="display:{if $mnid != $navid}none{/if}">
                $subnav
                </ul>
                <!--{/if}-->
              <!--{/loop}-->
            <!--{/if}-->
            </div>
            <div class="eis_subitems {if !$_G['setting']['subnavs'][$mnid]}mtn{/if} cl">
            $_EIS[mu]
            </div>
          </div>
        </div>
        <!--{subtemplate common/pubsearchform}-->
        <!--{ad/headerbanner/eis_muad}-->
        <!--{ad/subnavbanner/eis_muad}-->
			</div>
      
		</div>
		<!--{hook/global_header}-->
    
	<!--{/if}-->
  <!--{eval $wp=($_G[basescript]=='portal' && in_array(CURMODULE,array('index','list','view'))) || ($_G[basescript]=='forum' && in_array(CURMODULE,array(index,forumdisplay,viewthread))) || ($_G[basescript]=='group' &&  CURMODULE=='viewthread') ? 1 : 0}-->
  <!--{if $wp!=1}-->
  <div class="eis_wp eis_wp988">
  <div class="eis_wp_t">
  <div class="eis_wp_b cl">
  <!--{/if}-->
	<div id="wp" class="{if $wp!=1}eis_wp960{else}eis_wp988{/if}">