personal_bulletin_home.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:6k
源码类别:
电子政务应用
开发平台:
Java
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <%@ taglib uri="/vnex_communication.tld" prefix="comm" %>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <jsp:useBean id="leaveWordProxy" scope="application" class="com.vnex.intranet.communication.leaveword.proxy.LeaveWordProxyBean" />
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <jsp:useBean id="bulletinHandler" scope="request" class="com.vnex.intranet.communication.bulletin.handler.BulletinRequestHandler" />
- <%
- String addConTime = leaveWordProxy.getYesterday();
- String condition = " and (a.end_date>='"+addConTime+"' or a.end_date is null) ";
- String pageTo = "/mainctrl/personal/bulletin/home?a";
- String deptId = request.getParameter("deptId");
- if(request.getParameter("matchIt") == null)
- session.removeAttribute("condition");
- if(deptId != null && !deptId.equals("0") && request.getParameter("findDept") != null)
- {
- condition += " and dept_id="+deptId;
- pageTo += "&deptId="+deptId;
- }
- if(request.getParameter("matchIt") != null)
- {
- condition += bulletinHandler.generateCondition(request);
- session.setAttribute("conditon", condition);
- pageTo += "&matchIt";
- }
- if(session.getAttribute("condition") != null)
- condition = (String)session.getAttribute("condition");
- %>
- <script language="JavaScript" src="/vnex/util/strUtil.js"></script>
- <script language=JavaScript>
- </script>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <HTML>
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_person.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <DIV align=center>
- <form name="form1" method="post">
- <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
- <TBODY>
- <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
- <TR>
- <TD colSpan=3 align="center" class="iframestyle" valign="top"><br>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr valign="top">
- <td bgcolor="#fafafa" >
- <table width="600" border="0" cellspacing="0" cellpadding="0">
- <tr valign="top" bgcolor="#cccccc">
- <td>
- <table width="600" border="0" cellpadding="2" cellspacing="0">
- <tr bgcolor="#666666">
- <td><font class="strongw">
- <a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>>>
- <a href="/mainctrl/personal/main"><font color="#ffffff">个人办公</font></a>>>
- 公告板查询
- </font>
- </td>
- </tr>
- <tr bgcolor="#fafafa">
- <td><jsp:include page="bulletin_head.jsp" /></td>
- </tr>
- </table>
- <table class=title width="600" border="0" cellspacing="1" cellpadding="2">
- <tr>
- <td align="left" height="12">
- <p align="center"><font class="strong">标题</font>
- </td>
- <td align="left" height="12">
- <p align="center"><font class="strong">内容</font>
- </td>
- <td align="left" height="12">
- <p align="center"><font class="strong">发布人</font>
- </td>
- <td align="left" height="12">
- <p align="center"><font class="strong">发布日期</font>
- </td>
- </tr>
- <comm:bulletinList queryStr="<%=condition%>">
- <vnex:items paging="true">
- <tr bgcolor="<vnex:itemsColor />" align="center">
- <td>
- <comm:bulletinAttribute attribute="bulletin_title" />
- </td>
- <td>
- <a href="/mainctrl/personal/bulletin/personalBulletinDetail?bulletinId=<comm:bulletinAttribute attribute="bulletin_id"/>"><comm:bulletinAttribute attribute="bulletin_body" /></a>
- </td>
- <td>
- <comm:bulletinAttribute attribute="bulletin_creator" />
- </td>
- <td>
- <comm:bulletinAttribute attribute="bulletin_create_date" />
- </td>
- </tr>
- </vnex:items>
- <tr>
- <td colspan="4" align="left" bgcolor="#e0e0e0">
- <vnex:pagingTag pageName="<%=pageTo%>" />
- </td>
- </tr>
- </comm:bulletinList>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TBODY>
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form>
- </DIV>
- </BODY>
- </HTML>