<!--#include file="conn.asp"-->
<%
dim id
id = request.QueryString("id")
rs.open "select * from feedback where id="& id &"",conn,1,1
%>
<!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>

<div style="line-height:30px; background-color:#FF6633; font-size:14px; color:#FFFFFF; font-weight:bold;">&nbsp;常见问题详细信息</div>

<div style="line-height:180%; font-size:12px;">
<%if not rs.eof and not rs.bof then%>
  <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#DDDDDD">
    <tr bgcolor="#F6F6F6">
      <td width="10%"><div align="left" style="width:90px;">主题:</div></td>
      <td width="21%"><div align="left" style="width:200px;"><%=rs("title")%></div></td>
      <td width="9%"><div align="left" style="width:80px;">类型:</div></td>
      <td width="60%"><%=rs("leixing")%></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td>提问人姓名：</td>
      <td><%=rs("name")%></td>
      <td>电子邮件：</td>
      <td><%=rs("email")%></td>
    </tr>
    <tr bgcolor="#F6F6F6">
      <td>来自：</td>
      <td><%=rs("area")%></td>
      <td>联系地址：</td>
      <td><%=rs("address")%></td>
    </tr>
    <tr bgcolor="#FFFFFF">
      <td>电话号码：</td>
      <td><%=rs("phone")%></td>
      <td>提交时间：</td>
      <td><%=rs("datetime")%></td>
    </tr>
    <tr bgcolor="#F6F6F6">
      <td>内容：</td>
      <td colspan="3"><%=rs("content")%></td>
    </tr>
  </table>
<%
else
	response.write "无相关信息！"
end if
rs.close
%>

<%
rs.open "select * from feedbackRe where wentiId = "& id &" order by id desc",conn,1,1
do while not rs.eof
%>
<br />
<table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#F3F3F3">
  <tr>
    <td width="9%"><div align="left" style="width:80px;">回复标题：</div></td>
    <td width="23%"><div align="left" style="width:220px;"><%=rs("title")%></div></td>
    <td width="9%"><div align="left" style="width:80px;">回复时间：</div></td>
    <td width="59%"><%=rs("shijian")%></td>
  </tr>
  <tr>
    <td>回复内容：</td>
    <td colspan="3"><%=rs("content")%></td>
  </tr>
</table>
<%
rs.movenext
loop
rs.close
%>

</div>
</body>
</html>
