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

<!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>无标题页</title>
    <link rel="Stylesheet" href="../Images/Admin.css" />
    <script type="text/javascript">
        function G_ZuQuanXian(leixing)
        {
            if(leixing=="管理员")
            {
                document.getElementById("Q_GuanLiYuan").style.display='block';
                document.getElementById("Q_HuiYuan").style.display='none';
            }
            else
            {
                document.getElementById("Q_GuanLiYuan").style.display='none';
                document.getElementById("Q_HuiYuan").style.display='block';
            }
        }
        function GengXinZhuangTai(QuanXian)
        {
            var QXS=QuanXian.split(',');
            for(var i=0;i<(QXS.length-1);i++)
                document.getElementById('q'+QXS[i]).checked=true;
        }
    </script>
</head>
<body onload="G_ZuQuanXian(document.getElementById('YongHuLeiXing').innerText);GengXinZhuangTai('<%=组权限 %>')">
    <form id="form1" runat="server" onkeydown="if(event.ctrlKey&&event.keyCode==13) this.submit();">
    <div>
        <div style="height:18px">
        位置：用户管理 &gt; <a href="YongHuZu.aspx">用户组管理</a> &gt; 修改用户组
        </div>
        <div style="height:5px"></div>
        <table class="tab1" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <table class="tab2" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="tab2_bt">
                            修改用户组
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <table class="tab3" border="0" cellpadding="0" cellspacing="1">
                        <tr>
                            <td style="width:200px">
                                &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_bt">组名称</span>
                            </td>
                            <td>
                                <asp:TextBox ID="ZuMingChen" runat="server" CssClass="text" MaxLength="50" ReadOnly="True"></asp:TextBox> 
                                <span class="text_pt">用户组的名称</span>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ZuMingChen"
                                    ErrorMessage="RequiredFieldValidator" SetFocusOnError="True">组名称不能为空</asp:RequiredFieldValidator></td>
                        </tr>
                        <tr>
                            <td style="width: 200px">
                                &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_bt">用户类型</span>
                            </td>
                            <td>
                                &nbsp;<asp:Label ID="YongHuLeiXing" runat="server" Text="Label"></asp:Label><span class="text_pt">用户组应用到的用户类型</span>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 200px"><br />
                                &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_bt">组权限</span><br /><br />
                                &nbsp;&nbsp;&nbsp;&nbsp;<span class="text_pt">用户组的权限。</span>
                            </td>
                            <td>
                                <table border="0" cellpadding="0" cellspacing="0" id="Q_GuanLiYuan">
                                <tr>
                                    <td colspan="4"><strong>设置相关：</strong></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q1" value="1" /><label for="q1">更改设置</label></td>
                                    <td style="width:150px"></td>
                                    <td style="width:150px"></td>
                                    <td style="width:150px"></td>
                                </tr>
                                <tr>
                                    <td colspan="4"><strong>其它：</strong></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q4" value="4" /><label for="q4">删除登录日志</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q5" value="5" /><label for="q5">删除会员活动信息</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q6" value="6" /><label for="q6">删除统计报告</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q7" value="7" /><label for="q7">增加/修改/删除计划任务</label></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q2" value="2" /><label for="q2">删除错误日志</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q3" value="3" /><label for="q3">删除管理记录</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q48" value="48" /><label for="q48">删除管理记录</label></td>
                                    <td style="width:150px"></td>
                                </tr>
                                <tr>
                                    <td colspan="4"><strong>页面/内容：</strong></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q22" value="22" /><label for="q22">删除评论</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q8" value="8" /><label for="q8">页面管理</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q11" value="11" /><label for="q11">审核/推荐文章</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q21" value="21" /><label for="q21">删除/还原音乐</label></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q14" value="14" /><label for="q14">审核/推荐图片</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q17" value="17" /><label for="q17">审核/推荐软件</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q12" value="12" /><label for="q12">删除/还原文章</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q16" value="16" /><label for="q16">增加/修改/删除软件</label></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q18" value="18" /><label for="q18">删除/还原软件</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q15" value="15" /><label for="q15">删除/还原图片</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q10" value="10" /><label for="q10">增加/修改/删除文章</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q20" value="20" /><label for="q20">审核/推荐音乐</label></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q13" value="13" /><label for="q13">增加/修改/删除图片</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q9" value="9" /><label for="q9">增加/修改/删除栏目</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q19" value="19" /><label for="q19">增加/修改/删除音乐</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="Checkbox1" value="42" /><label for="q42">增加/修改/删除视频</label></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q43" value="43" /><label for="q43">审核/推荐视频</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q44" value="44" /><label for="q44">删除/还原视频</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q45" value="45" /><label for="q45">文章采集管理</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q47" value="47" /><label for="q47">图片采集管理</label></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q46" value="46" /><label for="q46">发布内容免审</label></td>
                                    <td style="width:150px"></td>
                                    <td style="width:150px"></td>
                                    <td style="width:150px"></td>
                                </tr>
                                <tr><td colspan="4"><strong>用户：</strong></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q25" value="25" /><label for="q25">增加/修改/删除管理员</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q24" value="24" /><label for="q24">增加/修改/删除会员</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q29" value="29" /><label for="q29">增加/修改/删除资料结构</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q23" value="23" /><label for="q23">增加/修改/删除用户组</label></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q27" value="27" /><label for="q27">增加/修改/删除头像</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q26" value="26" /><label for="q26">增加/修改/删除等级称呼</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q28" value="28" /><label for="q28">增加/修改/删除勋章</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="Checkbox2" value="48" /><label for="q48">删除用户头像</label></td>
                                </tr>
                                <tr>
                                    <td colspan="4"><strong>论坛：</strong></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q30" value="30" /><label for="q30">增加/修改/删除版块</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q35" value="35" /><label for="q35">删除回贴</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q34" value="34" /><label for="q34">删除/还原贴子</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q33" value="33" /><label for="q33">增加/修改/删除贴子</label></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q32" value="32" /><label for="q32">删除版块日志</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q31" value="31" /><label for="q31">增加/删除版主</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q36" value="36" /><label for="q36">增加/删除黑名单</label></td>
                                    <td style="width:150px"></td>
                                </tr>
                                <tr>
                                    <td colspan="4"><strong>社区其它：</strong></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q38" value="38" /><label for="q38">删除收藏</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q37" value="37" /><label for="q37">发送/删除消息</label></td>
                                    <td style="width:150px"></td><td style="width:150px"></td>
                                </tr>
                                <tr>
                                    <td colspan="4"><strong>模板：</strong></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q51" value="51" /><label for="q51">列表分页模版</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q52" value="52" /><label for="q52">内容模版管理</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q53" value="53" /><label for="q53">社区模版管理</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q54" value="54" /><label for="q54">其它模版管理</label></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q55" value="55" /><label for="q55">综合模版管理</label></td>
                                    <td style="width:150px"></td>
                                    <td style="width:150px"></td>
                                    <td style="width:150px"></td>
                                </tr>
                                <tr>
                                    <td colspan="4"><strong>网站其它：</strong></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q40" value="40" /><label for="q40">留言相关操作</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q39" value="39" /><label for="q39">广告相关操作</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q41" value="41" /><label for="q41">修改密码</label></td>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q49" value="49" /><label for="q49">执行SQL</label></td>
                                </tr>
                                <tr>
                                    <td style="width:150px"><input type="checkbox" name="ZuQuanXian" id="q56" value="56" /><label for="q56">在线升级程序</label></td>
                                    <td style="width:150px"></td>
                                    <td style="width:150px"></td>
                                    <td style="width:150px"></td>
                                </tr>
                                </table>
                                <table id="Q_HuiYuan" style="display:none">
                                </table></td>
                        </tr>
                        <tr>
                            <td style="width: 200px">
                            </td>
                            <td>
                                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                                <asp:Button ID="Button1" runat="Server" Text="修改用户组" />
                                &nbsp;&nbsp;
                                <input type="reset" value="重新填写" />
                                </td>
                        </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
