<%@ page language="C#" masterpagefile="~/member/MemberMasterPage.master" autoeventwireup="true" inherits="V5Shop.NewMember.User_PriceCardNotUsed_Manage, V5Shop.Member" title="我的充值卡" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register Src="UserControl/PageList.ascx" TagName="PageList" TagPrefix="uc1" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="V5" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style="float: left; width: 760px">
        <div><img src="images/list/top-1.gif" /></div>
            <div style="border-right: #c5dce7 1px solid; padding:0 0 10px; height:340px">
	      <div style="background:url(images/list/a-1.gif); width:738px; height:30px; line-height:30px">
	        <div style="float:left; font-weight:bold; color:#014D7F; font-size:14px; padding-left:10px">我的充值卡 </div>
	      </div>
	     <div class="account">
            <div style="padding-left: 20px; background: url(images/list/tab-bg.gif) repeat-x 50% bottom; height: 27px">
                <div id="pricecardtab1" style="float:left; background:url(images/list/tab-2.gif); width:76px; height:24px; line-height:24px; text-align:center; margin:3px 3px 0 0">
                    <a href="User_PriceCard_Manage.aspx">已使用</a></div>
                <div id="pricecardtab0" 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">
                    <a href="User_PriceCardNotUsed_Manage.aspx">未使用</a></div>
            </div>
           <div style="background:url(images/list/bg_2.gif) repeat-x; height:30px; line-height:30px">
	        <div style="float:left; width:150px; text-align:center">充值卡卡号</div>
		    <div style="float:left; width:150px; text-align:center">密码</div>
		    <div style="float:left; width:100px; text-align:center">充值卡金额 </div>
		    <div style="float:left; width:100px; text-align:center">充值状态</div>
		    <div style="float:left; width:100px; text-align:center">充值时间</div>
		    <div style="float:left; width:100px; text-align:center">最后使用日期</div>
	      </div>
            <div style="border-top: #dedee0 1px solid; margin-top: 2px; background: #f3f3f3;
                line-height: 28px; border-bottom: #dedee0 1px solid; height: 28px">
                <input id="CheckAllBox" class="checkbox" name="checkbox" onclick="CheckAll()" type="checkbox" />
                全选
                <asp:Button ID="BtnDelete2" runat="server" CssClass="input_bg" OnClick="BtnDelete_Click"
                    Text="删除" /> <asp:LinkButton ID="btnAdd" runat="server" ForeColor="#4B6888"  OnClick="btnChangePrice_Click"><img src="images/key_moneycard.gif" alt="使用充值卡" border="0" /> 使用充值卡</asp:LinkButton>
            </div>
            <div id="pricecardview1" class="list2_div1">
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                  <asp:Repeater ID="rpShopCardList" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td width="20">
                                    <asp:CheckBox ID="chkChoose" runat="server" />
                                    <asp:HiddenField ID="CheckBoxID" runat="server" Value='<%# Eval("ID") %>' />
                                </td>
                                <td align="center" width="130px">
                                    &nbsp;<%# Eval("Number")%>
                                </td>
                                <td align="center" width="100px">
                                   &nbsp;   <V5:HelpCtrl ID="HelpCtrl1" runat="server" ImageURL="images/key_detail.gif" Header="卡密码:" 
                                                FontColor="#000000" Text='<%# DataBinder.Eval(Container.DataItem, "Password") %>'></V5:HelpCtrl>
                                </td>
                                <td align="center" width="100px">
                                    <%# Eval("Price")%>
                                </td>
                               <td align="center" width="100px">
                                  &nbsp; <%# FormatState(DataBinder.Eval(Container.DataItem, "RechargeStatus")) %>
                                </td>
                                
                                  <td align="center" width="100px">
                                    &nbsp;<%# Eval("RechargeDate")%> 
                                </td>
                                  <td align="center" width="100px">
                                    <%# Eval("EndDate")%>
                                </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 id="CheckAllBox2" class="checkbox" name="checkbox1" onclick="CheckAll2()" type="checkbox" />&nbsp;全选
                    <asp:Button ID="BtnDelete" runat="server" CssClass="input_bg" OnClick="BtnDelete_Click" Text="删除" />
                </div>
                <uc1:pagelist id="PageList1" runat="server"></uc1:pagelist>
            </div>
            </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:Label ID="lblUserNoWork" runat="server" Text="会员没有会员卡，无法进行操作！" Visible="false" ></asp:Label>
    <asp:Label ID="lblCardLock" runat="server" Text="会员卡已被锁定，无法进行操作！" Visible="false" ></asp:Label>
    <asp:Label ID="lblCartHave" runat="server" Text="此卡已被充值！" Visible="false" ></asp:Label>
    <asp:Label ID="lblChoice" runat="server" Text="请选择一条记录！" Visible="false" ></asp:Label>
    <script language="javascript" type="text/javascript">
    ShowOrHidden(1);
    ShowOrHidden(3);
    </script>
</asp:Content>

