<%@ Page Language="C#" AutoEventWireup="true" CodeFile="sys_role_admin.aspx.cs" Inherits="admin_user_sys_role_admin" %>

<!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>无标题页</title>
    <link href="../../admin/skin/css.css" rel="stylesheet" type="text/css" />
    <link href="../../images/css/inbox.css" rel="stylesheet" type="text/css" />
    <script language=javascript>
    //系统菜单栏
    function Check(che)
    {
        
        var tab=document.getElementById("List_sys");
        for(i=0;i<tab.cells.length;i++)
        {
            tab.rows[0].cells[i].getElementsByTagName("input")[0].checked=che.checked;
        }
  
    }
    //文章
    function Check1(che)
    {
        
        var tab=document.getElementById("List_art");
        for(i=0;i<tab.cells.length;i++)
        {
            tab.rows[0].cells[i].getElementsByTagName("input")[0].checked=che.checked;
        }
  
    }
    //生成
    function Check2(che)
    {
        
        var tab=document.getElementById("List_htm");
        for(i=0;i<tab.cells.length;i++)
        {
            tab.rows[0].cells[i].getElementsByTagName("input")[0].checked=che.checked;
        }
  
    }
    //会员
    function Check3(che)
    {
        
        var tab=document.getElementById("List_user");
        for(i=0;i<tab.cells.length;i++)
        {
            tab.rows[0].cells[i].getElementsByTagName("input")[0].checked=che.checked;
        }
  
    }
    //模版
    function Check4(che)
    {
        
        var tab=document.getElementById("List_mb");
        for(i=0;i<tab.cells.length;i++)
        {
            tab.rows[0].cells[i].getElementsByTagName("input")[0].checked=che.checked;
        }
  
    }
    //其他
    function Check5(che)
    {
        
        var tab=document.getElementById("List_oh");
        for(i=0;i<tab.cells.length;i++)
        {
            tab.rows[0].cells[i].getElementsByTagName("input")[0].checked=che.checked;
        }
  
    }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 98%" border="0" class=Ibx_gTable_Con>
            <tr>
                <td align="center">
                    管理级别用户组权限设置&nbsp;&nbsp;&nbsp;<asp:HyperLink ID="HyperLink1" runat="server" ForeColor="Red" NavigateUrl="~/admin/user/sys_role_set.aspx">返回</asp:HyperLink></td>
            </tr>
            <tr>
                <td>
                    <asp:CheckBox ID="Check_sys" onclick="Check(this)" runat="server" Text="系统" ToolTip="1" /></td>
            </tr>
            <tr>
                <td>
                    <asp:CheckBoxList ID="List_sys" runat="server" RepeatDirection="Horizontal">
                    </asp:CheckBoxList></td>
            </tr>
            <tr>
                <td>
                    <asp:CheckBox ID="Check_art" onclick="Check1(this)" runat="server" Text="文章" ToolTip="2" /></td>
            </tr>
            <tr>
                <td>
                    <asp:CheckBoxList ID="List_art" runat="server" RepeatDirection="Horizontal">
                    </asp:CheckBoxList></td>
            </tr>
            <tr>
                <td>
                    <asp:CheckBox ID="Check_htm" onclick="Check2(this)" runat="server" Text="生成" ToolTip="3" /></td>
            </tr>
            <tr>
                <td>
                    <asp:CheckBoxList ID="List_htm" runat="server" RepeatDirection="Horizontal">
                    </asp:CheckBoxList></td>
            </tr>
            <tr>
                <td>
                    <asp:CheckBox ID="Check_user" onclick="Check3(this)" runat="server" Text="会员" ToolTip="4" /></td>
            </tr>
            <tr>
                <td>
                    <asp:CheckBoxList ID="List_user" runat="server" RepeatDirection="Horizontal">
                    </asp:CheckBoxList></td>
            </tr>
            <tr>
                <td>
                    <asp:CheckBox ID="Check_mb" onclick="Check4(this)" runat="server" Text="模版" ToolTip="5" /></td>
            </tr>
            <tr>
                <td>
                    <asp:CheckBoxList ID="List_mb" runat="server" RepeatDirection="Horizontal">
                    </asp:CheckBoxList></td>
            </tr>
            <tr>
                <td>
                    <asp:CheckBox ID="Check_oh" onclick="Check5(this)" runat="server" Text="其他" ToolTip="6" /></td>
            </tr>
            <tr>
                <td>
                    <asp:CheckBoxList ID="List_oh" runat="server" RepeatDirection="Horizontal">
                    </asp:CheckBoxList></td>
            </tr>
            <tr>
                <td align="center">
                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/admin/skin/images/button_save.gif" OnClick="ImageButton1_Click" /></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
