<%@ Page Language="VB" AutoEventWireup="false" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.Admin_shopping_manage_order" Codebehind="shopping_manage_order.aspx.vb" %>
<!--@@#include file="inc/Admin_fun.aspx"-->
<!--@@#include file="inc/Admin_conn.aspx"-->
<!--代码：[摘要]  Const PurviewLevel = "Shopping"  checklogin()'--...-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="inc/style.css" rel="stylesheet" type="text/css" />
<link href="inc/admin_style.css" rel="stylesheet" type="text/css" />
<title><%=AppConst.SiteName%></title>
<script type="Text/JavaScript" language="javascript" src="inc/title.js"></script>
<script type="Text/JavaScript" language="javascript">
function selectall(){
	for(i=0;i!=document.news.elements.length;i++){
		document.news.elements[i].checked=!document.news.elements[i].checked;
	}
}
</script>
</head>

<body>
<table style="width:100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td style="height:20"><table style="height:22; width:100%" border="0" cellpadding="0" cellspacing="1">
      <tr class="topbg">
        <td style="height:22" align="center" class="topbg"><strong>订 单 管 理</strong></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table style="width:100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td style="width:25"><div align="center"><img src="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/gojump01.gif" width="16" height="16" /></div></td>
        <td><a href="Shopping_manage_passed.aspx">已审产品</a> | <a href="Shopping_manage_nopass.aspx">待审产品</a> | <a href="Shopping_manage_tuijian.aspx">推荐产品</a> | <a href="Shopping_manage_hot.aspx">热门产品</a></td>
        <td style="width:400"><table style="width:400"  border="0" align="right" cellpadding="2" cellspacing="0">
          <form name="form1" method="get" action="Shopping_manage_order.aspx">
            <tr>
              <td style="height:25"><div align="right">定单搜索：</div></td>
              <td><div align="center">
                  <input name="key" type="text" id="key" size="30" />
              </div></td>
              <td><input type="submit" name="Submit" value="  搜索 " /></td>
            </tr>
          </form>
        </table></td>
      </tr>
    </table><table style="width:100%"  border="0" cellpadding="2" cellspacing="1" class="border">
        <tr class="Title">
          <td style="height:22; width:80"><div align="center">订单号</div></td>
          <td><div align="center">订购产品</div></td>
          <td style="width:60"><div align="center">产品发布</div></td>
          <td style="width:60"><div align="center">订单状态</div></td>
          <td style="width:60"><div align="center">货款金额</div></td>
          <td style="width:50"><div align="center">数量</div></td>
          <td style="width:80"><div align="center">收货人姓名</div></td>
          <td style="width:80"><div align="center">收货人手机</div></td>
          <td style="width:80"><div align="center">收货人电话</div></td>
          <td style="width:80"><div align="center">支付银行</div></td>
          <td style="width:80"><div align="center">提交时间</div></td>
          <td style="width:50"><div align="center"><strong>操作</strong></div></td>
        </tr>
          <%
dim pagei
	  for pagei=1 to rs.pagesize
	  if rs.eof or pagei>rs.pagesize then exit for
	 %>
          <tr class='tdbg' onmouseout="this.className='tdbg'" onmouseover="this.className='tdbgmouseover'">
            <td style="height:22; width:80"><div align="center"><%=rs("OrderFormNum").Value%></div></td>
            <td><%=rs("P_name").Value%></td>
            <td style="width:60"><div align="center"><%=rs("UserName").Value%></div></td>
            <td style="width:60"><div align="center">
              <%
		select case rs("Ordertype").Value
			case 1
				Response.Write( "已收款")
			case 2
				Response.Write( "已发货")
			case 3
				Response.Write( "已完成")
			case else
				Response.Write( "未处理")
			end select%>
            </a></div></td>
            <td style="width:60"><div align="center"><%=rs("MoneyReceipt").Value%></div></td>
            <td style="width:50" align="center"><%=rs("ProductsNum").Value%></td>
            <td style="width:80" align="center"><%=rs("ContacterName").Value%></td>
            <td style="width:80" align="center"><%=rs("Mobile").Value%></td>
            <td style="width:80" align="center"><%=rs("Phone").Value%></td>
            <td style="width:80" align="center"><%=GetPaymentTypeName(rs("PaymentType").Value)%></td>
            <td style="width:80" align="center"><%=String.Format("{0:yyyy-MM-dd}", rs("InputTime").Value)%></td>
            <td style="width:50"><div align="center"><a href="Shopping_manage_orderdetail.aspx?id=<%=rs("id").Value%>">查看</a></div></td>
          </tr>
          <%  rs.movenext() : Next%>
    </table></td>
 </tr>
</table>
<table style="width:100%"  border="0" cellspacing="0" cellpadding="4">
  <tr>
    <td style="height:22"><%=Pagination(rs)%></td>
  </tr>
</table>
<!--@@#include file="copyright.aspx"-->
</body>
</html>
<!--代码：[摘要]   RS.close:set rs=nothing  '---------------------...-->
