Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已答复] QQ互联无法显示原因找到,但是这两个header.htm文件代码怎么替换?

[复制链接]
呐殇_╲冭羙o 发表于 2011-12-22 14:35:37 | 显示全部楼层 |阅读模式
问题描述
适用版本: Discuz! X2
浏览器: 360 
使用模板: 其他模板(请在回帖中说明模板的名称或者是模板的下载地址)
BUG地址: http://www.503c.cn
本帖最后由 呐殇_╲冭羙o 于 2011-12-22 14:40 编辑

用 template/default/common/header.htm中的原文件首页可以显示QQ互联登陆按钮,,,但是效果是这样的

使用原文件Discuz   common里的header.htm代码出现的顶部不正常效果


Discuz common里的header.htm代码,不知道Discuz里的header.htm中那段是QQ互联代码???

<!--{subtemplate common/header_common}-->
<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}">
<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="javascriptpenDiy();" title="{lang open_diy}" class="y"><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="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}-->
  <div id="toptb" class="cl">
   <div class="wp">
    <div class="z">
     <!--{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}-->
    </div>
    <div class="y">
     <!--{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:;"><!--{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:;">{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="javascriptpenDiy();" title="{lang open_diy}" class="xi1 xw1">DIY</a>
     <!--{/if}-->
    </div>
   </div>
  </div>
  <!--{if !IS_ROBOT}-->
   <!--{if $_G['uid'] && !empty($_G['style']['extstyle'])}-->
    <div id="sslct_menu" class="cl p_pop" style="display: none;">
     <!--{if !$_G[style][defaultextstyle]}--><span class="sslct_btn" title="{lang default}"><i></i></span><!--{/if}-->
     <!--{loop $_G['style']['extstyle'] $extstyle}-->
      <span class="sslct_btn" title="$extstyle[1]"><i style='backgroundextstyle[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="ptm pbw hm">
       {lang my_nav_login}
      </div>
     <!--{/if}-->
    </div>
  <!--{/if}-->
  <!--{ad/headerbanner/wp a_h}-->
  <div id="hd">
   <div class="wp">
    <div class="hdc cl">
     <!--{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="avt y"><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}" class="xi2"></a>
       </span>
       <!--{/if}-->
       <!--{hook/global_usernav_extra1}-->
       <span class="pipe">|</span><a href="home.php?mod=spacecp">{lang setup}</a>
       <span class="pipe">|</span><a href="home.php?mod=space&do=pm" id="pm_ntc"{if $_G[member][newpm]} class="new"{/if}>{lang pm_center}</a>
       <span class="pipe">|</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 class="pipe">|</span><a href="home.php?mod=task&item=doing" id="task_ntc" class="new">{lang task_doing}</a><!--{/if}-->
       <!--{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))}-->
        <span class="pipe">|</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="pipe">|</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="pipe">|</span><a href="admin.php" target="_blank">{lang admincp}</a>
       <!--{/if}-->
       <!--{hook/global_usernav_extra2}-->
       <span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
      </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]} class="showmenu"{/if}>{lang credits}: $_G[member][credits]</a>
       <span class="pipe">|</span>{lang usergroup}: <a href="home.php?mod=spacecp&ac=usergroup"{if $upgradecredit !== 'false'} id="g_upmine" class="xi2"{/if}>$_G[group][grouptitle]</a>
      </p>
     </div>
     <!--{elseif !empty($_G['cookie']['loginuser'])}-->
     <p>
      <strong><a id="loginuser" class="noborder"><!--{echo htmlspecialchars($_G['cookie']['loginuser'])}--></a></strong>
      <span class="pipe">|</span><a href="member.php?mod=logging&action=login">{lang activation}</a>
      <span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
     </p>
     <!--{else}-->
      <!--{template member/login_simple}-->
     <!--{/if}-->
    </div>
    <div id="nv">
     <a href="javascript:;" id="qmenu">{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="a" {/if}$nav[nav]></li><!--{/if}-->
      <!--{/loop}-->
     </ul>
    </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 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>
    <!--{ad/subnavbanner/a_mu}-->
    <!--{subtemplate common/pubsearchform}-->
   </div>
  </div>
  <!--{hook/global_header}-->
<!--{/if}-->
<div id="wp" class="wp">
________________________________________________________________________________________


我的模板效果:


下面代码是我现在的header.htm 代码
<!--{subtemplate common/header_common}-->
<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}">
  <div id="eis_body">
  <div id="eis_footer">
<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="javascriptpenDiy();" title="{lang open_diy}" class="y"><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="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}-->
    <div id="eis_toptb">
      <div class="wp1000 cl">
        <div class="z">
     <!--{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]<span class="pipe">|</span><!--{/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]<span class="pipe">|</span><!--{/if}-->
     <!--{/loop}-->
     <!--{if $_G['basescript'] == 'forum' && empty($_G['disabledwidthauto']) && $_G['setting']['switchwidthauto']}-->
     <a href="javascript:;"><!--{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:;">{lang changestyle}</a>
          <!--{/if}-->
        </div>
        <div class="y">
          <div class="eis_um">
          <!--{if $_G['uid']}-->
          <strong class="{if $_G['setting']['connect']['allow'] && $_G[member][conisbind]} qq{/if}"><a href="home.php?mod=space&uid=$_G[uid]" target="_blank">{$_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}" class="xi2"></a>
          </span>
          <!--{/if}-->
          <!--{hook/global_usernav_extra1}-->
          <span class="pipe">|</span><a href="home.php?mod=spacecp">{lang setup}</a>
          <span class="pipe">|</span><a href="home.php?mod=space&do=pm" id="pm_ntc"{if $_G[member][newpm]} class="new"{/if}>{lang pm_center}</a>
          <span class="pipe">|</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 class="pipe">|</span><a href="home.php?mod=task&item=doing" id="task_ntc" class="new">{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="pipe">|</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="pipe">|</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="pipe">|</span><a href="admin.php" target="_blank">{lang admincp}</a>
          <!--{/if}-->
          <!--{if !empty($_G['style']['extstyle'])}-->
          <span class="pipe">|</span><a id="sslct" href="javascript:;">{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'])}-->
          <span class="pipe">|</span><a href="javascript:openDiy();" title="{lang open_diy}">DIY</a>
          <!--{/if}-->
          <!--{hook/global_usernav_extra2}-->
          <span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
          <!--{elseif !empty($_G['cookie']['loginuser'])}-->
          <strong><a id="loginuser" class="noborder"><!--{echo htmlspecialchars($_G['cookie']['loginuser'])}--></a></strong>
          <span class="pipe">|</span><a href="member.php?mod=logging&action=login">{lang activation}</a>
          <span class="pipe">|</span><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{lang logout}</a>
          <!--{else}-->
          <a href="member.php?mod=logging&action=login">{lang login}</a>
          <span class="pipe">/</span><a href="member.php?mod={$_G[setting][regname]}">$_G['setting']['reglinkname']</a>
          <span class="pipe">/</span><a href="javascript:;">{lang forgotpw}</a>
          <!--{/if}-->
          </div>
        </div>
      </div>
    </div>
  
  <!--{if !IS_ROBOT}-->
   <!--{if $_G['uid'] && !empty($_G['style']['extstyle'])}-->
    <div id="sslct_menu" class="cl p_pop" style="display: none;">
     <!--{if !$_G[style][defaultextstyle]}--><span class="sslct_btn" title="{lang default}"><i></i></span><!--{/if}-->
     <!--{loop $_G['style']['extstyle'] $extstyle}-->
      <span class="sslct_btn" title="$extstyle[1]"><i style='backgroundextstyle[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="ptm pbw hm">
       {lang my_nav_login}
      </div>
     <!--{/if}-->
    </div>
  <!--{/if}-->
  
  <div id="hd">
   <div class="wp1000">
        <div class="hdc">
     <!--{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>
          <!--{ad/headerbanner/eis_topad}-->
        </div>
        <div id="eis_nv">
          <div id="nv">
            <a href="javascript:;" id="qmenu">{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="a" {/if}$nav[nav]></li><!--{/if}-->
              <!--{/loop}-->
            </ul>
          </div>        
        </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>
  </div>
  <!--{hook/global_header}-->
<!--{/if}-->
  <div id="eis_1" class="wp980">
    <div class="eis_2">
      <div class="eis_3">
        <!--{subtemplate common/pubsearchform}-->
        <div class="eis_n">
       <div id="wp" class="wp">
        

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
 楼主| 呐殇_╲冭羙o 发表于 2011-12-22 14:43:03 | 显示全部楼层
有没有人帮我解决一下{:soso__433253175740619224_2:}
回复

使用道具 举报

zzhijcy 发表于 2011-12-22 20:47:03 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

cr180 发表于 2011-12-23 12:45:40 | 显示全部楼层
QQ登录是插件输出到模板中的,楼主只要在需要的地方加上:
  1. <!--{hook/global_login_extra}-->
复制代码
如果不好控制的话,就加:
  1. <a href="connect.php?mod=login&op=init"><img src="static/image/common/qq_login.gif" /></a>
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-11-28 18:52 , Processed in 0.027214 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表