<%@ page language="VB" masterpagefile="~/Template/Master.master" autoeventwireup="false" inherits="Billing_CreditCards, MachSol.MachPanel.Web" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/GVPager.ascx" TagName="Pager" TagPrefix="EM" %>
<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI" TagPrefix="cc2" %>

<asp:Content ID="Content7" ContentPlaceHolderID="CPH_Content" runat="Server">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h2><%= Resources.Content.M0016 %></h2>
            </div>
            <div class="body">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="card">
                            <div class="body">
                                <EM:TabContainer ID="TC_Payments" runat="server" OnClientActiveTabChanged="loadTabPanel">
                                    <EM:TabPanel ID="Tab_List" runat="server" HeaderText='<%$ Resources:Content, M0016 %>'>
                                        <ContentTemplate>
                                            <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                                            <asp:Panel ID="Pnl_TabContent0" runat="server">
                                                <div class="row Div_OpsRow" id="Div_Operations" runat="server">
                                                    <div class="col-xs-12">
                                                        <div class="card">
                                                            <div class="header">
                                                                <h3>
                                                                    <%= Resources.Content.GN00001320%>      <%--Operations--%>
                                                                </h3>
                                                            </div>
                                                            <div class="body">
                                                                <asp:Button ID="LB_AddCard" runat="server" class="btn btn-primary waves-effect btnAction" Text='<%$ Resources:Content, GN0000888 %>' />
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>

                                                <asp:Panel ID="Pnl_Search" runat="server" DefaultButton="Btn_FilterGo">
                                                    <div class="row">
                                                        <div class="panel-group search-panel" id="AS_CreditCards" role="tablist" aria-multiselectable="true">
                                                            <div class="col-xs-12" role="tab" id="SH_CreditCards">
                                                                <div class="card">
                                                                    <div class="header" role="button" data-toggle="collapse" data-parent="#AS_CreditCards" href="#<%= CSB_CreditCards.ClientID%>" aria-expanded="true" aria-controls="SH_CreditCards">
                                                                        <h3>
                                                                            <%= Resources.Content.GN0000395%>
                                                                        </h3>
                                                                    </div>
                                                                    <div id="CSB_CreditCards" runat="server" class="body panel-collapse collapse" role="tabpanel" aria-labelledby="SH_CreditCards" aria-expanded="false">
                                                                        <div class="row">
                                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                                <div class="form-group form-float">
                                                                                    <div class="form-line">
                                                                                        <asp:TextBox ID="TxBx_CardNum" runat="server"></asp:TextBox>
                                                                                        <asp:Label ID="Label1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000841%>" class="form-label"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                                <div class="form-group form-float">
                                                                                    <asp:DropDownList ID="DDL_CardType" runat="server">
                                                                                    </asp:DropDownList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                                <div class="form-group form-float">
                                                                                    <div class="form-line">
                                                                                        <asp:TextBox ID="TxBx_CId" runat="server"></asp:TextBox>
                                                                                        <asp:Label ID="Label2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000715%>" class="form-label"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                                <div class="form-group form-float">
                                                                                    <div class="form-line">
                                                                                        <asp:TextBox ID="TxBx_CName" runat="server"></asp:TextBox>
                                                                                        <asp:Label ID="Label7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000268%>" class="form-label"></asp:Label>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-md-3 col-sm-6 col-xs-12">
                                                                                <div class="form-group form-float">
                                                                                    <asp:DropDownList ID="DDL_CardStatus" runat="server">
                                                                                        <asp:ListItem Text='<%$ Resources:Content, SelectStatus %>' Value="-1"></asp:ListItem>
                                                                                        <asp:ListItem Text='<%$ Resources:Content, GN0000858 %>' Value="1"></asp:ListItem>
                                                                                        <asp:ListItem Text='<%$ Resources:Content, GN0000859 %>' Value="0"></asp:ListItem>
                                                                                        <asp:ListItem Text='<%$ Resources:Content, GN0000860 %>' Value="2"></asp:ListItem>
                                                                                        <asp:ListItem Text='<%$ Resources:Content, GN0000861 %>' Value="3"></asp:ListItem>
                                                                                        <asp:ListItem Text='<%$ Resources:Content, GN0000862 %>' Value="4"></asp:ListItem>
                                                                                    </asp:DropDownList>
                                                                                </div>
                                                                            </div>
                                                                            <div class="col-xs-12">
                                                                                <div class="form-group form-float">
                                                                                    <asp:Button ID="Btn_FilterGo" runat="server" class="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN0000391%>" />
                                                                                    <asp:Button ID="Btn_Clear" Visible="false" class="btn btn-primary waves-effect" runat="server"
                                                                                        Text="<%$ Resources:Content,String289 %>" />
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>

                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <asp:GridView ID="GV_CreditCards" AllowSorting="true" AllowPaging="true" EmptyDataText='<%$ Resources:Content, GN00001375 %>'
                                                            runat="server" AutoGenerateColumns="False" CssClass="table table-bordered table-striped table-hover">

                                                            <Columns>
                                                                <asp:TemplateField HeaderText="<%$ Resources:Content,GN00008014 %>" HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="Img_ccType" runat="server" />
                                                                        <div id="Div_CardType" runat="server">
                                                                        </div>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField SortExpression="Card4Digits" HeaderText='<%$ Resources:Content, GN0000841 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <asp:LinkButton ID="LB_CardNumber" CommandName="Card" CommandArgument='<%# DataBinder.Eval(Container,"DataItem.CardId") %>'
                                                                            runat="server" Text='<%# DataBinder.Eval(Container,"DataItem.CardId") %>'></asp:LinkButton>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField SortExpression="NameOnCard" HeaderText='<%$ Resources:Content, GN0000865 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <div id="Div_ClientName" runat="server">
                                                                        </div>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000609 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                    <ItemTemplate>
                                                                        <div id="Div_ExpDate" runat="server">
                                                                        </div>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText='<%$ Resources:Content, String385 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                    <ItemTemplate>
                                                                        <div id="Div_Status" runat="server">
                                                                        </div>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000866 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                    <ItemTemplate>
                                                                        <asp:Label ID="img_ForRecurring" runat="server" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000876 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                    <ItemTemplate>
                                                                        <div id="Div_AllowPayment" runat="server">
                                                                        </div>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField SortExpression="Name" HeaderText='<%$ Resources:Content, GN0000268 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                                                    <ItemTemplate>
                                                                        <div id="Div_Client" runat="server" data-toggle="tooltip" data-placement="top" title="" data-original-title="" data-html="true">
                                                                        </div>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText='<%$ Resources:Content,GN0000360%>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                                                    <ItemTemplate>
                                                                        <ul class="option-menu">
                                                                            <li class="dropdown">
                                                                                <a href="javascript:void(0);" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                                                                                    <i class="material-icons">menu</i>
                                                                                </a>
                                                                                <ul class="dropdown-menu pull-right" id="UL_OptionMenu" runat="server">
                                                                                    <li>
                                                                                        <asp:LinkButton ID="LB_EnableDisable" Text="<%$ Resources:Content,DGN1110276%>"
                                                                                            CommandArgument='<%#DataBinder.Eval(Container, "DataItem.CardId")%>' Visible="false" runat="server" CssClass="btnAction" /></li>
                                                                                    <li>
                                                                                        <asp:LinkButton ID="lb_Delte" runat="server" Text='<%$ Resources:Content,GN0000377%>'
                                                                                            CommandArgument='<%#DataBinder.Eval(Container, "DataItem.CardId")%>'
                                                                                            CommandName="RowDelete" CssClass="btnAction" /></li>
                                                                                    <li>
                                                                                        <asp:LinkButton ID="LB_ChangeExpiry" Text="<%$ Resources:Content,ChangeExpiry%>"
                                                                                            CommandArgument='<%#DataBinder.Eval(Container, "DataItem.CardId")%>' CommandName="ChangeExpiry" runat="server" CssClass="btnAction" /></li>

                                                                                    <EM:ConfirmButtonExtender ID="CBE_Delte" runat="server" ConfirmText="<%$Resources:Content,CBE001%>"
                                                                                        TargetControlID="lb_Delte">
                                                                                    </EM:ConfirmButtonExtender>
                                                                                </ul>
                                                                            </li>
                                                                        </ul>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <%--PagerTemplate Start--%>
                                                            <PagerTemplate>
                                                                <EM:Pager ID="Pager1" runat="server" />
                                                            </PagerTemplate>
                                                            <%--PagerTemplate End--%>
                                                        </asp:GridView>
                                                    </div>
                                                </div>

                                                <asp:Button ID="Btn_Dummy" Style="display: none" runat="server" />
                                                <asp:Panel ID="Pnl_ChangeExpiry" runat="server" CssClass="width-modal-popup-auto" Style="display: none">
                                                    <div class="col-xs-12">
                                                        <div class="card">
                                                            <div class="header">
                                                                <h3>
                                                                    <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,ChangeExpiry %>"></asp:Literal></h3>
                                                            </div>
                                                            <div class="body">
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal2" runat="server" Text='<%$ Resources:Content, GN0000871 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_YearsChangeExpiry" runat="server" />
                                                                        </div>
                                                                        <asp:RequiredFieldValidator ID="RFV_DDL_YearsChangeExpiry" runat="server" Display="None" SetFocusOnError="True"
                                                                            ControlToValidate="DDL_YearsChangeExpiry" InitialValue="-1" ValidationGroup="ChangeExpiry" ErrorMessage='<%$ Resources:Content, Pleaseselectyear %>' />
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal12" runat="server" Text='<%$ Resources:Content, GN0000870 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_MonthsChangeExpiry" runat="server">
                                                                                <asp:ListItem Text='<%$ Resources:Content, SelectMonth %>' Value="-1"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001032 %>' Value="1"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001033 %>' Value="2"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001034 %>' Value="3"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001035 %>' Value="4"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001036 %>' Value="5"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001037 %>' Value="6"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001038 %>' Value="7"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001039 %>' Value="8"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001040 %>' Value="9"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001041 %>' Value="10"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001042 %>' Value="11"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001043 %>' Value="12"></asp:ListItem>
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                        <asp:RequiredFieldValidator ID="RFV_DDL_MonthsChangeExpiry" runat="server" Display="None" SetFocusOnError="True"
                                                                            ControlToValidate="DDL_MonthsChangeExpiry" InitialValue="-1" ValidationGroup="ChangeExpiry" ErrorMessage='<%$ Resources:Content, Pleaseselectmonth %>' />
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-xs-12">
                                                                        <asp:ValidationSummary HeaderText='<%$ Resources:Content, EM000001 %>' ID="ValidationSummary2"
                                                                            runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="ChangeExpiry" />
                                                                        <asp:Button ID="Btn_SaveChangeExpiry" runat="server" CausesValidation="true" ValidationGroup="ChangeExpiry" Text="<%$ Resources:Content,GN0000281%>" class="btn btn-primary waves-effect btnAction" />
                                                                        <asp:Button ID="Btn_CancelChangeExpiry" runat="server" Text="<%$ Resources:Content,GN0000572%>" CausesValidation="false" class="btn btn-primary waves-effect" />
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </asp:Panel>
                                                <EM:ModalPopupExtender runat="server" ID="MPE_ChangeExpiry" BackgroundCssClass="modalBackground" DropShadow="false"
                                                    PopupControlID="Pnl_ChangeExpiry" TargetControlID="Btn_Dummy" CancelControlID="Btn_CancelChangeExpiry">
                                                </EM:ModalPopupExtender>

                                            </asp:Panel>
                                        </ContentTemplate>
                                    </EM:TabPanel>
                                    <EM:TabPanel ID="Tab_Detail" Enabled="false" runat="server" HeaderText='<%$ Resources:Content, GN0000843 %>'>
                                        <ContentTemplate>
                                            <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                                            <asp:Panel ID="Pnl_TabContent1" runat="server">
                                                <div class="row">
                                                    <div class="col-xs-12">
                                                        <div class="card">
                                                            <div class="header">
                                                                <h3><%= Resources.Content.GN0000891%></h3>
                                                            </div>
                                                            <div class="body">
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <asp:Literal ID="Literal9" runat="server" Text='<%$ Resources:Content, GN0000268 %>'
                                                                            EnableViewState="false" />:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_Customer" runat="server" data-toggle="tooltip" data-placement="top" title="" data-original-title="" data-html="true"></div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal3" runat="server" Text='<%$ Resources:Content, GN0000872 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_NameOnCard" runat="server" MaxLength="60"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" Display="None"
                                                                                    SetFocusOnError="True" ControlToValidate="TxBx_NameOnCard" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal10" runat="server" Text='<%$ Resources:Content, GN0000673 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_CreditCardTypes" runat="server">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal4" runat="server" Text='<%$ Resources:Content, GN0000841 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_CardNumber" runat="server" MaxLength="16" onChange='ValidateCreditCard(this);'></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="RFV_TxBx_CardNumber" runat="server" Display="None"
                                                                                    SetFocusOnError="True" ControlToValidate="TxBx_CardNumber" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                                                <cc1:FilteredTextBoxExtender ID="FTE_TxBx_CardNumber" runat="server" TargetControlID="TxBx_CardNumber"
                                                                                    ValidChars="*" FilterType="Numbers">
                                                                                </cc1:FilteredTextBoxExtender>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <asp:Literal ID="Lbl_CardNumberNotice" runat="server" Text="<%$ Resources:Content,GN00001530%>"
                                                                            EnableViewState="false"></asp:Literal>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal13" runat="server" Text='<%$ Resources:Content, GN0000871 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_Years" runat="server" />
                                                                        </div>
                                                                        <asp:RequiredFieldValidator ID="RFV_DDL_Years" runat="server" Display="None" SetFocusOnError="True"
                                                                            ControlToValidate="DDL_Years" InitialValue="-1" ValidationGroup="addcard" ErrorMessage='<%$ Resources:Content, Pleaseselectyear %>' />
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal11" runat="server" Text='<%$ Resources:Content, GN0000870 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_Months" runat="server">
                                                                                <asp:ListItem Text='<%$ Resources:Content, SelectMonth %>' Value="-1"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001032 %>' Value="1"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001033 %>' Value="2"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001034 %>' Value="3"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001035 %>' Value="4"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001036 %>' Value="5"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001037 %>' Value="6"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001038 %>' Value="7"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001039 %>' Value="8"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001040 %>' Value="9"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001041 %>' Value="10"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001042 %>' Value="11"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN00001043 %>' Value="12"></asp:ListItem>
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                        <asp:RequiredFieldValidator ID="RFV_DDL_Months" runat="server" Display="None" SetFocusOnError="True"
                                                                            ControlToValidate="DDL_Months" InitialValue="-1" ValidationGroup="addcard" ErrorMessage='<%$ Resources:Content, Pleaseselectmonth %>' />
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal14" runat="server" Text='<%$ Resources:Content, GN0000873 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <cc1:FilteredTextBoxExtender ID="FTE_TxBx_Cvv2" runat="server" TargetControlID="TxBx_Cvv2"
                                                                                    FilterType="Numbers">
                                                                                </cc1:FilteredTextBoxExtender>
                                                                                <asp:TextBox ID="TxBx_Cvv2" runat="server" MaxLength="4"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="RFV_TxBx_Cvv2" runat="server" Display="None"
                                                                                    SetFocusOnError="True" ControlToValidate="TxBx_Cvv2" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <asp:Literal ID="Literal31" runat="server" Text="<%$ Resources:Content,GN00001530%>"
                                                                            EnableViewState="false"></asp:Literal>
                                                                    </div>
                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal15" runat="server" Text='<%$ Resources:Content, GN0000874 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_Solo" runat="server"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal16" runat="server" Text='<%$ Resources:Content, GN0000869 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_CreditCardStatus" runat="server">
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000858 %>' Value="1"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000860 %>' Value="2"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000859 %>' Value="0"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000861 %>' Value="3"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000862 %>' Value="4"></asp:ListItem>
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal17" runat="server" Text='<%$ Resources:Content, GN0000876 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_AllowPayment" runat="server">
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000004 %>' Value="1"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000005 %>' Value="0"></asp:ListItem>
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal18" runat="server" Text='<%$ Resources:Content, GN0000892 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_UseForRecurring" runat="server">
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000004 %>' Value="1"></asp:ListItem>
                                                                                <asp:ListItem Text='<%$ Resources:Content, GN0000005 %>' Value="0"></asp:ListItem>
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <asp:Literal ID="Literal19" runat="server" Text='<%$ Resources:Content, GN000174 %>'
                                                                            EnableViewState="false" />:
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12" id="Td_ClientIP" runat="server"></div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                        <br />
                                                        <div class="card">
                                                            <div class="header">
                                                                <h3><%= Resources.Content.GN0000877%></h3>
                                                            </div>
                                                            <div class="body">
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal6" runat="server" Text='<%$ Resources:Content, GN0000878 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_Address" runat="server" MaxLength="60"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" Display="None"
                                                                                    SetFocusOnError="True" ControlToValidate="TxBx_Address" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal7" runat="server" Text='<%$ Resources:Content, GN00001136 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_Address2" runat="server" MaxLength="60"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal8" runat="server" Text='<%$ Resources:Content, GN0000880 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_City" runat="server" MaxLength="60"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" Display="None"
                                                                                    SetFocusOnError="True" ControlToValidate="TxBx_City" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row" id="TR_State" runat="server">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal20" runat="server" Text='<%$ Resources:Content, DEV1130 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_States" runat="server" />
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                                <div class="row" id="TR_Province" runat="server">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal21" runat="server" Text='<%$ Resources:Content, GN00001313 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_Province" runat="server" MaxLength="60"></asp:TextBox>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal22" runat="server" Text='<%$ Resources:Content, GN0000882 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:DropDownList ID="DDL_Countries" runat="server" AutoPostBack="True">
                                                                            </asp:DropDownList>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal23" runat="server" Text='<%$ Resources:Content, GN00001522 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_Zip" runat="server" MaxLength="10"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" Display="None"
                                                                                    SetFocusOnError="True" ControlToValidate="TxBx_Zip" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                                                <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender4" runat="server" TargetControlID="TxBx_Zip"
                                                                                    FilterType="UppercaseLetters,Numbers,LowercaseLetters,Custom" ValidChars="- ">
                                                                                </cc1:FilteredTextBoxExtender>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal24" runat="server" Text='<%$ Resources:Content, GN00012 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_Phone" runat="server" MaxLength="20"></asp:TextBox>
                                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" Display="None"
                                                                                    SetFocusOnError="True" ControlToValidate="TxBx_Phone" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                                                <asp:RegularExpressionValidator ErrorMessage="<%$ Resources:Content,DGN1110070%>"
                                                                                    ID="RegularExpressionValidator2" runat="server" ControlToValidate="TxBx_Phone"
                                                                                    Display="None" SetFocusOnError="True" ValidationExpression="^([+]?[\s0-9()-]{5,20})$"
                                                                                    ValidationGroup="addcard"></asp:RegularExpressionValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal25" runat="server" Text='<%$ Resources:Content, GN0000885 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_MobilePhone" runat="server" MaxLength="20"></asp:TextBox>
                                                                                <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender7" runat="server" TargetControlID="TxBx_MobilePhone"
                                                                                    FilterType="Numbers,Custom" ValidChars="+ - ( ) \s">
                                                                                </cc1:FilteredTextBoxExtender>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal26" runat="server" Text='<%$ Resources:Content, GN0000886 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_Fax" runat="server" MaxLength="15"></asp:TextBox>
                                                                                <cc1:FilteredTextBoxExtender ID="FilteredTextBoxExtender6" runat="server" TargetControlID="TxBx_Fax"
                                                                                    FilterType="Numbers,Custom" ValidChars="+-() ">
                                                                                </cc1:FilteredTextBoxExtender>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            *<asp:Literal ID="Literal27" runat="server" Text='<%$ Resources:Content, GN0000652 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <div class="form-line">
                                                                                <asp:TextBox ID="TxBx_Email" runat="server" MaxLength="64"></asp:TextBox>
                                                                               <%-- <asp:RegularExpressionValidator ErrorMessage='<%$ Resources:Content, DGN1110038 %>'
                                                                                    ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxBx_Email"
                                                                                    Display="None" SetFocusOnError="True" ValidationExpression="<%$ Resources:MPRegex,EmailAddress %>"
                                                                                    ValidationGroup="addcard"></asp:RegularExpressionValidator>--%>
                                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" Display="None"
                                                                                    SetFocusOnError="True" ControlToValidate="TxBx_Email" ValidationGroup="addcard"></asp:RequiredFieldValidator>
                                                                            </div>
                                                                        </div>
                                                                    </div>

                                                                </div>
                                                                <div class="row">
                                                                    <div class="col-sm-4 col-xs-12 row-label">
                                                                        <label>
                                                                            <asp:Literal ID="Literal5" runat="server" Text='<%$ Resources:Content, GN000148 %>'
                                                                                EnableViewState="false" />:</label>
                                                                    </div>
                                                                    <div class="col-sm-4 col-xs-12">
                                                                        <div class="form-group">
                                                                            <asp:TextBox ID="TxBx_Comments" TextMode="MultiLine" runat="server" Height="150px" Width="100%"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="col-xs-12 row-label" id="Div_NoticeAgreement" runat="server">
                                                        <%= Resources.Content.noticeAgreement%>
                                                    </div>
                                                    <div class="col-xs-12">
                                                        <asp:ValidationSummary HeaderText='<%$ Resources:Content, EM000001 %>' ID="ValidationSummary1"
                                                            runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="addcard" />
                                                        <asp:Button ID="Btn_UpdateCard" runat="server" Text='<%$ Resources:Content, GN0000281 %>'
                                                            class="btn btn-primary waves-effect btnAction" ValidationGroup="addcard" />
                                                        <asp:Button ID="Btn_Cancel" runat="server" Text='<%$ Resources:Content, GN0000572 %>'
                                                            class="btn btn-primary waves-effect" CausesValidation="False" />
                                                    </div>
                                                </div>
                                            </asp:Panel>
                                        </ContentTemplate>
                                    </EM:TabPanel>
                                </EM:TabContainer>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
