<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="gradeedit.aspx.cs" Inherits="FangPage.Admin.gradeedit" %>

<%@ Register Assembly="FangPage.Control" Namespace="FangPage.Control" TagPrefix="cc1" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>编辑用户级别</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="styles/style.css" type="text/css" rel="stylesheet" />
    <style type="text/css">
    <!--
    body {
	    background-image: url(images/main_bg.gif);
	    background-repeat: repeat-x;
	    background-color: #CEE7FC;
    }
    -->
    </style>
    <meta content="MSHTML 6.00.3790.0" name="GENERATOR" />
</head>
<body leftmargin="5" topmargin="5" rightmargin="5" bottommargin="5">
    <form id="form1" runat="server">
    <div>
        <table class="TdBg" cellspacing="1" cellpadding="0" width="100%" height="100" border="0">
            <tbody>
                <tr valign="middle">
                    <td class="Tdimg" style="padding-left: 10px" height="28" colspan="2">
                        <img height="18" src="images/bbs_find.gif" width="18" align="absMiddle" border="0">
                        <strong>编辑用户级别</strong>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                        级别名称：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="RoleName" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                        积分下限：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Creditshigher" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                        积分上限：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Creditslower" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                        星星数目：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="Stars" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                        级别描述：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <cc1:TextBox ID="note" runat="server"></cc1:TextBox>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                        附件权限：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <asp:CheckBox ID="uploadimg" runat="server" Text="图片文件" />&nbsp;&nbsp;
                        <asp:CheckBox ID="uploadflash" runat="server" Text="动画文件" />&nbsp;&nbsp;
                        <asp:CheckBox ID="uploadmedia" runat="server" Text="媒体文件" />&nbsp;&nbsp;
                        <asp:CheckBox ID="uploadfile" runat="server" Text="附件文件" />&nbsp;&nbsp;
                        <asp:CheckBox ID="downloadfile" runat="server" Text="下载附件" />
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 100px;" height="22" align="right">
                        权限信息：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        &nbsp;
                        <asp:CheckBox ID="allowvisit" runat="server" Text="站点访问" />&nbsp;&nbsp;
                        <asp:CheckBox ID="allowpost" runat="server" Text="发布信息" />&nbsp;&nbsp;
                        <asp:CheckBox ID="allowcomment" runat="server" Text="允许评论" />&nbsp;&nbsp;
                        <asp:CheckBox ID="allowliuyan" runat="server" Text="允许留言" />&nbsp;&nbsp;
                        <asp:CheckBox ID="allowvote" runat="server" Text="允许投票" />&nbsp;&nbsp;<br />
                        &nbsp;
                        <asp:CheckBox ID="visitforum" runat="server" Text="论坛访问" />&nbsp;&nbsp;
                        <asp:CheckBox ID="posttopice" runat="server" Text="允许发帖" />&nbsp;&nbsp;
                        <asp:CheckBox ID="postreply" runat="server" Text="允许回复" />&nbsp;&nbsp;
                        <asp:CheckBox ID="allowviewip" runat="server" Text="查看IP" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:CheckBox ID="viewuserinfo" runat="server" Text="查看用户资料" />&nbsp;&nbsp;
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td style="padding-right: 10px; width: 100px;" height="22" align="right" valign="middle">
                        栏目权限：
                    </td>
                    <td style="padding-right: 3px; padding-left: 3px; padding-bottom: 3px; padding-top: 3px">
                        <cc1:SmartTreeView ID="TreeView1" runat="server" ShowLines="True" 
                            AllowCascadeCheckbox="True">
                        </cc1:SmartTreeView>
                    </td>
                </tr>
                <tr class="TdBgL">
                    <td height="35" style="width: 110px">
                        &nbsp;
                    </td>
                    <td style="padding-left: 10px">
                        <cc1:Button ID="Button1" runat="server" OnClick="Button1_Click" />&nbsp;&nbsp;
                        <button class="ManagerButton" type="button" onclick="javascript:window.location.href='gradeconfig.aspx';">
                            <img src="images/arrow_undo.gif" />返 回</button>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
    </form>
</body>
</html>