<%@ page language="C#" autoeventwireup="true" inherits="Admin_MMSGroupSend_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>Untitled Page</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%">
        <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="3">等级会员</asp:ListItem>
                    <asp:ListItem Value="4">订阅用户</asp:ListItem>
                </asp:RadioButtonList>
                <asp:DropDownList ID="DropDownListCity" runat="server" OnSelectedIndexChanged="DropDownListCity_SelectedIndexChanged"
                    AutoPostBack="true" Visible="false">
                </asp:DropDownList>
                <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="LabeSendTObjectMMS" runat="server" Text="选择会员："></asp:Label>
            </td>
            <td>
                <asp:ListBox ID="ListBoxSendObjectMMS" runat="server" Height="160px" Width="80%"
                    CssClass="input1" SelectionMode="Multiple"></asp:ListBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelMMSTitle" runat="server" Text="选择短信："></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="DropDownListMMSCaregory" runat="server" AutoPostBack="true"
                    OnSelectedIndexChanged="DropDownListMMSCaregory_SelectedIndexChanged">
                </asp:DropDownList>
                <asp:DropDownList ID="DropDownListMMSTitle" runat="server" OnSelectedIndexChanged="DropDownListMMSTitle_SelectedIndexChanged"
                    AutoPostBack="True" CssClass="input2">
                </asp:DropDownList>
                <font color="red">
                    <asp:Label ID="Label2" runat="server" Text="*"></asp:Label>
                </font>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="DropDownListMMSTitle"
                    Display="Dynamic" ErrorMessage="该值必需选择" Operator="NotEqual" ValueToCompare="-1"></asp:CompareValidator>
                <font color="red">
                    <asp:Label ID="Label6" runat="server" Text="*"></asp:Label>
                </font>
                <asp:CompareValidator ID="CompareValidatorMMSTitle" runat="server" ControlToValidate="DropDownListMMSTitle"
                    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">
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr style="background-color: #EEEEEE;">
            <td align="right">
                &nbsp;
            </td>
            <td align="left">
                <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" />
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="HiddenFieldXmlPath" runat="server" Value="0" />
    </form>
</body>
</html>
