boardroom_edit.jsp
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:3k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page contentType="text/html;charset=utf-8"%>
  2. <%@ page import = "cn.js.fan.util.*"%>
  3. <%@ page import = "java.net.URLEncoder"%>
  4. <%@ page import = "com.redmoon.oa.meeting.*"%>
  5. <html>
  6. <head>
  7. <title>修改会议室</title>
  8. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  9. <link rel="stylesheet" href="default.css" type="text/css">
  10. <script language=javascript>
  11. <!--
  12. function openWin(url,width,height)
  13. {
  14.   var newwin=window.open(url,"_blank","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=50,left=120,width="+width+",height="+height);
  15. }
  16. //-->
  17. </script>
  18. <style type="text/css">
  19. <!--
  20. .style1 {
  21. font-size: 14px;
  22. font-weight: bold;
  23. }
  24. -->
  25. </style>
  26. </head>
  27. <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="5">
  28. <%
  29. int id = ParamUtil.getInt(request, "id");
  30. BoardroomDb bd = new BoardroomDb();
  31. bd = bd.getBoardroomDb(id);
  32. if (bd==null || !bd.isLoaded()) {
  33. out.print(StrUtil.Alert_Back("该会议室不存在!"));
  34. return;
  35. }
  36. %>
  37. <TABLE cellSpacing=0 cellPadding=0 width="100%">
  38.   <TBODY>
  39.     <TR>
  40.       <TD class=head>会议室管理</TD>
  41.     </TR>
  42.   </TBODY>
  43. </TABLE>
  44. <br>
  45. <br>
  46. <table width="49%" height="227" border='0' align="center" cellpadding='0' cellspacing='0' class="frame_gray">
  47.   <tr>
  48.     <td height=20 align="center" class="thead style1">修改会议室</td>
  49.   </tr>
  50.   <tr>
  51.     <td valign="top"><table width="93%" border="0" align="center" cellpadding="0" cellspacing="0" class="stable">
  52.       
  53.       <form name="form1" action="boardroom_do.jsp?op=edit" method="post" onSubmit="">
  54.         <tr>
  55.           <td width="14%" height="24" align="center" class="stable">名&nbsp;&nbsp;称</td>
  56.           <td width="86%" height="19" class="stable"><input type="text" name="name" class="singleboarder" size=50 value="<%=bd.getName()%>">
  57.   <input type="hidden" name="id" value="<%=id%>">
  58.   </td>
  59.         </tr>
  60.         <tr>
  61.           <td height="24" align="center" class="stable">人&nbsp;&nbsp;数</td>
  62.           <td height="20" class="stable"><input type="text" class="singleboarder" name="personNum" size=15 value="<%=bd.getPersonNum()%>"></td>
  63.         </tr>
  64.         <tr>
  65.           <td height="24" align="center" class="stable">位&nbsp;&nbsp;置</td>
  66.           <td height="20" class="stable"><input type="text" class="singleboarder" name="address" size=50 value="<%=bd.getAddress()%>"></td>
  67.         </tr>
  68.         <tr>
  69.           <td height="24" align="center" class="stable">设&nbsp;&nbsp;备</td>
  70.           <td height="20" class="stable">
  71.               <input type="text" class="singleboarder" name="equipment" size=50 value="<%=bd.getEquipment()%>">
  72.           </td>
  73.         </tr>
  74.         <tr>
  75.           <td height="17" align="center" class="stable">说&nbsp;&nbsp;明</td>
  76.           <td height="17" class="stable"><textarea name="description" cols="60" class="singleboarder" rows="10"><%=bd.getDescription()%></textarea>          </td>
  77.         </tr>
  78.         <tr>
  79.           <td colspan="2" align="center">&nbsp;</td>
  80.         </tr>
  81.         <tr>
  82.           <td colspan="2" align="center"><input name="submit" type="submit" class="singleboarder" value="确定">
  83. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  84.             <input name="reset" type="reset" class="singleboarder" value="重填">          </td>
  85.           </tr>
  86.         <tr>
  87.           <td colspan="2" align="center">&nbsp;</td>
  88.         </tr>
  89.       </form>
  90.     </table></td>
  91.   </tr>
  92. </table>
  93. </body>
  94. </html>