<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Member.User_GroupBuy_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/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>
            <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="center" bgcolor="#FFFFFF">
                        <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="btnCancel" runat="server" ForeColor="#4B6888" meta:resourcekey="btnEditResource2" OnClientClick="return CheckSelectOne()" OnClick="btnCancel_Click"><img src="images/icon/key_detail.gif" alt=""/>退出</asp:LinkButton>
                            </div>
                            <div class="listborder">
                    <cc1:V5ShopGridView ID="GridViewShow" runat="server" AllowPaging="True" PageSize ="10" AllowSorting="True" AutoGenerateColumns="False" CssClass="datalist" HeaderStyle-ForeColor="#000000" EmptyDataText="没有任何可用信息！">
                        <PagerSettings Mode="NumericFirstLast" />
                        <Columns>
                            <asp:TemplateField meta:resourcekey="DetilData">
                                <itemtemplate>
                                    <input runat="server" value='<%# Eval("ID") %>' id="CheckBoxID" type="checkbox" class="checkbox"
                                        onmouseover="this.mouse='over'" onmouseout="this.mouse='out'" />
                                </itemtemplate>
                                <itemstyle horizontalalign="Center" width="5%" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="ID" HeaderText="ID" SortExpression="ID">
                                <itemstyle width="5%" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="团购名称" SortExpression="Name">
                                <itemtemplate>
                                    <a target="_blank" href='../groupbuy.aspx?id=<%# Eval("ID") %>'>
                                        <asp:Label id="lblName" runat="server" text='<%# Eval("Name") %>' />
                                    </a>
                                </itemtemplate>
                                <itemstyle width="15%" />
                            </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>
                                <itemstyle width="15%" />
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <headertemplate>小图</headertemplate>
                                <itemtemplate>
                                    <img src="images/icon-viewpic.gif" alt="" onmouseover="javascript:ddrivetip('<img src=../<%# Eval("SrcList") %>>','#ffffff')" onmouseout="hideddrivetip()" />
                                </itemtemplate>
                                <itemstyle horizontalalign="Center" width="10%" />
                            </asp:TemplateField>
                            <asp:BoundField DataField="StartDate" HeaderText="开始时间" SortExpression="StartDate">
                                <itemstyle width="8%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="EndDate" HeaderText="结束时间" SortExpression="EndDate">
                                <itemstyle width="8%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="NeedPrice" HeaderText="保证金" SortExpression="NeedPrice">
                                <itemstyle width="5%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Price" HeaderText="团购价" SortExpression="Price">
                                <itemstyle width="5%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Storage" HeaderText="限购数量" SortExpression="Storage">
                                <itemstyle width="7%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="MaxCount" HeaderText="每人限购数量" SortExpression="MaxCount">
                                <itemstyle width="8%" />
                            </asp:BoundField>
                        </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>
