【JSP开源代码栏目提醒】:网学会员鉴于大家对JSP开源代码十分关注,论文会员在此为大家搜集整理了“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>
</head>
<body>
<table width="780" height="480" cellpadding="0" cellspacing="0">
<tr>
<td height="50" colspan="5" align="center" class="title" >短信息</td>
</tr>
<tr align="center" class="column">
<td width="145" height="30">发送人</td>
<td width="194" height="30">消息标题</td>
<td width="194" height="30">发送时间</td>
<td width="127">接收人</td>
<td width="118">删除</td>
</tr>
<%
Collection coll=(Collection)request.getAttribute("msg");
Str str=new Str();
if(coll==null){
%>
<tr align="center">
<td height="30" colspan="5" class="advise">没有短消息</td>
</tr>
<%
}else{
Iterator it=coll.iterator();
while(it.hasNext()){
Info dep=(Info)it.next();
%>
<tr align="center">
<td height="22"><%=db.IdtoName(dep.getSendter())%></td>
<td height="22"><%= dep.getTitle()%></td>
<td height="22"><%= dep.getTime().substring(0,19)%> </td>
<td height="22"><%=db.IdtoName(dep.getAccepter())%></td>
<td height="22"><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">
<td height="27" colspan="5"><span class="return" onclick="javascript:history.go(-1);"><img src="../image/more.gif" width="30" height="9" />返回</span> </td>
</tr>
<tr>
<td colspan="5"> </td>
</tr>
</table>
</body>
</html>
上一篇:
AdminUsersRecord.jsp
下一篇:
问卷调查可以自动生成试卷等,并且只能一个用户登录