<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Admin_UserClass.aspx.vb" Inherits="LuckBetBBS.Forum.Web.Admin_UserClass" %>
<body MS_POSITIONING="GridLayout">
	<form id="UserClassForm" method="post" runat="server">
		<asp:repeater id="UserClassInfo" runat="server">
			<HeaderTemplate>
				<br />
				<table width="95%" border="0" cellspacing="1" cellpadding="3" align="center" class="tableBorder">
					<tr>
						<th height="23" colspan="3" align="left">
							组户组管理</th>
					</tr>
					<tr align="left">
						<td height="23" colspan="3" class="Forumrow">小提示：点击权限您可以分别设定每个系统用户组分别拥有不同的论坛权限，系统组头衔和图标显示在前台用户信息中。<br>
							注： 管理员、版主、贵宾、注册用户、未注册用户等用户组为系统默认的用户组，不能将之删除。
						</td>
					</tr>
					<tr>
						<td width="34%" height="23" class="bodytitle"><strong>用户组名称</strong></td>
						<td width="33%" class="bodytitle"><strong>用户数</strong></td>
						<td width="33%" class="bodytitle"><strong>操作</strong></td>
					</tr>
			</HeaderTemplate>
			<ItemTemplate>
				<tr align="left">
					<td height="23" class="Forumrow">
						<asp:label id="ClassNames" runat='server' /></td>
					<td height="23" class="Forumrow">
						<asp:label id="ClassUserCount" runat='server' /></td>
					<td height="23" class="Forumrow">
						<asp:HyperLink id="EditLink" runat="server" text="编辑" />
						|
						<asp:HyperLink id="UserList" runat="server" text="列出用户" />
						|
						<asp:HyperLink id="DelLink" runat="server" text="删除" /></td>
				</tr>
			</ItemTemplate>
			<FooterTemplate>
				</table>
			</FooterTemplate>
		</asp:repeater>
		<%
			If Request("Action")="Add" Or Request("Action")="Edit" Then
			%>
		<br>
		<table class="tableBorder" cellSpacing="1" cellPadding="3" width="95%" align="center" border="0">
			<tr>
				<th align="left" width="20%" colSpan="2" height="23">
					&nbsp;<asp:label id="ActionStr" runat="server"></asp:label>
				</th>
			</tr>
			<tr align="left">
				<td class="Forumrow" width="40%" height="23">组名称</td>
				<td class="Forumrow" width="60%"><input id="ClassName" type="text" name="textfield" runat="server">
					<asp:requiredfieldvalidator id="Requiredfieldvalidator1" runat="server" ControlToValidate="ClassName" ErrorMessage="组名称不能为空"></asp:requiredfieldvalidator><INPUT id="ClassID" type="hidden" name="ClassID" runat="server">
				</td>
			</tr>
			<tr>
				<td class="bodytitle" colSpan="2" height="23"><b>一般权限</b></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以查看会员信息</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanViewUserInfo" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以查看其他人发布的主题</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanViewNewTopic" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以浏览精华帖子</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanViewTopicDigest" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以发布新主题</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanNewTopic" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以回复自己的主题</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanPostMyTopic" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以回复其他人的主题</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanPostOrtherTopic" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23"></td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanUpfile" runat="server" RepeatDirection="Horizontal" Visible =False >
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以发布新投票</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanNewTopicVote" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以参与投票</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanPostTopicVote" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以编辑自己的帖子</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanEditMyTopic" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以发送短信</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanSendMessage" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">最多发送用户</td>
				<td class="Forumrow" height="23"><INPUT id="SendMaxCount" type="text" size="8" value="5" name="SendMaxCount" runat="server">
					个
				</td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">短信内容大小限制</td>
				<td class="Forumrow" height="23"><INPUT id="SendMessageMaxSize" type="text" size="8" value="300" name="SendMessageMaxSize"
						runat="server"> Byte
				</td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">信箱大小限制</td>
				<td class="Forumrow" height="23"><INPUT id="MessageMaxSize" type="text" size="8" value="100" name="MessageMaxSize" runat="server">
					K</td>
			</tr>
			<tr>
				<td class="bodytitle" colSpan="2" height="23"><b>管理权限</b></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以删除其它人帖子</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanDelTopic" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0" >否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以移动其它人帖子</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanMoveTopic" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以固顶/解除固顶帖子</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanTopTopic" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以进行帖子总固顶操作</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanAllTopTopic" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以编辑其它人帖子</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanEditTopic" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以加入/解除精华帖子</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanDigestTopic" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr align="left">
				<td class="Forumrow" height="23">可以锁定/解除锁定其它人帖子</td>
				<td class="Forumrow" height="23"><asp:radiobuttonlist id="CanLockTopic" runat="server" RepeatDirection="Horizontal">
						<asp:ListItem Value="1" Selected="True">是</asp:ListItem>
						<asp:ListItem Value="0">否</asp:ListItem>
					</asp:radiobuttonlist></td>
			</tr>
			<tr>
				<th align="left" colSpan="2" height="1">
				</th>
			</tr>
			<tr align="left">
				<td class="forumrowHighlight" align="center" colSpan="2" height="23"><input id="AddUserClass" type="submit" value="添 加" name="Add" runat="server"><input id="EditUserClass" type="submit" value="修 改" name="Edit" runat="server"><INPUT id="SavePost" type="hidden" value="1" name="SavePost" runat="server"></td>
			</tr>
		</table>
		<%
			End If
			%>
			<a id="based"></a>
			<Script Language="Javascript" Src="../../Inc/southidcj2f.Js"></Script>
	</form>
	<%BBS.Footer()%>
</body>
