====這裡我也改了========
header.php
找到
!function_exists('readover') && exit('Forbidden');
在其下插入
require_once('./tsbbs.php');
======================
tsbbs.php我有放在論壇目錄下tsbbs.js也做好放在tsbbs裡面了
恩....怎麼改好了以後論壇首頁就變空白了.....
下面是我改好的
================================================
<!--<?php
header("Content-Type: text/html; charset=big5");
print <<<EOT
-->
<html>
<head>$expires
<title>$subject $forumname $db_bbsname - powered by phpwind.net</title>
<meta http-equiv='Content-Type' content="text/html; charset=big5">
<meta name='keywords' content='phpwind,bbs,board,php,mysql,forums'>
<!--css--><style type='text/css'>
body {font-family: Verdana;FONT-SIZE: 12px;MARGIN: 0;color: #000000;background: #ffffff;}
td {FONT-SIZE: 12px;}
textarea,input,select{
font-family: Verdana;
font-size: 12px;
background-color: #ffffff;
}
div.quote{
margin:5px 20px;border:1px solid #CCCCCC;padding:5px;background:#F3F3F3 ;line-height : normal;
}
a { TEXT-DECORATION: none;}
a:hover{ text-decoration: underline;}
img {border:0;}
.banner{background: #84AACE;}
.head { color: #FFFFFF;background: #84AACE;padding: 5px;}
.head a { color: #FFFFFF;}
.f_one {background: $forumcolorone;}
.f_two {background: $forumcolortwo;}
.hr {border-top: 1px solid $tablecolor; border-bottom: 0; border-left: 0; border-right: 0; }
.t_one {background: $threadcolorone;}
.t_two {background: $threadcolortwo;}
.r_one {background: $readcolorone;}
.r_two {background: $readcolortwo;}
.cbg { color:#000000;background: #E5E8EA;}
.cbg a{ color:#000000;}
.smalltxt {font-family: Tahoma, Verdana; font-size: 12px;}
.cfont { color:#FFFFFF; }
.fnamecolor { color:#003366;}
.index_font{color: #3A4F6C;background-color:#EBEBEB; font-weight:bold;padding: 5px;}
.tpc_title { font-size: 12px;font-weight:bold;}
.tpc_content { font-size: 13px;}
.i_table {BORDER: $tablecolor 1px solid;background:#D6E3EF;}
</style><!--css-->
</head>
<body vlink='#333333' link='#333333' leftmargin=Ɔ' topmargin=Ɔ' marginwidth=Ɔ' marginheight=Ɔ' onmousemove=HideMenu();>
<div id=menuDiv style='visibility: hidden; width: 0px; position: absolute; height: 0px'></div>
$msgsound
<table cellspacing=0 cellpadding=0 width='$tablewidth' $i_table align=center>
<tr valign='bottom'><td align='left' class=banner>
<a href='./'><img src='$imgpath/$stylepath/logo.gif'></a></td>
<td align='right' class=banner valign=middle>$db_union[3]</td></tr>
<tr><td align='center' height=1 bgcolor=#ffffff colspan=2></td></tr>
<tr><td align='center' class=cbg colspan=2 height=26>
»
<!--
EOT;
if($groupid=='guest'){print <<<EOT
-->
您尚未 <a href=login.php><b>登入</b></a>
<a href='register.php'><b>註冊</b></a>
<!--
EOT;
}else{print <<<EOT
-->
<b>$windid</b> <a href='login.php?action=quit'>登出</a>
| $control
| $message
| $quickstyle
| $facilities
| $amusement
| $shuaxin
| <a onmouseover="ShowMenu('<!--
EOT;
foreach($db_hackdb as $key=>$hack){
if($hack[4] && $hack[2]){print <<<EOT
--><a href=hack.php?H_name=$hack[1]>$hack[0]</a>
<!--
EOT;
}}}print <<<EOT
-->')"><font class="table">設施與外掛</font></a>
print <<<EOT
-->
| <a href='faq.php'>說明</a>
| <a href='$db_bfn'>社區</a>
| <a href='simple/' target=_blank>純文字版</a>
<!--
EOT;
if($windid==$manager ||$SYSTEM['allowadmincp']){print <<<EOT
-->
| <a href='admin.php' target=_blank>系統設置</a>
<!--
EOT;
}print <<<EOT
-->
</td></tr>
</table>
<br><br>
<!--
EOT;
?>-->
================================================
可以幫我看看嗎