⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orders.asp

📁 wanzhengban 完整版 wanzhengban 完整版
💻 ASP
字号:
<!--#include file="top.asp"-->
<div align="center"><table width=980 border=0 cellpadding=0 cellspacing=0 bgcolor="#FFFFFF" height="100">
<tr><td width=181 align="center" valign="top" rowspan="2"><!--#include file="log.asp"--> <!--#include file="insort.asp"--></td></tr>
<tr><td valign="top" align="center"><PRE>  </PRE>       
<%if Request.Cookies("venshop")("user_name")="" and Request.Cookies("venshop")("guest")="" then%>
<table border="0" cellpadding="0" cellspacing="5" width="630" bgcolor="#EEEEEE"><tr><td align="center" bgcolor="#EEEEEE">
<table border="0" cellpadding="0" cellspacing="0" width="100%" background="img/pattern.gif" style="border: 1px solid #C0C0C0">
<form method="POST" name="form" action="login.asp?action=login">
<tr><td colspan="4" height="45" valign="bottom"><p style="margin-left: 35px"><b>用户登录: </b>您还没有登录或未定购任何产品,请重新登录</td></tr>
<tr><td align="center" colspan="4"><hr color="#C0C0C0" size="1" width="90%"></td></tr>
<tr><td align="right" height="45">用 户 名:</td>
<td height="45"><input name="user_name" type="text" class=input style="FONT-SIZE: 12px; WIDTH: 110px"></td>
<td rowspan="2"><input name="comurl" type="hidden" value="orders.asp"><input type=image src="img/button_login.gif" name="login"></td>
<td height="45"><A href="reg.asp"><IMG src="img/loginreg.gif" border=0></A></td></tr>
<tr><td align="right" height="45">用户密码:</td>
<td height="45"><input style="FONT-SIZE: 12px; WIDTH: 110px" type="password" name="user_pass" class=input size="12"></td>
<td height="45"><a href="repass.asp"><IMG src="img/repass.gif" border=0></a></td></tr>
<tr><td colspan="4" align="center" height="45"></td></tr></form></table></td></tr></table>
<%else
if Request.Cookies("venshop")("user_name")<>"" then
user_name=Request.Cookies("venshop")("user_name")
elseif Request.Cookies("venshop")("guest")<>"" then
user_name=Request.Cookies("venshop")("guest")
end if%>
<table border="0" cellpadding="0" cellspacing="5" width="630" bgcolor="#EEEEEE"><tr><td align="center" bgcolor="#EEEEEE">
<table border="0" cellpadding="5" cellspacing="0" width="100%" background="img/pattern.gif" style="border: 1px solid #C0C0C0">
<tr><td height="30" colspan="2"><p style="line-height: 150%; margin-left: 10px; margin-right: 5px; margin-top: 5px; margin-bottom: 5px"><b>您的详细列表:</b></td>
	<td height="30" colspan="4" align="right"><p style="margin-right: 20px"><a href="orders.asp">所有订单</a>:&nbsp;
<a href="<%=filename%>?zt=1">未处理</a>&nbsp;
<a href="<%=filename%>?zt=0">无效订单</a>&nbsp;
<a href="<%=filename%>?zt=2">已付款</a>&nbsp;
<a href="<%=filename%>?zt=3">已收款</a>&nbsp;
<a href="<%=filename%>?zt=4">已发货</a>&nbsp;
<a href="<%=filename%>?zt=5">已收货</a></td></tr>
<tr><td align="center" width="10" height="30"></td>
	<td width="150" height="30">订单号</td>
	<td width="150" height="30">日期</td>
	<td width="200" height="30">投诉</td>
	<td width="100" height="30">状态</td>
	<td align="center" width="10" height="30"></td></tr>
<%page=request("page")
if page="" then page=1
if not(isnumeric(page)) then page=1
if page<1 then page=1
page=int(page)
zt=request("zt")
if zt<>"" then
sql="select * from sub where sub_name='"&user_name&"' and sub_zt="&zt&" order by sub_id DESC"
else
sql="select * from sub where sub_name='"&user_name&"' order by sub_id DESC"
end if
rs.open sql,conn,1,1
if rs.eof then
    response.write "<tr><td align=center height=26 colspan=4>暂且没有任何订单</td></tr>"
    rs.close
else
rs.pagesize=20
totalrec=rs.recordcount
totalpage=rs.pagecount
if page>totalpage then page=totalpage
rs.absolutepage=page
rs.cachesize=rs.pagesize
i=0
do while not rs.eof and (i<rs.pagesize)
i=i+1
%>
<tr><td align="center" width="10" height="30"></td>
<td width="150" height="35" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom: 1px solid #C0C0C0"><a href="#" onclick="javascript:window.open('submore.asp?sub_id=<%=rs("sub_id")%>','newwindow','toolbar=no,scrollbars=yes,resizable=no,top=0,left=0,width=650,height=600');"><%=rs("sub_number")%></a></td>
<td width="150" height="35" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom: 1px solid #C0C0C0"><%=rs("sub_date")%></td>
<td width="200" height="35" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom: 1px solid #C0C0C0"><%if rs("sub_tousu")=1 then%>已投诉,管理员尚未处理<%elseif rs("sub_tousu")=2 then%>投诉:<%=rs("sub_you")%><br>回复:<%=rs("sub_fu")%><%else%><a href="#" onclick="javascript:window.open('tousu.asp?sub_id=<%=rs("sub_id")%>&sub_number=<%=rs("sub_number")%>','newwindow','toolbar=no,scrollbars=yes,resizable=no,top=0,left=0,width=420,height=180');">投诉</a><%end if%></td>
<td width="100" height="35" style="border-left-width: 1px; border-right-width: 1px; border-top-width: 1px; border-bottom: 1px solid #C0C0C0">
<%if rs("sub_zt")=0 then response.write "无效订单"%>
<%if rs("sub_zt")=1 then response.write "未处理"%>
<%if rs("sub_zt")=2 then response.write "已付款等待发货"%>
<%if rs("sub_zt")=3 then response.write "已收款发货中"%>
<%if rs("sub_zt")=4 then response.write "已发货注意收货"%>
<%if rs("sub_zt")=5 then response.write "已收货(归档)"%></td>
<td align="center" width="10" height="30"></td></tr>
<%rs.movenext
loop
rs.close
end if
%><tr><td align="center" colspan="6" height="30">第<%=page%>页/共<%=totalpage%>页&nbsp;&nbsp;&nbsp; 
<%if page-1>0 then%><a href="<%=filename%>?page=<%=page-1%>&zt<%=request("zt")%>">上一页</a><%else%>上一页<%end if%>
&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
<%if page+1<=totalpage then%><a href="<%=filename%>?page=<%=page+1%>&zt<%=request("zt")%>">下一页</a> <%else%>下一页 <%end if%></td></tr><tr>
<td colspan="6" height="30"><p style="line-height: 150%; margin-left: 10px; margin-right: 5px; margin-top: 5px; margin-bottom: 5px">
提示一:收货后请在订单详情中修改订单状态为已收货,谢谢合作<br>
提示二:点击订单号查看详情<br>
提示三:未收到货或其它订单相关问题,可以进行订单投诉,请说明原因</td></tr><%end if%></table></td></tr></table>
</td></tr></table></div><!--#include file="copy.asp"-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -