📄 boardsedit.jsp
字号:
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ page import="com.laoer.bbscs.sysinfo.*"%>
<%@ page import="com.laoer.bbscs.bbs.business.*"%>
<%@ page import="java.util.*"%>
<%
String bsid = (String) request.getAttribute("bsid");
BoardsInfo aBoards = (BoardsInfo) request.getAttribute("myBoardsInfo");
%>
<html>
<head>
<title><bean:message key="admin.main.title"/></title>
<style type="text/css">
<!--
a { color: #0000FF; text-decoration: none }
a:link { text-decoration: none; color: #0000FF }
a:visited { text-decoration: none; color: #0000FF}
a:hover { text-decoration: underline; color: #FF0000 }
a:active { text-decoration: underline; color: #FF0000 }
body { font-size: 9pt}
table { font-size: 9pt}
-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div align="center">
<html:form action="/boardsAction.do" method="POST">
<INPUT TYPE="hidden" name="bid" value="<%=aBoards.getBoardID()%>">
<INPUT TYPE="hidden" name="bsid" value="<%=bsid%>">
<INPUT TYPE="hidden" name="action" value="editdo">
<table width="272" border="0" align="center">
<tr>
<td colspan="2">
<div align="center"><B><bean:message key="admin.boards.changboards.title"/></B></div>
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boardnamec"/></div>
</td>
<td width="172">
<input type="text" name="boardsname" size="20" maxlength="20" value="<%=aBoards.getBoardsName()%>">
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boardnamee"/></div>
</td>
<td width="172">
<input type="text" name="eboardsname" size="20" maxlength="20" value="<%=aBoards.getBoardsEName()%>">
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boardmaster"/></div>
</td>
<td width="172">
<input type="text" name="bsmaster" size="20" maxlength="20" value="<%=aBoards.getMainMaster()%>">
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.amaster"/></div>
</td>
<td width="172">
<input type="text" name="bsmaster1" size="20" maxlength="110" value="<%=aBoards.getAssiMaster()%>">
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.hidemaster"/></div>
</td>
<td width="172">
<input type="text" name="bsmaster2" size="20" maxlength="65" value="<%=aBoards.getHideMaster()%>">
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.explain"/></div>
</td>
<td width="172">
<textarea name="explain"><%=aBoards.getExplain()%></textarea>
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.bull"/></div>
</td>
<td width="172">
<textarea name="bulletin"><%=aBoards.getBulletin()%></textarea>
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.attrib1"/></div>
</td>
<td width="172">
<input type="checkbox" name="attrib1" value="1" <% if (aBoards.getAttrib1() ==1) out.print("checked");%>>
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.attrib2"/></div>
</td>
<td width="172">
<input type="checkbox" name="attrib2" value="1" <% if (aBoards.getAttrib2() ==1) out.print("checked");%>>
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.attrib3"/></div>
</td>
<td width="172">
<input type="checkbox" name="attrib3" value="1" <% if (aBoards.getAttrib3() ==1) out.print("checked");%>>
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.attrib4"/></div>
</td>
<td width="172">
<input type="checkbox" name="attrib4" value="1" <% if (aBoards.getAttrib4() ==1) out.print("checked");%>>
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.attrib5"/></div>
</td>
<td width="172">
<input type="checkbox" name="attrib5" value="1" <% if (aBoards.getAttrib5() ==1) out.print("checked");%>>
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.attrib6"/></div>
</td>
<td width="172">
<input type="checkbox" name="attrib6" value="1" <% if (aBoards.getAttrib6() ==1) out.print("checked");%>>
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.attrib7"/></div>
</td>
<td width="172">
<input type="checkbox" name="attrib7" value="1" <% if (aBoards.getAttrib7() ==1) out.print("checked");%>>
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.attrib8"/></div>
</td>
<td width="172">
<input type="checkbox" name="attrib8" value="1" <% if (aBoards.getAttrib8() ==1) out.print("checked");%>>
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.attrib9"/></div>
</td>
<td width="172">
<input type="checkbox" name="attrib9" value="1" <% if (aBoards.getAttrib9() ==1) out.print("checked");%>>
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.attrib10"/></div>
</td>
<td width="172">
<input type="checkbox" name="attrib10" value="1" <% if (aBoards.getAttrib10() ==1) out.print("checked");%>>
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.boards.usestat"/></div>
</td>
<td width="172">
<select name="usestate">
<option value="1" <% if (aBoards.getUseStat() == 1) out.print("selected");%>><bean:message key="admin.boards.usestat.yes"/></option>
<option value="2" <% if (aBoards.getUseStat() == 2) out.print("selected");%>><bean:message key="admin.boards.usestat.no"/></option>
</select>
</td>
</tr>
<tr>
<td width="90">
<div align="right"><bean:message key="admin.board.orders"/></div>
</td>
<td width="172">
<input type="text" name="xu" size="3" maxlength="3" value="<%=aBoards.getOrders()%>">
</td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<input type="submit" name="pub_bmod" value="<bean:message key="bbscs.change"/>">
<input type="reset" name="Submit2" value="<bean:message key="bbscs.botton.reset"/>">
</div>
</td>
</tr>
</table>
</html:form>
</div>
<p><CENTER><a href="<%=Sys.getURL()%>boardAction.do?bid=<%=aBoards.getBoardID()%>&action=edit"><bean:message key="bbscs.back"/></a></CENTER></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -