sp;</td>
</tr>
<tr>
<td align="right">OICQ</td>
<td>
<input type="text" name="oicq" maxlength="11" style="font-size: 9pt; background-color: #FFFFFF; color: #FF0000; border: 1 solid #000000" size="12">
</td>
</tr>
<tr>
<td align="right">签名</td>
<td>
<textarea name="qm" wrap="VIRTUAL" cols="50"></textarea>
</td>
</tr>
<tr>
<td align="right"> </td>
<td align="center">
<input type="submit" name="b1" value="注册">
<input type="reset" name="Submit2" value="清除" >
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<br>
<?php include "footer.php";?>
</body>
</html>
##########################################
## chklogin.php #########################
########################################
<?php
require ("func.php");
$name=trim($name);
$password=trim($password);
$sql="select * from user where name='$name'";
$sql_result=mysql_query($sql);
$sql_row=mysql_fetch_array($sql_result);
if (($password==$sql_row[password])and(!empty($sql_row[slaveboard]))){
setcookie("jl_forum[board]",$sql_row[slaveboard]);
setcookie("jl_forum[name]",$name);
setcookie("jl_forum[password]",$password);
redirect2("manage_list.php");
}
else {
show_error(4);
}
?>
###################################
##### config.inc.php ##########
#############################
<?
$MYSQL_HOSTNAME = "localhost";
$MYSQL_USERNAME = "root";
$MYSQL_PASSWORD = "";
$DATABASE = "forum";
$pagesize=25;
$copyright="Copyright © 2000, by Edincur, All Rights Reserved<BR>";
$admin_email="your_email";
$admin_name="your_admin_name"; #论坛管理员名称
$admin_password="your_password"; #论坛管理员密码
$remove_score=4; #被删除一篇扣除的分数
$new_topic_score=5; #发表新主题的分数
$re_topic_score=3; #回复一篇的分数
mysql_connect($MYSQL_HOSTNAME, $MYSQL_USERNAME, $MYSQL_PASSWORD);
mysql_select_db($DATABASE) or die(mysql_error());
?>
###############################
#
</tr>
<tr>
<td align="right">OICQ</td>
<td>
<input type="text" name="oicq" maxlength="11" style="font-size: 9pt; background-color: #FFFFFF; color: #FF0000; border: 1 solid #000000" size="12">
</td>
</tr>
<tr>
<td align="right">签名</td>
<td>
<textarea name="qm" wrap="VIRTUAL" cols="50"></textarea>
</td>
</tr>
<tr>
<td align="right"> </td>
<td align="center">
<input type="submit" name="b1" value="注册">
<input type="reset" name="Submit2" value="清除" >
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<br>
<?php include "footer.php";?>
</body>
</html>
##########################################
## chklogin.php #########################
########################################
<?php
require ("func.php");
$name=trim($name);
$password=trim($password);
$sql="select * from user where name='$name'";
$sql_result=mysql_query($sql);
$sql_row=mysql_fetch_array($sql_result);
if (($password==$sql_row[password])and(!empty($sql_row[slaveboard]))){
setcookie("jl_forum[board]",$sql_row[slaveboard]);
setcookie("jl_forum[name]",$name);
setcookie("jl_forum[password]",$password);
redirect2("manage_list.php");
}
else {
show_error(4);
}
?>
###################################
##### config.inc.php ##########
#############################
<?
$MYSQL_HOSTNAME = "localhost";
$MYSQL_USERNAME = "root";
$MYSQL_PASSWORD = "";
$DATABASE = "forum";
$pagesize=25;
$copyright="Copyright © 2000, by Edincur, All Rights Reserved<BR>";
$admin_email="your_email";
$admin_name="your_admin_name"; #论坛管理员名称
$admin_password="your_password"; #论坛管理员密码
$remove_score=4; #被删除一篇扣除的分数
$new_topic_score=5; #发表新主题的分数
$re_topic_score=3; #回复一篇的分数
mysql_connect($MYSQL_HOSTNAME, $MYSQL_USERNAME, $MYSQL_PASSWORD);
mysql_select_db($DATABASE) or die(mysql_error());
?>
###############################
#