<%@ control language="VB" autoeventwireup="false" inherits="Billing_CC_SellDomain, MachSol.MachPanel.Web" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>
<%@ Register Src="~/RCC/Clients/CC/SellEasyAddOn.ascx" TagName="SellEasyAddOn" TagPrefix="EM" %>
<%@ Register Src="~/Template/CC/Selectable_Selected_LBX.ascx" TagName="AddSelectableSelected" TagPrefix="EM" %>

<div class="row">
    <div id="Div_Error" class="col-xs-12 row-label col-red" runat="server" visible="false">
    </div>
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3>
                    <asp:Literal ID="Literal11" runat="server" Text="<%$ Resources:Content,GN000159%>" EnableViewState="false"></asp:Literal>
                </h3>
            </div>
            <div class="body">
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal3" runat="server" Text="<%$ Resources:Content,GN000160%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_OrderType" runat="server" AutoPostBack="True">
                                <asp:ListItem Value="0" Selected="True" Text="<%$ Resources:Content,GN000161%>"></asp:ListItem>
                                <asp:ListItem Value="1" Text="<%$ Resources:Content,GN0000942%>"></asp:ListItem>
                            </asp:DropDownList>
                        </div>
                    </div>
                </div>

                <div class="row" id="Div_OrderMode" runat="server" visible="false">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal4" runat="server" Text="<%$ Resources:Content,OrderMode%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_OrderMode" runat="server" AutoPostBack="True">
                                <asp:ListItem Value="0" Selected="True" Text="<%$ Resources:Content,SingleOrder%>"></asp:ListItem>
                                <asp:ListItem Value="1" Text="<%$ Resources:Content,BulkOrder%>"></asp:ListItem>
                            </asp:DropDownList>
                        </div>
                    </div>
                </div>

                <div class="row" id="Div_SingleDomain" runat="server">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal2" runat="server" Text="<%$ Resources:Content,GN000125%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_DomainName" runat="server" MaxLength="63"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RFV_TxBx_DomainName" runat="server" ControlToValidate="TxBx_DomainName"
                                    Display="None" SetFocusOnError="True" ValidationGroup="SellDomain"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-2 col-xs-12">
                        <div class="form-group at-the-rate">
                            <strong>.</strong>
                            <asp:DropDownList ID="DDL_TLD" runat="server" AutoPostBack="True">
                            </asp:DropDownList>
                        </div>

                    </div>
                </div>
                <div id="Div_MultipleDomains" runat="server" visible="false">
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal5" runat="server" Text="<%$ Resources:Content,strCommaSepDomainNamesSLDs%>"
                                    EnableViewState="false" />:</label>
                        </div>
                        <div class="col-sm-9 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_DomainNameMulti" runat="server" TextMode="MultiLine" Rows="5"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RFV_TxBx_DomainNameMulti" runat="server" ControlToValidate="TxBx_DomainNameMulti"
                                        Display="None" SetFocusOnError="True" ValidationGroup="SellDomain" Enabled="false"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal23" runat="server" Text="<%$ Resources:Content,SelectDomainTLDs%>"
                                    EnableViewState="false" />:</label>
                        </div>
                        <div class="col-sm-9 col-xs-12">
                            <EM:AddSelectableSelected ID="UCTLDs" runat="server" SortByValue="false" />
                        </div>
                    </div>

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

                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Ltrl_SelectFile" runat="server" Text="<%$Resources:Content,String380 %>"></asp:Literal>:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="fileupload fileupload-new" data-provides="fileupload">
                                    <span class="btn btn-primary btn-file"><span class="fileupload-new"><%= Resources.Content.strSelectFile%></span>
                                        <span class="fileupload-exists"><%= Resources.Content.GN0000385%></span>
                                        <asp:FileUpload ID="FU_BulkDomainNames" runat="server" />
                                    </span>
                                    <span class="fileupload-preview"></span>
                                    <a href="#" class="close fileupload-exists" data-dismiss="fileupload" style="float: none">×</a>
                                    <asp:RequiredFieldValidator ID="RFV_FU_BulkDomainNames" runat="server" ControlToValidate="FU_BulkDomainNames"
                                        Display="None" SetFocusOnError="True" ValidationGroup="SellDomain"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                            <div>
                                <asp:Literal ID="Ltl_DownLoadCSV" runat="server"></asp:Literal>
                            </div>
                        </div>
                    </div>--%>
                </div>

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

                <div class="row" id="TR_RegistrantType" runat="server" visible="false">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal17" runat="server" Text="<%$ Resources:Content,SMI0361%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_RegistrantType" runat="server">
                                <asp:ListItem Value="individual" Selected="True" Text="<%$ Resources:Content,SMI0360%>"></asp:ListItem>
                                <asp:ListItem Value="organization" Text="<%$ Resources:Content,DGN1110357%>"></asp:ListItem>
                            </asp:DropDownList>
                        </div>
                    </div>
                </div>
                <div class="row" id="TR_IDCardVATNumber" runat="server" visible="false">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal18" runat="server" Text="<%$ Resources:Content,SMI0362%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_IDCardVATNumber" runat="server" />
                                <asp:RequiredFieldValidator ID="RFV_TxBx_IDCardVATNumber" runat="server" ControlToValidate="TxBx_IDCardVATNumber"
                                    Display="None" SetFocusOnError="True" ValidationGroup="SellDomain" Enabled="false"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-5 col-xs-12">
                        Note:                   
                        <asp:Label ID="Lbl_IDCard" runat="server" Text="<%$ Resources:Content,SMI0363%>" />
                    </div>
                </div>
                <div class="row" id="Tr_LegalType" runat="server" visible="false">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal12" runat="server" Text="<%$ Resources:Content,SMI0290%>" EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_LegalType" runat="server">
                                <asp:ListItem Text="<%$ Resources:Content,SMI0291%>" Value="ABO" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0292%>" Value="ASS" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0293%>" Value="CCO" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0294%>" Value="CCT" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0295%>" Value="EDU" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0296%>" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0297%>" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0298%>" Value="INB" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0299%>" Value="LAM" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0300%>" Value="LGR" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0301%>" Value="MAJ" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0302%>" Value="OMK" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0303%>" Value="PLT" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0304%>" Value="PRT" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0305%>" Value="RES" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0306%>" Value="TDM" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0307%>" Value="TRD" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0308%>" Value="TRS" />
                            </asp:DropDownList>
                        </div>
                    </div>
                </div>
                <div class="row" id="Tr_AppPurpose" runat="server" visible="false">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal13" runat="server" Text="<%$ Resources:Content,GN0000976%>" EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_AppPurpose" runat="server">
                                <asp:ListItem Text="<%$ Resources:Content,SMI0309%>" Value="P1" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0310%>" Value="P2" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0311%>" Value="P3" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0312%>" Value="P4" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0313%>" Value="P5" />
                            </asp:DropDownList>
                        </div>
                    </div>
                </div>
                <div class="row" id="Tr_Category" runat="server" visible="false">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal14" runat="server" Text="<%$ Resources:Content,GN0001286%>" EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_Category" runat="server" AutoPostBack="true">
                                <asp:ListItem Text="<%$ Resources:Content,SMI0314%>" Value="C11" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0315%>" Value="C12" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0316%>" Value="C21" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0317%>" Value="C31" />
                                <asp:ListItem Text="<%$ Resources:Content,SMI0318%>" Value="C32" />
                            </asp:DropDownList>
                        </div>
                    </div>
                </div>
                <div class="row" id="Tr_ValidContryCode" runat="server" visible="false">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal15" runat="server" Text="<%$ Resources:Content,SMI0319%>" EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <asp:DropDownList ID="DDL_ValidContryCode" runat="server" />
                        </div>
                    </div>
                </div>
                <div class="row" id="Tr_TransferCode" runat="server">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            *<asp:Literal ID="Literal1" runat="server" Text="<%$ Resources:Content,String388%>"
                                EnableViewState="false" />:</label>
                    </div>
                    <div class="col-sm-4 col-xs-12">
                        <div class="form-group">
                            <div class="form-line">
                                <asp:TextBox ID="TxBx_TransferCode" runat="server"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="RFV_TxBx_TransferCode" runat="server" ControlToValidate="TxBx_TransferCode"
                                    Display="None" SetFocusOnError="True" Enabled="false" ValidationGroup="SellDomain"></asp:RequiredFieldValidator>
                            </div>
                        </div>
                    </div>
                </div>

                <div id="Pnl_BillingOFFUI" runat="server">
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label" id="TD_Cycle" runat="server">
                            <label>
                                <asp:Literal ID="Literal20" runat="server" Text="<%$ Resources:Content,GN000144%>"
                                    EnableViewState="false" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:DropDownList ID="DDL_Cycle" runat="server" AutoPostBack="True">
                                </asp:DropDownList>
                            </div>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <input type="hidden" id="HTxBx_OPrice" runat="server" />
                            <input id="HTxBx_PGID" runat="server" type="hidden" />
                            <input id="HTxBx_CS" runat="server" type="hidden" />
                            <%--<input id="HTxBx_RegistrarId" runat="server" type="hidden" />--%>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                *<asp:Literal ID="Literal21" runat="server" Text="<%$ Resources:Content,GN000112%>"
                                    EnableViewState="false" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <div class="form-line">
                                    <asp:TextBox ID="TxBx_Price" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxBx_Price"
                                        Display="None" SetFocusOnError="True" ValidationGroup="SellDomain"></asp:RequiredFieldValidator>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row" id="Tr_PriceFreeze" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <label>
                                <asp:Literal ID="Literal6" runat="server" Text="<%$ Resources:Content,GN000145%>"
                                    EnableViewState="false" />:</label>
                        </div>
                        <div class="col-sm-4 col-xs-12">
                            <div class="form-group">
                                <asp:CheckBox ID="ChBx_PriceFreeze" runat="server" Checked="True" Text=" "></asp:CheckBox>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label"></div>
                        <div class="col-sm-9 col-xs-12">
                            <asp:LinkButton class="btn btn-primary waves-effect" ID="LB_PreviewBill" runat="server" CausesValidation="False"
                                Text="<%$ Resources:Content,GN000146%>"></asp:LinkButton>
                        </div>
                    </div>
                </div>

                <div runat="server" id="TR_PreviewBill" visible="false">
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal19" runat="server" Text="<%$ Resources:Content,GN000112%>"
                                EnableViewState="false" />:
                        </div>
                        <div class="col-sm-9 col-xs-12" id="TD_Price" runat="server"></div>
                    </div>
                    <div class="row" id="TR_TransferPrice" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal7" runat="server" Text="<%$ Resources:Content,GN0000942%>"
                                EnableViewState="false" />
                            <asp:Literal ID="Literal25" runat="server" Text="<%$ Resources:Content,GN000112%>"
                                EnableViewState="false" />:
                        </div>
                        <div class="col-sm-9 col-xs-12" id="TD_TransferPrice" runat="server"></div>
                    </div>
                    <div class="row" id="Tr_Discount" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal8" runat="server" Text="<%$ Resources:Content,GN000147%>"
                                EnableViewState="false" />:
                        </div>
                        <div class="col-sm-9 col-xs-12" id="TD_Discount" runat="server"></div>
                    </div>
                    <div class="row">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal16" runat="server" Text="<%$ Resources:Content,GN000114%>"
                                EnableViewState="false" />:
                        </div>
                        <div class="col-sm-9 col-xs-12" id="TD_Total" runat="server"></div>
                    </div>
                    <div class="row" id="Tr_YouGet" runat="server">
                        <div class="col-sm-3 col-xs-12 row-label">
                            <asp:Literal ID="Literal9" runat="server" Text="<%$ Resources:Content,USM0098%>"
                                EnableViewState="false" />:
                        </div>
                        <div class="col-sm-9 col-xs-12" id="TD_Income" runat="server"></div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-sm-3 col-xs-12 row-label">
                        <label>
                            <asp:Literal ID="Literal10" 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" runat="server" MaxLength="500" TextMode="MultiLine" Height="150px" Width="100%"></asp:TextBox>
                        </div>
                    </div>
                </div>

                <div id="Div_EasyAddons" runat="server">
                    <div class="panel-group" id="accordion_DomainEasyAddOn" role="tablist" aria-multiselectable="true">
                        <div class="panel panel-primary">
                            <div class="panel-heading" role="tab" id="heading_DomainEasyAddOn">
                                <h2 class="panel-title">
                                    <a role="button" id="A_DomainEasyAddOn" data-toggle="collapse" data-parent="#accordion_DomainEasyAddOn" href="#CSB_DomainEasyAddOn" aria-expanded="true" aria-controls="CSB_DomainEasyAddOn" class="collapsed">
                                        <%= Resources.Content.GN000139%>
                                    </a>
                                </h2>
                            </div>
                            <div id="CSB_DomainEasyAddOn" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading_DomainEasyAddOn" aria-expanded="false" style="height: 0px;">
                                <div class="panel-body">
                                    <EM:SellEasyAddOn ID="SellEasyAddOn" runat="server" />
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="row">
                    <div class="col-xs-12">
                        <asp:ValidationSummary HeaderText='<%$ Resources:Content,EM000001%>' ID="ValidationSummary1"
                            runat="server" ShowMessageBox="True" ShowSummary="False" ValidationGroup="SellDomain" />
                        <asp:Button ID="Btn_Add" class="btn btn-primary waves-effect btnAction" runat="server" Text="<%$ Resources:Content,GN000111%>"
                            ValidationGroup="SellDomain" />
                        <asp:Button class="btn btn-primary waves-effect" ID="LB_Close" runat="server" Text="<%$ Resources:Content,GN0000572%>" />
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
