<%@ Page Language="VB" AutoEventWireup="false" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.user_User_products_order" %>
<%On Error Resume Next%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/style.css" rel="stylesheet" type="text/css" />
<title>订单管理器</title>
</head>
<body>
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table style="width:700" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td style="width:100" rowspan="2"><div align="center"><a href="user_company_modi.aspx"><img src="images/soft_all.gif" width="50" height="48" border="0" /></a></div>
              <div align="center"><strong>公司介绍</strong></div></td>
        <td style="width:100"><div align="center"><a href="user_info_list.aspx"><img src="images/j_resume_modify.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center"><a href="user_info_add.aspx"><img src="images/j_position_supply.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center"><a href="User_products_list.aspx"><img src="images/photo_all.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center"><a href="User_products_add.aspx"><img src="images/photo_add.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center"><a href="User_products_Class.aspx"><img src="images/photo_cam.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center"><a href="User_products_AddClass.aspx"><img src="images/photo_up.gif" width="50" height="48" border="0" /></a></div></td>
      </tr>
      <tr>
        <td style="width:100"><div align="center"><strong>我的商机</strong></div></td>
        <td style="width:100"><div align="center"><strong></strong><strong>发布商机</strong></div></td>
        <td style="width:100"><div align="center"><strong>我的产品</strong></div></td>
        <td style="width:100"><div align="center"><strong>添加产品</strong></div></td>
        <td style="width:100"><div align="center"><strong>产品分类</strong></div></td>
        <td style="width:100"><div align="center"><strong>添加分类</strong></div></td>
      </tr>
    </table></td>
  </tr>
</table>
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table style="width:100%; height:24" cellspacing="0" cellpadding="0"  border="0">
  <tr>
    <td style="background-color:#FFF1EB; height:24; width:142" align="center" valign="bottom" class="TDBG1"><strong><span #invalid_attr_id="none"><strong>订 单 管 理</strong></span></strong></td>
    <td class="bottom"><div align="right"></div></td>
  </tr>
</table>
<table style="width:100%"  border="0" cellpadding="0" cellspacing="0" class="topnone">
  <tr>
    <td style="background-color:#FFFFFF"><table style="width:100%; height:50" bordercolor="#FFF1EB" cellspacing="0" cellpadding="4" align="center" border="6">
      <tr>
        <td style="height:50" valign="middle" bordercolor="#EDD6CA" class="0008"><table style="width:100%"  border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="top"><table style="width:100%"  border="0" cellspacing="1" cellpadding="0">
                      <tr style="background-color:#FFEFD7; height:25px">
                        <td style="background-color:#FFEFD7; width:20"><div align="center"></div></td>
                        <td style="background-color:#FFEFD7; width:100"><div align="center">订单号</div></td>
                        <td style="background-color:#FFEFD7; width:60"><div align="center">订单状态</div></td>
                        <td style="background-color:#FFEFD7"><div align="center">订购产品</div></td>
                        <td style="background-color:#FFEFD7; width:80"><div align="center">货款金额</div></td>
                        <td style="background-color:#FFEFD7; height:25; width:40"><div align="center">数量</div></td>
                        <td style="background-color:#FFEFD7; width:60"><div align="center">收货人姓名</div></td>
                        <td style="background-color:#FFEFD7; width:90"><div align="center">收货人手机</div></td>
                        <td style="background-color:#FFEFD7; width:100"><div align="center">收货人电话</div></td>
                        <td style="background-color:#FFEFD7; width:60"><div align="center">支付银行</div></td>
                        <td style="background-color:#FFEFD7; width:80"><div align="center">提交时间</div></td>
                        <td style="width:40"><div align="center">操作</div></td>
                      </tr>
                      <%If rs.EOF Then%><tr><td align=center colspan=3><font color='#ff0000'>还没有任何订单......</font></td></tr><%End If %>
                      <%  Dim i = 0 : Do While Not rs.EOF And i < rs.PageSize%>
                        <tr style="height:25px; background-color:<%="#ffffff,#f5f5f5".Split(",")(i Mod 2)%>"  onmouseover="this.style.backgroundColor='#f2d2f2'" onmouseout="this.style.backgroundColor='<%="#ffffff,#f5f5f5".Split(",")(i Mod 2)%>'">
                        <td><div align="center"><img src="images/JT_2.gif" width="8" height="8" /></div></td>
                        <td><div align="center"><a href="user_order_detail.aspx?id=<%=rs("id").Value%>"><%=rs("OrderFormNum").Value%></a></div></td>
                        <td><div align="center"><%=GetOrderType(Rs("Ordertype").Value) %></div></td>
                        <td><div align="center"><a href="../Shopping/detail<%If AppConst.JtHtml then%>-<%=rs("ProductsID").Value%>.html<%Else%>.aspx?id=<%=rs("ProductsID").Value%><%End If%>" target="_blank"><%=rs("P_name").Value%></a></div></td>
                        <td><div align="center"><%=rs("MoneyReceipt").Value%></div></td>
                        <td><div align="center"><%=rs("ProductsNum").Value%></div></td>
                        <td><div align="center"><%=rs("ContacterName").Value%></div></td>
                        <td><div align="center"><%=rs("Mobile").Value%></div></td>
                        <td><div align="center"><%=rs("Phone").Value%></div></td>
                        <td><div align="center"><%=GetPaymentTypeName(rs("PaymentType").Value)%></div></td>
                        <td><div align="center"><%=rs("InputTime").Value.ToString("yyyy-MM-dd")%></div></td>
                        <td><div align="center"><a href="user_order_detail.aspx?id=<%=rs("id").Value%>">查看</a></div></td>
                      </tr>
                      <%i += 1 : rs.MoveNext() : Loop%>
                    </table>
                      <table style="width:100%"  border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td>&nbsp;</td>
                        </tr>
                      </table>
                    <table style="width:100%" border="0" cellpadding="3" cellspacing="0">
                        <tbody>
                          <tr style="background-color:#EFEFEF">
                            <td style="background-color:#F6F6F6; height:18" align="middle"><%=Pagination(rs.pagecount,LngPage,rs.recordcount,rs.pagesize,"")%></td>
                          </tr>
                        </tbody>
                    </table></td>
                </tr>
            </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
<%Page_Loaded()%>
</html>
