📄 addvotepost.jsp
字号:
<%@page pageEncoding="gb2312"%>
<%@page contentType="text/html;charset=gb2312" %>
<%@include file="top.jsp" %>
<%
String board_id=request.getParameter("board_id");
if(userBean.getUser_Name()!=null){
%>
<html>
<head>
<title>冰鱼论坛----发表投票帖子</title>
<script Language="Javascript" src="include/form.js"></Script>
</head>
<body style="text-align: center">
<table width="100%" height="50" border="0" bordercolorlight="#7777ff" bordercolordark="#7777ff" style="border-collapse:collapse">
<tr><td height="20">〓 <%=session.getAttribute("board_info")%></td></tr>
<tr bgcolor="#dff2ed"><td><img src="images/skin/1/forum_nav.gif"> <a class=zh href="">冰鱼论坛</a> → <a class=zh href="board.jsp?bm=<%=session.getAttribute("board_mother")%>&bmid=<%=session.getAttribute("board_mother_id")%>&board_id=<%=session.getAttribute("board_mother_id")%>"><%=session.getAttribute("board_mother")%></a> → <a class=zh href="board.jsp?bm=<%=session.getAttribute("board_mother")%>&bmid=<%=session.getAttribute("board_mother_id")%>&board_id=<%=session.getAttribute("board_id")%>"><%=session.getAttribute("board_name")%></a> → 发表投票帖子</td></tr>
</table><p>
<form method="post" name="myform" action="AddVotePostServlet?board_id=<%=board_id%>">
<table width="100%" border="1" bordercolorlight="#7777ff" bordercolordark="#7777ff" style="border-collapse:collapse">
<tr>
<td colspan="2" height="25" background="images/skin/1/bg_td.gif"><b><font color="#ffffff"> 发表帖子</font></b></td>
</tr>
<tr bgcolor="#dff2ed">
<td><b> 用户名:<b></td>
<td> <input type="text" name="user_name" size="30" value="<%=userBean.getUser_Name()%>"> <font color=red> * </font><a class=zh href="">您没有注册?</a></td>
</tr>
<tr>
<td><b> 密 码:</b></td>
<td> <input type="password" name="password" size="33" value="<%=userBean.getUser_Password()%>"> <font color=red> * </font><a class=zh href="">忘记论坛密码?</a></td>
</tr>
<tr bgcolor="#dff2ed" height="40">
<td><b> 主题标题:</b><br> <select name="topic_name_type" onchange=Select()><option value="">选择话题<option value="[原创]">[原创]<option value="[分享]">[分享]<option value="[转帖]">[转帖]<option value="[讨论]">[讨论]<option value="[灌水]">[灌水]<option value="[求助]">[求助]<option value="[贴图]">[贴图]<option value="[推荐]">[推荐]<option value="[建议]">[建议]<option value="[下载]">[下载]<option value="[注意]">[注意]</td>
<td> <input type="text" name="topic_name" size="70"> <font color="red">*</font>不得超过50个汉字</td>
</tr>
<tr>
<td height="80"><b> 发帖心情</b><br><br><li>将放在帖子的顶边前面</li><li>部分图片由QQ授权提供</li></td>
<td> <input type="radio" name="input_face" value="<img src=images\face\face1.gif>" checked><img src="images\face\face1.gif">
<input type="radio" name="input_face" value="<img src=images\face\face2.gif>"><img src="images\face\face2.gif">
<input type="radio" name="input_face" value="<img src=images\face\face3.gif>"><img src="images\face\face3.gif">
<input type="radio" name="input_face" value="<img src=images\face\face4.gif>"><img src="images\face\face4.gif">
<input type="radio" name="input_face" value="<img src=images\face\face5.gif>"><img src="images\face\face5.gif">
<input type="radio" name="input_face" value="<img src=images\face\face6.gif>"><img src="images\face\face6.gif">
<input type="radio" name="input_face" value="<img src=images\face\face7.gif>"><img src="images\face\face7.gif">
<input type="radio" name="input_face" value="<img src=images\face\face8.gif>"><img src="images\face\face8.gif">
<input type="radio" name="input_face" value="<img src=images\face\face9.gif>"><img src="images\face\face9.gif"><br>
<input type="radio" name="input_face" value="<img src=images\face\face10.gif>"><img src="images\face\face10.gif">
<input type="radio" name="input_face" value="<img src=images\face\face11.gif>"><img src="images\face\face11.gif">
<input type="radio" name="input_face" value="<img src=images\face\face12.gif>"><img src="images\face\face12.gif">
<input type="radio" name="input_face" value="<img src=images\face\face13.gif>"><img src="images\face\face13.gif">
<input type="radio" name="input_face" value="<img src=images\face\face14.gif>"><img src="images\face\face14.gif">
<input type="radio" name="input_face" value="<img src=images\face\face15.gif>"><img src="images\face\face15.gif">
<input type="radio" name="input_face" value="<img src=images\face\face16.gif>"><img src="images\face\face16.gif">
<input type="radio" name="input_face" value="<img src=images\face\face17.gif>"><img src="images\face\face17.gif">
<input type="radio" name="input_face" value="<img src=images\face\face18.gif>"><img src="images\face\face18.gif">
</td>
</tr>
<tr bgcolor="#dff2ed">
<td><b> 金币帖设置<b></td>
<td> 看帖是否免费:<input type="radio" name="input_ismoney" value="" checked>免费看帖 <input type="radio" name="input_ismoney" value="">看帖需付钱 付钱:<input type="text" name="input_money" size="10" value="20"></td>
</tr>
<tr>
<td width="15%">
<b>编辑内容:</b><br><br><li>HTML标签:可用</li><li>贴图标签:可用</li><li>Flash标签:可用</li><li>多媒体标签:可用</li><li>表情字符转换:可用</li><li>上传图片:可用</li><li>每天允许发帖数:无限</li><li>今天已发帖数:0 篇</li><li>最多:320KB</li><br><br><br><b>警告:</b><br> 请勿发布任何违反论坛规定或触犯国家法律法规的帖子。另外,你发布该帖子时,则表示你已经同意接受承担起发表该帖所带来的中华人民共和国国家一切法律责任。
</td>
<td>
<input type="hidden" name="content1" value="">
<iframe ID="eWebEditor1" src="editor.jsp?id=content1&style=standard" frameborder="0" scrolling="no" width="100%" height="350"></IFRAME>
</td>
</tr>
<tr bgcolor="#dff2ed">
<td><b> 高级设置</b></td>
<td> 签名:<input type="radio" name="input_sign" value="">不显示 <input type="radio" name="input_sign" value="" checked>显示 回帖通知:<input type="radio" name="input_reply_msg" value="" checked>不通知 <input type="radio" name="input_reply_msg" value="">短信通知</td>
</tr>
<tr>
<td colspan="2" height="75"><b> 发帖小帖士:</b>
<br>①标题尽可能简明扼要,内容尽可能说清楚事情,这样回复者才能明确并及时的回复
<br>②如果您急于寻求某个问题的答案,可发贴的时候选择赠送金币,而当满足您的条件并回答正确的用户可以得到您的奖励
<br>③如果您觉得自己的帖子有一定价值,或管理人员希望用户付出一定代价才能浏览相关内容,可发起金币购买贴
</td>
</tr>
<tr bgcolor="#dff2ed">
<td colspan=2 align=center>
<input type=submit name=b1 value="提交">
<input type=reset name=b2 value="重填">
</td>
</tr>
</table>
</form>
</body>
</html>
<%}
else{
out.println("<script>alert('抱歉!你还没有登陆,不能发起投票帖子,请登陆后再进行此操作。');history.back();</script>");
}
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -