<?php echo '恩斯道商业模板保护！请到官网上购买正版模板  www.eisdl.com';exit;?>
<div id="eis_toptb">
	<div class="wp cl">
		<div class="z">
			<!--{eval $tpz=1}-->
			<!--{loop $_G['setting']['topnavs'][0] $nav}-->
			<!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><!--{if $tpz!=1}--><span class="pipe">|</span><!--{/if}-->$nav[code]<!--{/if}-->
			<!--{eval $tpz++}-->
			<!--{/loop}-->
			<!--{hook/global_cpnav_extra1}-->

			<!--{loop $_G['setting']['topnavs'][1] $nav}-->
			<!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}--><span class="pipe">|</span>$nav[code]<!--{/if}-->
			<!--{/loop}-->
			<!--{hook/global_cpnav_extra2}-->
		</div>
		<div class="y">
			<!--{if $_G['uid']}-->
      <!--{hook/global_usernav_extra1}-->
      <!--{hook/global_usernav_extra2}-->
      <!--{hook/global_usernav_extra3}-->
      <!--{hook/global_usernav_extra4}-->
			<span class="eis_tpipe"></span>
			<a href="javascript:;" id="eqmenu" onMouseOver="showMenu({'ctrlid':'eqmenu','pos':'34!','ctrlclass':'a','duration':2});">快捷导航</a>
			<span class="eis_tpipe"></span>
			<a href="javascript:;" id="emod" onMouseOver="showMenu({'ctrlid':'emod','pos':'34!','ctrlclass':'a','duration':2});">管理</a>
			<span class="eis_tpipe"></span>
			<!--{elseif !empty($_G['cookie']['loginuser'])}-->
			<a id="loginuser"><!--{echo dhtmlspecialchars($_G['cookie']['loginuser'])}--></a>
			<a href="member.php?mod=logging&action=login" onClick="showWindow('login', this.href)">{lang activation}</a>
			<a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
			<span class="eis_tpipe"></span>
			<!--{elseif !$_G[connectguest]}-->
			<span class="eis_tpipe"></span>
			<a href="javascript:;" id="elogin" onMouseOver="showMenu({'ctrlid':'elogin','pos':'34!','ctrlclass':'a','duration':2});">用其他账号登陆</a>
			<span class="eis_tpipe"></span>
			<!--{else}-->
			<strong>{$_G[member][username]}</strong>
			<!--{hook/global_usernav_extra1}-->
			<a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
			<span class="eis_tpipe"></span>
			<!--{/if}-->
			<a href="search.php" id="esearch" onMouseOver="showMenu({'ctrlid':'esearch','pos':'34!','ctrlclass':'a','duration':2});">搜索</a>
			<span class="eis_tpipe"></span>
			<a id="eis" href="javascript:;" onMouseOver="showMenu({'ctrlid':'eis','pos':'34!','ctrlclass':'a','duration':2});" title="{lang changestyle}">{lang changestyle}</a>
			<span class="eis_tpipe"></span>
		</div>
	</div>
</div>
<!--{if !IS_ROBOT}-->
<!--{if $_G['uid']}-->
<ul id="eqmenu_menu" class="eis_pop" style="display: none;">
  <ul>
    <!--{loop $_G['setting']['mynavs'] $nav}-->
      <!--{if $nav['available'] && (!$nav['level'] || ($nav['level'] == 1 && $_G['uid']) || ($nav['level'] == 2 && $_G['adminid'] > 0) || ($nav['level'] == 3 && $_G['adminid'] == 1))}-->
        {eval $nav[code] = str_replace('static/image/feed/', 'template/eis_city_c_4/eis/qmenu/', $nav[code]);}
        <li>$nav[code]</li>
      <!--{/if}-->
    <!--{/loop}-->
  </ul>
</ul>
<!--消息-->
<ul id="emn_menu"class="eis_pop"  style="display: none;">
  <li><a href="home.php?mod=space&do=pm" id="pm_ntc" {if $_G[member][newpm]} class="new"{/if}>{if $_G[member][newpm]}有新消息{else}{lang pm_center}{/if}</a></li>
  <li><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></li>
  <!--{if $_G['setting']['taskon'] && !empty($_G['cookie']['taskdoing_'.$_G['uid']])}-->
  <li><a href="home.php?mod=task&item=doing" id="task_ntc" class="new">{lang task_doing}</a></li>
  <!--{/if}-->
</ul>
<!--用户中心管理-->
<ul id="emod_menu"class="eis_pop"  style="display: none;">
  <!--{if ($_G['group']['allowmanagearticle'] || $_G['group']['allowpostarticle'] || $_G['group']['allowdiy'] || getstatus($_G['member']['allowadmincp'], 4) || getstatus($_G['member']['allowadmincp'], 6) || getstatus($_G['member']['allowadmincp'], 2) || getstatus($_G['member']['allowadmincp'], 3))}-->
  <li><a href="portal.php?mod=portalcp" class="u32"><!--{if $_G['setting']['portalstatus'] }-->{lang portal_manage}<!--{else}-->{lang portal_block_manage}<!--{/if}--></a></li>
  <!--{/if}-->
  <!--{if $_G['uid'] && $_G['group']['radminid'] > 1}-->
  <li><a href="forum.php?mod=modcp&fid=$_G[fid]" target="_blank" class="u33">{lang forum_manager}</a></li>
  <!--{/if}-->
  <!--{if $_G['uid'] && $_G['adminid'] == 1 && $_G['setting']['cloud_status']}-->
  <li><a href="admin.php?frames=yes&action=cloud&operation=applist" target="_blank" class="u34">{lang cloudcp}</a></li>
  <!--{/if}-->
  <!--{if $_G['uid'] && getstatus($_G['member']['allowadmincp'], 1)}-->
  <li><a href="admin.php" target="_blank"  class="u35">{lang admincp}</a></li>
  <!--{/if}-->
  <!--{if check_diy_perm($topic)}-->
  <li><a href="javascript:openDiy();" title="{lang open_diy}" class="u36">DIY设置</a></li>
  <!--{/if}-->

</ul>
<!--{/if}-->
<!--搜索-->
<div id="esearch_menu" style="display: none;">
<form method="{if $_G[fid] && !empty($searchparams[url])}get{else}post{/if}" autocomplete="off"action="{if $_G[fid] && !empty($searchparams[url])}$searchparams[url]{else}search.php?searchsubmit=yes{/if}" target="_blank">
<input type="hidden" name="mod" id="scbar_mod" value="forum" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<input type="hidden" name="srchtype" value="title" />
<input type="hidden" name="srhfid" value="$_G[fid]" />
<input type="hidden" name="srhlocality" value="$_G['basescript']::{CURMODULE}" />
<input type="text" name="srchtxt" id="eskey" autocomplete="off" />
<button type="submit" name="searchsubmit" id="esbtn" sc="1" value="true"></button>
</form>
</div>
<!--切换风格-->
<div id="eis_menu" style="display: none;">
  <ul class="eis_type cl">
    <li {if $_EIS['default']!=2}class="on"{/if}><a href="plugin.php?id=eis_skin:change" onClick="showWindow('skin', this.href, 'get', 0)">传统模式</a></li>
    <li class="y {if $_EIS['default']==2}on{/if}"><a href="plugin.php?id=eis_skin:change" onClick="showWindow('skin', this.href, 'get', 0)">轻论坛</a></li>
  </ul>
  <ul class="eis_skin cl">
    <li onClick="extstyle('')" title="默认"><i></i></li>
    <!--{eval $i=2}-->
    <!--{loop $_G['style']['extstyle'] $extstyle}-->
    <li {if is_int($i/5)}class="end"{/if} onClick="extstyle('$extstyle[0]')" title="$extstyle[1]"><i style='background:$extstyle[2]'></i></li>
    <!--{eval $i++}-->
    <!--{/loop}-->          
  </ul>      
</div>
<!--{if !$_G['uid']}-->
<!--用其他账号登陆-->
<ul id="elogin_menu" class="eis_pop" style="display: none;">
  <!--{if in_array(2,$_EIS[login])}-->
  <li><a href="$_EIS[var][sina]" class="usina">用新浪微博登陆</a></li>
  <!--{/if}-->  
  <!--{if in_array(1,$_EIS[login])}-->
  <li><a href="$_G[connect][login_url]&statfrom=login_simple" class="uqq">用QQ号登录</a></li>
  <!--{/if}-->    
</ul>
<!--{/if}-->
<!--{/if}-->