<%@ page language="C#" autoeventwireup="true" inherits="Admin_EmailGroupSend_Operate, GroupTGWeb_deploy" %>

<%@ Register Src="UserControl/MessageShow.ascx" TagName="MessageShow" TagPrefix="uc1" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>邮件群发管理</title>
    <link type="text/css" rel="Stylesheet" href="css/index.css" />
</head>
<body style="padding: 0; background-image: url(images/Bg_right.gif); background-repeat: repeat;">
    <form id="form1" runat="server">
    <div class="navigator">
        【
        <asp:Label ID="Label1" runat="server" Font-Bold="True" Text="邮件群发管理"></asp:Label>
        】</div>
    <table cellpadding="0" cellspacing="0" border="0" style="width: 100%; line-height:30px;">
        <tr>
            <td align="right" width="20%">
                <asp:Label ID="LabelSendObject" runat="server" Text="发送对象："></asp:Label>
            </td>
            <td>
                <asp:RadioButtonList ID="RadioButtonListSendObject" runat="server" RepeatDirection="Horizontal"
                    AutoPostBack="True" OnSelectedIndexChanged="RadioButtonListSendObject_SelectedIndexChanged">
                    <asp:ListItem Value="0">所有会员</asp:ListItem>
                    <asp:ListItem Value="1">邮件组会员</asp:ListItem>
                    <asp:ListItem Value="2">订阅会员</asp:ListItem>
                    <asp:ListItem Value="3">等级会员</asp:ListItem>
                </asp:RadioButtonList>
                <asp:CompareValidator ID="CompareValidatorSendObject" runat="server" ControlToValidate="RadioButtonListSendObject"
                    Display="Dynamic" ErrorMessage="该值必需选择" Operator="NotEqual" ValueToCompare="-1"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabeSendTObjectEmail" runat="server" Text="选择会员："></asp:Label>
            </td>
            <td>
                <asp:ListBox ID="ListBoxSendObjectEmail" runat="server" Height="160px" Width="80%"
                    SelectionMode="Multiple"></asp:ListBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelType" runat="server" Text="邮件类别："></asp:Label>
            </td>
            <td align="left">
                <asp:DropDownList ID="DropDownListType" runat="server" Width="200" OnSelectedIndexChanged="DropDownListType_SelectedIndexChanged"
                    AutoPostBack="True">
                </asp:DropDownList>
                <asp:Label ID="Label2" runat="server" Text="*" ForeColor="red"></asp:Label>
                <asp:CompareValidator ID="CompareValidatorType" runat="server" ControlToValidate="DropDownListType"
                    Display="Dynamic" ErrorMessage="该值必需选择" Operator="NotEqual" ValueToCompare="-1"
                    Width="200"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelEmailTitle" runat="server" Text="选择邮件："></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="DropDownListEmailTitle" runat="server" OnSelectedIndexChanged="DropDownListEmailTitle_SelectedIndexChanged"
                    AutoPostBack="True" Width="200">
                </asp:DropDownList>
                <font color="red">
                    <asp:Label ID="Label6" runat="server" Text="*"></asp:Label>
                </font>
                <asp:CompareValidator ID="CompareValidatorEmailTitle" runat="server" ControlToValidate="DropDownListEmailTitle"
                    Display="Dynamic" ErrorMessage="该值必需选择" Operator="NotEqual" ValueToCompare="-1"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelContent" runat="server" Text="邮件内容："></asp:Label>
            </td>
            <td>
                <FCKeditorV2:FCKeditor ID="FCKeditorContent" runat="server" Height="400px" Width="80%">
                </FCKeditorV2:FCKeditor>
                <font color="red">
                    <asp:Label ID="Label7" runat="server" Text="*"></asp:Label>
                </font>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorContent" runat="server" ControlToValidate="FCKeditorContent"
                    Display="Dynamic" ErrorMessage="该值不能为空" EnableClientScript="False"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <%--       <tr>
                <td align="right">
    
                    <asp:Label ID="LabelIsTime" runat="server" Text="定时发送："></asp:Label>
                </td>
                <td>
                    <asp:CheckBox ID="CheckBoxIsTime" runat="server" Text="定时发送" />
                </td>
            </tr>
            <tr>
                <td align="right">
    
                    <asp:Label ID="LabelTime" runat="server" Text="时间："></asp:Label>
                </td>
                <td >
                    <asp:TextBox ID="TextBoxTime" runat="server" CssClass="input2"></asp:TextBox>
                </td>
            </tr>
            <tr>--%>
        <td align="right">
            &nbsp;
        </td>
        <td>
            &nbsp;
        </td>
        </tr>
        <tr style="background-color: #EEEEEE;">
            <td align="right">
                &nbsp;
            </td>
            <td>
                <div style="width: 70%; margin: 4px;">
                    <asp:Button ID="ButtonConfirm" runat="server" OnClick="ButtonConfirm_Click" Text="确定"
                        ToolTip="Submit" class="bt2" />
                    <input id="inputReset" runat="server" type="reset" value="重置" class="bt2" /><uc1:MessageShow
                        ID="MessageShow" runat="server" Visible="False" />
                </div>
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="HiddenFieldXmlPath" runat="server" Value="0" />
    </form>
</body>
</html>
