📄 huifu.asp
字号:
<!--#include file="conn.inc"-->
<%if session("admin")="" then
response.Write "<script LANGUAGE='javascript'>alert('网络超时或者您还没有登录请登录');window.location.href='login.asp';</script>"
response.End
end if
%>
<%
if trim(request("Submit"))<>"" then
set rs=server.createobject("adodb.recordset")
sql= "SELECT * FROM shop_pinglun where pinglunid="&request("id")
rs.open sql,conn,1,3
rs("pinglunname")=trim(request("huifu"))
rs.update
rs.close
set rs=nothing
response.write("回复添加成功!")
response.end
else
%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../images/css.css" rel="stylesheet" type="text/css">
<style>
td{font-size:9pt;line-height:120%;color:#353535}
body{font-size:9pt;line-height:120%}
a:link { color: #000000; text-decoration: none }
a:visited { color: #000000; text-decoration: none }
a:active { color: #000000; text-decoration: none }
a:hover { color: #336699; text-decoration: none; position: relative; right: 0px; top: 1px }
</style>
</head>
<body bgcolor="#D9E6FF">
<table width="95%" height="400" border="0" cellspacing="0" cellpadding="0" align="center">
<!--DWLayoutTable-->
<tr>
<td width="220" height="400"> </td>
<td width="524" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="523" height="35" align="center" valign="top">回复评论</td>
</tr>
<tr>
<td height="73" align="center" valign="middle"><form name="form1" method="post" action="huifu.asp?id=<%=request("id")%>">
<p>
<textarea name="huifu" cols="40" rows="10"></textarea>
</p>
<p>
<input type="submit" name="Submit" value="提交">
</p>
</form></td>
</tr>
<tr>
<td height="30" align="right" valign="top"><!--DWLayoutEmptyCell--> </td>
</tr>
<tr>
<td height="268"> </td>
</tr>
</table></td>
<td width="180"> </td>
</tr>
</table>
<br>
</body>
</html>
<%end if%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -