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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

重金寻DZ能人,帮小弟修改点东西!

[复制链接]
MAN(华剑) 发表于 2011-9-14 23:56:58 | 显示全部楼层 |阅读模式
有帮助者,加我QQ:123774877  本人愿意出钱来办这事!另外,本人寻找可以把我论坛从7.2升级到X2的能人,也愿意出钱来办理此事!有兴趣的能力可以跟我联系!!!3QQ支付宝交易,或者充话费,都可以!!小弟不胜感谢!


header.htm的文件与原来空间的文件内容有点出入,上传QQ互联的后,发现首页打不开,头部调用出了问题 ,把QQ互联的header.htm下面的内容考到论坛原文件header.htm下方后,发现首页有二个头部文件,下方的头部文件有QQ互联,经测试可用!请高手帮我看看源文件,如何修改!!

QQ互联header.htm源代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$charset" />
<title>$navtitle $bbname $seotitle - Powered by Discuz!</title>
$seohead
<meta name="keywords" content="{$metakeywords}$seokeywords" />
<meta name="description" content="$metadescription $bbname $seodescription - Discuz! Board" />
<meta name="generator" content="Discuz! $version" />
<meta name="author" content="Discuz! Team and Comsenz UI Team" />
<meta name="copyright" content="2001-2009 Comsenz Inc." />
<meta name="MSSmartTagsPreventParsing" content="True" />
<meta http-equiv="MSThemeCompatible" content="Yes" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<link rel="archives" title="$bbname" href="{$boardurl}archiver/" />
$rsshead
$extrahead
{csstemplate}
<script type="text/javascript">var STYLEID = '{STYLEID}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '$charset', discuz_uid = $discuz_uid, cookiedomain = '$cookiedomain', cookiepath = '$cookiepath', attackevasive = '$attackevasive', disallowfloat = '$disallowfloat', creditnotice = '{if $creditnotice}$creditnames{/if}', {if in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))}gid = parseInt('$thisgid'){elseif CURSCRIPT == 'index'}gid = parseInt('$gid'){else}gid = 0{/if}, fid = parseInt('$fid'), tid = parseInt('$tid')</script>
<script type="text/javascript" src="{$jspath}common.js?{VERHASH}"></script>
</head>
<body id="{CURSCRIPT}">
<div id="append_parent"></div><div id="ajaxwaitid"></div>
<div id="header">
  <div class="wrap s_clear">
   <h2><a href="$indexname" title="$bbname">{BOARDLOGO}</a></h2>
   <div id="umenu">
   <!--{if $discuz_uid}-->
   <cite>
    <!--用户绑定QQ小图标判断开始-->
    <!--{if $connect['allow'] && $_DCOOKIE['connect_is_bind']}--><img src="{IMGDIR}/connect_qq.gif" align="absmiddle" /><!--{/if}-->
    <!--用户绑定QQ小图标判断结束-->
    <a href="space.php?uid=$discuz_uid" class="noborder">$discuz_userss</a>
    <!--登录用户引导绑定图标判断开始-->
    <!--{if $connect['allow'] && !$_DCOOKIE['connect_is_bind']}--><a href="{$GLOBALS['connect_setting']['login_url']}"><img src="{IMGDIR}/qq_bind.gif" align="absmiddle" /></a><!--{/if}-->
    <!--登录用户引导绑定图标判断结束-->
    <!--{if $allowinvisible}--><span id="loginstatus"><!--{if !empty($invisible)}--><a href="member.php?action=switchstatus">{lang login_invisible_mode}</a><!--{else}--><a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}">{lang login_normal_mode}</a><!--{/if}--></span><!--{/if}--></cite>
    <span class="pipe">|</span>
    <!--{if $ucappopen['UCHOME']}-->
     <a href="{$uchomeurl}/space.php?uid=$discuz_uid" target="_blank">{lang space_short}</a>
    <!--{elseif $ucappopen['XSPACE']}-->
     <a href="{$xspaceurl}/?uid-$discuz_uid" target="_blank">{lang space_short}</a>
    <!--{/if}-->
    <a id="myprompt" href="notice.php" <!--{if $prompt}-->class="new"<!--{/if}-->>{lang notice}</a>
    <span id="myprompt_check"></span>
    <a href="pm.php" id="pm_ntc" target="_blank">{lang pm_center}</a>
    <!--{if $taskon}-->
     <a id="task_ntc" {if $doingtask}href="task.php?item=doing" class="new" title="{lang task_unfinish}"{else}href="task.php"{/if} target="_blank">{lang task}</a>
    <!--{/if}-->
    <span class="pipe">|</span>
    <a href="memcp.php">{lang user_center}</a>
    <!--{if $discuz_uid && $adminid > 1}--><a href="modcp.php?fid=$fid" target="_blank">{lang modcp}</a><!--{/if}-->
    <!--{if $discuz_uid && $adminid == 1}--><a href="admincp.php" target="_blank">{lang admincp}</a><!--{/if}-->
    <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
   <!--{elseif !empty($_DCOOKIE['loginuser'])}-->
    <cite><a id="loginuser" class="noborder">$_DCOOKIE['loginuser']</a></cite>
    <a href="logging.php?action=login">{lang activation}</a>
    <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
   <!--{else}-->
   <!--qqconnect登录按钮图标开始-->
   <!--{if $connect['allow']}-->
   <a rel="nofollow" href="{$GLOBALS['connect_setting']['login_url']}"><img align="absmiddle" src="{IMGDIR}/qq_login.gif"></a>
   <!--{/if}-->
   <!--qqconnect登录按钮图标结束-->
    <a href="$regname" class="noborder">$reglinkname</a>
    <a href="logging.php?action=login">{lang login}</a>
   <!--{/if}-->
   </div>
   <div id="ad_headerbanner"><!--{if $admode && !empty($advlist['headerbanner'])}-->$advlist[headerbanner]<!--{/if}--></div>
   <div id="menu">
    <ul>
     <!--{if $_DCACHE['settings']['frameon'] > 0}-->
      <li>
      <span class="frameswitch">
      <script type="text/javascript">
       if(top == self) {
        {if ($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))}
        top.location = 'frame.php?frameon=yes&referer='+escape(self.location);
        {/if}
        document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">{lang frameon_column}<\/a>');
       } else {
        document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">{lang frameon_flat}<\/a>');
       }
      </script>
      </span>
      </li>
     <!--{/if}-->
     <!--{loop $navs $id $nav}-->
      <!--{if $id == 3}-->
       <!--{if !empty($plugins['jsmenu'])}-->
        $nav[nav]
       <!--{/if}-->
       <!--{if !empty($plugins['links'])}-->
        <!--{loop $plugins['links'] $module}-->
         <!--{if !$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)}--><li>$module</li><!--{/if}-->
        <!--{/loop}-->
       <!--{/if}-->
      <!--{else}-->
       <!--{if !$nav['level'] || ($nav['level'] == 1 && $discuz_uid) || ($nav['level'] == 2 && $adminid > 0) || ($nav['level'] == 3 && $adminid == 1)}-->$nav[nav]<!--{/if}-->
      <!--{/if}-->
     <!--{/loop}-->
     <!--{if in_array($BASEFILENAME, $navmns)}-->
      {eval $mnid = $BASEFILENAME;}
     <!--{elseif $navmngs[$BASEFILENAME]}-->
      <!--{loop $navmngs[$BASEFILENAME] $navmng}-->
       <!--{if $navmng[0] == array_intersect_assoc($navmng[0], $_GET)}-->{eval $mnid = $navmng[1];}<!--{/if}-->
      <!--{/loop}-->
     <!--{/if}-->
    </ul>
    <script type="text/javascript">
     var currentMenu = $('mn_$mnid') ? $('mn_$mnid') : $('mn_$navmns[0]');
     currentMenu.parentNode.className = 'current';
    </script>
   </div>
   <!--{if !empty($stylejumpstatus)}-->
    <script type="text/javascript">
     function setstyle(styleid) {
      str = unescape('{echo str_replace("'", "[url=file://\\]\\'
", urlencode($_SERVER[QUERY_STRING]))}');
      str = str.replace(/(^|&)styleid=\d+/ig, '');
      str = (str != '' ? str + '&' : '') + 'styleid=' + styleid;
      location.href = '$BASESCRIPT?' + str;
     }
    </script>
    <ul id="style_switch">
    <!--{loop $styles $id $stylename}-->
     <li{if $id == STYLEID} class="current"{/if}><a href="###" title="$stylename" style="background: $styleicons[$id];">$stylename</a></li>
    <!--{/loop}-->
    </ul>
   <!--{/if}-->
  </div>
  <div id="myprompt_menu" style="display:none" class="promptmenu">
   <div class="promptcontent">
    <ul class="s_clear">
    <!--{loop $prompts $promptkey $promptdata}-->
     <!--{if $promptkey}--><li{if !$promptdata[new]} style="display:none"{/if}><a id="prompt_$promptkey" href="{if $promptdata[script]}$promptdata[script]{else}notice.php?filter=$promptkey{/if}" target="_blank">$promptdata[name] ($promptdata[new])</a></li><!--{/if}-->
    <!--{/loop}-->
    </ul>
   </div>
  </div>
</div>
$pluginhooks[global_header]


论坛文件源代码如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=$charset" />
<title>$navtitle $bbname $seotitle - 竟速车友会</title>
$seohead
<meta name="keywords" content="{$metakeywords}$seokeywords" />
<meta name="description" content="$metadescription $bbname $seodescription - 上海竟速摩托车友会" />
<meta name="generator" content="Discuz! $version" />
<meta name="author" content="Discuz! Team and Comsenz UI Team" />
<meta name="copyright" content="2001-2009 Comsenz Inc." />
<meta name="MSSmartTagsPreventParsing" content="True" />
<meta http-equiv="MSThemeCompatible" content="Yes" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<link rel="archives" title="$bbname" href="{$boardurl}archiver/" />
$rsshead
$extrahead
{csstemplate}
<script type="text/javascript">var STYLEID = '{STYLEID}', IMGDIR = '{IMGDIR}', VERHASH = '{VERHASH}', charset = '$charset', discuz_uid = $discuz_uid, cookiedomain = '$cookiedomain', cookiepath = '$cookiepath', attackevasive = '$attackevasive', disallowfloat = '$disallowfloat', creditnotice = '{if $creditnotice}$creditnames{/if}', {if in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))}gid = parseInt('$thisgid'){elseif CURSCRIPT == 'index'}gid = parseInt('$gid'){else}gid = 0{/if}, fid = parseInt('$fid'), tid = parseInt('$tid')</script>
<script type="text/javascript" src="{$jspath}common.js?{VERHASH}"></script>
</head>
<body id="{CURSCRIPT}">
<div id="append_parent"></div><div id="ajaxwaitid"></div>
<div id="header">
  <div class="wrap s_clear">
   <h2><a href="$indexname" title="$bbname">{BOARDLOGO}</a></h2>
   <div id="umenu">
   <!--{if $discuz_uid}-->
    <cite><a href="space.php?uid=$discuz_uid" class="noborder">$discuz_userss</a><!--{if $allowinvisible}--><span id="loginstatus"><!--{if !empty($invisible)}--><a href="member.php?action=switchstatus">{lang login_invisible_mode}</a><!--{else}--><a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}">{lang login_normal_mode}</a><!--{/if}--></span><!--{/if}--></cite>
    <span class="pipe">|</span>
    <!--{if $ucappopen['UCHOME']}-->
     <a href="{$uchomeurl}/space.php?uid=$discuz_uid" target="_blank">{lang space_short}</a>
    <!--{elseif $ucappopen['XSPACE']}-->
     <a href="{$xspaceurl}/?uid-$discuz_uid" target="_blank">{lang space_short}</a>
    <!--{/if}-->
    <a id="myprompt" href="notice.php" <!--{if $prompt}-->class="new"<!--{/if}-->>{lang notice}</a>
    <span id="myprompt_check"></span>
    <a href="pm.php" id="pm_ntc" target="_blank">{lang pm_center}</a>
    <!--{if $taskon}-->
     <a id="task_ntc" {if $doingtask}href="task.php?item=doing" class="new" title="{lang task_unfinish}"{else}href="task.php"{/if} target="_blank">{lang task}</a>
    <!--{/if}-->
    <span class="pipe">|</span>
    <a href="memcp.php">{lang user_center}</a>
    <!--{if $discuz_uid && $adminid > 1}--><a href="modcp.php?fid=$fid" target="_blank">{lang modcp}</a><!--{/if}-->
    <!--{if $discuz_uid && $adminid == 1}--><a href="admincp.php" target="_blank">{lang admincp}</a><!--{/if}-->
    <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
   <!--{elseif !empty($_DCOOKIE['loginuser'])}-->
    <cite><a id="loginuser" class="noborder">$_DCOOKIE['loginuser']</a></cite>
    <a href="logging.php?action=login">{lang activation}</a>
    <a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
   <!--{else}-->
    <a href="$regname" class="noborder">$reglinkname</a>
    <a href="logging.php?action=login">{lang login}</a>
   <!--{/if}-->
   </div>
   <div id="ad_headerbanner"><!--{if $admode && !empty($advlist['headerbanner'])}-->$advlist[headerbanner]<!--{/if}--></div>
   <div id="menu">
    <ul>
     <!--{if $_DCACHE['settings']['frameon'] > 0}-->
      <li>
      <span class="frameswitch">
      <script type="text/javascript">
       if(top == self) {
        {if ($_DCACHE['settings']['frameon'] == 2 && !defined('CACHE_FILE') && in_array(CURSCRIPT, array('index', 'forumdisplay', 'viewthread')) && (($_DCOOKIE['frameon'] == 'yes' && $_GET['frameon'] != 'no') || (empty($_DCOOKIE['frameon']) && empty($_GET['frameon']))))}
        top.location = 'frame.php?frameon=yes&referer='+escape(self.location);
        {/if}
        document.write('<a href="frame.php?frameon=yes" target="_top" class="frameon">{lang frameon_column}<\/a>');
       } else {
        document.write('<a href="frame.php?frameon=no" target="_top" class="frameoff">{lang frameon_flat}<\/a>');
       }
      </script>
      </span>
      </li>
     <!--{/if}-->
     <!--{loop $navs $id $nav}-->
      <!--{if $id == 3}-->
       <!--{if !empty($plugins['jsmenu'])}-->
        $nav[nav]
       <!--{/if}-->
       <!--{if !empty($plugins['links'])}-->
        <!--{loop $plugins['links'] $module}-->
         <!--{if !$module['adminid'] || ($module['adminid'] && $adminid > 0 && $module['adminid'] >= $adminid)}--><li>$module</li><!--{/if}-->
        <!--{/loop}-->
       <!--{/if}-->
      <!--{else}-->
       <!--{if !$nav['level'] || ($nav['level'] == 1 && $discuz_uid) || ($nav['level'] == 2 && $adminid > 0) || ($nav['level'] == 3 && $adminid == 1)}-->$nav[nav]<!--{/if}-->
      <!--{/if}-->
     <!--{/loop}-->
     <!--{if in_array($BASEFILENAME, $navmns)}-->
      {eval $mnid = $BASEFILENAME;}
     <!--{elseif $navmngs[$BASEFILENAME]}-->
      <!--{loop $navmngs[$BASEFILENAME] $navmng}-->
       <!--{if $navmng[0] == array_intersect_assoc($navmng[0], $_GET)}-->{eval $mnid = $navmng[1];}<!--{/if}-->
      <!--{/loop}-->
     <!--{/if}-->
    </ul>
    <script type="text/javascript">
     var currentMenu = $('mn_$mnid') ? $('mn_$mnid') : $('mn_$navmns[0]');
     currentMenu.parentNode.className = 'current';
    </script>
   </div>
   <!--{if !empty($stylejumpstatus)}-->
    <script type="text/javascript">
     function setstyle(styleid) {
      str = unescape('{echo str_replace("'", "[url=file://\\]\\'
", urlencode($_SERVER[QUERY_STRING]))}');
      str = str.replace(/(^|&)styleid=\d+/ig, '');
      str = (str != '' ? str + '&' : '') + 'styleid=' + styleid;
      location.href = '$BASESCRIPT?' + str;
     }
    </script>
    <ul id="style_switch">
    <!--{loop $styles $id $stylename}-->
     <li{if $id == STYLEID} class="current"{/if}><a href="###" title="$stylename" style="background: $styleicons[$id];">$stylename</a></li>
    <!--{/loop}-->
    </ul>
   <!--{/if}-->
  </div>
  <div id="myprompt_menu" style="display:none" class="promptmenu">
   <div class="promptcontent">
    <ul class="s_clear">
    <!--{loop $prompts $promptkey $promptdata}-->
     <!--{if $promptkey}--><li{if !$promptdata[new]} style="display:none"{/if}><a id="prompt_$promptkey" href="{if $promptdata[script]}$promptdata[script]{else}notice.php?filter=$promptkey{/if}" target="_blank">$promptdata[name] ($promptdata[new])</a></li><!--{/if}-->
    <!--{/loop}-->
    </ul>
   </div>
  </div>
</div>
$pluginhooks[global_header]
ㄣ阿σゾ亮ズ 发表于 2011-9-15 00:19:31 | 显示全部楼层
看备份好,自己学一下会更好一点,看看教程吧.
回复

使用道具 举报

涼涼 发表于 2011-9-15 09:36:47 | 显示全部楼层
呵呵。加油呀。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 22:05 , Processed in 0.028693 second(s), 3 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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