?? topicmanager.jsp
字號(hào):
<%@ page contentType="text/html;charset=gb2312" language="java"%>
<%@ include file="/common/taglibs.jsp"%>
<html:html>
<head>
<title>
主題列表
</title>
</head>
<link href="images/myStyleClass.css" rel="stylesheet" type="text/css">
<%@ include file="/common/header2.jsp"%>
<html:errors />
<body>
<%@ page import="j2eebbs.*"%>
<%@ page import="java.util.*"%>
<%
Vector topicVector = (Vector) session
.getAttribute(Constants.TOPIC_LIST_KEY);
Topic topic = null;
%>
<table width="80%" border="1" align="center">
<tr bgcolor="#00CCFF">
<td colspan="3" align="right">
<A href="<%=request.getContextPath()%>/backtoadminindex.do">
首頁(yè)
</A>
<A href="adminlogoff.do">
注銷登錄
</A>
</td>
</tr>
<tr align="center">
<td colspan="3">
主題管理
</td>
</tr>
<tr align="center" bgcolor="#00CCFF">
<td width="50%">
文章標(biāo)題
</td>
<td width="36%">
作者
</td>
<td width="14%">
刪除
</td>
</tr>
<%
if (topicVector != null) {
for (int i = 0; i < topicVector.size(); i++) {
topic = (Topic) topicVector.get(i);
%>
<tr align="center">
<td>
<%=topic.getTitle()%>
</td>
<td>
<%=topic.getAuthor()%>
</td>
<td>
<a href="topicdelete.do?topicid=<%=topic.getId()%>">
刪除
</a>
</td>
</tr>
<%
}
}
%>
<tr align="center">
<td colspan="3">
<form method="post" action="topicsearch.do">
<input type="text" name="title" size="15" maxlength="50">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置">
</form>
</td>
</tr>
</table>
<%@ include file="/common/footer.jsp"%>
</body>
</html:html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -