Boardroom_Management.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:6k
源码类别:
电子政务应用
开发平台:
Java
- <%
- /**
- * $ RCSfile: Boardroom_Management.jsp,v $
- * $ Revision: 1.0 $
- * $ Date: 2001/07/018 20:18:46 ,created by Shiyong Jian $
- * $ /mainctrl/boardroom/managementList $
- *
- * This is the boardroom manamement start page.
- * @author Copyright (c) May. 2001, by VisionNex Technologies Inc., All Right Reversed.
- */
- %>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.conference.util.ConferenceConstant" %>
- <%@ taglib uri="/vnex_conference.tld" prefix="conference" %>
- <%@ taglib uri="/vnex.tld" prefix="vnex" %>
- <jsp:useBean id="proxyValueBean" scope="page" class="com.vnex.intranet.conference.proxy.BoardroomProxyBean" />
- <HTML>
- <jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <script Language="JavaScript">
- function submitForm(act)
- {
- if ( act == 'add' )
- {
- document.forms[0].action='/mainctrl/boardroom/createPage';
- document.forms[0].submit();
- }
- if ( act == 'view' )
- {
- document.forms[0].action='/mainctrl/boardroom/reservationList';
- document.forms[0].submit();
- // window.open("/mainctrl/boardroom/reservationList","subWin","height=600,width=800,resizable=no,status=no,scrollbars=no,toolbar=no,menubar=no,location=no");
- }
- }
- </script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <DIV align=center>
- <form name="form1" method="post" >
- <input type="hidden" name="bookingFlag" value="true" >
- <TABLE class=outter cellSpacing=0 cellPadding=0 border=0 width="600">
- <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 bgcolor="#FAFAFA">
- <td>
- <table width="600" border="0" cellspacing="0" cellpadding="2" bgcolor="#666666">
- <tr>
- <td><font class="strongw">
- <jsp:include page="Boardroom_Navibar_Head.jsp" />>>会议室列表
- </font>
- </td>
- </tr>
- </table>
- <table border="0" width="600" cellspacing="1" cellpadding="2" class=title>
- <tr bgcolor="#fafafa">
- <td colspan="5" height="30">
- <input type="button" name="addButton" onClick="submitForm('add')" value="新增" class=text>
- <input type="button" name="viewButton" style="width:85px" onClick=" submitForm('view')" value="查看预定情况" class=text target="_blank">
- </td>
- </tr>
- <tr>
- <td width="18%" align="center"><font class="strong">编号</font></td>
- <td width="30%" align="center"><font class="strong">名称</font></td>
- <td width="23%" align="center"><font class="strong">状态</font></td>
- <td width="22%" align="center"><font class="strong">座位数</font></td>
- </tr>
- <conference:boardroomList >
- <vnex:items paging="true">
- <tr bgcolor="<vnex:itemsColor />">
- <td width="18%" align="center" >
- <input type="hidden" name="statusId" value="<conference:boardroomAttribute attribute='boardroom_statusId' />" >
- <a href="/mainctrl/boardroom/browseDetails?boardroomId=<conference:boardroomAttribute attribute='boardroom_id' />"><conference:boardroomAttribute attribute='boardroom_code' />
- </a>
- </td>
- <td width="30%" align="center">
- <conference:boardroomAttribute attribute='boardroom_name' />
- </td>
- <td width="23%" align="center"> <conference:boardroomAttribute attribute='boardroom_statusName' />
- <%
- if ( (String)pageContext.getAttribute("statusId") != null
- && Integer.parseInt( (String)pageContext.getAttribute("statusId") ) == ConferenceConstant.EMPTY_BOARDROOM
- && (String)pageContext.getAttribute("countNum") != null
- && Integer.parseInt( (String)pageContext.getAttribute("countNum") ) > 0 )
- {
- %>
- <conference:boardroomAttribute attribute='boardroom_booked_count' />
- <%
- }
- %>
- </td>
- <td width="22%" align="center"><conference:boardroomAttribute attribute='boardroom_seatAmount' /></td>
- </tr>
- </vnex:items>
- <tr>
- <td colspan="6" align="left" bgcolor="#e0e0e0">
- <vnex:pagingTag pageName="/mainctrl/boardroom/managementList?a" />
- </td>
- </tr>
- </conference:boardroomList>
- </table>
- </td>
- </tr>
- </table>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form>
- </DIV>
- </BODY>
- </HTML>