bulletin_home_Before.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:4k
源码类别:
电子政务应用
开发平台:
Java
- <%@ page language="java" %>
- <%@ page import="java.util.*"%>
- <%@ page import="java.lang.*"%>
- <%@ page import="com.vnex.intranet.privilegeassign.proxy.*"%>
- <%@ page import="com.vnex.intranet.organization.proxy.*"%>
- <%@ page import="com.vnex.intranet.organization.value.*"%>
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <HTML>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <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_communicate.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <script language="JavaScript" src="/vnex/util/strUtil.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/communication/main"><font color="#ffffff">通信</font></a>>>
- 公告板
- </font>
- </td>
- </tr>
- </table>
- <table border="0" cellpadding="2" cellspacing="0" width="600">
- <tr bgcolor="#e0e0e0">
- <td colspan="4"> <font class="strong"> 您有权限对以下部门进行公告版管理,请选择部门:</font>
- </td>
- </tr>
- <%
- int rowColor = 1;
- EmpPrivilegeProxyBean empProxy = new EmpPrivilegeProxyBean();
- PositionProxyBean proxy = new PositionProxyBean();
- Collection coll = proxy.findEmpDivision(BusinessName.getEmpId(), 10694);
- Collection empColl = empProxy.getAssignedDivisions(BusinessName.getEmpId(), 10694);
- coll.removeAll(empColl);
- coll.addAll(empColl);
- Iterator iter = coll.iterator();
- while(iter.hasNext())
- {
- String rColor = (rowColor%2==1)?"#fafafa":"#e0e0e0";
- out.println("<tr bgcolor="+rColor+">");
- out.println("<td colspan=4> <div align=center>");
- DivisionValueBean pinfo = (DivisionValueBean)iter.next();
- if (coll.size() == 1)
- {
- BusinessName.setDeptId(pinfo.getDivisionId());
- BusinessName.setDeptName(pinfo.getDivisionName());
- response.sendRedirect("/mainctrl/bulletin/home?home");
- }
- out.println("<a href="/mainctrl/bulletin/homeMiddle?depId="+pinfo.getDivisionId()+"&depName="+pinfo.getDivisionName()+"">");
- //out.println(pinfo.getDivisionId());
- out.println(pinfo.getDivisionName());
- out.println("</a><br></div></td></tr>");
- rowColor++;
- }
- %>
- </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>