﻿<%@ LANGUAGE = "VBScript.Encode" codepage="65001" %>
<!--
'##################################################################                                                                 
'★         web08.net - 威博购物系统                                              
'★  版权所有: web08.net                                                                                                       
'★  程序制作: 威博网络技术公司                                     
'★           email:web08net@hotmail.com                           
'★            Q Q :645095280,475980829
'★	       电话:021-55520018                                                                                                         
'★  相关网址: [产品介绍] http://www.021web.com.cn/gwxt.html
'★            [支持论坛] http://bbs.web08.net/                                                                                     
'★  主页地址: http://www.web08.net/  
'★		http://www.021web.com.cn/			                                                                 
'###################################################################
-->
<html>
<head>
<title>商城系统-威博单用户商城后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../css/css.css" rel="stylesheet" type="text/css">
</head>
<!--#include file=../include2.asp-->
<%#@~^Tw4AAA==@#@&WU,+MDWMPMn/!:nP	+aO@#@&IdwKx/ $E60D~'~PMEn@#@&]+kwGUk+R3aak.+k~{PR8@#@&I+kwKU/R36ak.nkb4kGV!Y+,x~1Khv#~O~q@#@&]+k2W	/n A6wr./~',T@#@&]/aWxk+c/l1tnZKxO.KVP{~J	WO1C^tJ@#@&^WUU94@#@&Gr:,W.d@#@&hmA4+.+{E8'q,l	NP`r|dYmYnP@!@*~Tr@#@&@#@&k6PD5;+kYvJdYCOJb'rqJ,Y4n	@#@&7A|h4+Mn{hmStD+,[,El	N~j}{dOmY+{qJ@#@&+^dnk6PM+5EndD`E/DCYJbxr J~O4+U@#@&7S{A4+M+'S{S4+M+~[,JCU9Pj}m/DlYx+J@#@&Vd+rW,Dn;!n/D`EdDlYnE*'Ecr~Dtn	@#@&dh|h4nD'A{Stn.P[,El	NP`6m/DlD+xcE@#@&+s/r0,Dn5!+/Ocr/OlDnr#xrvrPY4+	@#@&ihmh4+.n{h{S4+M+PL~El	N,j6{dOmYn'+E@#@&+U[,k0@#@&,@#@&k6~,Y.b:vD+$EdYvJUls+Eb*@!@*rEPDt+	@#@&db0,Dn;;nkYcJb[x!:8nMJ#xq,Y4+	@#@&d~,P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y4+	@#@&7S{h4nD'h|A4+M+,[EPCU9P~j}m/DlOn{J[.n$En/DcrW.9+M/YmYE#LJ~JiP~@#@&+x9~k6@#@&UnOPKDk'U+A~;Vd{U4WSWKCT+dv创建对象@#@&rY4~KDd@#@&iRZKx	xmKxUdidv得到数据库连接对象@#@&dRG8KHw+{E)Zrdidv数据库类型~)/为mm^+kd~t?j}d为/;sdD-+M+Z!TBHU?pd{UK为存储过程版~t5jpd为:zd$V~h!?5S为nKdOMM+U;s@#@&7cInm:zw'T7idB取记录总数方法cT执行1W;xDS8自写/5^语句取~y固定值#@#@&dc]+1?5V{!77iB如果I^KHw+＝8则x取记录d;^语句，如果是 {数值，等于!xJE@#@&d I^KDhxydd7v取从记录条件是否有变化v!无变化SF有变化B+不设置1WG0k/也就是及时统计，适用于搜索时候#@#@&i ZKWVk1Ch'JMnmmmJi7v如果Im:+.:＝+S1WG3bn/	lhn{JJS否则写^KWVkd	lh@#@&dR}D9nD{F7diB排序cT顺序8降序#~注意要和下面k5V里面主键&f的排序对应@#@&7 nmo?rynxy!7div每页记录条数@#@&d BkjDsxrR zc JLdJJiddE/4GhK{2lT+ %k的路径@#@&i ?$V'rr[~`r|W.Nn.bNSj}mmmDOr9~j6m!/nDb[Bj6|/DlY~`6{mN[Yb:nS`r{"nmDWYmsSj}{"+^wCzSlz~`6{"+^dxNACH~ir|;a/OmY~EK{1Cx1+s~!Wm^4lxTn0^loB;G{G+^k-+.zfn4|GD9+.dfJ[AmStnD'r^,`r|lN9Ybh+Y^rNrPv字段S表B条件`不需要h4nD#~排序v不需要需要6]fAI,Ae#S主键(G@#@&2	[PqkO4@#@&k]n1ZGE	O{W.kR"+m;W!UYv#v记录总数@#@&k]d{WDk I/E^Oj+D`*@#@&4+kDAA==^#~@%>
<body leftmargin=0 topmargin=0 marginwidth=0 marginheight=0 class="background" onLoad="LoadFinish()">
<!-- #include file="../loading2.asp" -->
<center>
<!--#include file="../mall/web_mall_include.asp"-->
<div class="div-top">
<span class="right-span"><input name="Submit32" type="button" onClick="javascript:location.href='chooseorder.asp'" value=" 订单导出 "></span>
<span class="left-span">&nbsp;&nbsp;<strong>管理中心</strong>  - 订单管理 </span>
</div>
<div class="tab-div">

<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#F1F1F1">
<tr bgcolor="#F1F1F1" class="bottomborder2">
<td height="30" colspan="8" align="left" bgcolor="#FFFFFF">&nbsp;&nbsp;<a href="?state=1">待处理订单</a> | <a href="?state=2">已付款订单</a> | <a href="?state=4">已发货订单</a> | <a href="?state=6">已完成订单</a> | <a href="?">全部订单</a></td>
</tr>
<tr>
<form name="form1" method="post" action="?">
<td height="30" colspan="7" align="center" bgcolor="#FFFFFF"> 搜索订单：
<input name="name" type="text" class="input5b" id="name" size="18">
<select name="idnumber" class="input5b" id="idnumber">
<option value="1">订单号</option>
<option value="2">交易用户</option>
<option value="3">收货人</option>
</select>
&nbsp;&nbsp;&nbsp;
<select name="time" class="input5b" id="c_time">
<option value="0" selected>下单日期</option>
<option value="1">当天</option>
<option value="2">三天内</option>
<option value="3">半月内</option>
<option value="4">一月内</option>
<option value="5">半年内</option>
</select>
<select name="Recpayway" class="input5b">
<option value=''>支付方式</option>
<%#@~^VQAAAA==@#@&/nDPS+4|DkxmKxUR6n^!Y+vE/V+1O~e,0MWhP2CHPE#@#@&NKPA4bV+~UKY~h8|Ddc+K0P@#@&@#@&uhgAAA==^#~@%>
<option value="<%=#@~^DwAAAA==A4mM/vJwmXb[J*LgUAAA==^#~@%>"><%=#@~^EQAAAA==A4mM/vJwmX	C:JbAgYAAA==^#~@%></option>
<%#@~^HwAAAA==@#@&hn({M/RsW7nx6O@#@&VGGa@#@&JQgAAA==^#~@%>	
</select>
<select name="price" class="input5b" id="c_price">
<option value="0" selected>价格范围</option>
<option value="1">100以内</option>
<option value="2">100~500</option>
<option value="3">500~2000</option>
<option value="4">2000以上</option>
</select>
&nbsp;&nbsp;&nbsp;
<select name="orderstate" class="input5b">
<option value="0" selected>全部订单</option>
<option value="1">未处理</option>
<option value="2">用户已付款</option>
<option value="3">商家已收到款</option>
<option value="4">商家已发货</option>
<option value="5">用户收到货</option>
<option value="6">订单完成</option>
<option value="7">失效订单</option>
<option value="8">用户取消订单</option>
</select>
<input type="submit" name="Submit2" value="搜索">              </td>
</form>
</tr>
<form name="myform" method="post" action="wprosave.asp?action=dellorders&Page=<%=#@~^DwAAAA==.;;/D`JhlTnJ*GwUAAA==^#~@%>">
<tr align="center" class="bottomborder2">
<td width="9%" height="30" bgcolor="#f1f1f1">- ID -</td>
<td width="18%" bgcolor="#f1f1f1">-订单单号 -</td>
<td width="18%" bgcolor="#f1f1f1">- 用户(<font color="#009900">未支付</font>/<font color="#ff0000">已完成</font>) -</td>
<td width="14%" bgcolor="#f1f1f1">- 付款方式 -</td>
<td width="13%" bgcolor="#f1f1f1">- 金额总计 -</td>
<td width="15%" bgcolor="#f1f1f1">- 交易状态 -</td>
<td width="13%" bgcolor="#f1f1f1">- 下单日期 -</td>
</tr>
<%#@~^FQAAAA==(6P~bImZKE	O@!8PPtxlwYAAA==^#~@%>
<tr bgcolor="#ffffff" height=30 align="center">
<td colspan="7">暂无记录</td>
</tr>
<%#@~^BgAAAA==~AVdPyQEAAA==^#~@%>
<%#@~^IAAAAA==@#@&sGMPb'!,KK~j(W;x9`r]k~ *@#@&mAcAAA==^#~@%>
<tr align="center" bgcolor="#F8FCFC" class="bottomborder" onMouseOver="this.className='onmouseover'" onMouseOut="this.className='bottomborder'">
<td width="9%" height="30" align="left" class="left-padding"><input type="checkbox" name="ck"  value="<%=#@~^CAAAAA==r"?cZ~b#JAIAAA==^#~@%>"><%=#@~^CAAAAA==r"/cZ~b#RAIAAA==^#~@%></td>
<td width="18%" height="30" align=left class="left-padding"><font color="#006699">·</font><a href="javascript:ListUpdate('<%=#@~^CAAAAA==r"/c8~b#RQIAAA==^#~@%>','<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>',0);"><%=#@~^CAAAAA==r"/c8~b#RQIAAA==^#~@%></a></td>
<td><%#@~^LAAAAA==r6Pr"/v&~b#{EJ,W.Pb/U;^V`b./v&~bbb'DD!+~Y4n	8w0AAA==^#~@%>非注册会员<%#@~^BAAAAA==n^/nqQEAAA==^#~@%><%=#@~^CAAAAA==rM/c2~b#ZwIAAA==^#~@%>    (<font color="#009900"><%=#@~^VAAAAA==	4m;{;WE	Yg;:(+.`rk[EBJ8{KDN.dJBJStnDn~`rm/DCY'q~mxN~i}{;/.bNxEJLkDk`2Sk*[EBr#MBsAAA==^#~@%></font>/<font color="#ff0000"><%=#@~^VAAAAA==	4m;{;WE	Yg;:(+.`rk[EBJ8{KDN.dJBJStnDn~`rm/DCY'~mxN~i}{;/.bNxEJLkDk`2Sk*[EBr#NRsAAA==^#~@%></font>)<%#@~^BgAAAA==n	N~b0JgIAAA==^#~@%></td>
<td><%#@~^EwAAAA==r6PrM/vFFBk*xF,Y4+	wgUAAA==^#~@%><font color=red>积分兑换</font><%#@~^BAAAAA==n^/nqQEAAA==^#~@%>
	<%#@~^FAAAAA==r6Pr"?vG~b#,xPZPOtxlgUAAA==^#~@%>
		货到付款	
	<%#@~^BAAAAA==n^/nqQEAAA==^#~@%>
		<%=#@~^MQAAAA==LYG	+7lV!+vEwmXE~rwCz	l:E~rwlHr['r[bId`{Sb#'JrbeA8AAA==^#~@%>
	<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%>
<%#@~^BwAAAA==n	N~b0,RgIAAA==^#~@%>
</td>
<td>￥<%=#@~^GwAAAA==WKDhmY	E:(+Mck"/cvBkbSy~O8blQgAAA==^#~@%></td>
<td width="15%">
<%#@~^EwAAAA==r6PrM/vF!Bk*xF,Y4+	wQUAAA==^#~@%>
<font color=red>用户取消</font>		
<%#@~^FwAAAA==n^/nb0,kDk`8T~b#x ,Y4n	awcAAA==^#~@%>
<font color=red>管理员取消</font>
<%#@~^gQMAAA==~Vd@#@&k0,k"j`8 Sk*Px~ZPY4nx@#@&dkns+1Y,mC/n~bId`WSk*@#@&71l/n~Z)~Ys2kYCD+{J无效定单J@#@&i^lk+~F=POha/YmO+{J未付款J@#@&7mm/P+)~OswdYmO+{J用户已付款E@#@&dmCdPf),OswdDlD+'r服务商已收款J@#@&d1ld+,cl~D:wkOlD+'r已发货E@#@&imm/nPXl,YhwkOlD+xE用户已收货r@#@&7^m/nP+l,Yha/DlY'r订单已完成E@#@&d^lk+~{=PYs2/DlYxE订单失效J@#@&imC/n~R)~Ys2/DlOn{J用户取消J@#@&imC/~O~q8~8 ),Ys2/DlO+{J定单已失效E@#@&dmmd+,F!=~O:a/DlO+xE定单已归档r@#@&dUN,/nsmY@#@&Vd+@#@&i/n^+1YP1lknPbId`W~rb@#@&d1C/P!=~O:a/DlO+xE无效定单r@#@&d1C/Pql,Y:2dDlO+{E未发货r@#@&imm/+, =~YswdYmYnxr商家已发货J@#@&7mm/+,flPD:a/OlOn{J用户已收货E@#@&7mm/n~W)POha/OlDn{J用户已付款E@#@&imlk+,X),YhwkYCO'J商家已收款r@#@&imlkn~v=PD:2/OCD+xJ订单已完成r@#@&imCdPGl~D:2/DCD+xr订单失效J@#@&d1lknPR)~YswdOmY+{E用户取消J@#@&d1Cd+,,BFq~q+=PO:adYmYnxr定单已失效J@#@&71ld+,qZ)~D:a/YmYxJ定单已归档r@#@&dx[~k+V^Y@#@&+	[~k6@#@&Dn/2G	/nRS.kD+~Osw/OCD+@#@&@#@&ikW,k"?`8 Br#,'~!,Y4n	@#@&i7k6Pk"jccBk*'+PG.,k./v*~b#xX,YtnU,@#@&di7b0~bDk`,Bk*xF,Y4+	@#@&7idsc4AAA==^#~@%>
				<a href="javascript:ListUpdate('<%=#@~^CAAAAA==r"/c8~b#RQIAAA==^#~@%>','<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>',1);"><font color=red>有更新</font></a>
			<%#@~^agAAAA==@#@&d7i+	NPb0,@#@&idnx9PrW@#@&ds/@#@&i7r0,k"?ccSr*'fPK.PbIjcW~kbxWPOtU,@#@&idik0,kMd`O~r#{F~O4+x@#@&did5hUAAA==^#~@%>
				<a href="javascript:ListUpdate('<%=#@~^CAAAAA==r"/c8~b#RQIAAA==^#~@%>','<%=#@~^DwAAAA==.;;/D`JalTnJ*OwUAAA==^#~@%>',1);"><font color=red>有更新</font></a>
			<%#@~^MwAAAA==@#@&d7i+	NPb0,@#@&idnx9PrW@#@&dUN,k0@#@&nx9Pb0@#@&YQkAAA==^#~@%>		</td>
<td>[<%=#@~^NAAAAA==zl.vk"/`l~bb#LJRJL:GUDt`b]/v*~bbb[rOr[[lzcbId`lSk*#XQ4AAA==^#~@%>] </td>
</tr>
<%#@~^KgAAAA==@#@&xnXY,@#@&x9~k6@#@&/Y~r"/'	GY4kxT@#@&LwoAAA==^#~@%>
<tr bgcolor="#F1F1F1">
<td height="30" colspan="4" align="left" bgcolor="#E6E6E6" class="left-padding">
<input name="CheckAll" type="checkbox" id="CheckAll"  onClick="CheckAllCK()" title=全部选择 style="cursor:hand">
全选
<input type="submit" name="Submit" value="  删 除  "  onClick="return confirm('删除订单之前建议先导出相应订单，您确定执行此操作吗？')">
</td>
<td height="30" colspan="3" align="right" bgcolor="#E6E6E6" class="left-padding"><input type="button" name="Submit" value="更新订单状态" onClick="window.open('editorder_days.asp','','width=250,height=250')">
  <input type="button" name="Submit3" value="删除无效订单" onClick="showconfirm();"></td>
</tr>
</form>
<tr align="center">
<td height="30" colspan="7" bgcolor="#FFFFFF"><%=#@~^DgAAAA==GM/ UtKhnmoc#8QQAAA==^#~@%></td>
</tr>
<tr align="center" bgcolor="#FFFFFF">
<td height="40" colspan="7" align="left" class="showtip">说明：1.<font color="#ff0000">无效订单</font>：没有完成整个订单流程的订单<br>
2.<font color="#ff0000">更新订单状态</font>:是针对用户下单后一直未付款做出处理! </font></td>
</tr>
</table>
</div>
</center>
<!-- #include file="../bottom2.asp" -->
</body>
</html>
<script language="javascript">
<!--
function ListUpdate(ID,page,upstate)
{
	location='showorder.asp?orderid='+ID+'&page='+page+'&upstate='+upstate;
}

function showconfirm()
{
	isconfirm=confirm("无效定单可安全删除，确认删除吗？")
	if (isconfirm==true)
	{
		window.location.href="wprosave.asp?action=delorder";
	}
}
-->
</script>

 
 

