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

<%@ Register Src="UserControl/MessageShow.ascx" TagName="MessageShow" TagPrefix="ShopNum1" %>
<!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%; line-height:30px;">
        <tr>
            <td align="right" width="20%">
                <asp:Label ID="LabelName" runat="server" Text="发送方式："></asp:Label>
            </td>
            <td align="left">
                <asp:DropDownList ID="DropDownListType" runat="server" Width="122">
                    <asp:ListItem Text="-请选择-" Value="-1"></asp:ListItem>
                    <asp:ListItem Text="-默认短信接口-" Value="1"></asp:ListItem>
                </asp:DropDownList>
                <asp:Label ID="Label2" runat="server" Text="*" ForeColor="red"></asp:Label>
                <asp:CompareValidator ID="CompareFatherCateGory" runat="server" ControlToValidate="DropDownListType"
                    Display="Dynamic" ErrorMessage="该值必需选择" Operator="NotEqual" ValueToCompare="-1">
                </asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="Label3" runat="server" Text="企业代码："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxCode" runat="server" CssClass="input1"></asp:TextBox>
                <asp:Label ID="Label7" runat="server" Text="*" ForeColor="red"></asp:Label>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBoxCode"
                    Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBoxCode"
                    Display="Dynamic" ErrorMessage="最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="Label1" runat="server" Text="用户名："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxName" runat="server" CssClass="input1"></asp:TextBox>
                <asp:Label ID="Label4" runat="server" Text="*" ForeColor="red"></asp:Label>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorName" runat="server" ControlToValidate="TextBoxName"
                    Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorName" runat="server"
                    ControlToValidate="TextBoxName" Display="Dynamic" ErrorMessage="最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="Label5" runat="server" Text="用户密码："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxPwd" runat="server" TextMode="Password" CssClass="input1"></asp:TextBox>
                <asp:Label ID="Label6" runat="server" Text="*" ForeColor="red"></asp:Label>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxPwd"
                    Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBoxPwd"
                    Display="Dynamic" ErrorMessage="最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr style="background-color: #EEEEEE;">
            <td align="right">
                &nbsp;
            </td>
            <td align="left">
                <div style="width: 60%;">
                    <asp:Button ID="ButtonConfirm" runat="server" Text="确定" ToolTip="Submit" CssClass="bt2"
                        OnClick="ButtonConfirm_Click" />
                    <input id="inputReset" runat="server" type="reset" value="重置" class="bt2" />
                    <ShopNum1:MessageShow ID="MessageShow" runat="server" Visible="False" />
                </div>
            </td>
        </tr>
    </table>
    <asp:HiddenField ID="hiddenFieldGuid" runat="server" Value="0" />
    </form>
</body>
</html>
