<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addIP.aspx.cs" Inherits="Web.Wpdcc.addIP" %>

<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>内网IP地址编辑</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file = "../Css/head.htm" -->
    
</head>
<body>
    <form id="form1" runat="server">
    <div class="edit-func-box func-box">
        <div class="hd b">
            内网IP地址编辑</div>
        <table class="edit-table">
            <tr>
                <th>
                    城市：
                </th>
                <td>
                    <asp:TextBox ID="sip1" runat="server" CssClass="input-md" notNull="true" MaxLength="40" msgName="城市"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    单位：
                </th>
                <td>
                    <asp:TextBox ID="sip2" runat="server" CssClass="input-md" notNull="true" MaxLength="40" msgName="单位"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    起始网段：
                </th>
                <td>
                    <asp:TextBox ID="ip1" runat="server" CssClass="input-md" notNull="true" MaxLength="40" msgName="起始网段" regex="\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}" regexMsg="起始网段IP地址格式错误!"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>
                    终止网段：
                </th>
                <td>
                    <asp:TextBox ID="ip2" runat="server" CssClass="input-md" notNull="true" MaxLength="40" msgName="终止网段" regex="\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}" regexMsg="终止网段IP地址格式错误!"></asp:TextBox>
                </td>
            </tr>
            <tr>
            <td colspan="2" align="center"><span class="tip">注意：内外网功能需搭配合理的DNS设置方可生效</span></td>
            </tr>
        </table>
        <div class="ft">
            <div class="action-field text-center">
                <asp:HiddenField ID="HiddenFieldLockip" runat="server" />
                <asp:Button ID="ok" runat="server" class="btn btn-sm btn-primary" Text="保 存" OnClientClick="return checkAllValidate();" OnClick="ok_Click"></asp:Button>
                &nbsp;&nbsp;
                <input type="button" class="btn btn-sm btn-primary" value="关 闭" onclick="parent.$.fancybox.close();" />
                <asp:Label ID="labmsg" runat="server" Text=""></asp:Label>                
            </div>
            <!--/action-field-->
        </div>
    </div>
    </form>
    <!--#include file="../Css/foot.htm"-->
    <script type="text/javascript" language="javascript">

        //关闭弹出层 刷新列表
        function divClose() {
            parent.$.fancybox.close();
            parent.location = "lockIP.aspx";
        }
    </script>
</body>
</html>
