<!--#include file="../inchuayuwebrlzywzhyweb/CONN.ASP"-->
<!--#include file="../inchuayuwebrlzywzhyweb/cls_huayuweb()^191563631.asp"-->

<script language="javascript" src="../js/input.js" type="text/javascript"></script>
<%oa.chkadmin()%>
<%
dim id
id=oa.sqlrequest("id")
if id="" or not isnumeric(id) then oa.msgshow("非法操作！")
set rs=oa.execute("select * from c_guestbook where id="&id)
if rs.eof then oa.msgshow("该留言不存在或已被管理员删除！请返回重新选择！")


if oa.act="add" then
if not isobject(conn) then connectiondatabase
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from c_guestbook where id="&id,conn,1,3
rs("hf")=request("hf")
rs("hfdate")=date()
rs("sh")=0
rs.update()
rs.close
oa.msgopenshow("操作成功！")
end if

%>

<link href="../inchuayuwebrlzywzhyweb/Style.Css" rel="stylesheet" type="text/css">
<table width="98%" height="21" border="0" align="center" cellpadding="0" cellspacing="0" background="../img/1.gif">
  <tr>
    <td height="35" align="center" bgcolor="#6298E1" style="color:white"><div align="left"><strong>&nbsp;<img src="../img/Explain.gif" width="18" height="18" align="absmiddle" />查看相关信息 </strong></div></td>
  </tr>
</table>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#6298E1">
  <tr>
    <td width="214" height="25" align="right" bgcolor="#EBF2F9"><div align="right">IP：</div></td>
    <td colspan="5" bgcolor="#EBF2F9"><font color="red"><%=rs("getip")%></font>&nbsp;&nbsp;订购产品：<%=rs("psfs")%>&nbsp;&nbsp;数量：<%=rs("sl")%></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#EBF2F9"><div align="right">姓名：</div></td>
    <td width="200" bgcolor="#EBF2F9"><font color="red"><%=rs("username")%></font></td>
    <td width="196" align="right" bgcolor="#EBF2F9"><div align="right">EMAIL：</div></td>
    <td width="157" bgcolor="#EBF2F9"><font color="red"><%=rs("email")%></font></td>
    <td width="226" align="right" bgcolor="#EBF2F9">地址：</td>
    <td bgcolor="#EBF2F9"><font color="red"><%=rs("address")%></font></td>
  </tr>
  <tr>
    <td height="25" align="right" bgcolor="#EBF2F9"><div align="right">QQ/微信/旺旺：</div></td>
    <td bgcolor="#EBF2F9"><font color="red"><%=rs("telephone")%></font></td>
    <td align="right" bgcolor="#EBF2F9">时间：</td>
    <td bgcolor="#EBF2F9"><font color="red"><%=rs("createdate")%></font></td>
    <td align="right" bgcolor="#EBF2F9">电话/传真：</td>
    <td width="566" bgcolor="#EBF2F9"><font color="red"><%=rs("ydphone")%></font></td>
  </tr>
  <tr>
    <td height="48" align="right" bgcolor="#EBF2F9"><div align="right">备注内容：</div></td>
    <td colspan="5" valign="top" bgcolor="#EBF2F9"><div class="d1"   style="width:500px;height:48px;overflow-y:auto;overflow-x:auto"><%=oa.coder(rs("content"))%></div></td>
  </tr>
  <form action="admin_lyb_hf.asp" name="form1" id="form1" method="post">
    <tr>
      <td height="48" align="right" bgcolor="#EBF2F9"><div align="right">查看备注：</div></td>
      <td colspan="5" valign="top" bgcolor="#EBF2F9"><textarea name="hf" cols="60" rows="6" class="wenbenkuang" id="hf"><%=rs("hf")%></textarea></td>
    </tr>
    <tr>
      <td align="right" bgcolor="#EBF2F9">&nbsp;</td>
      <td colspan="5" valign="top" bgcolor="#EBF2F9"><input type="submit" name="Submit" value="回复" />
          <input type="submit" name="Submit2" value="重置" />
          <input name="id" type="hidden" id="id" value="<%=id%>" />
          <input name="action" type="hidden" id="action" value="add" /></td>
    </tr>
  </form>
</table>
