search_result.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:4k
源码类别:
电子政务应用
开发平台:
Java
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <%@ taglib uri="/vnex_communication.tld" prefix="comm" %>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.util.TimeStamp" %>
- <jsp:useBean id="leaveWordProxy" scope="application" class="com.vnex.intranet.communication.leaveword.proxy.LeaveWordProxyBean" />
- <jsp:useBean id="cu" scope="request" class="com.vnex.intranet.communication.util.CommunicationUtil" />
- <%
- String addConTime = leaveWordProxy.getYesterday();
- String backPage = "/mainctrl/leaveword/advanceSearch";
- String empName = cu.selectEmpName(Integer.parseInt(request.getParameter("empId")));
- String pageTo = "/mainctrl/leaveword/searchResult?empId="+request.getParameter("empId")+"&empName="+empName;
- String condition = " (end_date>'"+addConTime+"' or end_date is null) and emp_id="+request.getParameter("empId");
- if(request.getParameter("fromName") != null)
- {
- backPage = "/mainctrl/leaveword/nameResult";
- pageTo += "&fromName";
- }
- %>
- <!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"><br>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr>
- <td align="center" colspan="2" bgcolor="#FFFFFF">
- <table width="600" border="0" cellspacing="0" cellpadding="0">
- <tr bgcolor="#666666" height="15">
- <td><font class="strongw"><a href="/mainctrl/home/index"><font color="#ffffff">首页</font></a>>><a href="/mainctrl/communication/main"><font color="#ffffff">通信</font></a>>><a href="/mainctrl/leaveword/home"><font color="#ffffff">留言板</font></a>>>留言查询结果</font>
- </tr>
- </table>
- <table class=title border="0" cellpadding="2" cellspacing="1" width="600">
- <tr bgcolor="#fafafa">
- <td colspan="2" height="30">
- <font class="strong"> <%=empName%>的留言簿</font>
- </td>
- </tr>
- <comm:leaveWordList queryStr="<%=condition%>">
- <vnex:items paging="true">
- <tr bgcolor="#e0e0e0">
- <td width="18%"><font class="strong"> 留言时间:</font></td>
- <td><comm:leaveWordAttribute attribute="write_date" /></td>
- </tr>
- <tr bgcolor="#fafafa">
- <td width="18%"><font class="strong"> 内容:</font></td>
- <td><comm:leaveWordAttribute attribute="msg_body" />
- </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="18%"><font class="strong"> 留言截止时间:</font></td>
- <td><comm:leaveWordAttribute attribute="end_date" /></td>
- </tr>
- </vnex:items>
- <tr>
- <td colspan="2" bgcolor="#e0e0e0"><font class="strong"> </font>
- <vnex:pagingTag pageName="<%=pageTo%>" />
- </td>
- </tr>
- </comm:leaveWordList>
- <tr bgcolor="#fafafa">
- <td colspan="2" height="30" align="center">
- <input type="button" name="b" value="返回" class="text" onclick="location='<%=backPage%>'">
- </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>