<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Member.User_Collect_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 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/control.css" rel="stylesheet" type="text/css" />
    <link href="css/membercss.css" rel="stylesheet" type="text/css" />
    <title>威博单用户系统</title>
    <script type="text/javascript" language="javascript" src="Js/Common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <!-- 图片显示用 -->
        <div id='dhtmltooltip'>
            <img src="" alt="" /></div>
        <script language="javascript" src="js/showimg.js"></script>
        <div>
            <table border="0" cellpadding="5" cellspacing="0" class="membertable">
                <tr>
                    <td colspan="2" style="height: 20px; background-image: url(../images/user/tbj10.gif); background-color: #65697A;">
                        <asp:Label ID="Label6" runat="server" Text="- 我的收藏 -" Style="color: #ffffff; font-weight: bold;" />
                    </td>
                </tr>
                <tr>
                    <td style="border: 1px #CCCCCC solid; padding: 20px; text-align: left; background: #F9F9F9;">
                        <asp:Label ID="Label1" runat="server" Text="商品关键字：" CssClass="title" />
                        <asp:TextBox ID="txtProduct" runat="server" CssClass="input2" Width="200px" />
                        <asp:Button ID="btnSearch" runat="server" Text="查 询" OnClick="btnSearch_Click" CssClass="input" /></td>
                </tr>
                <tr>
                    <td colspan="2" style="background-color: #FFFFFF; width: 100%; text-align: center">
                        <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="btnDel" runat="server" CausesValidation="False" ForeColor="#4B6888" meta:resourcekey="btnDelResource2" OnClick="btnDel_Click" OnClientClick="return CheckDel()"><img src="images/icon/key_delete.gif" alt="删除"/> 删除</asp:LinkButton>
                            </div>
                            <div class="listborder">
                                <cc1:V5ShopGridView ID="GridViewShow" runat="server" AllowPaging="True" AllowSorting="True" PageSize="10" AutoGenerateColumns="False" CssClass="datalist" EmptyDataText="没有任何可用信息！" HeaderStyle-ForeColor="#000000">
                                    <PagerSettings Mode="NumericFirstLast" />
                                    <Columns>
                                        <asp:TemplateField meta:resourcekey="DetilData">
                                            <itemtemplate>
                                              <input name="checkbox2" type="checkbox" class="checkbox" id="CheckBoxID" 
                                                onmouseover="this.mouse='over'" onmouseout="this.mouse='out'" value='<%# Eval("ID") %>' runat="server" />
                                            </itemtemplate>
                                            <itemstyle horizontalalign="Center" width="5%" />
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="ID" HeaderText="ID" SortExpression="ID" />
                                        <asp:TemplateField HeaderText="图片预览">
                                            <headertemplate><center>图片预览</center></headertemplate>
                                            <itemtemplate>
                                            <img src="images/icon-viewpic.gif" onmouseover="javascript:ddrivetip('<img src=../<%# Eval("Src") %>>','#ffffff')" 
                                                onmouseout="hideddrivetip()" alt="" />
                                            </itemtemplate>
                                            <itemstyle horizontalalign="Center" />
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="商品名称" SortExpression="ProductName">
                                            <itemtemplate>
                                                <a target="_blank" href='../product.aspx?id=<%# Eval("ProductID") %>'>
                                                    <asp:Label id="lblProductName" runat="server" text='<%# Eval("ProductName") %>' />
                                                </a>
                                            </itemtemplate>
                                        </asp:TemplateField>
                                        <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>
    </form>
</body>
</html>
