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

📄 boardset.jsp

📁 一个jsp写的bbs
💻 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" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html:html xhtml="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>版区管理</title>
<link href="css/admin.css" rel="stylesheet" type="text/css" />
</head>

<body>
<p>&nbsp;</p>
<html:form action="/adminBoardSet">
<html:hidden property="action"/>
<html:hidden property="id"/>
<table width="90%"  border="0" align="center" cellpadding="10" cellspacing="0" class="table1">
  <tr>
    <td><table width="100%"  border="0" cellpadding="5" cellspacing="0">
      <tr>
        <td colspan="2"><strong>版区管理</strong></td>
      </tr>

      <tr>
        <td colspan="2">
          <div id="errors"><html:errors/></div>
        </td>
      </tr>
      <tr>
        <td colspan="2">
          <html:messages id="msg" message="true" property="resultMsg">
            <div id="msgs" class="msg3">
              <bean:write name="msg"/>
            </div>
          </html:messages>
        </td>
      </tr>

      <tr class="td1">
        <td width="60%">名称</td>
        <td width="40%">
          <html:text property="boardName" styleClass="input2" size="40"/>
        </td>
      </tr>
      <tr>
        <td valign="top">描述</td>
        <td>
          <html:textarea property="explains" cols="40" rows="5" styleClass="textarea1">
          </html:textarea>
        </td>
      </tr>
      <tr class="td1">
        <td valign="top">论坛公告</td>
        <td>
          <html:textarea property="bulletin" cols="40" rows="5" styleClass="textarea1">
          </html:textarea>
        </td>
      </tr>
      <tr>
        <td>显示顺序</td>
        <td>
          <html:text property="orders" styleClass="input2" size="40"/>
        </td>
      </tr>
      <tr class="td1">
        <td>父论坛</td>
        <td>
          <html:select property="parentID" styleClass="select1">
            <html:options collection="parentValues" property="value" labelProperty="label"/>
          </html:select>
        </td>
      </tr>
      <tr>
        <td>管理帖子<br />
          (新帖需要版主确认)</td>
        <td valign="top">
          <html:radio property="auditPost" value="0"/>
          <html:radio property="auditPost" value="1"/>
        </td>
      </tr>
      <tr class="td1">
        <td>管理附件<br />
          (附件需要版主确认)</td>
        <td valign="top">
          <html:radio property="auditAttach" value="0"/>
          <html:radio property="auditAttach" value="1"/>
        </td>
      </tr>
      <tr>
        <td>此版区需要用密码访问</td>
        <td>
          <html:radio property="needPasswd" value="0"/>
          <html:radio property="needPasswd" value="1"/>
        </td>
      </tr>
      <tr class="td1">
        <td>访问密码</td>
        <td>
          <html:text property="passwd" styleClass="input2" size="40"/>
        </td>
      </tr>
      <tr>
        <td>论坛类型</td>
        <td>
          <html:select property="boardType" styleClass="select1">
            <html:options collection="boardTypes" property="value" labelProperty="label"/>
          </html:select>
        </td>
      </tr>
      <tr class="td1">
        <td>使用状态</td>
        <td>
          <html:select property="useStat" styleClass="select1">
            <html:options collection="useStats" property="value" labelProperty="label"/>
          </html:select>
        </td>
      </tr>
      <tr>
        <td>是否隐藏</td>
        <td>
          <html:radio property="isHidden" value="0"/>
          <html:radio property="isHidden" value="1"/>
        </td>
      </tr>
      <tr class="td1">
        <td>是否只有授权用户才能访问</td>
        <td>
          <html:radio property="isAuth" value="0"/>
          <html:radio property="isAuth" value="1"/>
        </td>
      </tr>
      <tr>
        <td>允许HTML</td>
        <td>
          <html:radio property="allowHTML" value="0"/>
          <html:radio property="allowHTML" value="1"/>
        </td>
      </tr>
      <tr class="td1">
        <td>允许UBB</td>
        <td>
          <html:radio property="allowUBB" value="0"/>
          <html:radio property="allowUBB" value="1"/>
        </td>
      </tr>
      <tr>
        <td>用户在此论坛的发帖数计入该用户的总发帖数</td>
        <td>
          <html:radio property="addUserPostNum" value="0"/>
          <html:radio property="addUserPostNum" value="1"/>
        </td>
      </tr>
      <tr>
        <td colspan="2"><div align="center">
          <html:submit styleClass="button2"><bean:message key="bbscs.botton.submit"/></html:submit>
          <!--<html:button property="backButton" onclick="javascript:history.go(-1);" styleClass="button2">返回</html:button>-->
        </div></td>
        </tr>
    </table></td>
  </tr>
</table>
</html:form>
<p>&nbsp;</p>
</body>
</html:html>

⌨️ 快捷键说明

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