www.gusucode.com > 凡人网络购物系统 2008源码程序 > tousu.asp
<!--#include file="conn.asp"--> <title><%=request("sub_number")%></title> <link href=Skin/<%=venshop_skin%>/css.css rel=STYLESHEET type=text/css> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"> <div align="center"> <table border="0" cellpadding="0" cellspacing="0" width="402" height="168"> <% if request("action")="add" then sub_id=request("sub_id") content=DelStr(request("content")) set rs=server.createobject("adodb.recordset") sql="select * from venshop_sub where sub_id="&sub_id&"" rs.open sql,conn,1,3 if rs.eof then response.write "<tr><td colspan=2 align=center><br>"+"<li>用户没有此订单信息</td></tr>" response.end elseif rs("sub_tousu")=1 then response.write "<tr><td colspan=2 align=center><br>"+"<li>订单已投诉,请等待管理员处理</td></tr>" response.end else rs("sub_tousu")=1 rs("sub_you")=content rs.update end if rs.close set rs=nothing conn.close set conn=nothing response.write "<tr><td colspan=2 align=center><li>订单投诉成功,<a href='javascript:window.close()'>关闭窗口</a></td></tr>" response.end else %> <form method="POST" action="tousu.asp?action=add"> <tr><td align="right" class="cartshow1"></td><td class="cartshow1"></td></tr> <tr><td align="right" class="cartshow0">订单号:</td> <td class="cartshow0"><input name="sub_number" type="hidden" value="<%=request("sub_number")%>"><input name="sub_id" type="hidden" value="<%=request("sub_id")%>"><%=request("sub_number")%></td></tr> <tr><td align="right" class="cartshow1">原因说明:</td><td class="cartshow1"><input name="content" type="text" class=input size="25"></td></tr> <tr><td class="cartshow0"></td><td class="cartshow0"><input name=B12 type=image src="img/regbutton.gif"></td></tr> <tr><td class="cartshow1"></td><td class="cartshow1"></td></tr></form></table> </div> <%end if%>