⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bulletin_result.jsp

📁 非常完整的Java开发的网络办公系统
💻 JSP
字号:
<%@ 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="bulletinHandler" scope="request" class="com.vnex.intranet.communication.bulletin.handler.BulletinRequestHandler" />
<jsp:useBean id="cu" scope="request" class="com.vnex.intranet.communication.util.CommunicationUtil" />

<%
    String addConTime = leaveWordProxy.getYesterday();
    String condition = "";
    String backPage = "/mainctrl/bulletin/searchBulletin";
    if(request.getParameter("searchIt") != null)
    {
        session.removeAttribute("condition");
        backPage = "/mainctrl/bulletin/home?home";
    }
    String pageName = "/mainctrl/bulletin/otherBulletinList?a";    
    if(request.getParameter("deptId") != null)
    {
	    if(request.getParameter("deptId").equals("0"))
	    {
	        condition = "";
	    }    
	    else   
	    {
	        condition = " and dept_id="+request.getParameter("deptId");
	    }
	    pageName += "&deptId="+request.getParameter("deptId");
	}
	if(request.getParameter("matchIt") != null)
	{
	     condition = bulletinHandler.generateCondition(request);
	     session.setAttribute("condition", condition);
    }
    if(session.getAttribute("condition") != null)
       condition = (String)session.getAttribute("condition");
    condition += " and (a.end_date>=\'"+addConTime+"\' or a.end_date is null) ";    
%>

<!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_communicate.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> 
                          <td colspan="6" bgcolor="#666666"><font class="strongw"><a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>&gt;&gt;<a href="/mainctrl/communication/main"><font color="#ffffff">通信</font></a>&gt;&gt;<a href="/mainctrl/bulletin/home?home"><font color="#ffffff">公告板</font></a>&gt;&gt;公告板查询结果</font>
                          </td>
                        </tr>
                        <tr bgcolor="#fafafa"> 
                          <td colspan="6"></td>
                        </tr>
                      </table>
                      <table class=title width="600" border="0" cellspacing="1" cellpadding="2">
                        <tr> 
                           <td width="297" align="center"> 
                              <strong>标题</strong>
                           </td>
                           <td width="249" align="center"> 
                              <strong>发布人</strong>
                           </td>
                           <td width="175" align="center"> 
                              <strong>发布日期</strong>
                           </td>
                        </tr>
                        <comm:bulletinList queryStr="<%=condition%>">
                        <vnex:items paging="true">
                        <tr bgcolor="<vnex:itemsColor />"> 
                          <td width="297" align="center"> 
                             <a href="/mainctrl/bulletin/otherBulletinDetail?bulletinId=<comm:bulletinAttribute attribute="bulletin_id"/>"><comm:bulletinAttribute attribute="bulletin_title"/></a>
                          </td>
                          <td width="249" align="center"> 
                             <comm:bulletinAttribute attribute="bulletin_creator"/>
                          </td>
                          <td width="175" align="center"> 
                             <comm:bulletinAttribute attribute="bulletin_create_date"/>
                          </td>
                        </tr>
   				        </vnex:items>
                        <tr bgcolor="#e0e0e0">
                          <td colspan="3" align="left">&nbsp;<vnex:pagingTag pageName="<%=pageName%>" />
                          </td>
                        </tr>   
  				        </comm:bulletinList>
                         <tr bgcolor="#fafafa" height="30">
                            <td colspan="3" align="center">&nbsp;
                               <input type="button" name="B1" value="返回" class="text" onclick="location='<%=backPage%>'">
                            </td>
                         </tr>   
                     </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>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -