📄 child.jsp
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="to.model.Login.*"%>
<%@ page import="java.util.*"%>
<%@ page import="java.text.*"%>
<%@ page import="java.sql.*"%>
<%@ page import="to.model.Inform.*"%>
<%@ page import="to.model.*"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>欢迎使用教师办公管理系统</title>
<style type="text/css">
table{font-size:13px}
<!--
a:link { text-decoration: none;color: black}
a:active { text-decoration:blink;}
a:hover {text-decoration: underline;position: relative; top: 3px; left: 3px; color: red}
a:visited { text-decoration:none;color: black}
-->
</style>
</head>
<body>
<table width="800" height="35" border="0" cellspacing="1" >
<tr>
<th colspan="7" align="center">我的新消息<th>
</tr>
<tr bgcolor="#006699">
<th width="80" align="center"><font color="White">序号</font></th>
<th width="130" align="center" colspan="2"><font color="White">通知标题</font></th>
<th width="90" align="center"><font color="White">发布人</font></th>
<th width="135" align="center"><font color="White">发布日期</font></th>
<th width="85" align="center" colspan="2"><font color="White">有效日期</font></th>
<th width="50" align="center"><font color="White">状态</font></th>
<th width="50" align="center"><font color="White">操作</font></th>
</tr>
<%
loginItem li=(loginItem)session.getAttribute("user");
InformBean ib=new InformBean();
Collection c=(Collection)ib.getInformWeiDu(li.getPeopleID());
Iterator it=c.iterator();
while(it.hasNext())
{
InformItem ii=(InformItem)it.next();
%>
<tr bgcolor="#ddddee">
<td width="80" align="center"><%=ii.getId()%></td>
<td width="130" align="center" colspan="2"><img src="image/arr.gif"/><a href="displayInform.jsp?id=<%=ii.getInformID()%>"><%=ii.getInformT()%></a></td>
<td width="90" align="center"><%=ii.getPromulgator()%></td>
<td width="135" align="center"><%=ii.getAddT()%></td>
<td width="85" align="center" colspan="2"><%=ii.getEndT()%></td>
<td width="50" align="center"><%=ii.getIfreand()%></td>
<td width="50" align="center"><font color="Blue"><img src="image/arr.gif"/><a href="BackAction.do?id=<%=ii.getInformID()%>">回复</a></font></td>
</tr>
<%
}
%>
<tr>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -