📄 reply1.asp
字号:
<!--#include file="xp.asp"-->
<%if session("shopxpadmin")="" then
response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='shopxplogin.asp';</script>"
response.End
else
if session("flag")=2 then
response.Write "<p align=center><font color=red>您没有此项目管理权限!</font></p>"
response.End
end if
end if
%>
<html><head><title>订单信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../img_shopxp/css.css" rel="stylesheet" type="text/css">
</head>
<body>
<%dim dingdan,username
dingdan=request.QueryString("dan")
if not isnumeric(dingdan) then
response.write"<script>alert(""非法访问!"");location.href=""../index.asp"";</script>"
response.end
end if
username=request.QueryString("username")
if InStr(username,"'")>0 then
response.write"<script>alert(""非法访问!"");location.href=""../index.asp"";</script>"
response.end
end if
set rs=server.CreateObject("adodb.recordset")
rs.open "select shopxp_product.shopxpptid,shopxp_product.shopxpptname,shopxp_product.shichangjia,shopxp_product.shopxphyjia,shopxp_action.actiondate,shopxp_action.shousex,shopxp_action.shopxp_shiname,shopxp_product.shjiaid,shopxp_action.shouhuoname,shopxp_action.dingdan,shopxp_action.youbian,shopxp_action.reply,shopxp_action.liuyan,shopxp_action.zhifufangshi,shopxp_action.shopxp_shfs,shopxp_action.zhuangtai,shopxp_action.zonger,shopxp_action.useremail,shopxp_action.usertel,shopxp_action.shopxp_shdz,shopxp_action.productcount,shopxp_action.danjia,shopxp_action.fapiao,shopxp_action.feiyong from shopxp_product inner join shopxp_action on shopxp_product.shopxpptid=shopxp_action.shopxpptid where shopxp_action.username='"&username&"' and dingdan='"&dingdan&"' ",conn,1,1
if request("action")<>"save" then
%>
<html>
<head>
<title>回复</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT language=JavaScript>
function CheckInput(){
if(form.reply.value==''){
alert("回复内容不能为空!");
form.reply.focus();
return false;
}
if(form.reply.value.length>50){
alert("回复内容不能超过50个字符!");
form.reply.focus();
return false;
}
return true;
}
</SCRIPT>
<link href="../css.css" rel="stylesheet" type="text/css">
</head>
<body>
<tr>
<td bgcolor="#EFF5FE" style='PADDING-LEFT: 10px'>收货人姓名:</td>
<td bgcolor="#EFF5FE" style='PADDING-LEFT: 10px'><%=trim(rs("shopxp_shiname"))%></td>
</tr>
<tr>
<td bgcolor="#EFF5FE" style='PADDING-LEFT: 10px'>收货地址:</td>
<td bgcolor="#EFF5FE" style='PADDING-LEFT: 10px'><%=trim(rs("shopxp_shdz"))%></td>
</tr>
<tr>
<td bgcolor="#EFF5FE" style='PADDING-LEFT: 10px'>邮 编:</td>
<td bgcolor="#EFF5FE" style='PADDING-LEFT: 10px'><%=trim(rs("youbian"))%></td>
</tr>
<tr>
<td bgcolor="#EFF5FE" style='PADDING-LEFT: 10px'>联系电话:</td>
<td bgcolor="#EFF5FE" style='PADDING-LEFT: 10px'><%=trim(rs("usertel"))%></td>
</tr>
<form action="reply1.asp?dan=<%=dingdan%>&action=save&username=<%=username%>" method="post" name="form" id="form">
<p> </p>
<table class=log_table width="450" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign="middle">
<textarea name="reply" cols="45" rows="4" class="wenbenkuang" id="reply"></textarea> </td>
</tr>
<tr>
<td height="30">
<input type="submit" class="go-wenbenkuang" value="回复" name="button">
<input name="Submit2" type="reset" class="go-wenbenkuang" id="Submit2" value="重置">
</td>
</tr>
</table>
</form>
<%
else
if request.form("reply")="" then
response.write"<SCRIPT language=JavaScript>alert('对不起,公告内容不能为空!');"
response.write"javascript:history.go(-1)</SCRIPT>"
else
rs("reply")=request.form("reply")
rs.update
rs.close
set rs=nothing
end if
response.write"<SCRIPT language=JavaScript>alert('回复成功!');"
response.write"javascript:history.go(-1)</SCRIPT>"
end if
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -