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

📄 topicadmin_moderate.jsp

📁 论坛软件系统亦称电子公告板(BBS)系统
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="cn.jsprun.foreg.vo.topicadmin.BaseVO"%>
<%@ 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 id="nav">
	<a href="${settings.indexname}" ${settings.forumjump==1&&settings.jsmenu_1>0?"class='dropmenu' onmouseover='showMenu(this.id)'":""}>${settings.bbname}</a> &raquo;
	<c:forEach items="${valueObject.fid_NameMapList}" var="fid_NameMap">
		<a href="forumdisplay.jsp?fid=${fid_NameMap.fid}">${fid_NameMap.fName}</a>&raquo;
	</c:forEach>
	<c:if test="${valueObject.showTopicName}">
	<a href="viewthread.jsp?tid=${valueObject.topicId}">${valueObject.topicName}</a>&raquo;
	</c:if>
	
	<c:choose>
		<c:when test="${action=='delete'||action=='delpost'||action=='deleteMirrorImage'}">删除主题</c:when>
		<c:when test="${action=='move'}">移动主题</c:when>
		<c:when test="${action=='highlight'}">高亮显示</c:when>
		<c:when test="${action=='type'}">主题分类</c:when>
		<c:when test="${action=='close'}">关闭/打开主题</c:when>
		<c:when test="${action=='stick'}">置顶/解除置顶</c:when>
		<c:when test="${action=='digest'}">加入/解除精华</c:when>
		<c:when test="${action=='supe_push'}">推送/解除推送</c:when>
		<c:when test="${action=='removereward'}">取消悬赏</c:when>
		<c:when test="${action=='bump'}">提升/下沉主题</c:when>
		<c:when test="${action=='recommend'}">推荐主题</c:when>
	</c:choose>
</div>
<form method="post"
	action="topicadmin.jsp?currentOperation=${action }&amp;operation=moderate"
	id="postform">
	<input type="hidden" name="formhash" value="b29e1c42" />
	<input type="hidden" name="fid" value="${valueObject.fid}" />
	<input type="hidden" name="referer" value="forumdisplay.jsp?fid=${valueObject.fid}" />
	<input type="hidden" name="pageInfo" value="${valueObject.pageInfo}">
	<div class="mainbox formbox">
		<h1>
			<c:choose>
				<c:when test="${action=='delete'||action=='delpost'||action=='deleteMirrorImage'}">删除主题</c:when>
				<c:when test="${action=='move'}">移动主题</c:when>
				<c:when test="${action=='highlight'}">高亮显示</c:when>
				<c:when test="${action=='type'}">主题分类</c:when>
				<c:when test="${action=='close'}">关闭/打开主题</c:when>
				<c:when test="${action=='stick'}">置顶/解除置顶</c:when>
				<c:when test="${action=='digest'}"><a href="member.jsp?action=credits&amp;view=digest" target="_blank">查看积分策略说明</a>加入/解除精华</c:when>
				<c:when test="${action=='supe_push'}">推送/解除</c:when>
				<c:when test="${action=='removereward'}">取消悬赏</c:when>
				<c:when test="${action=='bump'}">提升/下沉主题</c:when>
				<c:when test="${action=='recommend'}">推荐主题</c:when>
			</c:choose>
		</h1>
		<table summary="Operating" cellspacing="0" cellpadding="0">
			<thead>
				<tr>
					<th>用户名</th>
					<td>${jsprun_userss} [<a href="logging.jsp?action=logout&formhash=${formhash}">退出登录</a>]</td>
				</tr>
			</thead>
			<c:choose>
				<c:when test="${action=='move'}">
					<tr>
						<th><label for="moveto">目标版块/分区</label></th>
						<td>
							<select id="moveto" name="moveto">
								${valueObject.selectContent}
							</select>
						</td>
					</tr>
					<tr>
						<th>移动方式</th>
						<td>
							<label><input class="radio" type="radio" name="type" value="normal" checked="checked" /> 移动主题</label>
							<label><input class="radio" type="radio" name="type" value="redirect" /> 移动主题并在原来的版块中保留转向</label>
						</td>
					</tr>
				</c:when>
				<c:when test="${action=='highlight'}">
					<tr>
						<th>字体样式</th>
						<td>
							<label>
								<input class="checkbox" type="checkbox" name="highlight_style" value="40" ${valueObject.bchecked?"checked":""}/>
								<strong style="font-weight: bold; color: #000;">粗体</strong>
							</label>
							&nbsp;
							<label>
								<input class="checkbox" type="checkbox" name="highlight_style" value="20" ${valueObject.ichecked?"checked":""}/>
								<em style="font-style: italic;">斜体</em>
							</label>
							&nbsp;
							<label>
								<input class="checkbox" type="checkbox" name="highlight_style" value="10" ${valueObject.uchecked?"checked":""}/>
								<span style="text-decoration: underline;">下划线</span>
							</label>
						</td>
					</tr>
					<tr>
						<th>字体颜色</th>
						<td>
							<label class="highlight">
								<input class="radio" type="radio" name="highlight_color" value="0" ${valueObject.highlight_color == 0?"checked":""} />
								<em style="background: #000;"></em>
							</label>
							<label class="highlight">
								<input class="radio" type="radio" name="highlight_color" value="1" ${valueObject.highlight_color == 1?"checked":""}/>
								<em style="background: red;"></em>
							</label>
							<label class="highlight">
								<input class="radio" type="radio" name="highlight_color" value="2" ${valueObject.highlight_color == 2?"checked":""}/>
								<em style="background: orange;"></em>
							</label>
							<label class="highlight">
								<input class="radio" type="radio" name="highlight_color" value="3" ${valueObject.highlight_color == 3?"checked":""}/>
								<em style="background: yellow;"></em>
							</label>
							<label class="highlight">
								<input class="radio" type="radio" name="highlight_color" value="4" ${valueObject.highlight_color == 4?"checked":""}/>
								<em style="background: green;"></em>
							</label>
							<label class="highlight">
								<input class="radio" type="radio" name="highlight_color" value="5" ${valueObject.highlight_color == 5?"checked":""}/>
								<em style="background: cyan;"></em>
							</label>
							<label class="highlight">
								<input class="radio" type="radio" name="highlight_color" value="6" ${valueObject.highlight_color == 6?"checked":""}/>
								<em style="background: blue;"></em>
							</label>
							<label class="highlight">
								<input class="radio" type="radio" name="highlight_color" value="7" ${valueObject.highlight_color == 7?"checked":""}/>
								<em style="background: purple;"></em>
							</label>
							<label class="highlight">
								<input class="radio" type="radio" name="highlight_color" value="8" ${valueObject.highlight_color == 8?"checked":""}/>
								<em style="background: gray;"></em>
							</label>
						</td>
					</tr>
				</c:when>
				<c:when test="${action=='type'}">
					<tr>
						<th>目标版块/分区</th>
						<td>
							<select name="typeid">
								<option value="0">&nbsp;</option>
								<c:forEach items="${valueObject.topicClassMap}" var="topicClass">
								<option value="${topicClass.key }">${topicClass.value }</option>
								</c:forEach>
							</select>
						</td>
					</tr>
				</c:when>
				<c:when test="${action=='close'}">
					<tr>
						<th>操作</th>
						<td>
							<label><input class="radio" type="radio" name="close" value="0" ${valueObject.close== '0'?'checked':'' } /> 打开主题</label>
							&nbsp;
							<label><input class="radio" type="radio" name="close" value="1" ${valueObject.close== '1'?'checked':'' }/> 关闭主题</label>
						</td>
					</tr>
				</c:when>
				<c:when test="${action=='stick'}">
					<tr>
						<th>级别</th>
						<td>
							<c:if test="${valueObject.showUnchain}"><label><input class="radio" type="radio" name="level" value="0" onclick="$('expirationarea').disabled=1" /> 解除置顶</label>&nbsp;</c:if>
							<label>
								<input class="radio" type="radio" name="level" value="1" ${valueObject.level== '1'?'checked':''} onclick="$('expirationarea').disabled=0" />
								<img src="images/default/pin_1.gif" alt="本版置顶" /> 本版置顶
							</label>
							<c:if test="${valueObject.stickPurview>1}">
							<label>
								<input class="radio" type="radio" name="level" value="2" ${valueObject.level== '2'?'checked':''} onclick="$('expirationarea').disabled=0" />
								<img src="images/default/pin_2.gif" alt="分类置顶" />
								分类置顶
							</label>
							</c:if>

⌨️ 快捷键说明

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