📄 displayfajianxiang.jsp
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ page import="java.sql.*"%>
<%@ page import="to.model.Right.*"%>
<%@ page import="java.util.*"%>
<%@ page import="to.model.Login.*"%>
<%@ page import="to.model.Email.*"%>
<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>
<form>
<table cellspacing="1" cellpadding="1" border="0" width="800" align="center">
<%
loginItem li=(loginItem)session.getAttribute("user");
if(li==null)
{
response.sendRedirect("OfficeLogin.jsp");
}
%>
<tr>
<td colspan="4" height="1"><hr/></td>
</tr>
<tr>
<th colspan="4" align="center">发件箱列表</th>
</tr>
<tr bgcolor="#006699">
<th width="200" align="center"><font color="White">信件标题</font></th>
<th width="200" align="center"><font color="White">发送目标</font></th>
<th width="200" align="center"><font color="White">发送时间</font></th>
<th width="200" align="center"><font color="White">删除</font></th>
</tr>
<%
EmailBean eb=new EmailBean();
Collection c=eb.getFaJianXiang(li.getPeopleName());
Iterator it=(Iterator)c.iterator();
while(it.hasNext())
{
EmailItem ei=(EmailItem)it.next();
%>
<tr bgcolor="#ddddee">
<td width="200" align="center"><img src="image/arr.gif"/><a href="displayFaJianMessage.jsp?id=<%=ei.getEmailID()%>"><%=ei.getEmailT()%></a></td>
<td width="200" align="center"><%=ei.getPeopleName()%></td>
<td width="200" align="center"><%=ei.getAddD()%></td>
<td width="200" align="center"><font color="Blue"><img src="image/arr.gif"/><a href="DeleteFaJianAction.do?id=<%=ei.getEmailID()%>">删除</a></font></td>
</tr>
<%
}
%>
<tr>
<td colspan="4" height="1"><hr/></td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -