<%@ page language="C#" masterpagefile="~/Admin/MasterPage/Main.master" autoeventwireup="true" inherits="admin_Cart_CartList, App_Web_kfdwoias" title="无标题页" %>
<%@ register tagname="FenYe" tagprefix="Uc1" src="/ascx/fenYe.ascx" %>
<%@ Register Src="~/Admin/Controls/CurrTool_Panel.ascx" TagName="CurrTool" TagPrefix="html" %>
<%@ Register Src="~/Admin/Controls/CurrImage_Panel.ascx" TagName="CurrImage" TagPrefix="html" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
  <link href="/css/fenye.css" rel="stylesheet" type="text/css" />
  <script src="../../js/calendar.js" type="text/javascript" charset="gb2312"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
  <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>
  <div class="divTools">
    <div class="tool-nav">
      <div class="title"> 导航栏</div>
    </div>
    <html:CurrTool ID="CurrTool1" Title="购物车" Version="120402" runat="server" />
    <html:CurrImage ID="CurrImage1" Title="操作购物车" 
            Tips="在这里您可以查看并操作会员购物车..." runat="server" />
    <div class="tool-search">
      <div class="title"> </div>
      <div class="search-content">
        关键字<asp:TextBox runat="server" ID="txtSeach" ToolTip="可以是会员登录名、产品名称"></asp:TextBox>
        <asp:Literal ID="Lit_seach" runat="server" Text="下单时间"></asp:Literal>
        <asp:TextBox ID="Time1" runat="server" Width="100px" onclick="calendar(this)"></asp:TextBox>
        ~
        <asp:TextBox ID="Time2" runat="server" Width="100px" onclick="calendar(this)"></asp:TextBox>
        <asp:DropDownList runat="server" ID="DropshopStatus" DataValueField="BaseNo" DataTextField="BaseName" ></asp:DropDownList>
        <asp:Button ID="btnSearch" runat="server" Text="查 詢" OnClick="btnSearch_Click" CssClass="button" />
      </div>
    </div>
    <div class="hr"> </div>
  </div>
  <div class="clear"> </div>
  <div class="divContent">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
      <ContentTemplate>
        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="table">
          <tr class="title">
            <td>&nbsp;</td>
            <td>订单编号</td>
            <td>下单人</td>
            <%if (BlYouHui)
              { %><td>产品总金额</td>
            <td>优惠金额</td><%} %>
            <td>运费</td>
            <td>实付金额</td>
            <td>状态</td>
            <td>结单时间</td>
            <td>下单时间</td>
            <td>操作</td>
          </tr>
          <asp:DataList ID="DataList1" runat="server" RepeatLayout="Flow" OnDeleteCommand="DataList1_DeleteCommand" OnSelectedIndexChanged="DataList1_SelectedIndexChanged">
            <ItemTemplate>
          <tbody>
          <tr>
            <td align="center" width="20"><asp:LinkButton ID="LinkButton2" runat="server" CommandName="Select" CausesValidation="False" Text="+"></asp:LinkButton></td>
            <td><%#DataBinder.Eval(Container.DataItem, "shopNo")%></td>
            <td><%#DataBinder.Eval(Container.DataItem, "UserName")%></td>
            <%if (BlYouHui)
              { %><td><%#DataBinder.Eval(Container.DataItem, "ShouldPrice")%></td>
            <td><%#DataBinder.Eval(Container.DataItem, "YfPrice")%></td><%} %>
            <td><%#DataBinder.Eval(Container.DataItem, "YunFei")%></td>
            <td><%#DataBinder.Eval(Container.DataItem, "SfPrice")%></td>
            <td align="center"><%#DataBinder.Eval(Container.DataItem, "BaseName")%></td>
            <td><%#DataBinder.Eval(Container.DataItem, "EndTime")%></td>
            <td><%#DataBinder.Eval(Container.DataItem, "ShopTime")%></td>
            <td><asp:LinkButton ID="LinkButton1" runat="server" CommandName="Delete" CausesValidation="False" Text="操作"></asp:LinkButton></td>
            <asp:Literal runat="server" ID="Uid" Visible='false' Text='<%#DataBinder.Eval(Container.DataItem, "Sid")%>'></asp:Literal>
            <asp:Literal runat="server" ID="LitshopStatus" Visible='false' Text='<%#DataBinder.Eval(Container.DataItem, "shopStatus")%>'></asp:Literal>
          </tr>
          <tr runat="server" id="trdetailCart" visible="false">
            <td colspan="11">
              <asp:Literal runat="server" ID="LitChild"></asp:Literal>
            </td>
          </tr>
          <tr>
            <td colspan="11">
              收货地址：<%#DataBinder.Eval(Container.DataItem, "Asheng")%><%#DataBinder.Eval(Container.DataItem, "Acity")%>-<%#DataBinder.Eval(Container.DataItem, "Aadd")%>
              [收货人：<b style="color:red"><%#DataBinder.Eval(Container.DataItem, "AUserName")%></b>
              联系手机：<b style="color:red"><%#DataBinder.Eval(Container.DataItem, "Amobile")%></b>
              联系电话：<b style="color:red"><%#DataBinder.Eval(Container.DataItem, "Atel")%></b>]
            </td>
          </tr>
          </tbody>
          </ItemTemplate>
          </asp:DataList>
        </table>
        <div class="divth">
          <Uc1:FenYe runat="server" ID="FenYe1" />
        </div>
      </ContentTemplate>
    </asp:UpdatePanel>
  </div>
</asp:Content>