⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 memberpurview.jsp

📁 论坛软件系统亦称电子公告板(BBS)系统
💻 JSP
字号:
<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<jsp:include page="../cp_header.jsp" /><table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
	<tr><td><a href="#" onclick="parent.menu.location='admincp.jsp?action=menu'; parent.main.location='admincp.jsp?action=home';return false;">系统设置首页</a>&nbsp;&raquo;&nbsp;编辑用户权限</td></tr>
</table>
<br />
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
	<tr class="header"><td><div style="float:left; margin-left:0px; padding-top:8px"><a href="###" onclick="collapse_change('tip')">技巧提示</a></div><div style="float:right; margin-right:4px; padding-bottom:9px"><a href="###" onclick="collapse_change('tip')"><img id="menuimg_tip" src="images/admincp/menu_reduce.gif" border="0"/></a></div></td></tr>
	<tbody id="menu_tip" style="display:"><tr><td><ul><li>用户权限是基于用户和论坛间的权限设定,如果设置为非默认状态,将不受用户组的设定限制。</ul><ul><li>用户组和用户权限是相互叠加的,只要两者其中之一允许,相应的权限就被赋予该用户(如仅勾选用户 Kevin 在某一论坛的访问权限,而该论坛可以由任何用户组发帖,则 Kevin 具有在这个论坛的发帖权限)。</ul><ul><li>如果您设定非默认权限,切记将“按默认设置”复选框清除,否则新的权限设定不会生效。</ul></td></tr></tbody>
</table>
<br />
<form method="post" action="admincp.jsp?action=access&memberid=${member.uid}">
	<input type="hidden" name="formhash" value="c4ace578">
	<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
		<tr class="header"><td colspan="7">编辑用户权限 - ${member.username}</td></tr>
		<tr class="category" align="center">
		<td>论坛</td>
		<td><input class="checkbox" type="checkbox" name="chkall1" onclick="checkall(this.form, 'defaultnew', 'chkall1')"> 按默认设置</td>
		<td><input class="checkbox" type="checkbox" name="chkall2" onclick="checkall(this.form, 'allowviewnew', 'chkall2')"> 访问</td>
		<td><input class="checkbox" type="checkbox" name="chkall3" onclick="checkall(this.form, 'allowpostnew', 'chkall3')"> 发新帖</td>
		<td><input class="checkbox" type="checkbox" name="chkall4" onclick="checkall(this.form, 'allowreplynew', 'chkall4')"> 回复</td>
		<td><input class="checkbox" type="checkbox" name="chkall5" onclick="checkall(this.form, 'allowgetattachnew', 'chkall5')"> 下载/查看附件</td>
		<td><input class="checkbox" type="checkbox" name="chkall6" onclick="checkall(this.form, 'allowpostattachnew', 'chkall6')"> 上传附件</td></tr>
		<c:forEach items="${forumslist}" var="forum">
		<tr>
			<td class="altbg1" width="22%"><input class="checkbox" title="全选" type="checkbox" name="chkallv${forum.fid}" onclick="checkallvalue(this.form, ${forum.fid}, 'chkallv${forum.fid}')">&nbsp;<c:if test="${forum.type=='sub'}">&nbsp;&nbsp;&nbsp;&nbsp;</c:if><a href="admincp.jsp?action=forumdetail&fid=${forum.fid}">${forum.name}</a></td>
			<c:choose>
			<c:when test="${forum.allowview==null}">
				<td class="altbg2" width="15%" align="center"><input class="checkbox" type="checkbox" name="defaultnew[${forum.fid}]" value="${forum.fid}" checked></td>
				<td class="altbg1" width="10%" align="center"><input class="checkbox" type="checkbox" name="allowviewnew[${forum.fid}]" value="${forum.fid}" ></td>
				<td class="altbg2" width="12%" align="center"><input class="checkbox" type="checkbox" name="allowpostnew[${forum.fid}]" value="${forum.fid}" ></td>
				<td class="altbg1" width="10%" align="center"><input class="checkbox" type="checkbox" name="allowreplynew[${forum.fid}]" value="${forum.fid}" ></td>
				<td class="altbg2" width="18%" align="center"><input class="checkbox" type="checkbox" name="allowgetattachnew[${forum.fid}]" value="${forum.fid}" ></td>
				<td class="altbg1" width="13%" align="center"><input class="checkbox" type="checkbox" name="allowpostattachnew[${forum.fid}]" value="${forum.fid}" ></td>
			</c:when>
			<c:otherwise>
				<td class="altbg2" width="15%" align="center"><input class="checkbox" type="checkbox" name="defaultnew[${forum.fid}]" value="${forum.fid}"></td>
				<td class="altbg1" width="10%" align="center"><input class="checkbox" type="checkbox" name="allowviewnew[${forum.fid}]" value="${forum.fid}" ${forum.allowview!=0?"checked":""}></td>
				<td class="altbg2" width="12%" align="center"><input class="checkbox" type="checkbox" name="allowpostnew[${forum.fid}]" value="${forum.fid}" ${forum.allowpost!=0?"checked":""}></td>
				<td class="altbg1" width="10%" align="center"><input class="checkbox" type="checkbox" name="allowreplynew[${forum.fid}]" value="${forum.fid}" ${forum.allowreply!=0?"checked":""}></td>
				<td class="altbg2" width="18%" align="center"><input class="checkbox" type="checkbox" name="allowgetattachnew[${forum.fid}]" value="${forum.fid}" ${forum.allowgetattach!=0?"checked":""}></td>
				<td class="altbg1" width="13%" align="center"><input class="checkbox" type="checkbox" name="allowpostattachnew[${forum.fid}]" value="${forum.fid}" ${forum.allowpostattach!=0?"checked":""}></td>
			</c:otherwise>
			</c:choose>
		</tr>
		</c:forEach>
	</table>
	<br />
	<center>
		<input class="button" type="reset" name="accesssubmit" value="重 置">
		<input class="button" type="submit" name="accesssubmit" value="提 交">
	</center>
</form>
<jsp:include page="../cp_footer.jsp" />

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -