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

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

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" 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 ID="Ltr_PageTitle" runat="server" Text='<%$ Resources:Content, GN00001462 %>' /></h2>
            </div>
            <div class="body">
                <div class="products-step">
                    <span id="div_s1" runat="server" nowrap="true" class="label label-success">
                        <asp:LinkButton ID="LB_Step1" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000578 %>' />
                    </span>
                    <span id="div_s2" runat="server" nowrap="true" class="label label-default">
                        <asp:LinkButton ID="LB_Step2" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000193 %>' />
                    </span>
                    <span id="div_s3" runat="server" nowrap="true" class="label label-default">
                        <asp:LinkButton ID="LB_Step3" runat="server" EnableViewState="false" Text='<%$ Resources:Content, GN0000200 %>' />
                    </span>
                    <span id="div_s4" runat="server" nowrap="true" class="label label-default">
                        <asp:LinkButton ID="LB_Step4" 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" ActiveStepIndex="0" 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" />
                        <asp:Button ID="Btn_Start_Save" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,String265 %>"
                            CausesValidation="true" CommandName="MoveComplete" />
                    </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" />
                        <asp:Button ID="Btn_Step_Save" runat="server" CssClass="btn btn-primary waves-effect btnAction" Text="<%$ Resources:Content,String265 %>"
                            CausesValidation="true" CommandName="MoveComplete" />
                    </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:TemplatedWizardStep runat="server" Title="Domain Info" ID="WS_DomainInfo" StepType="Start">
                            <ContentTemplate>
                                <ajax:UpdatePanel ID="UP_Step0" runat="server">
                                    <ContentTemplate>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                *<asp:Literal ID="Literal4" runat="server" EnableViewState="false" Text="<%$ Resources:Content,GN0000220%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <div class="form-line">
                                                        <asp:TextBox ID="TxBx_Extension" runat="server" MaxLength="40"></asp:TextBox>
                                                    </div>
                                                </div>
                                            </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" Enabled="false" 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;" />
                                                </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,GN0000226%>" />:
                                            </div>
                                            <div class="col-sm-4 col-xs-12">
                                                <div class="form-group">
                                                    <asp:CheckBox ID="ChBx_IsTransferable" runat="server" Text="&nbsp;" />
                                                </div>
                                            </div>
                                        </div>

                                        <div class="row">
                                            <div class="col-sm-3 col-xs-12 row-label">
                                                <asp:Literal ID="Literal5" 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="Literal6" 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 Text='<%$ Resources:Content, GN0000903 %>' Value="2" 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="Literal7" 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" runat="server" Text="&nbsp;" />
                                                </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>
                                    </ContentTemplate>
                                </ajax:UpdatePanel>
                            </ContentTemplate>
                        </asp:TemplatedWizardStep>
                        <%--  <!-- //////////////////////  Wizard 1ST Step //////////////////////////////// -->--%>
                        <asp:TemplatedWizardStep runat="server" Title="Domain Info" ID="WS_Cycles" StepType="Step">
                            <ContentTemplate>
                                <ajax:UpdatePanel ID="UP_Step2" 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>
                            </ContentTemplate>
                        </asp:TemplatedWizardStep>
                        <%--           <!-- /////////////////////////////////// Wizard 2ND step///////////////////////////////-->   --%>
                        <asp:TemplatedWizardStep runat="server" Title="Domain Info" ID="WS_Price" StepType="Step">
                            <ContentTemplate>
                                <ajax:UpdatePanel ID="UP_Step3" runat="server">
                                    <ContentTemplate>
                                        <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>
                                    </ContentTemplate>
                                </ajax:UpdatePanel>
                            </ContentTemplate>
                        </asp:TemplatedWizardStep>
                        <%--   <!-- ///////////////////////////////// Wizard 3RD Step ///////////////////////// -->--%>
                        <asp:TemplatedWizardStep runat="server" Title="Domain Info" ID="WS_AssociateAddon"
                            StepType="Finish">
                            <ContentTemplate>
                                <ajax:UpdatePanel ID="UpdatePanel3" runat="server">
                                    <ContentTemplate>
                                        <div class="col-xs-12">
                                            <EM:AddSelectableSelected ID="UCAddons" runat="server" />
                                        </div>
                                    </ContentTemplate>
                                </ajax:UpdatePanel>
                            </ContentTemplate>
                        </asp:TemplatedWizardStep>
                    </WizardSteps>
                </asp:Wizard>
                <asp:ValidationSummary HeaderText='<%$ Resources:Content, EM000001 %>' ID="ValidationSummary1"
                    ShowMessageBox="true" ShowSummary="false" runat="server" />

            </div>
        </div>
    </div>


</asp:Content>
