 <%
    //-----------------------------------------------------------
     // 文件名称: User_UserOrder_Manage.aspx  
    // 页面名称: 我的订单
    //
    // 描    述:
    //
    // 修改标识: Add By 钟治宇 2008-11-17
     //会员中心订单日期显示难看 			没有导样式
    //-----------------------------------------------------------
%>
<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Member.User_UserOrder_Manage, V5Shop.Member" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<%@ Register Src="control/HiddenField.ascx" TagName="HiddenField" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/membercss.css" rel="stylesheet" type="text/css" />
   
    <link href="js/calendar-system.css" rel="stylesheet" type="text/css" />
    <title>威博单用户系统</title>
  <%--  2008-11-17--%>
    <script type="text/javascript" language="javascript" src="Js/Common.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar-Setup.js"></script>
    <script type="text/javascript" language="javascript" src="Js/Calendar-zh.js"></script>

</head>
<body>
    <form id="form1" runat="server">
        <div>
          <table border="0" cellpadding="5" cellspacing="0" class="membertable">
            <tr>
              <td height="20" colspan="2" background="../images/user/tbj10.gif" bgcolor="#65697A"><font color="FFFFFF"><strong><asp:Label ID="Label6" runat="server" Text="- 订单管理 -" Style="color: #ffffff; font-weight: bold;" />          
               </strong></font></td>
            </tr>
            <tr>
              <td colspan="2" align="left" bgcolor="#FFFFFF"><div id="search">
                  <!-- 查询部 -->
                  <div style="padding-right: 20px; padding-left: 20px; padding-bottom: 20px; padding-top: 20px; background: #F9F9F9; border-bottom: #f7f7f7 4px solid">
                    <asp:Label ID="lblNumber" runat="server" Width="60px" Text="订单单号：" />          
                    <asp:TextBox ID="txtNumber" runat="server" Width="100px" CssClass="input2" />          
                    　<asp:Label ID="lblReceiveName" runat="server" Width="60px" Text="收货人：" />          
                    <asp:TextBox ID="txtReceiveName" runat="server" Width="100px" CssClass="input2" />　　<asp:Label ID="lblPriceMin" runat="server" Width="60px" Text="订单金额：" />          
                    <asp:TextBox ID="txtPriceMin" runat="server" Width="50px" CssClass="input2" />-
                    <asp:TextBox ID="txtPriceMax" runat="server" Width="50px" CssClass="input2" />
                    <br />
                    <asp:Label ID="lblStatusID" runat="server" Text="订单状态：" />
                    <asp:DropDownList ID="ddlStatusID" runat="server" />
                    　　 <asp:Label ID="lblStart" runat="server" Text="订单日期：" />
                    <asp:TextBox ID="txtStart" runat="server" Width="100px" CssClass="input2" /><img id="ImgDateStart" alt="打开日历" src="images/calendar1.gif" title="打开日历" /> -
                     <asp:TextBox ID="txtEnd" runat="server" Width="100px" CssClass="input2" />
                    <img id="ImgDateEnd" alt="打开日历" src="images/calendar1.gif" title="打开日历" />
                    <asp:Button ID="btnSearch" OnClick="btnSearch_Click" runat="server" Text="查询" CssClass="input" />
                  </div>
              </div>
                  <div id="content" class="opreate">
                    <div style="padding-right: 25px; padding-left: 25px; padding-bottom: 3px; color: #4b6888;padding-top: 3px; border-bottom: #cccccc 1px solid">
                      <input name="checkbox" type="checkbox" class="checkbox" id="CheckAllBox" onclick="CheckAll()" /> 
                      全选
        　    <asp:LinkButton ID="btnView" runat="server" CausesValidation="False" ForeColor="#4B6888" OnClick="btnView_Click" OnClientClick="return CheckEdit()"><img src="images/icon/key_detail.gif" alt="查看"/> 查看</asp:LinkButton>
        　    <asp:LinkButton ID="btnExport" runat="server" CausesValidation="False" ForeColor="#4B6888" OnClick="btnExport_Click" OnClientClick="return CheckSelect()"><img src="images/icon/key_output.gif" alt="导出订单"/> 导出订单</asp:LinkButton>
                    </div>
                    <div class="listborder">
                      <cc1:V5ShopGridView ID="GridViewShow" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CssClass="datalist" EmptyDataText="没有任何可用信息！" HeaderStyle-ForeColor="#000000"
                                                                        PageSize="15">
                        <PagerSettings Mode="NumericFirstLast" />
                        <Columns>
                        <asp:TemplateField ItemStyle-Width="5%" meta:resourcekey="DetilData">
                          <itemtemplate>
                            <input name="checkbox2" type="checkbox" class="checkbox" id="CheckBoxID" onmouseover="this.mouse='over'" onmouseout="this.mouse='out'" value='<%# Eval("Number") %>' runat="server" />
                          	</itemtemplate>
                          <itemstyle horizontalalign="Center" />            
                        </asp:TemplateField>
                        <asp:BoundField DataField="Number" HeaderText="订单号" SortExpression="Number" />
                        <asp:BoundField DataField="ReceiveName" HeaderText="收货人" SortExpression="ReceiveName" />
                        <asp:BoundField DataField="PayName" HeaderText="支付方式" SortExpression="PayName" />
                        <asp:BoundField DataField="DelivertyName" HeaderText="配送方式" SortExpression="DelivertyName" />
                        <asp:BoundField DataField="Price" HeaderText="订单总金额" SortExpression="Price" />
                        <asp:BoundField DataField="StateName" HeaderText="订单状态" SortExpression="StateName" />
                        <asp:BoundField DataField="Date" HeaderText="下单日期" SortExpression="Date" />
                        </Columns>
                        <HeaderStyle CssClass="category" ForeColor="Black" />            
                      </cc1:V5ShopGridView>
                    </div>
                  </div>
                <div id="hiddenfield">
                    <asp:HiddenField ID="CheckedIDS" runat="server" Value="0" />
                    <asp:HiddenField ID="PageIndex" runat="server" Value="0" />
                    <asp:HiddenField ID="MaxPageIndex" runat="server" Value="0" />
                    <uc1:HiddenField ID="Alert" runat="server" />
                </div></td>
            </tr>
          </table>
        </div>

        <script language="javascript" type="text/javascript">
        Calendar.setup({
            inputField     :    "txtStart",
            ifFormat       :    "%Y-%m-%d", 
            button         :    "ImgDateStart",
            align          :    "Br",
            singleClick    :    true
        });
        Calendar.setup({
            inputField     :    "txtEnd",
            ifFormat       :    "%Y-%m-%d", 
            button         :    "ImgDateEnd",
            align          :    "Br",
            singleClick    :    true
        });
        </script>

    </form>
</body>
</html>
