<%@ control language="VB" autoeventwireup="false" inherits="RCC_Exchange_CC_AddEditSpamDomain, MachSol.MachPanel.Web" %>

<div class="row">
    <div class="col-xs-12">
        <div class="card">
            <div class="header">
                <h3>
                    <asp:Literal ID="Literal8" runat="server" Text='<%$ Resources:Content,Exch0005%>' EnableViewState="false" /></h3>
            </div>
            <div class="body">
                <ajax:UpdatePanel ID="UP_SpamDomains" runat="server" UpdateMode="Conditional" ChildrenAsTriggers="true">
                    <ContentTemplate>
                        <div class="row">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal4" runat="server" Text='<%$ Resources:Content,String251%>' EnableViewState="false" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:RadioButtonList ID="RBL_CreateAs" runat="server" RepeatDirection="Horizontal"
                                        AutoPostBack="true"
                                        OnSelectedIndexChanged="RBL_CreateAs_SelectedIndexChanged">
                                        <asp:ListItem Text="<%$ Resources:Content,String393 %>" Value="0" Selected="True" />
                                        <asp:ListItem Text="<%$ Resources:Content,DGN1110414 %>" Value="1" />
                                    </asp:RadioButtonList>
                                </div>
                            </div>
                        </div>
                        <div class="row" id="TR_NewDomain" runat="server">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal1" runat="server" Text='<%$ Resources:Content,Exch0007%>' EnableViewState="false" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:ListBox ID="LBX_DomainName" runat="server" SelectionMode="Multiple" CssClass="ms" />
                                    <asp:Label ID="Lbl_DomainNameEdit" runat="server" Visible="false" />
                                </div>
                            </div>
                        </div>
                        <div class="row" id="TR_AliasParent" runat="server" visible="false">
                            <div class="col-sm-3 col-xs-12 row-label">
                                <label>
                                    <asp:Literal ID="Literal6" runat="server" Text='<%$ Resources:Content,FAM0069 %>' EnableViewState="false" />:</label>
                            </div>
                            <div class="col-sm-4 col-xs-12">
                                <div class="form-group">
                                    <asp:DropDownList ID="DDL_ParentDomainName" runat="server" />
                                </div>
                            </div>
                        </div>
                        <div id="Pnl_Show" runat="server" visible="false">
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <label>*<asp:Literal ID="Literal2" runat="server" Text='<%$ Resources:Content,L0029%>' EnableViewState="false" />:</label>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_AdminUserEmail" runat="server" />
                                            <asp:RequiredFieldValidator ID="RFV_TxBx_AdminUserEmail" runat="server" ControlToValidate="TxBx_AdminUserEmail"
                                                SetFocusOnError="true" ValidationGroup="spamfilter" Display="none"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <label>*<asp:Literal ID="Literal7" runat="server" Text='<%$ Resources:Content,GN0000569%>' EnableViewState="false" />:</label>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_AdminPassword" runat="server" TextMode="Password" ValidationGroup="spam">
                                            </asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RFV_TxBx_AdminPassword" runat="server" ControlToValidate="TxBx_AdminPassword"
                                                SetFocusOnError="true" ValidationGroup="spamfilter" Display="none"></asp:RequiredFieldValidator>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <asp:LinkButton ID="lb_Generate" runat="server" Text="<%$ Resources:Content,SMI0195%>" class="btn btn-primary waves-effect"
                                        CausesValidation="false"></asp:LinkButton>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <label>*<asp:Literal ID="Lbl_ConfirmPwd" runat="server" Text='<%$ Resources:Content,GN0001196%>' EnableViewState="false" />:</label>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <div class="form-line">
                                            <asp:TextBox ID="TxBx_AdminPassword2" runat="server" MaxLength="20" TextMode="Password"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="RFV_TxBx_AdminPassword2" runat="server" ControlToValidate="TxBx_AdminPassword2"
                                                Display="None" SetFocusOnError="True" ValidationGroup="spamfilter"></asp:RequiredFieldValidator>
                                            <asp:CompareValidator ID="CFV_TxBx_AdminPassword2" ControlToValidate="TxBx_AdminPassword" ControlToCompare="TxBx_AdminPassword2"
                                                runat="server" Display="none" ErrorMessage='<%$ Resources:Content,DGN1110005 %>'
                                                ValidationGroup="spamfilter"></asp:CompareValidator>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <asp:CheckBox ID="CB_Show" runat="server" Text="<%$ Resources:Content,FAM0049 %>" />
                                </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,FAM00125%>' EnableViewState="false" />:</label>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox ID="ChBx_EnableReporting" runat="server" Checked="true" Text=" " />
                                    </div>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-sm-3 col-xs-12 row-label">
                                    <label>
                                        <asp:Literal ID="Literal3" runat="server" Text='<%$ Resources:Content,EnableSPAMFilterArchive %>' EnableViewState="false" />:</label>
                                </div>
                                <div class="col-sm-4 col-xs-12">
                                    <div class="form-group">
                                        <asp:CheckBox ID="ChBx_EnableSPAMFilterArchive" runat="server" Checked="false" Text=" " />
                                    </div>
                                </div>
                            </div>
                        </div>

                    </ContentTemplate>
                </ajax:UpdatePanel>
            </div>
        </div>
    </div>
</div>
