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

📄 reportpost.jsp

📁 论坛软件系统亦称电子公告板(BBS)系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<c:choose>
	<c:when test="${param.inajax==null}">
		<div id="nav"><a href="${settings.indexname}"> ${settings.bbname} </a> $navigation &raquo; 报告</div>
		<form method="post" name="input" action="misc.jsp?action=report&inajax=$inajax" id="reportpostform">
		<div class="mainbox formbox">
			<h1>报告</h1>
			<table summary="报告" cellspacing="0" cellpadding="0">
				<thead>
					<tr>
						<th>用户名</th>
						<td>${jsprun_userss} [<a href="$link_logout">退出登录</a>]</td>
					</tr>
				</thead>
				<c:choose>
					<c:when test="${reportpost==1}">
						<input type="hidden" name="to[3]" value="yes" />
					</c:when>
					<c:otherwise>
						<tr>
						<th>报告给</th>
						<td>
						<c:if test="${reportpost==3}"><label><input class="checkbox" type="checkbox" name="to[1]" value="yes"> 论坛管理员</label> &nbsp;</c:if>
						<c:if test="${reportpost>=2}"><label><input class="checkbox" type="checkbox" name="to[2]" value="yes"> 超级版主</label> &nbsp;</c:if>	
						<label><input class="checkbox" type="checkbox" name="to[3]" value="yes" checked="checked" /> 版主</label>	
						</td>
					</tr>
					</c:otherwise>
				</c:choose>
				<tr>
					<th valign="top"><label for="reason">我的意见</label></th>
					<td><textarea rows="9" id="reason" name="reason" style="width: 98%;">我对这个帖子有异议,特向您报告</textarea></td>
				</tr>
				<tr class="btns">
					<th>&nbsp;</th>
					<td>
						<input type="hidden" name="tid" value="${tid}" />
						<input type="hidden" name="fid" value="${fid}" />
						<input type="hidden" name="pid" value="${pid}" />
						<button class="submit" type="submit" name="reportsubmit" value="true">报告</button>
					</td>
				</tr>
			</table>
		</div>
	</form>
	</c:when>
	<c:otherwise>
		<div class="ajaxform">
		<form method="post" action="misc.jsp?action=report&inajax=1&reportsubmit=yes" id="reportpostform">
			<table summary="报告" cellspacing="0" cellpadding="0">
				<thead>
					<tr>
						<th>报告</th>
						<td align="right"><a href="javascript:hideMenu();"><img src="images/spaces/close.gif" alt="关闭" title="关闭" /></a></td>
					</tr>
				</thead>
				<c:choose>
					<c:when test="${reportpost==1}">
						<input type="hidden" name="to3" value="3" />
					</c:when>
					<c:otherwise>
						<tr>
						<th>报告给</th>
						<td>
						<c:if test="${reportpost==3}"><label><input class="checkbox" type="checkbox" name="to1" value="1"> 论坛管理员</label> &nbsp;</c:if>
						<c:if test="${reportpost>=2}"><label><input class="checkbox" type="checkbox" name="to2" value="2"> 超级版主</label> &nbsp;</c:if>	
						<label><input class="checkbox" type="checkbox" name="to3" value="yes" checked="checked" /> 版主</label>	
						</td>
					</tr>
					</c:otherwise>
				</c:choose>
				<tr>
					<th valign="top"><label for="reason">我的意见</label></td>
					<th><textarea rows="4" id="reason" name="reason" style="width: 300px; height: 5em">我对这个帖子有异议,特向您报告</textarea>
				</tr>
				<tr class="btns">
					<th>&nbsp;</th>
					<td>
						<input type="hidden" name="tid" value="${tid}" />
						<input type="hidden" name="fid" value="${fid}" />
						<input type="hidden" name="pid" value="${pid}" />
						<button class="submit" type="button" name="reportsubmit" value="true" onclick="ajaxpost('reportpostform', 'ajax_report_${pid}_menu');">报告</button>
					</td>
				</tr>
			</table>
		</form>
	</div>
	</c:otherwise>
</c:choose>

⌨️ 快捷键说明

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