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

📄 memcp_usergroups.jsp

📁 论坛软件系统亦称电子公告板(BBS)系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/jrun-tag.tld" prefix="jrun"%>
<jsp:include flush="true" page="header.jsp" />
<div class="container">
	<div id="foruminfo"><div id="nav"><a href="${settings.indexname}"> ${settings.bbname} </a> &raquo; 公众用户组</div></div>
	<div class="content">
		<div class="mainbox formbox">
			<h1>公众用户组</h1>
			<c:if test="${type==null}">
				<form method="post" action="memcp.jsp?action=usergroups&type=main">
					<table summary="公众用户组" cellspacing="0" cellpadding="0" width="100%" align="center">
						<thead><tr><td>用户组头衔</td><td>日价格</td><td>最短购买时间</td><td class="time">到期时间</td><td>扩展用户组</td><td>主用户组</td></tr></thead>
						<c:forEach items="${grouplist}" var="groups">
							<tr>
								<td><c:choose><c:when test="${groups.isspacal}"><u>${groups.grouptitle}</u></c:when><c:when test="${groups.isextgroup}"><b><i>${groups.grouptitle}</i></b></c:when><c:otherwise>${groups.grouptitle}</c:otherwise></c:choose></td>
								<td>${groups.price}</td>
								<td>${groups.days}</td>
								<td><jrun:showTime timeInt="${groups.dateline}" type="${dateformat}" timeoffset="${timeoffset}"/></td>
								<td><c:choose><c:when test="${groups.isextgroup}"><a href="memcp.jsp?action=usergroups&type=toextexit&edit=${groups.groupid}">[退出]</a></c:when><c:when test="${groups.isaddgroup}"><a href="memcp.jsp?action=usergroups&type=toextadd&edit=${groups.groupid}"><b>[加入]</b></a></c:when></c:choose></td>
								<td><input type="radio" name="groupidnew" value="${groups.groupid}" ${groups.ismaingroup?"checked":""} ${inadmin || groups.isaddgroup || groups.groupid==1 || groups.groupid==2 || groups.groupid==3?"disabled":""}/></td>
							</tr>
						</c:forEach>
						<tr>
							<td colspan="6">
								<ul>
									<li><strong><i>粗斜体显示的用户组</i></strong>为您已经加入,但并非公众类型的用户组,如果退出,将无法再加入该组,而只能由管理员通过系统设置修改。</li>
									<li><u>下划线显示的用户组</u>不具有切换用户组的权限,因此您一旦设置其为主用户组,将失去加入或离开公众用户组的权限,请务必慎用!</li>
									<li>日价格为 0 的用户组为免费公众用户组,您可以自由加入或退出;日价格高于 0 的用户组为收费公众用户组,您需要支付相应的交易积分才能加入。</li>
									<li>加入收费公众用户组的最低花费为: 日价格*最短购买时间。如果您希望将收费公众用户组设置为主用户组,请先将该收费用户组加为扩展用户组,之后再设置成为主用户组。</li>
								</ul>
							</td>
						</tr>
						<tr class="btns"><td colspan="6"><button class="submit" type="submit" name="groupsubmit" id="groupsubmit" value="true" tabindex="1">提交</button></td>
					</table>
				</form>
			</c:if>
			<c:if test="${type=='toextexit'}">
				<form method="post" action="memcp.jsp?action=usergroups&type=toextexit&submit=yes&edit=${param.edit}">
					<table summary="公众用户组" cellspacing="0" cellpadding="0" width="100%" align="center">
						<thead><tr><td colspan="2">退出</td></tr></thead>
						<tbody>
							<tr><th>用户名:</th><td>${membername} <span class="smalltxt">[<a href="logging.jsp?action=logout&formhash=${formhash}">退出登录</a>]</span></td></tr>
							<tr><th>用户组:</th><td>${grouptitle}</td></tr>
						</tbody>
					</table>
					<p class="btns"><button type="submit" name="groupsubmit" id="groupsubmit" value="true" tabindex="2">提交</button></p>
				</form>
			</c:if>
			<c:if test="${type=='toextadd'}">
				<form method="post" action="memcp.jsp?action=usergroups&type=toextadd&submit=yes&edit=${param.edit}">
					<table summary="公众用户组" cellspacing="0" cellpadding="0" width="100%" align="center">
						<thead><tr><td colspan="2">加入</td></tr></thead>
						<tr><th>用户名:</th><td>${membername} <span class="smalltxt">[<a href="logging.jsp?action=logout&formhash=${formhash}">退出登录</a>]</span></td></tr>
						<tr><th>用户组:</th><td>${grouptitle}</td></tr>
						<tr><th>日价格:</th><td>${price}</td></tr>
						<tr><th>最短购买时间:</th><td>${days} 天</td></tr>
						<tr><th>购买时间:</th><td><input type="text" size="5" name="days" value="${days}" /> 天</td></tr>
						<tr><td colspan="2">您至少需要支付pricenum以获取 ${days} 天的本用户组权限,不设上限。购买后不能退款,请付费前仔细确定是否加入本组。</td></tr>
					</table>
					<p class="btns"><button type="submit" name="groupsubmit" id="groupsubmit"value="true" tabindex="2">提交</button></p>
				</form>
			</c:if>
		</div>
	</div>
	<div class="side"><jsp:include flush="true" page="personal_navbar.jsp" /></div>
</div>
<jsp:include flush="true" page="footer.jsp" />

⌨️ 快捷键说明

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