<%@ page language="C#" autoeventwireup="true" inherits="admin_nasmanager, xnzy-radius-web_deploy" %>


<!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>许可NAS接入设置-后台管理系统</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 1000px; height: 220px; font-size: 9pt; " 
            cellpadding="0" cellspacing="0" align="center" border="1" 
            bordercolor="#cccc66">
            <tr>
                <td style="vertical-align: top; text-align: center;">
                        <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="16pt" 
                            ForeColor="#CC3300" Text="许可接入NAS的IP地址" Font-Underline="True"></asp:Label>
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: center;">
                        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                            CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" 
                            Height="28px" onrowcommand="GridView1_RowCommand" PageSize="20">
                            <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                            <Columns>
                                <asp:BoundField DataField="id" HeaderText="ID" >
                                </asp:BoundField>
                                <asp:BoundField DataField="ipaddress" HeaderText="NAS的IP地址" />
                                <asp:BoundField DataField="address" HeaderText="NAS的位置标识" />
                                <asp:TemplateField HeaderText="操作">
                                       <itemtemplate>
                                               <asp:LinkButton ID="LinkButton1" runat="server" 
                                                   CommandArgument='<%# Eval("id") %>' CommandName="DelCmd" 
                                                   onclientclick="return confirm('您确定要删除该NAS,禁止其接入吗？');">删除</asp:LinkButton>
                                               &nbsp;
                                        </itemtemplate>
                                </asp:TemplateField>
                                        
                                <asp:HyperLinkField DataNavigateUrlFields="id" 
                                    DataNavigateUrlFormatString="adslpooledit.aspx?id={0}" HeaderText="修改" 
                                    Text="修改" />
                                        
                            </Columns>
                            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" />
                        </asp:GridView>
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: right;">
                    <asp:Button ID="Button1" runat="server" Height="37px" onclick="Button1_Click" 
                        Text="添 加" Width="100px" />
                    <asp:Button ID="Button2" runat="server" Height="37px" onclick="Button2_Click" 
                        Text="返 回" Width="100px" />
                </td>
            </tr>
            <tr>
                <td style="vertical-align: top; text-align: center;">
                    <asp:Label ID="Label2" runat="server" Font-Bold="True" 
                        Text="用于不经NAS的非法认证,防止非法认证数据攻击"></asp:Label>
                </td>
            </tr>
            </table>
    </div>
    </form>
</body>
</html>
