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

 找回密码
 立即注册
搜索

[求助] 求助!7.2GBK的修改header.htm后,帖子列表和帖子内页中的主题管理都失效了!

[复制链接]
shiyao90 发表于 2010-10-29 03:38:47 | 显示全部楼层 |阅读模式
本帖最后由 shiyao90 于 2010-10-29 03:38 编辑

程序是DZ7.2GBK版的,用的是19楼玫瑰版的模板,模板没什么错误,但是后来我自己重新做了个页头,修改了header.htm,结果就导致了帖子列表和帖子内页里的主题管理功能失效,点管理中的操作链接都没反应.把header.htm替换成原来的就好了.来论坛想请各位高手大大帮忙修复下我现在的header.htm.愁死了.

论坛地址是http://bbs.mygsli.com/

header.rar (3.1 KB, 下载次数: 21)

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=$charset" />
  5. <title>
  6. <!--{if $in_rose=='1'}-->
  7. 图片库: $rose_subject -
  8. <!--{/if}-->
  9. <!--{if $in_rose=='2'}-->
  10. 城市日记 -
  11. <!--{/if}-->
  12. $navtitle $bbname $seotitle</title>
  13. $seohead
  14. <meta name="keywords" content="{$metakeywords}$seokeywords" />
  15. <meta name="description" content="$metadescription $bbname $seodescription - Discuz! Board" />
  16. <meta name="generator" content="Discuz! $version" />
  17. <meta name="author" content="Discuz! Team and Comsenz UI Team" />
  18. <meta name="copyright" content="2001-2009 Comsenz Inc." />
  19. <meta name="MSSmartTagsPreventParsing" content="True" />
  20. <meta http-equiv="MSThemeCompatible" content="Yes" />
  21. <meta http-equiv="x-ua-compatible" content="ie=7" />
  22. <link rel="archives" title="$bbname" href="{$boardurl}archiver/" />
  23. <script type=text/javascript src="{STYLEIMGDIR}/rose_01.js"></script>
  24. <script type=text/javascript src="{STYLEIMGDIR}/rose_02.js"></script>
  25. <script>var jQuerys = jQuery.noConflict();</script>
  26. $rsshead
  27. $extrahead
  28. {csstemplate}
  29. <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>
  30. <script type="text/javascript" src="{$jspath}common.js?{VERHASH}"></script>
  31. </head>
  32. <body id="{CURSCRIPT}">
  33. <div id="set" style="background:#FAFAFA; height:22px;border-bottom:1px solid #EFEFEF; padding-top:5px;"><div style="width:980px; margin:0 auto;"><a href="">设为首页</a> <a href="">收藏十三</a></div></div>
  34. <div id="header">
  35.   <!--{if $discuz_uid}-->
  36.   {eval require_once DISCUZ_ROOT.'./rose_zj.php';}
  37.   <div class="nav_uinfo" id="navuinfo">
  38.     <dl>
  39.       <dt><a href="space.php?uid=$discuz_uid" target="_blank" title="个人资料"><span></span><img src="{UC_API}/avatar.php?uid=$discuz_uid&size=middle" alt="个人资料" width="40" height="40"/></a></dt>
  40.       <dd>
  41.         <ul>
  42.           <li id="umenu"><strong>{$discuz_userss},
  43.             <script language="Javascript">
  44.   var text="";   day = new Date( );  time = day.getHours( );
  45.   if (( time>=0) && (time < 7 ))
  46.     text="夜猫子!"
  47.   if (( time >= 7 ) && (time < 12))
  48.     text="早上好!"
  49.   if (( time >= 12) && (time < 14))
  50.     text="午休啦!"
  51.   if (( time >=14) && (time < 18))
  52.     text="下午好!"
  53.   if ((time >= 18) && (time <= 22))
  54.     text="晚上好!"
  55.   if ((time >= 22) && (time < 24))
  56.     text="夜深了!"
  57.   document.write(text)
  58. </script>
  59.             </strong> <a id="myprompt" href="notice.php"
  60.             
  61.             
  62.             
  63.             
  64.             
  65.             <!--{if $prompt}-->
  66.             class="new"
  67.             <!--{/if}-->
  68.             >[提醒]</a> <a href="pm.php">[短信息]</a>
  69.             <!--{if $discuz_uid && $adminid > 1}-->
  70.             <a href="modcp.php?fid=$fid" target="_blank"><font color="#dd0000">[管理面板]</font></a>
  71.             <!--{/if}-->
  72.             <!--{if $discuz_uid && $adminid == 1}-->
  73.             <a href="admincp.php" target="_blank"><font color="#dd0000">[管理中心]</font></a>
  74.             <!--{/if}-->
  75.             <a href="logging.php?action=logout&formhash={FORMHASH}">[退出]</a> </li>
  76.           <li>贴子:<font color="red">{$rose_user_post}</font> 积分:<font color="green">{$rose_user_credits}</font> 衔位:{$grouptitle} <a href="/memcp.php"><font color="#0063a7">个人设定</font></a> <a href="search.php?srchfrom=143000&searchsubmit=yes" target="_blank"><font color="#0063a7">查看新帖</font></a> </li>
  77.         </ul>
  78.       </dd>
  79.     </dl>
  80.   </div>
  81.   <!--{else}-->
  82.   <div class="nav_uinfo" id="navuinfo">
  83.     <form method="post" action="logging.php?action=login&loginsubmit=true&userlogin=true">
  84.       <input name="formhash" value="{FORMHASH}" type="hidden">
  85.       <ul class="loginformkm">
  86.         <li>
  87.           <label class="iblock inp_text"><span class="iblock">用户名:</span>
  88.             <input type="text" tabindex="10" name="username" />
  89.           </label>
  90.            
  91.           <label class="iblock inp_checkbox"></label>
  92.           <a href="$regname" target="_blank">申请入住</a>
  93.            <a href="logging.php?action=login" target="_blank">找回密码</a></li>
  94.         <li>
  95.           <label class="iblock inp_text"><span class="iblock">密  码:</span>
  96.             <input type="password" tabindex="11" name="password"/>
  97.           </label>
  98.            
  99.           <label class="iblock inp_sm">
  100.             <input type="submit" value="立即登录" tabindex="12" name="loginsubmit"/>
  101.           </label>
  102.           </li>
  103.       </ul>
  104.     </form>
  105.   </div>
  106.   <!--{/if}-->
  107.   <a href="{$boardurl}" class="logo"></a>
  108.   <div class="search_box">
  109.     <script type=text/javascript>
  110. if(window.navigator.userAgent.indexOf("Firefox")>=1)
  111. {document.write('<style>.searchformkm .inp_radio input {position:absolute;left:0px;top:3px;}</style>');}
  112. </script>
  113.     <form method="post" action="search.php" target=_blank>
  114.       <input type="hidden" name="formhash" value="{FORMHASH}">
  115.            
  116.       <label class="inp_radio inp_radio_active" id="km_on">
  117.         <input type="radio" name="srchtype" value="title" checked="checked" />
  118.         标题</label>
  119.       <label class="inp_radio" id="km_ons">
  120.         <input type="radio" name="srchtype" value="fulltext" />
  121.         全文</label>
  122.       <label class="inp_radio"><a href="/search.php">高级搜索</a></label>
  123.       <div class="layout nav_search">
  124.         <div class="clearall nav_searchbox">
  125.           <div id="searchform" class="searchformkm">
  126.             <label class="inp_text">
  127.               <input name="srchtxt" id="keywords" value="输入关键字,搜你想要的..." />
  128.             </label>
  129.             <label class="inp_radio"></label>
  130.             <button name="searchsubmit" id="siteSearchButton" type="submit">搜 索</button>
  131.           </div>
  132.         </div>
  133.         <span class="c_bot"><span></span></span></div>
  134.     </form>
  135.   </div>
  136.   <div style="clear:both"></div>
  137.   <div id="navs" style="position:relative;">
  138.     <div class="nav1" style="width:980px;"><a href="index.php" title="十三论坛首页" class="index">首页</a> <a href="/forum-2-1.html" title="十三时讯版">时讯</a> <a href="/forum-3-1.html" title="十三娱乐版">娱乐</a> <a href="forum-4-1.html" title="十三车友版">车友</a> <a href="/forum-5-1.html" title="十三军事版">军事</a> <a href="forum-6-1.html" title="十三文学版">文学</a> <a href="forum-7-1.html" title="十三探索版">探索</a> <a href="forum-8-1.html" title="十三女人版">女人</a> <a href="forum-9-1.html" title="十三体育版">体育</a> <a href="forum-10-1.html" title="十三驴行版">驴行</a> <a href="forum-11-1.html" title="十三科技版">科技</a> <a href="forum-12-1.html" title="十三休闲版">休闲</a> <a href="forum-13-1.html" title="十三生活版">生活</a> <a href="forum-14-1.html" title="十三杂谈版">杂谈</a>
  139.       </div>
  140.     <div class="nav2" style="position:absolute;top:40px;left:10px;"><a href="index.php" class="first"><b>版面直达:</b></a> <a href="$indexname">论坛入口</a> <a href="rose_citydiary.php">城市日记</a> <a href="rose_photo.php">社区图库</a>
  141.       <!--{if $ucappopen['UCHOME']}-->
  142.       <a href="{$uchomeurl}/space.php?uid=$discuz_uid" title="个人空间" target="_blank">个人空间</a>
  143.       <!--{/if}-->
  144.       <a href="search.php">社区搜索</a> <a href="bbs.php">论坛模式</a> <a href="wap/index.php">掌上社区</a></div>
  145.   </div>
  146. </div>
  147. <style>
  148. *html #header{
  149.         margin-bottom:-20px;}
  150. *+html #header{
  151.         margin-bottom:-20px;}
  152. </style>
复制代码






回复

使用道具 举报

hfzbyint 发表于 2010-10-29 12:33:45 | 显示全部楼层
那就还用原来的吧
回复

使用道具 举报

 楼主| shiyao90 发表于 2010-10-29 13:17:23 | 显示全部楼层
hfzbyint 发表于 2010-10-29 12:33
那就还用原来的吧

晕,那我模板不是白做了么.  现在要解决的就是让现在的header.htm兼容主题管理功能,我看不出来是哪些代码导致了主题管理失效,所以请高手们帮忙看一下
回复

使用道具 举报

la367 发表于 2010-10-29 16:44:28 | 显示全部楼层
居然有这样的事情,
回复

使用道具 举报

毛小病 发表于 2010-10-29 18:45:18 | 显示全部楼层
回复

使用道具 举报

hellokai 发表于 2010-10-30 11:51:18 | 显示全部楼层
好长喔。。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-9-6 06:05 , Processed in 0.129080 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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