我修改了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-2008 Comsenz Inc." />
<meta name="MSSmartTagsPreventParsing" content="True" />
<meta http-equiv="MSThemeCompatible" content="Yes" />
<link rel="archives" title="$bbname" href="{$boardurl}archiver/" />
$rsshead
$extrahead
<!--{if CURSCRIPT == 'viewthread'}-->
<link rel="stylesheet" type="text/css" href="forumdata/cache/style_{STYLEID}_viewthread.css" />
<!--{if $thread['special']}-->
<link rel="stylesheet" type="text/css" href="forumdata/cache/style_{STYLEID}_special.css" />
<!--{/if}-->
<!--{elseif CURSCRIPT == 'post'}-->
<link rel="stylesheet" type="text/css" href="forumdata/cache/style_{STYLEID}_editor.css" />
<!--{/if}-->
<link rel="stylesheet" type="text/css" href="forumdata/cache/style_{STYLEID}_common.css" />
<script type="text/javascript">
var discuz_uid = $discuz_uid;var IMGDIR = '{IMGDIR}';var attackevasive = '$attackevasive';var gid = 0;var STYLEID = '{STYLEID}';
<!--{if in_array(CURSCRIPT, array('viewthread', 'forumdisplay'))}-->gid = parseInt('$thisgid');<!--{elseif CURSCRIPT == 'index'}-->gid = parseInt('$gid');<!--{/if}-->var fid = parseInt('$fid');var tid = parseInt('$tid');
</script>
<script type="text/javascript" src="include/javascript/common.js"></script>
</head>
<body onkeydown="if(event.keyCode==27) return false;">
<table width="800" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="800" height="23" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="600" height="23"> </td>
<td width="200" align="right" valign="middle"><img src="/bbs/images/default/small_icon/home.gif" width="20" height="19" />設為首頁 <img src="/bbs/images/default/small_icon/fav.gif" width="17" height="20" />加入最愛</td>
</tr>
</table></td>
</tr>
<tr>
<td height="100" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td height="100" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="320" height="100" align="right" valign="top"><img src="/bbs/images/default/logo.jpg" width="318" height="100" /></td>
<td width="480" align="right" valign="top"><img src="/bbs/images/default/ad1.jpg" width="450" height="90" /></td>
</tr>
</table></td>
</tr>
</table> </td>
</tr>
<tr>
<td height="15" valign="top">
<body onkeydown="if(event.keyCode==27) return false;">
<div id="append_parent"></div><div id="ajaxwaitid"></div>
<div class="wrap">
<div id="menu">
<span class="avataonline">
<!--{if $discuz_uid}-->
<cite><a class="dropmenu" id="viewpro" onmouseover="showMenu(this.id)">$discuz_userss</a></cite>
<a href="$link_logout">{lang logout}</a>
<!--{elseif !empty($_DCOOKIE['loginuser'])}-->
<cite><a id="loginuser" class="dropmenu">$_DCOOKIE['loginuser']</a></cite>
<a href="$link_login">{lang activation}</a>
<a href="$link_logout">{lang logout}</a>
<!--{else}-->
<a href="$link_register">$reglinkname</a>
<a href="$link_login">{lang login}</a>
<!--{/if}-->
</span>
<!--{if $_DCACHE['settings']['frameon'] > 0}-->
<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>
<!--{/if}-->
<ul>
<!--{if $discuz_uid}--><li><a href="###" class="notabs" id="pmnotice" onclick="pmwin('open')"><!--{if !$newpm}-->{lang pm}<!--{else}-->{lang pm_new}<!--{if $pmsound}--><bgsound src="images/sound/pm_$pmsound.wav" /><!--{/if}--><!--{/if}--></a></li><!--{/if}-->
<!--{if $memliststatus}--><li<!--{if $BASESCRIPT == 'member.php'}--> class="current"<!--{/if}-->><a href="member.php?action=list">{lang memberlist}</a></li><!--{/if}-->
<!--{if $allowsearch || $qihoo['status']}--><li<!--{if $BASESCRIPT == 'search.php'}--> class="current"<!--{/if}-->><a href="search.php{if !empty($fid)}?srchfid=$fid{/if}">{lang search}</a></li><!--{/if}-->
<!--{if $tagstatus}--><li<!--{if $BASESCRIPT == 'tag.php'}--> class="current"<!--{/if}-->><a href="tag.php">{lang tag}</a></li><!--{/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}-->
<!--{if $discuz_uid}-->
<!--{if $jsmenu[4]}--><li id="my" class="dropmenu<!--{if $BASESCRIPT == 'my.php'}--> current<!--{/if}-->" onmouseover="showMenu(this.id)"><a href="my.php">{lang my}</a></li><!--{else}--><li<!--{if $BASESCRIPT == 'my.php' && $item == 'threads'}--> class="current"<!--{/if}-->><a href="my.php?item=threads">{lang show_mytopics}</a></li><li<!--{if $BASESCRIPT == 'my.php' && $item == 'grouppermission'}--> class="current"<!--{/if}-->><a href="my.php?item=grouppermission">{lang my_permissions}</a></li><!--{/if}-->
<!--{if $jsmenu[2]}--><li id="memcp" class="dropmenu<!--{if $BASESCRIPT == 'memcp.php'}--> current<!--{/if}-->" onmouseover="showMenu(this.id)"><a href="memcp.php">{lang memcp}</a></li><!--{else}--><li<!--{if $BASESCRIPT == 'memcp.php'}--> class="current"<!--{/if}-->><a href="memcp.php">{lang memcp}</a></li><!--{/if}-->
<!--{if $regstatus > 1 && $allowinvite}--><li<!--{if $BASESCRIPT == 'invite.php'}--> class="current"<!--{/if}-->><a href="invite.php">{lang invite}</a></li><!--{/if}-->
<!--{if $magicstatus}--><li<!--{if $BASESCRIPT == 'magic.php'}--> class="current"<!--{/if}-->><a href="magic.php">{lang magics_title}</a></li><!--{/if}-->
<!--{/if}-->
<!--{if !empty($plugins['jsmenu'])}--><li id="plugin" class="dropmenu" onmouseover="showMenu(this.id)"><a href="#">$pluginjsmenu</a></li><!--{/if}-->
<!--{if $allowviewstats}--><!--{if !empty($jsmenu[3])}--><li id="stats" class="dropmenu<!--{if $BASESCRIPT == 'stats.php'}--> current<!--{/if}-->" onmouseover="showMenu(this.id)"><a href="stats.php">{lang statistics}</a></li><!--{else}--><li<!--{if $BASESCRIPT == 'stats.php'}--> class="current"<!--{/if}-->><a href="stats.php">{lang statistics}</a></li><!--{/if}--><!--{/if}-->
<!--{loop $ucapp $app}-->
<!--{if $app['url']}--><li><a href="$app[url]" target="_blank">$app[name]</a></li><!--{/if}-->
<!--{/loop}-->
<!--{if $discuz_uid && $adminid == 1}--><li><a href="admincp.php" target="_blank">{lang admincp}</a></li><!--{/if}-->
<!--{if $discuz_uid && $adminid > 1}--><li><a href="modcp.php?fid=$fid" target="_blank">{lang modcp}</a></li><!--{/if}-->
<li<!--{if $BASESCRIPT == 'faq.php'}--> class="current"<!--{/if}-->><a href="faq.php">{lang faq}</a></li>
</ul>
</div></td>
</tr>
<tr>
<td height="7"></td>
</tr>
</table>
<table width="790" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="780" height="50"><table width="760" height="45" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
</tr>
<tr>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
<td><img src="/bbs/images/default/small_icon/icon_2.gif" width="16" height="10" />論壇索引</td>
</tr>
</table></td>
</tr>
</table> |