<?php
require("global.php");
if($_GET){
	//查询留言内容
	$id = $_GET['file_id'];
	$sql = "select * from tb_file where file_id = ".$id;
	$file = $DB->fetch_one_array($sql);
	$DB->query($sql);
}
?>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><?php include("header.html");?></td>
  </tr>
  <tr>
    <td valign="top"><table width="950" align="center"cellpadding="0" cellspacing="0" style="border:0;align:center;">
      <tr>
        <td width="38" background="images/right_1.jpg"></td>
        <!-- 显示文章标题 -->
        <th width="894" height="24" align="left" background="images/right_2.jpg" ><?php echo $file['file_title'] ?></th>
        <td width="17" background="images/right_3.jpg"></td>
      </tr>
      <!-- 显示文章内容 -->
      <tr>
        <td colspan="3" align="right"  bgcolor="#FFFFFF"><div style="width:940px;"><br />
                <textarea name="file" rows="40"  id="file" style="border:1px;width:920px"><?php echo $file['file_content']; ?> </textarea>
        </div></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><?php include("footer.html");?></td>
  </tr>
</table>
