📄 usertitlelist.jsp
字号:
<%@ page language="java" contentType="text/html; charset=Shift_JIS" %>
<%
/**
* WOA 僼僅乕儔儉堦棗
*/
%>
<%@ page import="java.net.*" %>
<%@ page import="ws.woa.core.*" %>
<%@ page import="ws.woa.util.*" %>
<%@ page import="ws.woa.forum.*" %>
<jsp:useBean id="forum" class="ws.woa.forum.ForumBean" scope="request" />
<jsp:useBean id="pageLink" class="ws.woa.util.PageLink" scope="request" />
<jsp:useBean id="contents" class="ws.woa.forum.ForumContentBean[]" scope="request" />
<SCRIPT LANGUAGE="JavaScript">
///////////////////////////////////////////////////////
// 憲怣帪偺僠僃僢僋
function submitCheck(){
if(!checkNotEmpty('審柤',document.Form1.Subject) ||
!checkBytes('審柤',document.Form1.Subject,100)||
!checkNotEmpty('杮暥',document.Form1.Content)){
return false;
} else {
丂丂 return confirm('搊榐偟傑偡丅傛傠偟偄偱偡偐丠');
}
}
</SCRIPT>
<h2>僼僅乕儔儉</h2>
<h3><%= StrUtil.tagFilter(forum.getForumName()) %></h3>
<div align="right">
[ <a href="forum.module">栠傞</a> ]
</div>
<% if(contents.length==0){ %>
婰帠偼偁傝傑偣傫丅
<% } else { %>
<% for(int i=0;i<contents.length;i++){ %>
<%= new ForumTree(contents[i],forum.getForumID()).toHTML() %>
<% } %>
<div align="right">
<%= pageLink.toHTML() %>
</div>
<% } %>
<h3>婰帠偺搳峞</h3>
<form name="Form1" action="forum.module" method="POST"
onSubmit="return submitCheck()">
<table border>
<tr>
<th width="100">審柤</th>
<td><input type="text" name="Subject" size="40"></td>
</tr>
<tr>
<th>杮暥</th>
<td><textarea name="Content" cols="60" rows="10"></textarea></td>
</tr>
</table>
<br>
<input type="submit" value="搳 峞">
<input type="reset" value="儕僙僢僩">
<input type="hidden" name="Action" value="REGIST">
<input type="hidden" name="ParentID" value="0">
<input type="hidden" name="ForumID" value="<%= forum.getForumID() %>">
</form>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -