<%@ Page Title="" Language="C#" MasterPageFile="~/AngelShopMasters.Master" AutoEventWireup="true" CodeBehind="ShoppingCart.aspx.cs" Inherits="AngelShop.ShoppingCart" %>
<%@ Register Src="~/usercontrol/Login.ascx" TagName="login" TagPrefix="URL" %>
<%@ Register Src="~/usercontrol/ProductSort.ascx" TagName="sort" TagPrefix="URL" %>
<%@ Register Src="~/usercontrol/Sort.ascx" TagName="support" TagPrefix="URL" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
         <div class="neiye">

        <div class="neiye_2" style="width:100%">
            <div class="neiye_23" style="margin: 0px;">
                <div class="neiye_231">
                 <img src="images/1.jpg" width="10" height="34" /></div>
                <div class="neiye_232"  style="color:#ffffff;width:940px">
                <a href="index.aspx" style="padding-left:3px;padding-right:3px;">Home</a> > <a href="Products.aspx" style="padding-left:3px;padding-right:3px;">PRODUCTS</a> > <a href="ShoppingCart.aspx" style="padding-left:3px;padding-right:3px;">Shopping Cart </a> <%--> <a href="dingdan123.aspx">My Order</a>--%></div>
                <div class="neiye_233">
                    <img src="images/3.jpg" width="10" height="34" /></div>
                <div class="clear">
                </div>
            </div>
            <div class="neiye_24 neiye_25">
                <p style="font: 22px/24px Arial, Helvetica, sans-serif; color: #e44f07">
                    Respect Guest:</p>
                <p style="font: 16px/24px Arial, Helvetica, sans-serifl; color: #333333">1. Add to cart 2.Select Shipping Method 3.Join order 4.Make payment 5.Confirm receipt & make evaluations</p>
                <div style="clear: both">
                    <asp:Repeater ID="rptProducts" runat="server" OnItemCommand="rptProducts_ItemCommand">
                        <HeaderTemplate>
                            <table width="100%" border="0" cellspacing="1" cellpadding="0" style="background: #c4c4c4;
                                margin-bottom: 10px;">
                                <tr>
                                    <td width="30%" bgcolor="#f2f2f2">
                                        <div align="center">
                                            <strong>Name/Pic </strong>
                                        </div>
                                    </td>
                                    <td width="12%" bgcolor="#f2f2f2">
                                        <div align="center">
                                            <strong>ID </strong>
                                        </div>
                                    </td>
                                       <td width="10%" bgcolor="#f2f2f2">
                                        <div align="center">
                                            <strong>Color</strong></div>
                                    </td>
                                    <td width="10%" bgcolor="#f2f2f2">
                                        <div align="center">
                                            <strong>Qty</strong></div>
                                    </td>
                                    <td width="10%" bgcolor="#f2f2f2">
                                        <div align="center">
                                            <strong>Weight(KG) </strong>
                                        </div>
                                    </td>
                                    <td width="11%" bgcolor="#f2f2f2">
                                        <div align="center">
                                            <strong>Price($) </strong>
                                        </div>
                                    </td>
                                    <td width="10%" bgcolor="#f2f2f2">
                                        <div align="center">
                                            <strong>Total($) </strong>
                                        </div>
                                    </td>
                                    <td width="7%" bgcolor="#f2f2f2">
                                        <div align="center">
                                            <strong>Del </strong>
                                        </div>
                                    </td>
                                </tr>
                        </HeaderTemplate>
                        <ItemTemplate>
                            <tr>
                                <td bgcolor="#f2f2f2">
                                    <div align="center">
                                        <img src="<%# Eval("imgUrl1") %>" width="121" height="84" /><br />
                                        <span style="font-size:12px; line-height:18px;">
                                            <%# Eval("title") %></span>
                                    </div>
                                </td>
                                <td bgcolor="#f2f2f2">
                                    <div align="center">
                                        <asp:Label ID="lbId" runat="server" Text='<%#Eval("ProductsId") %>'>
                                        </asp:Label>
                                        <asp:HiddenField ID="hidIDs" runat="server" Value='<%#Eval("ids")%>' />
 
                                    </div>
                                </td>
                                 <td bgcolor="#f2f2f2">
                                      <div align="center">
                                          <asp:Label ID="lb" runat="server" Text='<%#Eval("color") %>'>
                                        </asp:Label>
                                      </div>
                                 </td>
                                <td bgcolor="#f2f2f2">
                                    <div align="center">
                              <asp:Button ID="Minus" runat="server" style="width:9px;height:9px;background:url(images/cart_icon.gif) no-repeat; background-position:-18px 0px; border:0px;" Width="9"  Height="9" CommandArgument='<%#Eval("ids")%>'  CommandName="Minus" />        
                                              <asp:TextBox ID="txtQty" runat="server" Width="20px" Text='<%# Eval("qty") %>' ReadOnly="true"></asp:TextBox>
                                            <asp:Button ID="AddNumber" runat="server" style="width:9px;height:9px;background:url(images/cart_icon.gif) no-repeat;border:0px;" Width="9"
                                            Height="9" CommandArgument='<%#Eval("ids")%>'  CommandName="AddNumber" />
                                       
                                      
                                                
                                    </div>
                                </td>
                                <td bgcolor="#f2f2f2">
                                    <div align="center">
                                        <%# Eval("peso")%></div>
                                    <asp:HiddenField ID="hdPeso" runat="server" Value='<%# Eval("peso")%>' />
                                </td>
                                <td bgcolor="#f2f2f2">
                                    <div align="center">
                                        <%# Eval("Pv")%></div>
                                    <%--<asp:HiddenField ID="hdpri" runat="server" Value='<%# Eval("Pv")%>' />--%>
                                    <asp:HiddenField ID="hdpri" runat="server" Value='<%# Eval("Pv")%>' />
                                </td>
                                <td bgcolor="#f2f2f2">
                                    <div align="center">
                                        <%# Eval("Total")%></div>
                                </td>
                                <td bgcolor="#f2f2f2">
                                    <div align="center">
                                        <asp:ImageButton ID="imgDelete" runat="server" ImageUrl="images/xx_06.jpg" Width="14"
                                            Height="14" CommandArgument='<%#Eval("ids")%>' OnClientClick="return confirm('Are you sure to delete this item?');"
                                            CommandName="Delete" /></div>
                                </td>
                            </tr>
                        </ItemTemplate>
                        <FooterTemplate>
                            </table>
                        </FooterTemplate>
                    </asp:Repeater>
                                     <div style="width:200px;float:right;margin-right:30px;"> The total amount of goods:<asp:Label ID="Labeltotle" runat="server" Text="0"></asp:Label>($)</div> 
                </div>
                <div style="clear: both; text-align: center">
                    <div id="PageInfo" runat="server" class="anpager">
                    </div>
                    <br />
                </div>
                <div style="clear:both;width:100%;height:auto;">
               <font color="red">Please select shipping method:</font>
                    <asp:DropDownList ID="drPost" runat="server" Height="16px" Width="180px" 
                        onselectedindexchanged="drPost_SelectedIndexChanged" AutoPostBack="True">
                    </asp:DropDownList>
                   shipping cost:<asp:Label ID="LabelExpress" runat="server" Text="0"></asp:Label>($)
                    Weight:<asp:Label ID="LabelWeight" runat="server" Text="0"></asp:Label>KG


                </div>
                   <div style="clear:both;width:100%;height:auto;text-align:center;">
                   <div style="width:360px;float:left;">
                       <asp:CheckBox ID="CheckBox1" runat="server" Text="Comments  Coupon" 
                           oncheckedchanged="CheckBox1_CheckedChanged"  AutoPostBack="true"/><asp:Label ID="Label1"
                               runat="server"></asp:Label>$&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:CheckBox ID="CheckBox2" Text="Gift Card  Coupon" runat="server" 
                           oncheckedchanged="CheckBox2_CheckedChanged"  AutoPostBack="true" /><asp:Label ID="Label2"
                               runat="server"></asp:Label>$
                    </div>
                    <div style="width:220px;float:left;margin-right:60px;font-size:14px;font-weight:bold;"> Total cost:<asp:Label ID="PriceTotle" runat="server" Text="0"></asp:Label><asp:Label ID="Label3" runat="server" Text=""></asp:Label><asp:Label ID="Label4" runat="server" Text=""></asp:Label>($)</div> 
                    </div>
                <div class="kg">
     


                      <div style="width:100%;background:#777777;height:auto;clear:both;padding:6px;margin-right:6px;font-size:14px;color:#ffffff;border-radius:3px" ID="Label5" runat="server" >
                       <asp:Label ID="Label6" runat="server" Text="Label" BackColor="White" 
                           ForeColor="Black" ></asp:Label>
                    </div>
                    <div class="kg_b">
                        <p style="text-align: center;">
                            
                            <asp:ImageButton ID="imgShopping" runat="server" ImageUrl="~/images/123456 (4).jpg"
                                Height="22" OnClick="imgShopping_Click" />
<%--                            <asp:ImageButton ID="imgBasket" runat="server" ImageUrl="~/images/123456 (1).jpg"
                                Height="22" OnClick="imgBasket_Click" />--%>
                            <asp:ImageButton ID="imgOrder" runat="server" ImageUrl="~/images/123456 (2).jpg"
                                Height="22" OnClick="imgOrder_Click" ForeColor="Red" />
                        </p>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr align="right">
                                <td width="23%">&nbsp;
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <div class="clear">
                </div>
            </div>
        </div>
    </div>
</asp:Content>

