📄 posttable.jsp
字号:
<form method=post name=submitok action="post.jsp?action=<%=action%>&forumID=<%=forumID%>&topic=<%=topic%>&postID=<%=postID%>" onkeydown="if(event.keyCode==13 && event.ctrlKey) submitok.submit()" enctype="multipart/form-data">
<input type=hidden name=action2 value="post">
<table cellpadding=0 cellspacing=0 border=0 width=<%=tablewidth%> bgcolor=<%=tablebordercolor%> align=center>
<tr>
<td>
<table cellpadding=3 cellspacing=1 border=0 width=100%>
<tr>
<td bgcolor=<%=titlecolor%> colspan=2>
<font color=<%=titlefontcolor%>><b>谁可以发表?</b>
<%
if(startNewThreads.equals("all"))
out.println("开放论坛中任何人均可以发表和回复主题,未注册用户发贴<b>密码请留空</b>!");
else if(startNewThreads.equals("yes"))
out.println("正规论坛中所有注册会员均可以发表和回复主题!");
else if(startNewThreads.equals("follow"))
out.println("评论论坛中新的主题只能由坛主、版主发表!普通会员只可以跟贴!");
else if(startNewThreads.equals("no"))
out.println("只读精华区中新的主题和贴子回复只能由坛主、版主发表!");
else if(startNewThreads.equals("cert"))
out.println("认证论坛中新的主题和回复只能由坛主、版主、认证的会员发表!");
%>
[<%if(advPost.equals("0")) {%><a href=post.jsp?action=<%=action%>&forumID=<%=forumID%>&advPost=1&topic=<%=topic%>&postID=<%=postID%>>高级模式</a><%}else {%><a href=post.jsp?action=<%=action%>&forumID=<%=forumID%>&advPost=0&topic=<%=topic%>&postID=<%=postID%>>简洁模式</a><%}%>]
</font>
</td>
</tr>
<%
if(action.equals("new") || action.equals("copy") || (action.equals("edit") && postParentID==0)) {
%>
<tr>
<td bgcolor=<%=miscbackone%>>
<font color=<%=fontcolormisc%>><b>主题标题</b></font>
<SELECT name=font onchange=DoTitle(this.options[this.selectedIndex].value)>
<OPTION selected value="">选择话题</OPTION>
<OPTION value=[原创]>[原创]</OPTION>
<OPTION value=[转帖]>[转帖]</OPTION>
<OPTION value=[灌水]>[灌水]</OPTION>
<OPTION value=[讨论]>[讨论]</OPTION>
<OPTION value=[求助]>[求助]</OPTION>
<OPTION value=[推荐]>[推荐]</OPTION>
<OPTION value=[公告]>[公告]</OPTION>
<OPTION value=[注意]>[注意]</OPTION>
<OPTION value=[贴图]>[贴图]</OPTION>
<OPTION value=[建议]>[建议]</OPTION>
<OPTION value=[下载]>[下载]</OPTION>
<OPTION value=[分享]>[分享]</OPTION>
</SELECT>
</td>
<td bgcolor=<%=miscbackone%>>
<input type=text size=60 maxlength=80 name="postTitle" value="<%=postCopyTitle%>"> 不得超过 40 个汉字
</td>
</tr>
<%
}
if(cookieMode.equals("0")) {
%>
<tr>
<td bgcolor=<%=miscbackone%>><font color=<%=fontcolormisc%>><b>用户名</b></font></td>
<td bgcolor=<%=miscbackone%>>
<input type=text name="username" value="<%=cookieName%>">
</td>
</tr>
<tr>
<td bgcolor=<%=miscbackone%>><font color=<%=fontcolormisc%>><b>密 码</b></font></td>
<td bgcolor=<%=miscbackone%>>
<input type=password name="password">
</td>
</tr>
<%
}
if(((action.equals("reply") || action.equals("replyquote")) && allowAttachment.equals("1")) || (action.equals("new") && arrowUpload.equals("1")) || action.equals("edit")) {
%>
<tr>
<td bgcolor=<%=miscbackone%>><b>上传附件或图片</b> (最大容量 <B><%=maxUpload%></B>KB)</td>
<td bgcolor=<%=miscbackone%>>
<input type="file" size=40 name="addme">
宽:<input type=text size=4 value=0 name=imgWidth maxLength=4>
高:<input type=text size=4 value=0 name=imgHeight maxLength=4>
<select>
<option value=#>支持类型:</option>
<option value=#>----------</option>
<%
if(!allowUploadFileExt.equals("")) {
String[] allowUploadFileExtArray=allowUploadFileExt.split(",");
for(int i=0;i<allowUploadFileExtArray.length;i++)
out.println("<option>"+allowUploadFileExtArray[i]+"</option>");
}
%>
</select>
<%
if(action.equals("edit") && editAccessary.equals("1")) {
out.println("<BR><input type=checkbox name='delimg' value='del'>删除原图像或附件</input>");
}
%>
</td>
</tr>
<%
}
if(!forumListType.equals("") && (action.equals("new") || (action.equals("edit") && postParentID==0))) {
%>
<tr>
<td bgcolor=<%=miscbackone%>><b>选择关键字</b></td>
<td bgcolor=<%=miscbackone%>>
帖子属性:
<select name=forumType>
<!--
<option>选择关键字</option>
<option>----------</option>
-->
<%
if(!forumListType.equals("")) {
String[] forumListTypeArray=forumListType.split(",");
for(int i=0;i<forumListTypeArray.length;i++)
out.println("<option value="+forumListTypeArray[i]+">"+forumListTypeArray[i]+"</option>");
}
%>
</select>
</td>
</tr>
<%
}
%>
<tr>
<td bgcolor=<%=miscbackone%> valign=top width=22%>
<font color=<%=fontcolormisc%>><b>当前心情</b><br><li>将放在贴子的前面<BR></font>
</td>
<td bgcolor=<%=miscbackone%> valign=top>
<input type=radio value="mood1.gif" name="posticon" ><img src=posticons/mood1.gif width=15 height=15 border=0 alt="忧愁">
<input type=radio value="mood2.gif" name="posticon" ><img src=posticons/mood2.gif width=15 height=15 border=0 alt="问题">
<input type=radio value="mood3.gif" name="posticon" ><img src=posticons/mood3.gif width=15 height=15 border=0 alt="注意">
<input type=radio value="mood4.gif" name="posticon" ><img src=posticons/mood4.gif width=15 height=15 border=0 alt="主意">
<input type=radio value="mood5.gif" name="posticon" ><img src=posticons/mood5.gif width=15 height=15 border=0 alt="问候">
<input type=radio value="mood6.gif" name="posticon" ><img src=posticons/mood6.gif width=15 height=15 border=0 alt="喝彩">
<input type=radio value="mood7.gif" name="posticon" ><img src=posticons/mood7.gif width=15 height=15 border=0 alt="倒彩">
<input type=radio value="mood8.gif" name="posticon" checked><img src=posticons/mood8.gif width=15 height=15 border=0 alt="高兴">
<input type=radio value="mood9.gif" name="posticon" ><img src=posticons/mood9.gif width=15 height=15 border=0 alt="重要">
<input type=radio value="mood10.gif" name="posticon" ><img src=posticons/mood10.gif width=15 height=15 border=0 alt="有趣">
<input type=radio value="mood11.gif" name="posticon" ><img src=posticons/mood11.gif width=15 height=15 border=0 alt="大笑">
<br>
<input type=radio value="mood12.gif" name="posticon" ><img src=posticons/mood12.gif width=15 height=15 border=0 alt="微笑">
<input type=radio value="mood13.gif" name="posticon" ><img src=posticons/mood13.gif width=15 height=15 border=0 alt="傻笑">
<input type=radio value="mood14.gif" name="posticon" ><img src=posticons/mood14.gif width=15 height=15 border=0 alt="困倦">
<input type=radio value="mood15.gif" name="posticon" ><img src=posticons/mood15.gif width=15 height=15 border=0 alt="摆谱">
<input type=radio value="mood16.gif" name="posticon" ><img src=posticons/mood16.gif width=15 height=15 border=0 alt="晕倒">
<input type=radio value="mood17.gif" name="posticon" ><img src=posticons/mood17.gif width=15 height=15 border=0 alt="痛哭">
<input type=radio value="mood18.gif" name="posticon" ><img src=posticons/mood18.gif width=15 height=15 border=0 alt="吐舌">
<input type=radio value="mood19.gif" name="posticon" ><img src=posticons/mood19.gif width=15 height=15 border=0 alt="横眉">
<input type=radio value="mood20.gif" name="posticon" ><img src=posticons/mood20.gif width=15 height=15 border=0 alt="调皮">
<input type=radio value="mood21.gif" name="posticon" ><img src=posticons/mood21.gif width=15 height=15 border=0 alt="不爽">
<input type=radio value="mood22.gif" name="posticon" ><img src=posticons/mood22.gif width=15 height=15 border=0 alt="皱眉">
<br>
<input type=radio value="mood23.gif" name="posticon" ><img src=posticons/mood23.gif width=15 height=15 border=0 alt="伤心">
<input type=radio value="mood24.gif" name="posticon" ><img src=posticons/mood24.gif width=15 height=15 border=0 alt="喜欢">
<input type=radio value="mood25.gif" name="posticon" ><img src=posticons/mood25.gif width=15 height=15 border=0 alt="文章">
<input type=radio value="mood26.gif" name="posticon" ><img src=posticons/mood26.gif width=15 height=15 border=0 alt="好奇">
<input type=radio value="mood27.gif" name="posticon" ><img src=posticons/mood27.gif width=15 height=15 border=0 alt="惊讶">
<input type=radio value="mood28.gif" name="posticon" ><img src=posticons/mood28.gif width=15 height=15 border=0 alt="羞涩">
<input type=radio value="mood29.gif" name="posticon" ><img src=posticons/mood29.gif width=15 height=15 border=0 alt="无聊">
<input type=radio value="mood30.gif" name="posticon" ><img src=posticons/mood30.gif width=15 height=15 border=0 alt="惊恐">
<input type=radio value="mood31.gif" name="posticon" ><img src=posticons/mood31.gif width=15 height=15 border=0 alt="微笑">
<input type=radio value="mood32.gif" name="posticon" ><img src=posticons/mood32.gif width=15 height=15 border=0 alt="请进">
</td>
</tr>
<tr>
<td bgcolor=<%=miscbackone%> valign=top>
<font color=<%=fontcolormisc%>><b>内容</b>
<br><br>
在此论坛中:
<li>HTML 标签: <b><%if(htmlStat.equals("1")) out.print("可用");else out.print("不可用");%></b>
<li><a href="javascript:openScript('misc.jsp?action=lycode',800,600)">LyBBS 标签</a>: <b><%if(lyCodeStat.equals("1")) out.print("可用");else out.print("不可用");%></b>
<li>贴图标签 : <b><%if(arrawPostPic.equals("1")) out.print("允许");else out.print("禁止");%></b>
<li>字体标签 : <b><%if(arrawPostFontSize.equals("1")) out.print("允许");else out.print("禁止");%></b>
<li>Flash标签 : <b><%if(arrawPostFlash.equals("1")) out.print("允许");else out.print("禁止");%></b>
<li>Media标签 : <b><%if(arrawPostMedia.equals("1")) out.print("允许");else out.print("禁止");%></b>
<li>背景音乐 : <b><%if(arrawPostSound.equals("1")) out.print("允许");else out.print("禁止");%></b>
<li><a href="javascript:openScript('misc.jsp?action=showsmilies',800,600)">表情符转换</a>: <b><%if(emotIcons.equals("1")) out.print("允许");else out.print("不允许");%></b><br>
</font>
</td>
<td bgcolor=<%=miscbackone%>>
<%
if(advPost.equals("1")) {
%>
<script>
function smilie(smilietext) {
document.submitok.postContent.value=document.submitok.postContent.value+' '+smilietext+' ';
}
function smilieopen() {javascript:openScript('misc.jsp?action=showsmilies',800,600);}
function viewlycode() {javascript:openScript('misc.jsp?action=lycode',800,600);}
function rm() {
if (helpstat) {
alert("在线 RealPlayer 流式音/视频播放\n播放 URL 地址\n用法:[rm=380,72]http://www.lybbs.net/lybbs/upload/test.rm[/rm]\n [rm=380,72]rtsp://www.lybbs.net/lybbs/upload/test.rm[/rm]");
}
else if (basic) {
AddTxt="[rm=380,72][/rm]";
AddText(AddTxt);
}
else {
txt=prompt("在线 RealPlayer 流式音/视频播放","http://");
if(txt!=null) {
AddTxt="\r[rm=380,72]"+txt;
AddText(AddTxt);
AddTxt="[/rm]";
AddText(AddTxt);
}
}
}
function mp() {
if (helpstat) {
alert("在线 Windows Media Player 音/视频播放\n播放 URL 地址\n用法:[mp=380,72] http://www.lybbs.net/lybbs/upload/test.mp3[/mp]\n [mp=380,72] mms://www.lybbs.net/lybbs/upload/test.mp3[/mp]");
}
else if (basic) {
AddTxt="[mp=380,72][/mp]";
AddText(AddTxt);
}
else {
txt=prompt("在线 Windows Media Player 音/视频播放","http://");
if(txt!=null) {
AddTxt="\r[mp=380,72]"+txt;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -