记得备份原来的,用下面这个替换一下,我只是把退出换到第二行了,其它什么都没有改过- <!--{subtemplate common/header_common}-->
- <!--{eval require_once("./yezicheng_config.php");$yezicheng_ajax="0";}-->
- <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 $_G['setting']['homestatus']}--><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 defined('CURMODULE') && ($_G['basescript'] == 'forum' || $_G['basescript'] == 'group') && (CURMODULE == 'index' || CURMODULE == 'forumdisplay' || CURMODULE == 'group')}-->$rsshead<!--{/if}-->
- <!--{if $_G['basescript'] == 'forum' || $_G['basescript'] == 'group'}-->
- <!--{if $_G['basescript'] == 'forum' && empty($_G['disabledwidthauto']) && $_G['forum_widthauto']}-->
- <link rel="stylesheet" id="css_widthauto" type="text/css" href="data/cache/style_{STYLEID}_widthauto.css?{VERHASH}" />
- <script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
- <!--{/if}-->
- <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' && (CURMODULE == 'topic' || $_G['group']['allowdiy']) && !empty($_G['style']['tplfile'])}-->
- <script type="text/javascript" src="{$_G[setting][jspath]}portal.js?{VERHASH}"></script>
- <!--{/if}-->
- <!--{if $_GET['diy'] == 'yes' && (CURMODULE == 'topic' || $_G['group']['allowdiy']) && !empty($_G['style']['tplfile'])}-->
- <link rel="stylesheet" type="text/css" id="diy_common" href="data/cache/style_{STYLEID}_css_diy.css?{VERHASH}" />
- <!--{/if}-->
- </head>
- <body id="nv_{$_G[basescript]}" class="pg_{CURMODULE} sorp" onkeydown="if(event.keyCode==27) return false;">
- <div id="append_parent"></div><div id="ajaxwaitid"></div>
- <!--{if $_GET['diy'] == 'yes' && (CURMODULE == 'topic' || $_G['group']['allowdiy']) && !empty($_G['style']['tplfile'])}-->
- <!--{template common/header_diy}-->
- <!--{/if}-->
- <!--{if CURMODULE == 'topic' && $topic && empty($topic['useheader']) && !empty($_G['style']['tplfile']) && ($_G['group']['allowdiy'] || $_G['group']['allowaddtopic'] && $topic['uid'] == $_G['uid'] || $_G['group']['allowmanagetopic'])}-->
- <a id="diy-tg" href="javascript:openDiy();" title="{lang open_diy}" class="yzc5329"><img src="{STATICURL}image/diy/panel-toggle.png" alt="DIY" /></a>
- <!--{/if}-->
- <!--{if empty($topic) || $topic['useheader']}-->
- <!--{if $_G['setting']['mobile']['allowmobile'] && (!$_G['setting']['cachethreadon'] || $_G['uid']) && ($_GET['diy'] != 'yes' || !$_GET['inajax']) && ($_G['mobile'] != '' && $_G['cookie']['mobile'] == '' && $_GET['mobile'] != 'no')}-->
- <div class="yzc6216">
- {lang your_mobile_browser}<a href="{$_G['siteurl']}forum.php?mobile=yes">{lang go_to_mobile}</a> <span class="yzc9599">|</span> <a href="$_G['setting']['mobile']['nomobileurl']">{lang to_be_continue}</a>
- </div>
- <!--{/if}-->
-
-
- <!--{if (($yezicheng_header_portal==1 && $_G['basescript'] == 'portal') || ($yezicheng_header_forum==1 && $_G['basescript'] == 'forum' && CURMODULE == 'index') || ($yezicheng_header_list==1 && $_G['basescript'] == 'forum' && CURMODULE == 'forumdisplay') || ($yezicheng_header_view==1 && $_G['basescript'] == 'forum' && CURMODULE == 'viewthread')) || ($yezicheng_header_all==1 && $_G['basescript'] != 'portal' && ($_G['basescript'] != 'forum' && CURMODULE != 'index') && ($_G['basescript'] != 'forum' && CURMODULE != 'forumdisplay') && ($_G['basescript'] != 'forum' && CURMODULE != 'viewthread'))}-->
- <!--{eval $yezicheng_openheader=1;}-->
- <!--{/if}-->
- <!--{if $yezicheng_openheader}-->
- <style>body{background:none;}</style>
- <div class="yzc1850">
- <!--{if CURMODULE != 'topic' && $_G['group']['allowdiy'] && !empty($_G['style']['tplfile']) || CURMODULE == 'topic' && !empty($_G['style']['tplfile']) && ($_G['group']['allowaddtopic'] && $topic['uid'] == $_G['uid'] || $_G['group']['allowmanagetopic'])}-->
- <div class="yzc4585"><a href="javascript:openDiy();" title="{lang open_diy}" id="diy-tg"><img src="{$_G['style']['styleimgdir']}/19diy.png"></a></div>
- <!--{/if}-->
- <div class="yzc3728" id="twt">
- <div class="yzc9009">
- <h2><a href="./" title="$_G['setting']['bbname']">{$_G['setting']['bbname']}</a></h2>
- </div>
- <div class="yzc4849">
- <ul class="yzc7179">
- <li class="yzc4159"><span class="yzc2541" onMouseOver="showMenu({'ctrlid':'twt','ctrlclass':'kmhover','duration':'2'});">论坛导航</span></li>
- <!--{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 class="yzc3086"$nav[nav]></li><!--{/if}-->
- <!--{/loop}-->
- </ul>
- </div>
- <!--{if $_G['uid']}-->
- <DIV class="yzc4192">
- <DL class="yzc8364">
- <DT>
- <strong class="vwmy{if $_G['setting']['connect']['allow'] && $_G[member][conisbind]} qq{/if}"><a href="home.php?mod=space&uid=$_G[uid]" target="_blank" title="{lang visit_my_space}">{$_G[member][username]}</a></strong> <A href="member.php?mod=logging&action=logout&formhash={FORMHASH}" style="padding-right:3px;">[退出]</A>
- </DT>
- <DD class="yzc3131"><A
- href="home.php?mod=spacecp" target="_blank">{lang setup}</A>|<A
- href="home.php?mod=space&do=friend" target="_blank">好友</A>|<a
- href="home.php?mod=space&do=pm" id="pm_ntc"{if $_G[member][newpm]} style="color:red"{/if}>{lang pm_center}</a>|<A
- href="home.php?mod=space&do=notice"{if $_G[member][newprompt]} style="color:red"{/if}>提醒($_G[member][newprompt])</A><!--{if $_G['uid'] && getstatus($_G['member']['allowadmincp'], 1)}-->|<a
- href="admin.php" target="_blank">后台</a><!--{/if}--><A class="yzc5557"
- href="home.php" target="_blank" style="padding:0px;"><!--{avatar($_G[uid],small)}--></A>
- </DD>
- </DL>
- </DIV>
- <!--{else}-->
- <div class="yzc2580"><strong>欢迎光临本社区!</strong><a href="member.php?mod=logging&action=login" onClick="showWindow('login', this.href);hideWindow('register');"><b>[登录]</b></a> <a href="member.php?mod=register" onClick="showWindow('register', this.href);hideWindow('login');" ><b>[注册]</b></a> <a href="misc.php?mod=faq" target=_blank>[帮助]</a></div>
- <!--{/if}-->
- <div class="yzc7475">
- <form id="scform" method="post" autocomplete="off" onSubmit="searchFocus($('srchtxt'))" action="$_G[siteurl]search.php?searchsubmit=yes" target="_blank">
- <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="mod" value="forum">
- <input type="text" class="yzc7526" name="srchtxt" id="srchtxt" onblur="if (value ==''){value='搜索其实很简单 ^_^'}" onFocus="if (value =='搜索其实很简单 ^_^'){value =''}" value="搜索其实很简单 ^_^"><input type="submit" name="searchsubmit" class="yzc0232" value=" ">
- </form>
- </div>
- </div>
- </div>
- <!-- 头部静态广告开始 -->
- <div class="yzc5398" style='text-align:center;margin-top:5px;'>
- <a href="#" target=_blank><img src="yezicheng_ad/ad01.jpg"></a>
- </div>
- <!-- 头部静态广告结束 -->
- <!--{/if}-->
-
- <!--{if !$yezicheng_openheader}-->
- <div id="toptb" class="yzc4202">
- <div class="yzc2372">
- <div class="yzc2010">
- 欢迎光临{$_G['setting']['bbname']} - 真实、丰富、温暖的网上城市! <!--{if $_G['basescript'] != 'portal'}--><script type="text/javascript">var d = new Date();document.write(d.getFullYear()+'年'+(d.getMonth()+1)+'月'+d.getDate()+'日'+' 星期'+'日一二三四五六'.charAt(new Date().getDay()));</script><!--{/if}-->
- </div>
- <div class="yzc8457">
- <!--{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))}-->$nav[code]<!--{/if}-->
- <!--{/loop}-->
- <!--{hook/global_cpnav_extra1}-->
- <!--{hook/global_cpnav_extra2}-->
- <!--{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))}-->$nav[code]<!--{/if}-->
- <!--{/loop}-->
- <!--{if $_G['basescript'] == 'forum' && empty($_G['disabledwidthauto']) && $_G['setting']['switchwidthauto']}-->
- <a href="javascript:;" onClick="widthauto(this)"><!--{if !$_G['forum_widthauto']}-->{lang switch_wide}<!--{else}-->{lang switch_narrow}<!--{/if}--></a>
- <!--{/if}-->
- <!--{if $_G['uid'] && !empty($_G['style']['extstyle'])}--><a id="sslct" href="javascript:;" onMouseOver="delayShow(this, function() {showMenu({'ctrlid':'sslct','pos':'34!'})});">{lang changestyle}</a><!--{/if}-->
- <!--{if CURMODULE != 'topic' && $_G['group']['allowdiy'] && !empty($_G['style']['tplfile']) || CURMODULE == 'topic' && !empty($_G['style']['tplfile']) && ($_G['group']['allowaddtopic'] && $topic['uid'] == $_G['uid'] || $_G['group']['allowmanagetopic'])}-->
- <a id="diy-tg" href="javascript:openDiy();" title="{lang open_diy}" class="yzc2129">DIY</a>
- <!--{/if}-->
- </div>
- </div>
- </div>
- <!--{if !IS_ROBOT}-->
- <!--{if $_G['uid'] && !empty($_G['style']['extstyle'])}-->
- <div id="sslct_menu" class="yzc0749" style="display: none;">
- <!--{if !$_G[style][defaultextstyle]}--><span class="yzc6315" onClick="extstyle('')" title="{lang default}"><i></i></span><!--{/if}-->
- <!--{loop $_G['style']['extstyle'] $extstyle}-->
- <span class="yzc8367" onClick="extstyle('$extstyle[0]')" title="$extstyle[1]"><i style='background:$extstyle[2]'></i></span>
- <!--{/loop}-->
- </div>
- <!--{/if}-->
- <div id="qmenu_menu" class="p_pop {if !$_G['uid']}blk{/if}" style="display: none;">
- <!--{if $_G['uid']}-->
- <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))}-->
- <li>$nav[code]</li>
- <!--{/if}-->
- <!--{/loop}-->
- </ul>
- <!--{else}-->
- <div class="yzc2110">
- {lang my_nav_login}
- </div>
- <!--{/if}-->
- </div>
- <!--{/if}-->
- <!--{/if}-->
- <!--{ad/headerbanner/wp a_h}-->
- <!--{if !$yezicheng_openheader}-->
- <div id="hd">
- <div class="yzc6804">
- <div class="yzc8814">
- <!--{eval $mnid = getcurrentnav();}-->
- <h2><!--{if !isset($_G['setting']['navlogos'][$mnid])}--><a href="./" title="$_G['setting']['bbname']">{$_G['style']['boardlogo']}</a><!--{else}-->$_G['setting']['navlogos'][$mnid]<!--{/if}--></h2>
- <!--{if $_G['uid']}-->
- <div id="um">
- <div class="yzc8673"><a href="home.php?mod=space&uid=$_G[uid]"><!--{avatar($_G[uid],small)}--></a></div>
- <p>
- <strong class="vwmy{if $_G['setting']['connect']['allow'] && $_G[member][conisbind]} qq{/if}"><a href="home.php?mod=space&uid=$_G[uid]" target="_blank" title="{lang visit_my_space}">{$_G[member][username]}</a></strong>
- <!--{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;" class="yzc3364"></a>
- </span> <!--{/if}--><!--{hook/global_usernav_extra1}-->
- <span class="yzc0052">|</span><a href="home.php?mod=spacecp">{lang setup}</a>
- <span class="yzc4786">|</span><a href="home.php?mod=space&do=pm" id="pm_ntc"{if $_G[member][newpm]} class="yzc2127"{/if}>{lang pm_center}</a>
- <span class="yzc9934">|</span><a href="home.php?mod=space&do=notice" id="myprompt"{if $_G[member][newprompt]} class="yzc8857"{/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 class="yzc2484">|</span><a href="home.php?mod=task&item=doing" id="task_ntc" class="yzc4004">{lang task_doing}</a><!--{/if}-->
- <!--{if ($_G['group']['allowmanagearticle'] || $_G['group']['allowpostarticle'] || $_G['group']['allowdiy'] || getstatus($_G['member']['allowadmincp'], 4) || getstatus($_G['member']['allowadmincp'], 2) || getstatus($_G['member']['allowadmincp'], 3))}-->
- <span class="yzc8529">|</span><a href="portal.php?mod=portalcp"><!--{if $_G['setting']['portalstatus'] }-->{lang portal_manage}<!--{else}-->{lang portal_block_manage}<!--{/if}--></a>
- <!--{/if}-->
- <!--{if $_G['uid'] && $_G['group']['radminid'] > 1}-->
- <span class="yzc8149">|</span><a href="forum.php?mod=modcp&fid=$_G[fid]" target="_blank">{lang forum_manager}</a>
- <!--{/if}-->
- <!--{if $_G['uid'] && getstatus($_G['member']['allowadmincp'], 1)}-->
- <span class="yzc1876">|</span><a href="admin.php" target="_blank">{lang admincp}</a>
- <!--{/if}-->
- <!--{hook/global_usernav_extra2}-->
-
- </p>
- <p>
- <!--{hook/global_usernav_extra3}-->
- <!--{eval $upgradecredit = $_G['uid'] && $_G['group']['grouptype'] == 'member' && $_G['group']['groupcreditslower'] != 999999999 ? $_G['group']['groupcreditslower'] - $_G['member']['credits'] : false;}-->
- <a href="home.php?mod=spacecp&ac=credit&showcredit=1" id="extcreditmenu"{if !$_G[setting][bbclosed]} onMouseOver="delayShow(this, showCreditmenu);" class="yzc2068"{/if}>{lang credits}: $_G[member][credits]</a>
- <span class="yzc2889">|</span>{lang usergroup}: <a href="home.php?mod=spacecp&ac=usergroup"{if $upgradecredit !== 'false'} id="g_upmine" class="yzc1077" onMouseOver="delayShow(this, showUpgradeinfo)"{/if}>$_G[group][grouptitle]</a><span class="yzc7064">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
- </p>
- </div>
- <!--{elseif !empty($_G['cookie']['loginuser'])}-->
- <p>
- <strong><a id="loginuser" class="yzc3302"><!--{echo htmlspecialchars($_G['cookie']['loginuser'])}--></a></strong>
- <span class="yzc0068">|</span><a href="member.php?mod=logging&action=login" onClick="showWindow('login', this.href)">{lang activation}</a>
- <span class="yzc1183">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
- </p>
- <!--{else}-->
- <!--{template member/login_simple}-->
- <!--{/if}-->
- </div>
- <div style="clear:both"></div>
- <div id="nv" class="yzc4697">
- <a href="javascript:;" id="qmenu" onMouseOver="showMenu({'ctrlid':'qmenu','pos':'34!','ctrlclass':'a','duration':2});">{lang my_nav}</a>
- <ul>
- <!--{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]}class="yzc9537" {/if}$nav[nav]></li><!--{/if}-->
- <!--{/loop}-->
- </ul>
- </div>
- <!--{if !empty($_G['setting']['plugins']['jsmenu'])}-->
- <ul class="yzc5076" 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 id="mu" class="yzc8618">
- <!--{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>
- <!--{/if}-->
- <!--{if $yezicheng_nav==1 or $yezicheng_openheader==1}-->
- <div<!--{if $yezicheng_openheader==1}--> class="yzc4041" id="twt_menu" style="display:none;"<!--{/if}-->>
- </div>
- <!--{/if}-->
- <!--{if !$yezicheng_openheader}-->
- <!--{ad/subnavbanner/a_mu}-->
- <!--{subtemplate common/pubsearchform}-->
- </div>
- </div>
- <!--{/if}-->
- <!--{hook/global_header}-->
- <!--{/if}-->
- <div id="wp" class="yzc0565">
复制代码 |