本帖最后由 蓝色的风 于 2010-2-24 00:51 编辑
header.htm文件里,看看你要去掉那些就删掉那些代码
<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" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{lang login_invisible_mode}</a><!--{else}--><a href="member.php?action=switchstatus" title="{lang login_switch_invisible_mode}" onclick="ajaxget(this.href, 'loginstatus');doane(event);">{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" onmouseover="showMenu({'ctrlid':this.id})"<!--{/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" onclick="showWindow('login', this.href);return false;">{lang activation}</a>
<a href="logging.php?action=logout&formhash={FORMHASH}">{lang logout}</a>
<!--{else}-->
<a href="$regname" onclick="showWindow('register', this.href);return false;" class="noborder">$reglinkname</a>
<a href="logging.php?action=login" onclick="showWindow('login', this.href);return false;">{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[url]</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("'", "\\'", 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="###" onclick="setstyle($id)" 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>
注意:<div>与</div>
修改完后台更新缓存 |