<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin.aspx.cs" Inherits="Maticsoft.Web.Admin.Admin"
    MasterPageFile="~/MasterPage.master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <link href="../Css/style.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            font-weight: bold;
            color: #ff0000;
        }
        .tts TD
        {
            background: #fff;
            height: 25px;
        }
        .STYLE2
        {
            font-weight: bold;
            color: #660099;
        }
    </style>
    <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1">
        <tr>
            <td>
                <fieldset>
                    <legend class="tt1">管理员管理</legend>
                    <div id="List" runat="server">
                    </div>
                    <table width="98%" border="0" align="center" cellpadding="5" cellspacing="1">
                        <tr>
                            <td height="50" valign="middle" align="center">
                                <div id="CopyrightInfo" runat="server">
                                </div>
                            </td>
                        </tr>
                    </table>
                </fieldset>
            </td>
        </tr>
    </table>

    <script language="javascript" type="text/javascript">
function Del(id)
{
    if(confirm('你确认删除此管理员吗?'))
    {
        self.location="?Action=Del&ID="+id;
    }
}

function Edit(id)
{
    self.location="AdminEdit.aspx?ID="+id;
}
function delAll() {
   if(confirm('你确认删除所选管理员吗?'))
    {
    var ids="";
    for (var i = 0; i < document.getElementsByName("selectFlag").length; i++) {
     if(document.getElementsByName("selectFlag")[i].checked){
     ids+=document.getElementsByName("selectFlag")[i].value+",";
     }
     }
     ids=ids.substring(0,(ids.length-1))
     self.location="?Action=Dels&ID="+ids;
   
        
    }
  
 }

    </script>

</asp:Content>
