<? include "Session.php";
	$sql="select * from zht_message where id=".$_REQUEST['id'];
	$result =mysql_query($sql);
	$row =mysql_fetch_array($result);
	$spc=$row['tradname'];
	$pcount=$row['count'];
	$arrasp=explode("@",$spc);
	$arrpt=explode("@",$pcount);
	
?>
<!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=gb2312" />
<title>无标题文档</title>
</head>


<body><table width="531" border="1" align="center" style="font-size:12px;text-align:center" bordercolor="#CC9933" cellpadding="0" cellspacing="0">
  <tr>
    <td width="521" height="30px" bgcolor="#FFCF60">客户留言<? echo $_REQUEST['id'];?></td>
  </tr>
  <? for($i=0;$i<count($arrasp);$i++)
  {?>
  <? }?>
  <tr>
    <td height="20px">&nbsp;</td>
  </tr>
  <tr>
    <td><table width="529" border="1" cellpadding="0" cellspacing="0" bordercolor="#CC9933">
      
      <tr>
        <td bgcolor="#FFCF60" height="25px">姓名：</td>
        <td><? echo $row['order_user'];?></td>
        </tr>
		<tr >
        <td width="87" bgcolor="#FFCF60" height="25px">QQ号码：</td>
        <td width="388"><? echo $row['order_qq'];?></td>
        </tr>
      <tr>
        <td bgcolor="#FFCF60" height="25px">联系电话:</td>
        <td><? echo $row['order_phone'];?></td>
      </tr>
      
      <tr>
        <td bgcolor="#FFCF60" height="25px">联系地址：</td>
        <td><? echo $row['order_address'];?></td>
      </tr>
	  <tr>
        <td bgcolor="#FFCF60" height="25px">电子邮箱:</td>
        <td><? echo $row['order_email'];?></td>
      </tr>
      <tr>
        <td bgcolor="#FFCF60" height="25px">公司网址：</td>
        <td><? echo $row['order_web'];?></td>
      </tr>
      <tr>
        <td bgcolor="#FFCF60" height="25px">留言主题：</td>
        <td><? echo $row['order_title'];?></td>
      </tr>
      <tr>
        <td bgcolor="#FFCF60" height="200px">备注：</td>
        <td><? echo $row['order_body'];?></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
