📄 adminview.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" errorPage="" %>
<%@ include file="../hear/hear.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>短信息</title>
<link href="../css/work.css" rel="stylesheet" type="text/css" />
<script src="../js/oa.js"></script>
<style type="text/css">
<!--
.style1 {
color: #000000;
font-size: 16px;
font-family: "宋体";
font-weight: bold;
}
.style8 {font-family: "宋体"; color: #0060BF; font-size: 14px; font-weight: bold; }
.style9 {
color: #003366;
font-weight: bold;
}
-->
</style>
</head>
<body bgcolor="#ECF1FF">
<table width="668" height="152" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td height="20" background="../image/zs.gif" colspan="5" align="center" class="style1">短信息</td>
</tr>
<tr align="center" class="column">
<td width="145" height="21"><span class="style8">发送人</span></td>
<td width="194" height="21"><span class="style8">消息标题</span></td>
<td width="194" height="21"><span class="style8">发送时间</span></td>
<td width="127"><span class="style8">接收人</span></td>
<td width="118"><span class="style8">删除</span></td>
</tr>
<%
Collection coll=(Collection)request.getAttribute("msg");
Str str=new Str();
if(coll==null){
%>
<tr align="center">
<td height="21" colspan="5" class="advise"><span class="style9">没有短消息</span></td>
</tr>
<%
}else{
Iterator it=coll.iterator();
while(it.hasNext()){
Info dep=(Info)it.next();
%>
<tr align="center">
<td height="25"><%=db.IdtoName(dep.getSendter())%></td>
<td height="25"><%= dep.getTitle()%></td>
<td height="25"><%= dep.getTime().substring(0,19)%> </td>
<td height="25"> <%=db.IdtoName(dep.getAccepter())%></td>
<td height="25"><a href="del?infoid=<%=dep.getId()%>"><img src="../image/empty.gif" width="20" height="20" border="0" /></a>
</td>
</tr>
<%
}
}
request.removeAttribute("msg");
%>
<tr align="right" bgcolor="#ECF1FF">
<td height="27" colspan="5"><span class="return" onclick="javascript:history.go(-1);">返回</span> </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -