📄 back.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="Cookies.asp"-->
<%
if request.QueryString("xingxing")="back" then
call back
response.End()
end if
%>
<html>
<style type="text/css">
<!--
.style1 {
font-size: 36px;
color: #0000FF;
}
.style2 {
color: #CC0000;
font-family: "华文行楷";
font-weight: bold;
font-size: 40px;
}
.style3 {
color: #CC3333;
font-size: 18px;
}
.style4 {color: #990033}
-->
</style>
<body>
<%
order_id=request.QueryString("order_id")
user_id=request.QueryString("user_id")
set user=server.CreateObject("adodb.recordset")
str="select username,email From user where user_id="& user_id
user.open str,conn
%>
<div align="center" class="style1 style2">定 单 回 复
</div>
<form name="form1" method="post" action="back.asp?xingxing=back&order_id=<%=order_id%>">
<div align="center">
<table width="63%" height="285" border="1" bordercolor="#3300CC" bgcolor="#99CC33">
<tr>
<th width="22%" height="54" scope="col"><span class="style4">回复人姓名</span></th>
<td width="78%" scope="col"><%=user(0)%></td>
</tr>
<tr>
<th scope="row"><span class="style4">回复人E-mail</span></th>
<td><%=user(1)%></td>
</tr>
<tr>
<th height="167" scope="row"><span class="style3">回复内容</span></th>
<td><textarea name="textarea" cols="50" rows="10"></textarea></td>
</tr>
</table>
<table width="200" border=" ">
<tr>
<th scope="row"><input name="Input2" type="submit" value="提交"></th>
<td><div align="center">
<input name="Input" type="reset" value="重置">
</div></td>
</tr>
</table>
<div align="center"> </div>
</div>
<div align="center"> </div>
</form>
<div align="center">
</div>
</body>
</html>
<%
sub back
order_id=request.QueryString("order_id")
str="update user_order set isdiposal=true where userorder_id="& order_id
'conn.execute(str)
'closedb
'user.close
'set user=nothing
response.write "<li>发送成功。"
response.write "<meta http-equiv=refresh content=""1;URL=user_order.asp"">"
end sub
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -