📄 main.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/c.tld" prefix="c"%>
<c:choose>
<%-- 后台首页 --%>
<c:when test="${param.action ==null || param.action=='home'}">
<jsp:include page="/domain.do?action=callBackBBSData"/>
<jsp:forward page="/home.do?action=getData"/><!-- 后台首页 -->
</c:when>
<c:when test="${param.action=='adminnote'}"><jsp:forward page="/home.do?action=home"/><!-- 后台首页 --></c:when>
<c:when test="${members.adminid==1}">
<c:choose>
<%-- 基本设置 --%>
<c:when test="${param.action=='settings'}">
<c:choose>
<c:when test="${param.do=='basic'}"><jsp:forward page="/basicsettings.do?param=basic"/><!-- 基本设置 --></c:when>
<c:when test="${param.do=='access'}"><jsp:forward page="/basicsettings.do?param=access"/><!-- 注册与访问控制 --></c:when>
<c:when test="${param.do=='styles'}"><jsp:forward page="/basicsettings.do?param=styles" /><!-- 界面与显示方式 --></c:when>
<c:when test="${param.do=='seo'}"><jsp:forward page="/basicsettings.do?param=seo" /><!-- 搜索引擎优化设置 --></c:when>
<c:when test="${param.do=='cachethread'}"><jsp:forward page="/basicsettings.do?param=cachethread"/><!-- 页面缓存设置 --></c:when>
<c:when test="${param.do=='functions'}"><jsp:forward page="/basicsettings.do?param=functions"/><!-- 论坛功能 --></c:when>
<c:when test="${param.do=='credits'}"><jsp:forward page="/basicsettings.do?param=toCredits"/><!-- 积分设置 --></c:when>
<c:when test="${param.do=='saveProject'}"><jsp:forward page="/basicsettings.do?param=saveProject"/><!-- 积分设置--保存为设置方案--提交 --></c:when>
<c:when test="${param.do=='particular'}"><jsp:forward page="/basicsettings.do?param=toCreditParticularse"/><!-- 积分设置--积分策略向导(积分项目设置)--详细设置(--全局设置) --></c:when>
<c:when test="${param.do=='creditParticularse'}"><jsp:forward page="/basicsettings.do?param=creditParticularse"/><!-- 积分设置--积分策略向导(积分项目设置)--详细设置(--全局设置)--提交 --></c:when>
<c:when test="${param.do=='bankuaiSetting'}"><jsp:forward page="/basicsettings.do?param=bankuaiSetting"/><!-- 积分设置--积分策略向导(积分项目设置)--详细设置--版块设置 --></c:when>
<c:when test="${param.do=='usergroupSetting'}"><jsp:forward page="/basicsettings.do?param=usergroupSetting"/><!-- 积分设置--积分策略向导(积分项目设置)--详细设置--用户组设置 --></c:when>
<c:when test="${param.do=='resetCredit'}"><jsp:forward page="/basicsettings.do?param=resetCredit"/><!-- 积分设置--积分策略向导(积分项目设置)--重置积分 --></c:when>
<c:when test="${param.do=='ecommerce'}"><jsp:forward page="/basicsettings.do?param=ecommerce" /><!-- 电子商务基本设置 --></c:when>
<c:when test="${param.do=='serveropti'}"><jsp:forward page="/basicsettings.do?param=serveropti"/><!-- 服务器优化 --></c:when>
<c:when test="${param.do=='mail'}"><jsp:forward page="/basicsettings.do?param=mail"/><!-- Email设置 --></c:when>
<c:when test="${param.do=='seccode'}"><jsp:forward page="/basicsettings.do?param=seccode"/><!-- 验证码设置 --></c:when>
<c:when test="${param.do=='secqaa'}"><jsp:forward page="/basicsettings.do?param=secqaa"/><!-- 验证问答设置 --></c:when>
<c:when test="${param.do=='datetime'}"><jsp:forward page="/basicsettings.do?param=datetime"/><!-- 时间设置 --></c:when>
<c:when test="${param.do=='permissions'}"><jsp:forward page="/basicsettings.do?param=permissions"/><!-- 用户权限 --></c:when>
<c:when test="${param.do=='attachments'}"><jsp:forward page="/basicsettings.do?param=attachments"/><!-- 附件设置 --></c:when>
<c:when test="${param.do=='wap'}"><jsp:forward page="/basicsettings.do?param=wap"/><!-- WAP 设置 --></c:when>
<c:when test="${param.do=='space'}"><jsp:forward page="/basicsettings.do?param=space"/><!-- 个人空间设置 --></c:when>
</c:choose>
</c:when>
<c:when test="${param.action=='imagepreview'}"><jsp:forward page="/basicsettings.do?param=imagepreview"/><!-- 图片预览 --></c:when>
<c:when test="${param.action=='ftpcheck'}"><jsp:forward page="/basicsettings.do?param=ftpcheck"/><!-- 远程附件检测 --></c:when>
<%-- 论坛管理 --%>
<c:when test="${param.action=='forumsedit'}"><jsp:forward page="/forumsedit.do?action=forumsedit"/><!-- 论坛管理模块部分 --></c:when>
<c:when test="${param.action=='forumadd'}"><jsp:forward page="/forumsedit.do?action=forumadd"/><!-- 添加版块 --></c:when>
<c:when test="${param.action=='forumdetail'}"><jsp:forward page="/forumsedit.do?action=forumdetail"/><!-- 编辑版块 --></c:when>
<c:when test="${param.action=='projectadd'}"><jsp:forward page="/forumsedit.do?action=projectadd"/><!-- 添加版块设置方案 --></c:when>
<c:when test="${param.action=='forumcopy'}"><jsp:forward page="/forumsedit.do?action=forumcopy" /><!-- 复制版块 --></c:when>
<c:when test="${param.action=='forumdelete'}"><jsp:forward page="/forumsedit.do?action=removeForum" /><!-- 删除版块 --></c:when>
<c:when test="${param.action=='moderators'}"><jsp:forward page="/forumsedit.do?action=moderators" /><!-- 版主 --></c:when>
<c:when test="${param.action=='forumsmerge'}"><jsp:forward page="/forumsedit.do?action=forumsmerge" /><!-- 合并版块 --></c:when>
<c:when test="${param.action=='threadtypes'}"><jsp:forward page="/forumsedit.do?action=threadtypes" /><!-- 主题分类、信息类别 --></c:when>
<c:when test="${param.action=='typedetail'}"><jsp:forward page="/forumsedit.do?action=typedetail" /><!-- 信息类别详细设置 --></c:when>
<c:when test="${param.action=='typemodel'}"><jsp:forward page="/forumsedit.do?action=typemodel" /><!-- 信息模型 --></c:when>
<c:when test="${param.action=='modeldetail'}"><jsp:forward page="/forumsedit.do?action=modeldetail" /><!-- 信息模型详细设置 --></c:when>
<c:when test="${param.action=='typeoption'}"><jsp:forward page="/forumsedit.do?action=typeoption" /><!-- 选项管理 --></c:when>
<c:when test="${param.action=='optiondetail'}"><jsp:forward page="/forumsedit.do?action=optiondetail" /><!-- 选项详细管理 --></c:when>
<c:when test="${param.action=='styles'}"><jsp:forward page="/forumsedit.do?action=styles" /><!-- 界面风格 --></c:when>
<c:when test="${param.action=='templates'}"><jsp:forward page="/forumsedit.do?action=templates" /><!-- 模板编辑 --></c:when>
<c:when test="${param.action=='tpladd'}"><jsp:forward page="/forumsedit.do?action=tpladd" /><!-- 添加模板 --></c:when>
<c:when test="${param.action=='tpledit'}"><jsp:forward page="/forumsedit.do?action=toTpledit" /><!-- 模板详细管理 --></c:when>
<c:when test="${param.action=='modtpledit'}"><jsp:forward page="/forumsedit.do?action=tpledit" /><!-- 模板详细管理 --></c:when>
<%-- 用户管理 --%>
<c:when test="${param.action=='memberadd'}"><jsp:forward page="/user.do?useraction=memberAdd"/><!-- 添加用户 --></c:when>
<c:when test="${param.action=='members'&& param.deletesubmit=='yes'}"><jsp:forward page="/user.do?useraction=deleteMembers"/><!-- 删除用户 --></c:when>
<c:when test="${param.action=='members'&& param.searchsubmit==null&¶m.submitname==null}"><jsp:forward page="/user.do?useraction=membersInit"/><!-- 编辑用户 --></c:when>
<c:when test="${param.action=='members'&¶m.searchsubmit!=null}"><jsp:forward page="/user.do?useraction=searchMembers"/><!-- 管理员编辑用户 --></c:when>
<c:when test="${param.action=='banmember'}"><jsp:forward page="/user.do?useraction=tobanmember"/><!-- 禁止用户 --></c:when>
<c:when test="${param.action=='membersmerge'}"><jsp:forward page="/admin/page/members/membersmerge.jsp"/><!-- 合并用户 --></c:when>
<c:when test="${param.action=='ipban'}"><jsp:forward page="/user.do?useraction=banIp&init=yes"/><!-- 禁止IP --></c:when>
<c:when test="${param.action=='members'&¶m.submitname=='creditsubmit'}"><jsp:forward page="/user.do?useraction=creditSubmit"/><!-- 积分奖惩 --></c:when>
<c:when test="${param.action=='modmembers'&¶m.search=='yes'}"><jsp:forward page="/user.do?useraction=searchVlidateMemeber"/><!-- 查询待验证的用户 --></c:when>
<c:when test="${param.action=='modmembers'&¶m.validate=='yes'}"><jsp:forward page="/user.do?useraction=validateMembers"/><!-- 审核待验证的用户 --></c:when>
<c:when test="${param.action=='modmembers'}"><jsp:forward page="/user.do?useraction=modMembers"/><!-- 审核新用户 --></c:when>
<c:when test="${param.action=='profilefields'}"><jsp:forward page="/user.do?useraction=profileFields&init=yes"/><!-- 用户栏目定制 --></c:when>
<c:when test="${param.action=='admingroups'}"><jsp:forward page="/user.do?useraction=adminGroups"/><!-- 管理组 --></c:when>
<c:when test="${param.action=='usergroups'}"><jsp:forward page="/user.do?useraction=userGroups"/><!-- 用户组 --></c:when>
<c:when test="${param.action=='ranks'}"><jsp:forward page="/user.do?useraction=goEditRanks"/><!-- 发帖数级别 --></c:when>
<c:when test="${param.action=='editranks'}"><jsp:forward page="/user.do?useraction=editRanks"/><!-- 编辑发帖数级别 --></c:when>
<c:when test="${param.action=='toeditgroups'}"><jsp:forward page="/user.do?useraction=goEditGroupOnUser"/><!-- 编辑用户的用户组 --></c:when>
<c:when test="${param.action=='editgroups'}"><jsp:forward page="/user.do?useraction=editMemberUsergroup"/><!-- 编辑用户的用户组 --></c:when>
<c:when test="${param.action=='toaccess'}"><jsp:forward page="/user.do?useraction=goEditPurview"/><!-- 编辑用户的权限 --></c:when>
<c:when test="${param.action=='access'}"><jsp:forward page="/user.do?useraction=editPurview"/><!-- 编辑用户的权限 --></c:when>
<c:when test="${param.action=='toeditcredits'}"><jsp:forward page="/user.do?useraction=goEditCredits"/><!-- 编辑用户的积分 --></c:when>
<c:when test="${param.action=='editcredits'}"><jsp:forward page="/user.do?useraction=editCredits"/><!-- 编辑用户的积分 --></c:when>
<c:when test="${param.action=='toedituserinfo'}"><jsp:forward page="/user.do?useraction=goEditUserInfo"/><!-- 编辑用户的详情 --></c:when>
<c:when test="${param.action=='edituserinfo'}"><jsp:forward page="/user.do?useraction=editUserInfo"/><!-- 编辑用户的详情 --></c:when>
<c:when test="${param.action=='toeditmedal'}"><jsp:forward page="/user.do?useraction=goEditMedals"/><!-- 编辑用户的勋章 --></c:when>
<c:when test="${param.action=='editmedal'}"><jsp:forward page="/user.do?useraction=editmedal"/><!-- 编辑用户的勋章 --></c:when>
<c:when test="${param.action=='todeletemember'}"><jsp:forward page="/user.do?useraction=editDeleteMembers"/><!-- 编辑删除用户 --></c:when>
<c:when test="${param.action=='editbanmember'}"><jsp:forward page="/user.do?useraction=banMember"/><!-- 禁止用户 --></c:when>
<c:when test="${param.action=='editmembersmerge'}"><jsp:forward page="/user.do?useraction=membersMerge"/><!-- 合并用户 --></c:when>
<c:when test="${param.action=='editipban'}"><jsp:forward page="/user.do?useraction=banIp"/><!-- 禁止IP --></c:when>
<c:when test="${param.action=='creditsubmit'}"><jsp:forward page="/user.do?useraction=creditSubmit"/><!-- 查询奖惩积分用户 --></c:when>
<c:when test="${param.action=='editcreditsubmit'}"><jsp:forward page="/user.do?useraction=editCredit"/><!-- 积分奖惩编辑 --></c:when>
<c:when test="${param.action=='editprofilefields'}"><jsp:forward page="/user.do?useraction=profileFields"/><!-- 编辑用户栏目定制 --></c:when>
<c:when test="${param.action=='tousergroupinfo'}"><jsp:forward page="/user.do?useraction=userGroupInfo"/><!-- 进入用户组详情设置 --></c:when>
<c:when test="${param.action=='editusergroupinfo'}"><jsp:forward page="/user.do?useraction=editUserGroupInfo"/><!-- 编辑用户组详情设置 --></c:when>
<c:when test="${param.action=='forusergroups'}"><jsp:forward page="/user.do?useraction=forUsergroups"/><!-- 用户组应用方案设置 --></c:when>
<c:when test="${param.action=='adduserproject'}"><jsp:forward page="/user.do?useraction=addUserProject"/><!-- 添加用户组案设置 --></c:when>
<%-- 帖子管理 --%>
<c:when test="${param.action=='modthreads'&¶m.batch=='yes'}"><jsp:forward page="/posts.do?postsaction=batchModthreads"/><!-- 帖子管理、审核新主题 --></c:when>
<c:when test="${param.action=='modthreads'&¶m.automod=='yes'}"><jsp:forward page="/posts.do?postsaction=auditingNewThreads"/><!-- 帖子管理、审核新主题 --></c:when>
<c:when test="${param.action=='modthreads'&¶m.searchpage=='yes'}"><jsp:forward page="/posts.do?postsaction=pagePosts"/><!-- 新主题分页 --></c:when>
<c:when test="${param.action=='modthreads'}"><jsp:forward page="/posts.do?postsaction=tomodthreads"/><!-- 帖子管理、审核新主题 --></c:when>
<c:when test="${param.action=='modreplies'&¶m.batch=='yes'}"><jsp:forward page="/posts.do?postsaction=workAllModreplies"/><!-- 审核新回复 --></c:when>
<c:when test="${param.action=='modreplies'&¶m.automod=='yes'}"><jsp:forward page="/posts.do?postsaction=auditingNewModreplies"/><!-- 审核新回复 --></c:when>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -