📄 messageboard.jsp
字号:
<%@ page language="java" import="java.util.*,com.accpedu.LHcompany.dao.*,com.accpedu.LHcompany.entity.*" pageEncoding="gbk"%>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/css.css">
<style type="text/css">
<!--
#Layer2 {
position:absolute;
width:750px;
height:192px;
top:155px;
left:29px;
z-index:1;
}
#Layer3 {
position:absolute;
width:108px;
height:24px;
z-index:1;
top: 2px;
left: 2px;
}
#Layer4 {
position:absolute;
width:750px;
height:21px;
z-index:2;
left: 0px;
top: 30px;
}
#Layer5 {
position:absolute;
width:200px;
z-index:3;
left: 0px;
top: 54px;
}
body {
background-image: url(image/bookbg.gif);
}
.STYLE2 {font-size: 12px}
.STYLE11 {font-family: "宋体"; font-weight: bold; font-size: 14px; color: #FF0000; }
.STYLE12 {font-family: "宋体"}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<body>
<%@ include file="bbsTop.jsp" %>
<div id="Layer2">
<div id="Layer3">
<table height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="12"><img src="image/titlemu_1.gif"></td>
<td width="74" background="image/titlemu_2.gif"><font size="2" face="宋体"> </font><font face="宋体"><a href="AddMessage.jsp" class="STYLE2">发表新帖</a></font></td>
<td width="16"><img src="image/titlemu_3.gif"></td>
</tr>
</table>
</div>
<div id="Layer4">
<table width="750" height="21" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="140"><img src="image/T_left.gif"></td>
<td width="554" background="image/Tt_bg.gif"></td>
<td width="56"><img src="image/T_right.gif"></td>
</tr>
</table>
</div>
<div id="Layer5">
<table width="750" border="1" cellpadding="0" cellspacing="0" style="border:solid; border-style:double;" bordercolor="#CCFFFF">
<tr style="background-image:url(image/title.gif)">
<td width="73" align="center"><span class="STYLE11">回复</span></td>
<td width="377" align="center"><span class="STYLE11">标题</span></td>
<td width="150" align="center"><span class="STYLE11">作者</span></td>
<td width="150" align="center"><span class="STYLE11">时间</span></td>
</tr>
<%
messageDao md=new messageDao();
ArrayList<message> al=md.select();
revertDao rd=new revertDao();
for(int i=0;i<al.size();i++)
{
%>
<tr height="40">
<td align="center" class="zc"><%=al.get(i).getCount() %></td>
<td><img src="image/CENTER.GIF"> <a href="revertMessage.jsp?id=<%=al.get(i).getMessageID() %>" class="bbs"><%=al.get(i).getTitle() %></a></td>
<td align="center" class="STYLE2"><span class="STYLE12"><%=al.get(i).getWriter() %></span></td>
<td align="center"><div class="zc"><%=al.get(i).getWriterDate() %></div></td>
</tr>
<%} %>
</table>
</div>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -