📄 post.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" %>
<%@ taglib uri="/WEB-INF/FCKeditor.tld" prefix="FCK" %>
<!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/css1.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>
<body>
<html:errors/>
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td class="bgColor3">您目前在 <strong><html:link action="/forum?action=index" paramId="bid" paramName="board" paramProperty="id"><bean:write name="board" property="boardName"/></html:link></strong> 发表信息</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="bgColor3">
<html:form action="/post" enctype="multipart/form-data">
<html:hidden property="action"/>
<html:hidden property="bid"/>
<html:hidden property="id"/>
<html:hidden property="editType"/>
<html:hidden property="parentID"/>
<html:hidden property="mainID"/>
<html:hidden property="totalnum"/>
<!--<html:hidden property="page"/>-->
<html:hidden property="inpages"/>
<html:hidden property="fcpage"/>
<tr>
<td><table width="100%" border="0" cellpadding="5" cellspacing="1">
<tr>
<td width="15%" class="bgColor2">文章标题</td>
<td width="85%" class="bgColor2">
<html:text property="title" styleId="title" styleClass="input2" size="60" maxlength="60">
</html:text>
</td>
</tr>
<tr class="bgColor4">
<td>版权声明</td>
<td>
<html:radio property="postType" value="0"></html:radio>
[普通]
<html:radio property="postType" value="1"></html:radio>
[原创]
<html:radio property="postType" value="2"></html:radio>
[转载]
</td>
</tr>
<tr class="bgColor2">
<td>彩色标题</td>
<td>
<html:select property="titleColor" styleId="titleColor" styleClass="select1">
<!--<option value="0">默认</option>-->
<bean:write name="titleColorOptions" scope="request" filter="false"/>
</html:select>
</td>
</tr>
<tr class="bgColor4">
<td>文章状态</td>
<td>
<TABLE cellSpacing=2 cellPadding=2 border=0>
<TBODY>
<TR>
<TD><html:radio property="face" value="1"></html:radio></TD>
<TD><IMG src="images/1.gif" alt=""></TD>
<TD><html:radio property="face" value="2"></html:radio></TD>
<TD><IMG src="images/2.gif" alt=""></TD>
<TD><html:radio property="face" value="3"></html:radio></TD>
<TD><IMG src="images/3.gif" alt=""></TD>
<TD><html:radio property="face" value="4"></html:radio></TD>
<TD><IMG src="images/4.gif" alt=""></TD>
<TD><html:radio property="face" value="5"></html:radio></TD>
<TD><IMG src="images/5.gif" alt=""></TD>
<TD><html:radio property="face" value="6"></html:radio></TD>
<TD><IMG src="images/6.gif" alt=""></TD>
<TD><html:radio property="face" value="13"></html:radio></TD>
<TD><IMG src="images/13.gif" alt=""></TD>
<TD><html:radio property="face" value="14"></html:radio></TD>
<TD><IMG src="images/14.gif" alt=""></TD>
<TD><html:radio property="face" value="15"></html:radio></TD>
<TD><IMG src="images/15.gif" alt=""></TD>
<TD><html:radio property="face" value="16"></html:radio></TD>
<TD><IMG src="images/16.gif" alt=""></TD></TR>
<TR>
<TD><html:radio property="face" value="7"></html:radio></TD>
<TD><IMG src="images/7.gif" alt=""></TD>
<TD><html:radio property="face" value="8"></html:radio></TD>
<TD><IMG src="images/8.gif" alt=""></TD>
<TD><html:radio property="face" value="9"></html:radio></TD>
<TD><IMG src="images/9.gif" alt=""></TD>
<TD><html:radio property="face" value="10"></html:radio></TD>
<TD><IMG src="images/10.gif" alt=""></TD>
<TD><html:radio property="face" value="11"></html:radio></TD>
<TD><IMG src="images/11.gif" alt=""></TD>
<TD><html:radio property="face" value="12"></html:radio></TD>
<TD><IMG src="images/12.gif" alt=""></TD>
<TD><html:radio property="face" value="17"></html:radio></TD>
<TD><IMG src="images/17.gif" alt=""></TD>
<TD><html:radio property="face" value="18"></html:radio></TD>
<TD><IMG src="images/18.gif" alt=""></TD>
<TD><html:radio property="face" value="19"></html:radio></TD>
<TD><IMG src="images/19.gif" alt=""></TD>
<TD><html:radio property="face" value="20"></html:radio></TD>
<TD><IMG src="images/20.gif" alt=""></TD></TR>
</TBODY>
</TABLE>
</td>
</tr>
<tr class="bgColor2">
<td>文章内容</td>
<td>
<logic:equal value="0" name="postForm" property="editType">
<html:textarea property="detail" cols="60" rows="15" styleClass="textarea1">
</html:textarea>
</logic:equal>
<logic:equal value="1" name="postForm" property="editType">
<FCK:editor id="detail" basePath="" startupFocus="false" toolbarSet="Basic" width="100%" height="300">
<bean:write name="postForm" property="detail" filter="false"/>
</FCK:editor>
</logic:equal>
<logic:equal value="2" name="postForm" property="editType">
<FCK:editor id="detail" basePath="" startupFocus="false" toolbarSet="Bbscs" width="100%" height="300">
<bean:write name="postForm" property="detail" filter="false"/>
</FCK:editor>
</logic:equal>
</td>
</tr>
<tr class="bgColor4">
<td>使用签名</td>
<td>
<html:radio property="sign" value="0"></html:radio>
签名A
<html:radio property="sign" value="1"></html:radio>
签名B
<html:radio property="sign" value="2"></html:radio>
签名C
<html:radio property="sign" value="-1"></html:radio>
不使用签名
<logic:equal value="editdo" name="postForm" property="action">
<html:radio property="sign" value="3"></html:radio>
不修改签名
</logic:equal>
</td>
</tr>
<tr class="bgColor2">
<td>回复通知</td>
<td>
<logic:notEqual value="editdo" name="postForm" property="action">
<html:checkbox property="emailInform" styleId="emailInform" value="1">
</html:checkbox>
有回复贴子时用邮件通知我
<html:checkbox property="msgInform" styleId="msgInform" value="1">
</html:checkbox>
有回复贴子时用留言通知我
</logic:notEqual>
<logic:equal value="editdo" name="postForm" property="action">
<html:checkbox property="emailInform" styleId="emailInform" value="1" disabled="true">
</html:checkbox>
有回复贴子时用邮件通知我
<html:checkbox property="msgInform" styleId="msgInform" value="1" disabled="true">
</html:checkbox>
有回复贴子时用留言通知我
</logic:equal>
</td>
</tr>
<tr class="bgColor4">
<td>个人文集</td>
<td>
<logic:notEqual value="editdo" name="postForm" property="action">
<html:radio property="userBlog" value="1"></html:radio>
加入文集
<html:radio property="userBlog" value="0"></html:radio>
不加入文集
</logic:notEqual>
<logic:equal value="editdo" name="postForm" property="action">
<html:radio property="userBlog" value="1" disabled="true"></html:radio>
加入文集
<html:radio property="userBlog" value="0" disabled="true"></html:radio>
不加入文集
</logic:equal>
</td>
</tr>
<tr class="bgColor2">
<td>上传文件</td>
<td>
<logic:notEqual value="editdo" name="postForm" property="action">
<html:file property="updateFile" styleId="updateFile" styleClass="input2" size="50">
</html:file>
</logic:notEqual>
<logic:equal value="editdo" name="postForm" property="action">
<html:file property="updateFile" styleId="updateFile" styleClass="input2" size="50" disabled="true">
</html:file>
</logic:equal>
</td>
</tr>
<tr class="bgColor4">
<td>隐藏帖选项</td>
<td>
<logic:equal value="add" name="postForm" property="action">
<table width="100%" border="0" cellpadding="2" cellspacing="0">
<tr>
<td>
<logic:equal value="1" name="postHiddenTypeRe" scope="request">
<html:radio property="isHidden" value="1">
</html:radio>
</logic:equal>
<logic:equal value="0" name="postHiddenTypeRe" scope="request">
<html:radio property="isHidden" value="1" disabled="true">
</html:radio>
</logic:equal>
回复帖 回复后才可查看
</td>
</tr>
<tr>
<td>
<logic:equal value="1" name="postHiddenTypeMoney" scope="request">
<html:radio property="isHidden" value="2">
</html:radio>
</logic:equal>
<logic:equal value="0" name="postHiddenTypeMoney" scope="request">
<html:radio property="isHidden" value="2" disabled="true">
</html:radio>
</logic:equal>
金钱购买帖 需财富值数量:
<html:select property="useCoin" styleClass="select1">
<html:options collection="postPriceValues" property="value" labelProperty="label"/>
</html:select>
</td>
</tr>
<tr>
<td>
<logic:equal value="1" name="postHiddenTypeArtNum" scope="request">
<html:radio property="isHidden" value="3">
</html:radio>
</logic:equal>
<logic:equal value="0" name="postHiddenTypeArtNum" scope="request">
<html:radio property="isHidden" value="3" disabled="true">
</html:radio>
</logic:equal>
资历帖 用户发帖数下限:
<html:text property="needArtNum" styleId="needArtNum" styleClass="input2" size="5" maxlength="5">
</html:text>
</td>
</tr>
<tr>
<td>
<html:radio property="isHidden" value="0">
</html:radio>
不使用隐藏帖
</td>
</tr>
</table>
</logic:equal>
</td>
</tr>
<tr class="bgColor2">
<td colspan="2" class="font4">
<span class="p1">
<bean:message key="post.postnotice1"/>
</span>
</td>
</tr>
<tr class="bgColor4">
<td colspan="2"><div align="center">
<input name="Submit" type="submit" class="button2" value="发表" />
<html:button property="back" styleClass="button2" onclick="javascript:history.go(-1);"><bean:message key="bbscs.back"/></html:button>
</div></td>
</tr>
</table></td>
</tr>
</html:form>
</table>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -