📄 viewbull.jsp
字号:
<%@ page contentType="text/html;charset=GB2312" %>
<%@ page import="cn.com.aheadsoft.recordset.InformInfoRecordSet" %>
<%@ page import="cn.com.aheadsoft.util.StringFormat" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="/krm/jsp/css/css.css">
<title>电子公告栏</title>
<script language="JavaScript">
function atDelete() {
return confirm("您确定要删除吗?");
}
function openWin(url) {
window.open(url,'','toolbar=no,location=no,menubar=no,resizable=1,scrollbars=yes,left=0,top=0,width=800,height=600');
}
function closewin()
{
window.setTimeout("window.close()",120000);
return;
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center">
<table border="0" width="98%" align="center" height="30%" bordercolor="A1B7DB" class="collapse">
<tr >
<td class="tdA" colspan="9" align="center"><div align="left">公告列表</div></td>
</tr>
<tr>
<td width="10%" class="tdB" align="center" >序号</td>
<td width="30%" class="tdB" align="center" >标题</td>
<td width="15%" class="tdB" align="center" >类别</td>
<td width="15%" class="tdB" align="center" >发布部门</td>
<td width="20%" class="tdB" align="center" >发布时间</td>
</tr>
<% InformInfoRecordSet recordset = (InformInfoRecordSet)request.getAttribute("inform");
//session.removeAttribute("inform");
if(recordset != null && recordset.size() > 0) {
int num = 1;
while(recordset.next()) {
%>
<tr>
<td width="10%" class="common" align="center" ><%= num %></td>
<td width="30%" class="common" align="left" >
<a href="javascript:openWin('/krm/servlet/InformInfoServlet?status=q&module=v&II_ID=<%= recordset.getII_ID() %>')"><%= StringFormat.Source2GB(recordset.getII_Title()) %></a>
</td>
<td width="15%" class="common" align="center" ><%= StringFormat.Source2GB(recordset.getIT_Title()) %></td>
<td width="15%" class="common" align="center" ><%= StringFormat.Source2GB(recordset.getII_Sender()) %></td>
<td width="20%" class="common" align="center" ><%= StringFormat.Source2GB(recordset.getII_Date()) %></td>
</tr>
<%
num++;
}
}
%>
</table>
</form>
<table width="95%" height="22" border="0">
<tr>
<td> </td>
<td class="common"> <div align="right"><font color="#6D8C92">本窗口2分钟后自动关闭!</font></div></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -