【 tulaoshi.com - PHP 】
                             
                               # post.php 
<?php 
require("config.inc.php"); 
$sql="select * from boardinfo where name='$board'"; 
$sql_result=mysql_query($sql); 
$sql_row=mysql_fetch_array($sql_result); 
? 
<html 
<head 
<title发新贴子</title 
<link rel="stylesheet" type="text/css" href="css/index.css" 
</head 
<body bgcolor="#666666" 
<?php include "ad.php";?<br 
<hr noshade width="80%" size="1" 
<table width="80%" border="1" cellspacing="0" cellpadding="0" align="center" bordercolorlight="#686898" bordercolordark="#FFFFFF" 
  <tr align="center" valign="top" bgcolor="#666699"  
    <td<font size="3" color="#336699"<b<font color="#CCFFFF"发 贴 子</font</b</font<br 
    </td 
  </tr 
  <tr bgcolor="#ffffef"  
    <td(您<b必须注册</b以后才能发表新主题,不然您只能查看主题。<br 
      如果您还未注册,请<a href="apply.php" target="_blank"<font color="#FF0000"点击这里</font</a转到注册页)</td 
  </tr 
  <tr bgcolor="#e8eee0"  
    <td<br 
      您的贴子将被发表在<b<?php echo $sql_row[chinesename];?</b版块 </td 
  </tr 
</table 
<br 
<form method="post" action="read.php" 
  <table width="98%" border="1" cellspacing="0" cellpadding="0" align="center" bordercolorlight="#336699" bordercolordark="#FFFFFF" bgcolor="#666699" 
    <tr  
      <td width="89" bgcolor="#acc0fa" align="right"用户名:</td 
      <td width="224"  
        <input type="text" name="name" style="font-size: 9pt; background-color: #FFFFFF; color: #3366FF; border: 1 solid #000000" value="<?php echo $jl_forum[name];?" size="17" maxlength="16" 
        <font color="#FF0000"* </font </td 
      <td width="63" bgcolor="#acc0fa" align="right"密码:</td 
      <td width="160"  
        <input type="password" name="password" size="10" maxlength="16" style="font-size: 9pt; background-color: #FFFFFF; color: #FF0000; border: 1 solid #000000" 
        <font color="#FF0000"*</font <font color="#FF0000" </font </td 
    </tr 
    <tr  
      <td colspan="4"<font color="#FFFFFF"主题:</font  
        <input type="text" name="title" size="50" maxlength="50" style="font-size: 9pt; background-color: #FFFFFF; color: ##3366FF; border: 1 solid #000000" 
&nb