<%@ Page Language="C#" MasterPageFile="~/UGCCNG.Master" AutoEventWireup="true" CodeBehind="adminemail.aspx.cs" Inherits="UGCC_Sharp.AdminEmail" Title="Email Users" ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="form-horizontal">
    <div class="form-group">
        <label class="col-sm-2 control-label">
        Subject
        </label>
        <div class="col-sm-10">
            <asp:TextBox ID="txtSubject" runat="server" CssClass="form-control" ToolTip="Enter the subject of the email."></asp:TextBox>
            
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">
        Email message
        </label>
        <div class="col-sm-10">
            <asp:TextBox ID="txtMessage" runat="server" CssClass="mce" Height="274px" TextMode="MultiLine"
                ToolTip="Email message." Width="100%"></asp:TextBox>
            
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">
            Server centric
        </label>
        <div class="col-sm-10">
            <div class="checkbox-inline">
                <asp:CheckBox ID="chkServer" runat="server" Checked="true" />&nbsp;
            </div>
            <span class="help-block">If checked, emails will be gathered from non-disabled servers.  If unchecked emails will be gathered from user list disregarding server centric filters below. </span>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">
            Active only
        </label>
        <div class="col-sm-10">
            <div class="checkbox-inline">
                <asp:CheckBox ID="chkDisabled" runat="server" Checked="true" />&nbsp;
            </div>
            <span class="help-block">Only email active (non-disabled) users, uncheck to include disabled accounts.</span>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">
            Server game type
        </label>
        <div class="col-sm-10">
            <asp:DropDownList ID="ddlGT" runat="server" CssClass="form-control">
            </asp:DropDownList>
            <span class="help-block">Only email users of specified game type.</span>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">
            Server location
        </label>
        <div class="col-sm-10">
            <asp:DropDownList ID="ddlLoc" runat="server" CssClass="form-control">
            </asp:DropDownList>
            <span class="help-block">Only email users of specified location.</span>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">
            Server definition
        </label>
        <div class="col-sm-10">
            <asp:DropDownList ID="ddlSdef" runat="server" CssClass="form-control">
            </asp:DropDownList>
            <span class="help-block">Only email users of specified server definition.</span>
        </div>
    </div>
</div>

    <asp:Label ID="lblError" runat="server"></asp:Label>
    <br />
    <br />
    <asp:Button ID="btnSend" runat="server" CssClass="btn btn-primary"
        Text="Send" OnClick="Button3_Click" />
    <asp:Button ID="btnPreview" runat="server" CssClass="btn btn-default"
        Text="Preview email list" OnClick="btnPreview_Click" />


</asp:Content>
