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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>


<asp:Content ID="Content6" ContentPlaceHolderID="CPH_Content" runat="Server">

    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h2>
                    <asp:Literal EnableViewState="false" ID="Literal28" runat="server" Text='<%$ Resources:Content, PT00100499 %>' /></h2>
            </div>
            <div class="body">
                <div class="products-step">
                    <span id="div_s1" runat="server" nowrap="true" class="label label-success">
                        <asp:Literal ID="Literal6" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000578 %>' />
                    </span>
                    <span id="div_s2" runat="server" nowrap="true" class="label label-default">
                        <asp:Literal ID="Div3" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000193 %>' />
                    </span>
                    <span id="div_s3" runat="server" nowrap="true" class="label label-default">
                        <asp:Literal ID="Div4" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000200 %>' />
                    </span>
                    <span id="div_s4" runat="server" nowrap="true" class="label label-default">
                        <asp:Literal ID="Div5" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000105 %>' />
                    </span>
                </div>

                <div class="col-xs-12"></div>
                <div class="col-xs-12"></div>

                <asp:Wizard ID="W_Domain" Width="100%" runat="server" CancelDestinationPageUrl="~/RCC/Packages/TldListing.aspx"
                    ActiveStepIndex="0" DisplayCancelButton="true" DisplaySideBar="False">
                    <StartNavigationTemplate>
                        <asp:Button ID="Btn_Start_Cancel" runat="server" CssClass="btn btn-primary waves-effect wizard-cancel" Text="<%$ Resources:Content,GN0000572%>"
                            CommandName="Cancel" CausesValidation="false" />
                        <asp:Button ID="Btn_Start_Next" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN00001242%>"
                            CausesValidation="true" CommandName="MoveNext" />
                    </StartNavigationTemplate>
                    <StepNavigationTemplate>
                        <asp:Button ID="Btn_Step_Cancel" runat="server" CssClass="btn btn-primary waves-effect wizard-cancel" Text="<%$ Resources:Content,GN0000572%>"
                            CommandName="Cancel" CausesValidation="false" />
                        <asp:Button ID="Btn_Step_Prev" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,DGN1110612%>"
                            CommandName="MovePrevious" CausesValidation="false" />
                        <asp:Button ID="Btn_Step_Next" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,GN00001242%>"
                            CausesValidation="true" CommandName="MoveNext" />
                    </StepNavigationTemplate>
                    <FinishNavigationTemplate>
                        <asp:Button ID="Btn_Finish_Cancel" runat="server" CssClass="btn btn-primary waves-effect wizard-cancel" Text="<%$ Resources:Content,GN0000572%>"
                            CommandName="Cancel" CausesValidation="false" />
                        <asp:Button ID="Btn_Finish_Prev" runat="server" CssClass="btn btn-primary waves-effect" Text="<%$ Resources:Content,DGN1110612%>"
                            CommandName="MovePrevious" CausesValidation="false" />
                        <asp:Button ID="Btn_Finish_Save" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,String265 %>"
                            CausesValidation="true" CommandName="MoveComplete" />
                    </FinishNavigationTemplate>
                    <CancelButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                    <FinishCompleteButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                    <StepPreviousButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                    <StepNextButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                    <StartNextButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                    <FinishPreviousButtonStyle CssClass="btn btn-primary waves-effect" Width="105px" />
                    <WizardSteps>
                        <asp:WizardStep runat="server" Title="General Info." ID="WS_DomainInfo" StepType="Start">

                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    *<asp:Literal ID="Literal5" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000220%>" />:
                                </div>
                                <div class="col-sm-4 col-xs-11">
                                    <div class="input-group">
                                        <span class="input-group-addon">.</span>
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_Extension" runat="server" MaxLength="40"></asp:TextBox>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-3 col-xs-12">
                                    <asp:RequiredFieldValidator SetFocusOnError="true" ID="RFV_Extension" runat="server"
                                        Display="None" ControlToValidate="TxBx_Extension"></asp:RequiredFieldValidator>
                                    <EM:FilteredTextBoxExtender ID="FilteredTextBoxExtender1" runat="server" TargetControlID="TxBx_Extension"
                                        FilterType="LowercaseLetters,UppercaseLetters,custom" ValidChars=".">
                                    </EM:FilteredTextBoxExtender>
                                    <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,GN00001451 %>" />
                                </div>
                            </div>

                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Literal1" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000221%>" />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:SqlDataSource ID="DS_Registrar" runat="server" EnableCaching="True" CacheDuration="300" />
                                        <asp:DropDownList ID="DDL_Registrar" DataSourceID="DS_Registrar" runat="server">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                            </div>

                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Literal2" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000222%>" />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox ID="ChBx_Active" runat="server" Text="&nbsp;" Checked="True" />
                                    </div>
                                </div>
                            </div>

                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Literal11" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000226%>" />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox ID="ChBx_IsTransferable" Text="&nbsp;" runat="server" Checked="True" />
                                    </div>
                                </div>
                            </div>

                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Literal3" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000227%>" />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:DropDownList ID="DDL_MinimumTerm" runat="server">
                                        </asp:DropDownList>
                                    </div>
                                </div>
                            </div>

                            <div class="row" style="display: none">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Literal7" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000228%>" />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:DropDownList ID="DDL_LocalRenewType" runat="server">
                                            <asp:ListItem Value="2" Text='<%$ Resources:Content,GN0000903 %>' Selected="true"></asp:ListItem>
                                        </asp:DropDownList>
                                    </div>
                                </div>
                            </div>

                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Literal8" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000229%>" />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox ID="ChBx_RemoteLock" Text="&nbsp;" runat="server" />
                                    </div>
                                </div>
                            </div>

                            <div class="row" id="tr_enabledForReseller" runat="server">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <asp:Literal ID="Literal24" runat="server" EnableViewState="false" Text="<%$ Resources:Content,USM0094%>" />:
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox ID="Cb_EnabledForReseller" runat="server" Text="&nbsp;" />
                                    </div>
                                </div>
                            </div>

                            <div id="TR_ComissionResellers" runat="server" style="display: none;">
                                <div class="row" id="Tr_ResellerComissionInPercentage" runat="server">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Literal ID="Literal33" runat="server" EnableViewState="false" Text="<%$ Resources:Content,USM0095%>" />:
                                    </div>
                                    <div class="col-sm-4 col-xs-12">
                                        <div class="form-group">
                                            <div class="form-line">
                                                <asp:TextBox ID="TxBx_ResellerComissionInPercentage" runat="server" Text="0"></asp:TextBox>
                                            </div>
                                        </div>
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-xs-12 row-label">
                                        <asp:RadioButton ID="RB_AllRes" runat="server" Checked="true" GroupName="AllRes"
                                            Text="<%$ Resources:Content,String501%>" />
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-xs-12 row-label">
                                        <asp:RadioButton ID="RB_SelectedRes" runat="server" GroupName="AllRes" Text="<%$ Resources:Content,String502%>" />:
                                    </div>
                                    <div class="col-xs-12" id="Tbl_AllResellers" runat="server" style="display: none;">
                                        <ajax:UpdatePanel ID="UP_Resellers" runat="server">
                                            <ContentTemplate>
                                                <EM:AddSelectableSelected ID="UCResellers" runat="server" />
                                            </ContentTemplate>
                                        </ajax:UpdatePanel>
                                    </div>
                                </div>
                            </div>
                        </asp:WizardStep>
                        <asp:WizardStep runat="server" Title="Cycles" ID="WS_Cycles" StepType="Step">
                            <ajax:UpdatePanel ID="UpnlCycles" runat="server">
                                <ContentTemplate>
                                    <%-- Payment Cycles --%>
                                    <div class="col-xs-12 header">
                                        <asp:Literal
                                            ID="Literal9" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000193 %>' />
                                    </div>

                                    <div class="col-xs-12">
                                        <EM:AddSelectableSelected ID="UCPaymentCycles" runat="server" IsSelectedRequired="true" SortByValue="true" />
                                    </div>

                                    <%-- Payment Groups --%>
                                    <div class="col-xs-12 header">
                                        <asp:Literal
                                            ID="Literal43" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000196 %>' />
                                    </div>

                                    <div class="col-xs-12">
                                        <EM:AddSelectableSelected ID="UCPaymentGroups" IsSelectedRequired="true" runat="server" />
                                    </div>

                                </ContentTemplate>
                            </ajax:UpdatePanel>

                        </asp:WizardStep>
                        <asp:WizardStep runat="server" Title="Price" ID="WS_Price" StepType="Step">
                            <asp:TextBox ID="TxBx_Check1" runat="server" Text='<%$ Resources:Content, GN0000485 %>'
                                Visible="False"></asp:TextBox>
                            <%--Price Group --%>
                            <table class="table table-bordered table-striped table-hover">
                                <tr>
                                    <th class="col-xs-2">
                                        <%=Resources.Content.GN0000200%>
                                    </th>
                                    <th class="col-xs-2">
                                        <%=Resources.Content.GN0000193%>
                                    </th>
                                    <th class="col-xs-2">
                                        <%=Resources.Content.GN000112%>
                                    </th>
                                    <th class="col-xs-2">% <%=Resources.Content.GN0000203%>
                                    </th>
                                    <th class="col-xs-4">
                                        <%=Resources.Content.GN0000230%>
                                    </th>
                                </tr>

                                <asp:Repeater ID="Rep_PG" runat="server">
                                    <ItemTemplate>

                                        <tr>
                                            <td class="col-xs-2">
                                                <asp:Label ID="PGName" runat="server"></asp:Label>
                                                <input id="H_PGID" runat="server" type="hidden" />
                                            </td>
                                            <td colspan="3" class="col-xs-10">

                                                <asp:Repeater ID="Rep_Cycle" runat="server">
                                                    <ItemTemplate>
                                                        <table class="table">
                                                            <tr>
                                                                <td class="col-xs-2" id="Cycle" runat="server"></td>
                                                                <td class="col-xs-2" id="Price" runat="server">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <input id="H_CycleId" runat="server" type="hidden" />
                                                                            <asp:TextBox runat="server" ID="TxBx_Price"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </td>
                                                                <td class="col-xs-2" id="Discount" runat="server">
                                                                    <div class="form-group">
                                                                        <div class="form-line">
                                                                            <asp:TextBox runat="server" ID="TxBx_Discount" Text="0"></asp:TextBox>
                                                                        </div>
                                                                    </div>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </ItemTemplate>
                                                </asp:Repeater>
                                            </td>
                                            <td runat="server" id="RTPrice" valign="middle">
                                                <div class="row">
                                                    <div class="col-sm-5 col-xs-12">
                                                        <asp:Literal ID="Literal9" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000231%>" />:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox runat="server" ID="TxBx_RPrice"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="col-sm-3 col-xs-12">
                                                        <div class="form-group">
                                                            <asp:Literal ID="Literal10" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000232%>" />
                                                        </div>
                                                    </div>
                                                </div>

                                                <div class="row">
                                                    <div class="col-sm-5 col-xs-12">
                                                        <asp:Literal ID="Literal12" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000233%>" />:
                                                    </div>
                                                    <div class="col-sm-4 col-xs-12">
                                                        <div class="form-group">
                                                            <div class="form-line">
                                                                <asp:TextBox runat="server" ID="TxBx_TPrice"></asp:TextBox>
                                                            </div>
                                                        </div>
                                                    </div>

                                                </div>



                                            </td>
                                        </tr>


                                    </ItemTemplate>
                                </asp:Repeater>

                            </table>

                        </asp:WizardStep>
                        <asp:WizardStep runat="server" Title="General Info." ID="WS_AssociateAddon" StepType="Finish">
                            <ajax:UpdatePanel ID="UpdatePanel3" runat="server">
                                <ContentTemplate>
                                    <div class="col-xs-12">
                                        <EM:AddSelectableSelected ID="UCAddons" runat="server" />
                                    </div>
                                </ContentTemplate>
                            </ajax:UpdatePanel>
                        </asp:WizardStep>
                    </WizardSteps>
                </asp:Wizard>
                <asp:ValidationSummary ID="VS_Step1" HeaderText='<%$ Resources:Content, EM000001 %>'
                    ShowMessageBox="True" ShowSummary="False" runat="server" />
            </div>
        </div>
    </div>

    <!-- //////////////////////  Wizard 0TH Step //////////////////////////////// -->


    <script type="text/javascript">
        function onOk() {
            __doPostBack('ctl00$CPH_Content$Btn_Pop_OK', '');
        }
        function onCancel() {
            //  __doPostBack('ctl00$RightContentPlaceHolder$Btn_Pop_Cancel','');
            //      __doPostBack('ctl00$RightContentPlaceHolder$GV_TicketList$ctl02$LBtn_Del','')
        }

    </script>
    
<script lang="javascript">
    AllowArrowKeysInFilteredTextBoxExtender('<%=FilteredTextBoxExtender1.ClientID%>');
</script>
</asp:Content>
<%-- ////// ///// ---- Links  and Page Tracking Info Section ---- \\\\\ \\\\\\ --%>
