<%@ page language="C#" masterpagefile="~/member/MemberMasterPage.master" autoeventwireup="true" inherits="V5Shop.NewMember.User_Collect_Manage, V5Shop.Member" title="我的收藏" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register Src="UserControl/PageList.ascx" TagName="PageList" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript" language="javascript" src="Js/global.js"></script>
<div style="float:left; width:760px">
    <div><img src="images/list/top-1.gif" /></div>
	<div style="border-right:1px #C5DCE7 solid; width:739px; padding:10px">
	  <div style="background:url(images/list/tab-bg.gif) repeat-x bottom; height:27px; padding-left:20px">
	    <div style="float:left; background:url(images/list/tab-1.gif) no-repeat; margin-right:3px; width:76px; height:27px; line-height:27px; text-align:center; font-weight:bold; color:#111">我的收藏</div>
	  </div>
	  <div style="background:url(images/list/bg_2.gif) repeat-x; height:30px; line-height:30px">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">

  <tr>
    <td align="center">商品图片</td>
<td width="240" align="center"> 商品名称 </td>
    <td width="100" align="center"> 价格 </td>
    <td width="140" align="center">收藏时间</td>
    <td width="100" align="center">操作</td>
  </tr>
</table>
      </div>
	   <div style="border-top: #dedee0 1px solid; margin-top: 2px; background: #f3f3f3;
                line-height: 28px; border-bottom: #dedee0 1px solid; height: 28px">
                <input name="checkbox" type="checkbox" class="checkbox" id="CheckAllBox" onclick="CheckAll()" /> 
                全选<%--<input type="button" class="input_bg2" value="加入购物车" />--%>
                <asp:Button ID="BtnDelete2" runat="server" Text="删除" CssClass="input_bg" OnClick="BtnDelete_Click" />
            </div>
            <div class="list2_div1">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                  <asp:Repeater ID="rpUserCollect" runat="server" OnItemDataBound="rpUserCollect_ItemDataBound">
		            <ItemTemplate>
			            <tr>
                        <td width="20">
                            <asp:CheckBox ID="chkChoose" runat="server" />
                            <asp:HiddenField ID="CheckBoxID" runat="server" Value='<%# Eval("ID") %>' />
						    <asp:HiddenField ID="CheckBoxProductID" runat="server" Value='<%# Eval("ProductID") %>' />
                        </td>
                       <td width="140" align="center"><a href="../product.aspx?id=<%#Eval("ProductID")%>"  target="_blank"><img src="../<%#Eval("Src")%>" width="50" height="50" style="margin:4px"  border="0"/></a></td>
                      <td width="240" align="center"> 
                      <asp:HyperLink ID="lnkProduct" runat="server" Target="_blank" NavigateUrl='<%# Eval("ProductID", "../product.aspx?id={0}") %>'><%# V5Shop.Common.utils.left(Convert.ToString(Eval("ProductName")),16)%></asp:HyperLink>
                      <asp:Literal ID="lblProduct" runat="server" Text='<%# V5Shop.Common.utils.left(Convert.ToString(Eval("ProductName")),16)%>' Visible="false"></asp:Literal>
                      </td>
                       <td width="100" align="center"> <%# Eval("MemberPrice")%>  </td>
                     <td width="140" align="center"><span><%# Eval("Date")%> </span></td>
                     <td width="100" align="center">
                        <div>
                            <asp:HyperLink ID="lnkAddCart" runat="server" Target="_blank" NavigateUrl='<%# Eval("ProductID", "../cart.aspx?act=buy&id={0}") %>'>加入购物车</asp:HyperLink>
                            <asp:Label ID="lblDown" runat="server" Text="商品已下架" Visible="false" ForeColor="gray"></asp:Label>
                        </div>
                     </td>
                    </tr>
		            </ItemTemplate>
	            </asp:Repeater>
                   
                </table>
            </div>
            <div style="border-top: #dedee0 1px solid; margin-top: 2px; background: #f3f3f3;
                line-height: 28px; border-bottom: #dedee0 1px solid; height: 28px;">
                <div style="float: left">
                    <input name="checkbox1" type="checkbox" class="checkbox" id="CheckAllBox2" onclick="CheckAll2()" /> 
                    全选
                   <%--<input type="button" class="input_bg2" value="加入购物车" />--%>	
                    <asp:Button ID="BtnDelete" runat="server" Text="删除" CssClass="input_bg" OnClick="BtnDelete_Click" />
                </div>
                <uc1:pagelist id="PageList1" runat="server" ></uc1:pagelist>
             
            </div>
	</div>
	<div><img src="images/list/bottom-1.gif" /></div>
  </div>
  <asp:Label ID="lblParam" runat="server" Text="参数错误" Visible="false" ></asp:Label>
    <asp:Label ID="lblDelete" runat="server" Text="您确定要删除吗?" Visible="false" ></asp:Label>
</asp:Content>

