📄 post_newthread.jsp
字号:
</style>
<ul id="vclassesdiv">
<li><input type="radio" class="radio" name="vclass" value="22">新闻</li>
<li><input type="radio" class="radio" name="vclass" value="15">体育</li>
<li><input type="radio" class="radio" name="vclass" value="27">教育</li>
<li><input type="radio" class="radio" name="vclass" value="28">明星</li>
<li><input type="radio" class="radio" name="vclass" value="26">美色</li>
<li><input type="radio" class="radio" name="vclass" value="1">搞笑</li>
<li><input type="radio" class="radio" name="vclass" value="29">另类</li>
<li><input type="radio" class="radio" name="vclass" value="18">影视</li>
<li><input type="radio" class="radio" name="vclass" value="12">音乐</li>
<li><input type="radio" class="radio" name="vclass" value="8">动漫</li>
<li><input type="radio" class="radio" name="vclass" value="7">游戏</li>
<li><input type="radio" class="radio" name="vclass" value="24">综艺</li>
<li><input type="radio" class="radio" name="vclass" value="11">广告</li>
<li><input type="radio" class="radio" name="vclass" value="19">艺术</li>
<li><input type="radio" class="radio" name="vclass" value="5">时尚</li>
<li><input type="radio" class="radio" name="vclass" value="21">居家</li>
<li><input type="radio" class="radio" name="vclass" value="23">旅游</li>
<li><input type="radio" class="radio" name="vclass" value="25">动物</li>
<li><input type="radio" class="radio" name="vclass" value="14">汽车 </li>
<li><input type="radio" class="radio" name="vclass" value="30">军事</li>
<li><input type="radio" class="radio" name="vclass" value="16">科技</li>
<li><input type="radio" class="radio" name="vclass" value="31">其它</li>
</ul>
</td>
</tr>
</c:if>
<c:if test="${special==1&&allowpostpoll}">
<tr>
<th><label for="expiration">有效记票天数</label></th>
<td><input type="text" name="expiration" id="expiration" value="0" size="6" tabindex="4" /><em class="tips">(0或空为不限制)</em></td>
</tr>
<tr>
<th valign="top">投票选项<br />每行填写 1 个选项<br />最多可填写 10 个选项<br /><br /><input type="checkbox" name="visiblepoll" value="1" /> 提交投票后结果才可见<br /><input type="checkbox" name="multiplepoll" value="1" onclick="this.checked?$('maxchoicescontrol').style.display='':$('maxchoicescontrol').style.display='none';" /> 多选投票<br /><span id="maxchoicescontrol" style="display: none">最多可选项数:<input type="text" name="maxchoices" value="10" size="${settings.maxpolloptions}"><br /></span></th>
<td><textarea rows="8" name="polloptions" style="width: 600px; word-break: break-all" tabindex="5">${polloptions}</textarea></td>
</tr>
</c:if>
<tr><jsp:include flush="true" page="post_editor.jsp" /></tr>
<c:if test="${settings.tagstatus>0}">
<tr>
<th><label for="tags">标签(TAG)</label></th>
<td><input size="45" type="text" id="tags" name="tags" value="" tabindex="200" /> <button onclick="relatekw();return false">可用标签</button><span id="tagselect"></span><em class="tips"> (用空格隔开多个标签,最多可填写 <strong>5</strong> 个)</em></td>
</tr>
</c:if>
<c:if test="${special==5}">
<tr>
<th><label class="affirmpoint">正方观点</label></th>
<td><textarea name="affirmpoint" id="affirmpoint" rows="10" cols="20" style="width: 99%; height: 60px" tabindex="201" onkeydown="ctlent(event)"></textarea></td>
</tr>
<tr>
<th><label class="negapoint">反方观点</label></th>
<td><textarea name="negapoint" id="negapoint" rows="10" cols="20" style="width: 99%; height: 60px" tabindex="202" onkeydown="ctlent(event)"></textarea></td>
</tr>
</c:if>
<thead>
<tr>
<th> </th>
<td><label><input id="advshow" class="checkbox" type="checkbox" onclick="showadv()" tabindex="203" />其他信息</label></td>
</tr>
</thead>
<tbody id="adv" style="display: none">
<c:if test="${special==5}">
<tr>
<th><label for="endtime">结束时间</label></th>
<td><input onclick="showcalendar(event, this, true)" type="text" name="endtime" size="45" value="" tabindex="204" /></td>
</tr>
<tr>
<th><label for="umpire">裁判</label></th>
<td><input type="text" name="umpire" id="umpire" size="45" tabindex="205" onblur="checkuserexists(this.value, 'checkuserinfo')" value="${jsprun_userss}" /> <span id="checkuserinfo"></span></td>
</tr>
</c:if>
<c:if test="${usergroups.allowsetreadperm>0}">
<tr>
<th><label for="readperm">所需阅读权限</label></th>
<td><input type="text" name="readperm" id="readperm" size="6" value="${readperm}" tabindex="206" /> <em class="tips">(0或空为不限制)</em></td>
</tr>
</c:if>
<c:if test="${usergroups.maxprice>0&&!(special>0)&&extcredit!=null}">
<tr>
<th><label for="price">售价(${extcredit.title})</label></th>
<td><input type="text" name="price" id="price" size="6" value="${price}" tabindex="207" /> <em class="tips">${extcredit.unit} (最高 ${usergroups.maxprice} ${extcredit.unit}<c:if test="${settings.maxincperthread>0}">,单一主题作者最高收入 ${settings.maxincperthread>0} ${extcredit.unit}</c:if><c:if test="${settings.maxchargespan>0}">,最高出售时限 ${settings.maxchargespan} 小时</c:if>) 您可以使用 <code><strong>[free]</strong>message<strong>[/free]</strong></code> 代码发表无需付费也能查看的免费信息</em></td>
</tr>
</c:if>
<c:if test="${special==0}">
<tr>
<th>图标</th>
<td><label><input class="radio" type="radio" name="iconid" value="0" checked="checked" tabindex="208" /> 无</label> <c:forEach items="${icons}" var="icon"><input class="radio" type="radio" name="iconid" value="${icon.key}" /><img src="images/icons/${icon.value}" alt="" /> </c:forEach></td>
</tr>
</c:if>
</tbody>
<tr class="btns">
<th> </th>
<td>
<input type="hidden" name="wysiwyg" id="${editorid}_mode" value="${editormode}" />
<button type="submit" name="topicsubmit" id="postsubmit" value="true" tabindex="300"><c:choose><c:when test="${special == 1}">发新投票</c:when><c:when test="${special == 3}">发起悬赏</c:when><c:when test="${special == 5}">发表辩论</c:when><c:otherwise>发新话题</c:otherwise></c:choose></button>
<em>[完成后可按 Ctrl+Enter 发布]</em> <a href="###" id="restoredata" onclick="loadData()" title="恢复上次自动保存的数据">恢复数据</a>
</td>
</tr>
</table>
</div><br />
</form>
<script type="text/javascript">
function showadv() {
if($("advshow").checked == true) {
$("adv").style.display = "";
} else {
$("adv").style.display = "none";
}
}
function checkuserexists(username, objname) {
var x = new Ajax();
username = is_ie && document.charset == 'UTF-8' ? encodeURIComponent(username) : username;
x.get('ajax.do?inajax=1&action=checkuserexists&username=' + username, function(s){
var obj = $(objname);
obj.innerHTML = s;
});
}
if(${typeid>0}){
ajaxget('post.jsp?action=threadtypes&typeid=${typeid}&fid=${fid}&inajax=1', 'threadtypes', 'threadtypeswait');
}
</script>
<jsp:include flush="true" page="post_js.jsp" />
<jsp:include flush="true" page="footer.jsp" />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -