<?php include "../include/with_see_conn.php"; ?>
<!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=utf-8" />
<link type="text/css" rel="stylesheet" href="../css/with_me_see.css" />
<title>查看留言信息</title>
</head>

<body>
  <div class="mess">
    <?php
	$sql = mysql_query("update {$total_pr}le_mess set status='1' where id='".$id."'");
	  if($sql){
	  $query = mysql_query("select * from {$total_pr}le_mess where id='".$id."'"); 
	  while($rows = mysql_fetch_array($query)){
	?>
    <div class="title">
      <span class="name"><?=$rows['sendname'] ?></span>在给您的留言<span class="name2"><?=$rows['title'] ?></span>中说：
    </div>
    <div class="con">
      <?=$rows['content'] ?>
    </div>
    <?php
	  }
	  }
	?>
  </div>
</body>
</html>