<!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" />
<title> </title>
<link type="text/css" rel="stylesheet" href="../Css/style.css" />
<script language="javascript" type="text/javascript" src="../jQuery/lib/jquery.js"></script>
<script language="javascript" type="text/javascript" src="../js/WebSite.js"></script>
<script language="javascript" type="text/javascript" src="../js/ChkForm.js"></script>
<script language="JavaScript" type="text/javascript" src="../js/calendar.js"></script>
</head>
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/Function.asp"-->
<!--#include file="../FCKeditor/fckeditor.asp" -->
<body>
<%
Call ChkLogin(session("WebAdminsUserName"))
Call ConnectionDataBase(2)
id = Request.QueryString("id")
Call ChkIsNumber(id,"参数类型错误!")
Sql = "SELECT TOP 1 * FROM T_Message WHERE ID=" & id
SetRs Rs,Sql,conn,1,1
IF Not Rs.EOF Then
	Title = Rs("Title")
	Content = Rs("Content")		
	AddTime = Rs("AddTime")	
	UserName = Rs("UserName")
	Tel = Rs("Tel")		
	Email = Rs("Email")	
	Address = Rs("Address")				
	UserID = Rs("UserID")	
End IF
%>

<table width="100%" border="0" cellspacing="0" cellpadding="0">  
  <tr>
    <td width="15%" align="right">留言人：</td>
    <td width="85%" align="left"><%=UserName%></td>
  </tr>
  <tr>
    <td width="15%" align="right">联系电话：</td>
    <td width="85%" align="left"><%=Tel%></td>
  </tr>
  <tr>
    <td width="15%" align="right">E-mail：</td>
    <td width="85%" align="left"><%=Email%></td>
  </tr>
  <tr>
    <td width="15%" align="right">联系地址：</td>
    <td width="85%" align="left"><%=Address%></td>
  </tr>
  <tr>
    <td width="15%" align="right">标题：</td>
    <td width="85%" align="left"><%=Title%></td>
  </tr>
  <tr>
    <td width="15%" align="right">留言内容：</td>
    <td width="85%" align="left" class="LineHeight"><%=Content%></td>
  </tr>
  <tr>
    <td width="15%" align="right">留言时间：</td>
    <td width="85%" align="left"><%=AddTime%></td>
  </tr>
  <tr>
    <td align="right">&nbsp;</td>
    <td align="left"><a href="javascript:window.history.back()">返回上一页</a></td>
  </tr>  

</body>
</html>
