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

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Src="UserControl/MessageShow.ascx" TagName="MessageShow" TagPrefix="uc1" %>
<!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="LabelPageTitle" runat="server" Font-Bold="True" Text="【 新增短信 】"></asp:Label></div>
    <table cellpadding="0" cellspacing="0" border="0" style="width: 100%">
        <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">
                </asp:DropDownList>
                <asp:Label ID="Label1" 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="LabelTitle" runat="server" Text="短信标题："></asp:Label>
            </td>
            <td align="left" class="style2">
                <asp:TextBox ID="TextBoxTitle" runat="server" Width="200"  CssClass="input1"></asp:TextBox>
                <asp:Label ID="Label2" runat="server" Text="*" ForeColor="red"></asp:Label>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorTitle" runat="server" ControlToValidate="TextBoxTitle"
                    Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle" runat="server"
                    ControlToValidate="TextBoxTitle" Display="Dynamic" ErrorMessage="标题最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelNameRemark" runat="server" Text="短信内容："></asp:Label>
            </td>
            <td align="left">
                <FCKeditorV2:FCKeditor ID="FCKeditorRemark" runat="server" Height="300px" Width="80%">
                </FCKeditorV2:FCKeditor>
                <asp:Label ID="Label3" runat="server" Text="*" ForeColor="red"></asp:Label>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorRemark" runat="server" ControlToValidate="FCKeditorRemark"
                    Display="Dynamic" ErrorMessage="该值不能为空" EnableClientScript="False"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="LabelDescription" runat="server" Text="短信描述："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxDescription" runat="server" TextMode="MultiLine" Width="80%"
                    Height="120"  CssClass="input1"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                &nbsp;
            </td>
            <td align="left">
                &nbsp;
            </td>
        </tr>
        <tr style="background-color: #EEEEEE;" class="btconfig">
            <td align="right">
                &nbsp;
            </td>
            <td align="left">
                <div class="vote">
                    <asp:Button ID="ButtonConfirm" runat="server" OnClick="ButtonConfirm_Click" Text="确定"
                        CssClass="bt2" ToolTip="Submit" />
                    <input id="inputReset" runat="server" type="reset" value="重置" class="bt2" />
                    <a href="MMS_List.aspx">
                        <img src="images/back.png" border="0" align="top" /></a>
                    <uc1:MessageShow ID="MessageShow" runat="server" Visible="False" />
                </div>
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="hiddenFieldGuid" runat="server" Value="0" />
    </form>
</body>
</html>
