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

<%@ 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 id="Head1" runat="server">
    <title>Untitled Page</title>

    <script type="text/javascript" language="javascript" src="../js/CommonJS.js"></script>

    <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;
    font-size: 12px">
    <form id="form1" runat="server">
    <div class="navigator">
        <asp:Label ID="LabelPageTitle" runat="server" Text="【 新增城市 】"></asp:Label></div>
    <table cellpadding="0" cellspacing="0" border="0" style="width: 100%">
        <tr>
            <td>
                &nbsp;
            </td>
            <td>
                &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right" width="20%">
                <asp:Label ID="LabelName" runat="server" Text="城市名称："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxName" runat="server" CssClass="input2" Width="235px"></asp:TextBox>
                <font style="color: Red">
                    <asp:Label ID="Label1" runat="server" Text="*">
                    </asp:Label></font>
                <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="LabelShortName" runat="server" Text="城市缩写："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxShortName" runat="server" CssClass="input2" Width="235px"></asp:TextBox>
                <span style="color: Red">
                    <asp:Label ID="Label2" runat="server" Text="*"></asp:Label></span>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorOrderID" runat="server" ControlToValidate="TextBoxShortName"
                    Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidatorName0" runat="server"
                    ControlToValidate="TextBoxShortName" Display="Dynamic" ErrorMessage="标题最多50个字符"
                    ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
                    ControlToValidate="TextBoxShortName" ErrorMessage="只能输入字母" 
                    ValidationExpression="^[A-Za-z]+$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Label ID="Label3" runat="server" Text="排序号："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxorderID" runat="server" CssClass="input2" Width="235px"></asp:TextBox>
                <span style="color: Red">
                    <asp:Label ID="Label4" runat="server" Text="*"></asp:Label></span>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBoxorderID"
                    Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" 
                    ControlToValidate="TextBoxorderID" ErrorMessage="只能输入数字" 
                    ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
            </td>
        </tr>

                <tr>
            <td align="right">
                <asp:Label ID="Label13" runat="server" Text="默认城市："></asp:Label>
            </td>
            <td align="left">
            <asp:RadioButtonList runat="server"  RepeatColumns="2" 
                    ID="RadioButtonListIsDefault" AutoPostBack="True" 
                    onselectedindexchanged="RadioButtonListIsDefault_SelectedIndexChanged">
             <asp:ListItem Value="1" >是</asp:ListItem>
                    <asp:ListItem Value="0" Selected="True" >否</asp:ListItem>
            </asp:RadioButtonList>
       
            </td>
        </tr>
                <tr>
            <td align="right">
                <asp:Label ID="Label15" runat="server" Text="是否开通："></asp:Label>
            </td>
            <td align="left">
                <asp:RadioButtonList ID="RadioButtonListIsForbid" runat="server" RepeatColumns="2">
                    <asp:ListItem  Selected="True" Value="1">是</asp:ListItem>
                    <asp:ListItem Value="0">否</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td align="right" width="20%">
                <asp:Label ID="Label7" runat="server" Text="SEO标题："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxSEOTitle" runat="server" CssClass="input2" Width="235px"></asp:TextBox>
                <font style="color: Red">
                    <asp:Label ID="Label8" runat="server" Text="*">
                    </asp:Label></font>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBoxSEOTitle"
                    Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBoxSEOTitle"
                    Display="Dynamic" ErrorMessage="标题最多150个字符" ValidationExpression="^[\s\S]{0,150}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right" width="20%">
                <asp:Label ID="Label9" runat="server" Text="SEO关键字："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxSEOKeywords" runat="server" CssClass="input2" Width="235px"></asp:TextBox>
                <font style="color: Red">
                    <asp:Label ID="Label10" runat="server" Text="*">
                    </asp:Label></font>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBoxSEOKeywords"
                    Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBoxSEOKeywords"
                    Display="Dynamic" ErrorMessage="标题最多150个字符" ValidationExpression="^[\s\S]{0,150}$"></asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="right" width="20%">
                <asp:Label ID="Label11" runat="server" Text="SEO描述："></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxSEODescription" runat="server" CssClass="input2" Width="235px"></asp:TextBox>
                <font style="color: Red">
                    <asp:Label ID="Label12" runat="server" Text="*">
                    </asp:Label></font>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBoxSEODescription"
                    Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="TextBoxSEODescription"
                    Display="Dynamic" ErrorMessage="标题最多200个字符" ValidationExpression="^[\s\S]{0,200}$"></asp:RegularExpressionValidator>
            </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 style="width: 100%">
                    <asp:Button ID="ButtonConfirm" runat="server" OnClick="ButtonConfirm_Click" Text="确定"
                        CssClass="bt2" ToolTip="Submit" Height="21px" />
                    <input id="inputReset" runat="server" type="reset" value="重置" class="bt2" />
                    &nbsp; <a href="Region_List.aspx">
                        <img src="images/back.png" border="0" align="top" /></a>
                    <uc1:MessageShow ID="MessageShow" runat="server" Visible="False" />
                </div>
            </td>
        </tr>
    </table>
    <table cellpadding="0" cellspacing="0" border="0" style="width: 100%">
        <tr style="background-color: #EEEEEE;" class="btconfig">
            <td align="right" style="text-align: left">
                <asp:HiddenField ID="hiddenFieldGuid" runat="server" Value="0" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
