<%@ page language="C#" autoeventwireup="true" inherits="ECMe_Promotions_GiftCardList, ECMe_Deploy" %>

<!-- Put IE into quirks mode -->
<!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">
    <title>礼品卡列表</title>
    <link href="../CSS/Admin/CSS/ECMe.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/body156.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/CSS/volti.css" rel="stylesheet" type="text/css" />
    <link href="../CSS/Admin/TableSort/tablesort.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../JS/Common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="header">
        <div class="header_top">
            <h2>
                营销管理 &gt; <span class="blue">礼品卡列表</span>
            </h2>
        </div>
        <div class="top_body">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <th style="width: 85px;">
                        常用操作
                    </th>
                    <th>
                        添加礼品卡
                    </th>
                </tr>
                <tr>
                    <td>
                        <asp:Button ID="BDelete" runat="server" Text="删除所选" OnClick="BDelete_Click" OnClientClick="return confirm('你真的要删除?');"  CssClass="but_2"/>
                    </td>
                    <td>
                        要添加新的礼品卡请点击 <a href="AddGiftCard.aspx" class="top_but_Add">
                            <img src="../CSS/Admin/images/Add.png" alt="添加礼品卡" />
                            添加礼品卡</a>&nbsp;&nbsp;
                    </td>
                </tr>
            </table>
        </div>
        <div class="tab_top">
            <table class="thead">
                <tbody>
                    <tr>
                        <th style="width: 30px">
                            <input id="ChkAll" type="checkbox" onclick="Check(this,'CheckBoxSelect','RepeaterTable')" />
                        </th>
                        <th style="width: 150px">
                            礼品卡名称
                        </th>
                        <th style="width: 80px">
                            升级会员组
                        </th>
                        <th style="width: 100px">
                            赠送金额
                        </th>
                        <th style="width: 80px">
                            赠送积分
                        </th>
                        <th style="width: 110px">
                            起始日期
                        </th>
                        <th style="width: 110px">
                            有效日期
                        </th>
                        <th>
                            管理礼品卡
                        </th>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
    <div class="container">
        <div class="tab_body">
            <table class="tbody">
                <tbody>
                    <asp:Repeater ID="RepeaterTable" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td style="width: 30px">
                                    <asp:CheckBox ID="CheckBoxSelect" runat="server" ToolTip='<%#Eval("CardName")%>'
                                        BorderStyle="None" BorderWidth="0px" />
                                </td>
                                <td style="width: 150px">
                                    <img src="../CSS/Admin/images/Gift.png" alt="礼品" />
                                    <%#Eval("CardName")%>
                                </td>
                                <td style="width: 80px">
                                    <%#Common.GetMemberLevelName(int.Parse(Eval("GiftMemberLevel").ToString()))%>
                                </td>
                                <td style="width: 100px" class="ys_red">
                                    ￥：<%#Eval("GiftAmount")%>
                                </td>
                                <td style="width: 80px" class="ys_crude">
                                    <%#Eval("GiftPoint")%>
                                </td>
                                <td style="width: 110px">
                                    <%#Eval("StartDate")%>
                                </td>
                                <td style="width: 110px">
                                    <%#Eval("EffectiveDate")%>
                                </td>
                                <td>
                                    <img src="../CSS/Admin/images/Edit.png" alt="编辑" />
                                    <a href="AllGiftCardList.aspx?id=<%#Eval("CardName")%>" class="blue" title="管理礼品卡">管理礼品卡</a>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
        </div>
    </div>
    <div class="footer">
        <div class="txte">
        </div>
    </div>
    </form>
</body>
</html>
