📄 admin_boardaset.jsp
字号:
<tr><td width="20%" align=right>
<font color="<%=tableContentColor%>">标题:</font>
</td>
<td width="80%"><input type=text name=title size=50 value=<%=forumNews.getTitle()%>></td></tr>
<tr><td width="20%" align=right>
<font color="<%=tableContentColor%>">内容:</font>
</td>
<td width="80%"><textarea cols=50 rows=6 name="content">
<%=forumNews.getContent()%>
</textarea></td>
</tr>
<tr><td width="100%" valign=top colspan="2" align=center>
<input type=Submit value="修 改" name=Submit"> <input type="reset" name="Clear" value="清 除">
</td></tr>
</table>
</form>
<%
}
catch(Exception e){
e.printStackTrace();
throw new Exception("没有发现新闻!");
}
}
else if(action.equals("editbminfo")){
if(bmFlag_1==0&&!master){
throw new Exception("本项版主管理功能未开放。");
}
Forum theForum;
if(forumID==0){
throw new Exception("您没有指定相应论坛ID,不能进行管理。");
}else{
theForum=ForumFactory.getForum(forumID);
}
%>
<form action ="admin_boardaset.jsp?action=saveditbm&forumID=<%=forumID%>" method=post>
<input type='hidden' name=editid value='<%=forumID%>'>
<table width="<%=tableWidth%>" border="0" cellspacing="1" cellpadding="4" align="center" bgcolor="<%=tableBackColor%>">
<tr bgcolor=<%=aTableTitleColor%>>
<td width="52%" height=22><font color="<%=tableContentColor%>"><b>字段名称:</b></font> </td>
<td width="48%">
<div align="center"><font color="<%=tableContentColor%>"><b>变量值:</b></font></div>
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>"><font color="<%=tableContentColor%>">论坛序号(注意不能和别的论坛序号相同)</font></td>
<td width="48%" bgColor="<%=tableBodyColor%>"> <font color="<%=tableContentColor%>"><%=forumID%> </font></td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>"><font color="<%=tableContentColor%>">论坛名</font></td>
<td width="48%" bgColor="<%=tableBodyColor%>"> <font color="<%=tableContentColor%>"><%=theForum.getForumType()%></font> </td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>"><font color="<%=tableContentColor%>">版面说明</font></td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<input type="text" name="readme" size="24" value='<%=theForum.getReadMe()%>'>
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>"><font color="<%=tableContentColor%>">版主(多版主添加请用|分隔,如:沙滩小子|wodeail):</font></td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<input type="text" name="boardmaster" size="24" value='<%=theForum.getForumMaster()%>'>
</td>
</tr>
<tr bgcolor=<%=aTableTitleColor%>>
<td width="52%"> </td>
<td width="48%">
<input type="submit" name="Submit" value="提交">
</td>
</tr>
</table>
</form>
<%
}else if(action.equals("editbmset")){
if(bmFlag_3==0&&!master){
throw new Exception("本项版主管理功能未开放。");
}
Forum theForum;
if(forumID==0){
throw new Exception("您没有指定相应论坛ID,不能进行管理。");
}else{
theForum=ForumFactory.getForum(forumID);
}
%>
<form action ="admin_boardaset.jsp?action=savebmset&forumID=<%=forumID%>" method=post>
<input type='hidden' name=editid value='<%=forumID%>'>
<table width="<%=tableWidth%>" border="0" cellspacing="1" cellpadding="4" align="center" bgcolor="<%=tableBackColor%>">
<tr bgcolor=<%=aTableTitleColor%>>
<td width="52%" height=22><b>字段名称:</b> </td>
<td width="48%">
<div align="center"><b>变量值:</b></div>
</td>
</tr>
<tr>
<td width="52%" height=24 bgColor="<%=tableBodyColor%>"><font color="<%=tableContentColor%>"><B>论坛名称</B></font></td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<%=theForum.getForumType()%>
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>">论坛Logo地址</td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<input type="text" name="Logo" size="35" value="<%=theForum.getForumLogo()%>">
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>">首页显示论坛图片</td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<input type="text" name="indexIMG" size="35" value="<%=theForum.getIndexIMG()%>">
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>">UBB标签</td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<select name="strAllowForumCode">
<option value="0" <%if (!theForum.getStrAllowForumCode()){%>selected<%}%>>不使用
<option value="1" <%if (theForum.getStrAllowForumCode()){%>selected<%}%>>使用
</select>
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>">HTML标签</td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<select name="strAllowHTML">
<option value="0" <%if (!theForum.getStrAllowHTML()){%>selected<%}%>>不使用
<option value="1" <%if (theForum.getStrAllowHTML()) {%>selected<%}%>>使用
</select>
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>">帖图标签</td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<select name="strIMGInPosts">
<option value="0" <%if (!theForum.getStrIMGInPosts()) {%>selected<%}%>>不使用
<option value="1" <%if (theForum.getStrIMGInPosts()) {%>selected<%}%>>使用
</select>
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>">Flash标签</td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<select name="strflash">
<option value="0" <%if (!theForum.getStrFlash()) {%>selected<%}%>>不使用
<option value="1" <%if (theForum.getStrFlash()) {%>selected<%}%>>使用
</select>
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>">表情标签</td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<select name="strIcons">
<option value="0" <%if (!theForum.getStrIcons()){%>selected<%}%>>不使用
<option value="1" <%if (theForum.getStrIcons()) {%>selected<%}%>>使用
</select>
</td>
</tr>
<tr>
<td bgColor="<%=tableBodyColor%>">
版块类型
</td>
<td bgColor="<%=tableBodyColor%>">
<select name="forumSkin">
<option value="1" <%if (theForum.getForumSkin()==1){%>selected<%}%>>常规论坛</option>
<option value="2" <%if (theForum.getForumSkin()==2){%>selected<%}%>>开放论坛</option>
<option value="3" <%if (theForum.getForumSkin()==3){%>selected<%}%>>评论论坛</option>
<option value="4" <%if (theForum.getForumSkin()==4){%>selected<%}%>>精华论坛</option>
<option value="5" <%if (theForum.getForumSkin()==5){%>selected<%}%>>认证论坛</option>
<option value="6" <%if (theForum.getForumSkin()==6){%>selected<%}%>>正规论坛</option>
</select>
</td>
</tr>
<tr bgcolor=<%=aTableTitleColor%>>
<td width="52%"> </td>
<td width="48%">
<input type="submit" name="Submit" value="提交">
</td>
</tr>
</table>
</form>
<%
}else if(action.equals("editbmcolor")){
if(bmFlag_2==0&&!master){
throw new Exception("本项版主管理功能未开放。");
}
Forum theForum;
if(forumID==0){
throw new Exception("您没有指定相应论坛ID,不能进行管理。");
}else{
theForum=ForumFactory.getForum(forumID);
}
%>
<form action ="admin_boardaset.jsp?action=savebmcolor&forumID=<%=forumID%>" method=post>
<input type='hidden' name=editid value='<%=forumID%>'>
<table width="<%=tableWidth%>" border="0" cellspacing="1" cellpadding="4" align="center" bgcolor="<%=tableBackColor%>">
<tr bgcolor=<%=aTableTitleColor%>>
<td width="52%" height=22><b>字段名称:</b> </td>
<td width="48%">
<div align="center"><b>变量值:</b></div>
</td>
</tr>
<tr>
<td width="52%" height=24 bgColor="<%=tableBodyColor%>"><font color="<%=tableContentColor%>"><B>论坛名称</B></font></td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<input type="text" name="boardtype" size="24" value = '<%=theForum.getForumType()%>'>
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>">版面表格边框颜色</td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<input type="text" name="Tableback" size="24" value='<%=theForum.getTableBack()%>'>
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>">版面标题表格颜色</td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<input type="text" name="Tabletitle" size="24" value='<%=theForum.getTableTitle()%>'>
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>">版面内容表格颜色1</td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<input type="text" name="Tablebody" size="24" value='<%=theForum.getTableBody()%>'>
</td>
</tr>
<tr >
<td width="52%" bgColor="<%=tableBodyColor%>">版面内容表格颜色2,颜色1和颜色2在bbs风格中互相穿插排列</td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<input type="text" name="aTablebody" size="24" value='<%=theForum.getATableBody()%>'>
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>">版面标题表格字体颜色</td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<input type="text" name="TableFont" size="24" value='<%=theForum.getTableFont()%>'>
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>">版面内容表格字体颜色</td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<input type="text" name="TableContent" size="24" value='<%=theForum.getTableContent()%>'>
</td>
</tr>
<tr>
<td width="52%" bgColor="<%=tableBodyColor%>">提醒语句颜色</td>
<td width="48%" bgColor="<%=tableBodyColor%>">
<input type="text" name="AlertFont" size="24" value='<%=theForum.getAlertFont()%>'>
</td>
</tr>
<tr bgcolor=<%=aTableTitleColor%>>
<td width="52%"> </td>
<td width="48%">
<input type="submit" name="Submit" value="提交">
</td>
</tr>
</table>
</form>
<%
}
else
throw new Exception("非法请求!");
}
catch(Exception e){
errMsg=e.getMessage();
%>
<%@include file="INC/error.jsp"%>
<%
}
%>
<%@include file="foot.jsp"%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -