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

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="../admin/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. <jsp:useBean id="privilege" scope="page" class="com.redmoon.oa.pvg.Privilege"/>
  29. <%
  30. if (!privilege.isUserPrivValid(request, "meetingroom")) {
  31. out.println(cn.js.fan.web.SkinUtil.makeErrMsg(request, cn.js.fan.web.SkinUtil.LoadString(request, "pvg_invalid")));
  32. return;
  33. }
  34. %>
  35. <%
  36. int id = ParamUtil.getInt(request, "id");
  37. BoardroomDb bd = new BoardroomDb();
  38. bd = bd.getBoardroomDb(id);
  39. if (bd==null || !bd.isLoaded()) {
  40. out.print(StrUtil.Alert_Back("该会议室不存在!"));
  41. return;
  42. }
  43. %>
  44. <TABLE cellSpacing=0 cellPadding=0 width="100%">
  45.   <TBODY>
  46.     <TR>
  47.       <TD class=head>会议室管理</TD>
  48.     </TR>
  49.   </TBODY>
  50. </TABLE>
  51. <br>
  52. <br>
  53. <table width="49%" height="227" border='0' align="center" cellpadding='0' cellspacing='0' class="frame_gray">
  54.   <tr>
  55.     <td height=20 align="center" class="thead style1">修改会议室</td>
  56.   </tr>
  57.   <tr>
  58.     <td valign="top"><table width="93%" border="0" align="center" cellpadding="0" cellspacing="0" class="stable">
  59.       
  60.       <form name="form1" action="boardroom_do.jsp?op=edit" method="post" onSubmit="">
  61.         <tr>
  62.           <td width="14%" height="24" align="center" class="stable">名&nbsp;&nbsp;称</td>
  63.           <td width="86%" height="19" class="stable"><input type="text" name="name" class="singleboarder" size=50 value="<%=bd.getName()%>">
  64.   <input type="hidden" name="id" value="<%=id%>">
  65.   </td>
  66.         </tr>
  67.         <tr>
  68.           <td height="24" align="center" class="stable">人&nbsp;&nbsp;数</td>
  69.           <td height="20" class="stable"><input type="text" class="singleboarder" name="personNum" size=15 value="<%=bd.getPersonNum()%>"></td>
  70.         </tr>
  71.         <tr>
  72.           <td height="24" align="center" class="stable">位&nbsp;&nbsp;置</td>
  73.           <td height="20" class="stable"><input type="text" class="singleboarder" name="address" size=50 value="<%=bd.getAddress()%>"></td>
  74.         </tr>
  75.         <tr>
  76.           <td height="24" align="center" class="stable">设&nbsp;&nbsp;备</td>
  77.           <td height="20" class="stable">
  78.               <input type="text" class="singleboarder" name="equipment" size=50 value="<%=bd.getEquipment()%>">
  79.           </td>
  80.         </tr>
  81.         <tr>
  82.           <td height="17" align="center" class="stable">说&nbsp;&nbsp;明</td>
  83.           <td height="17" class="stable"><textarea name="description" cols="60" class="singleboarder" rows="10"><%=bd.getDescription()%></textarea>          </td>
  84.         </tr>
  85.         <tr>
  86.           <td colspan="2" align="center">&nbsp;</td>
  87.         </tr>
  88.         <tr>
  89.           <td colspan="2" align="center"><input name="submit" type="submit" class="singleboarder" value="确定">
  90. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  91.             <input name="reset" type="reset" class="singleboarder" value="重填">          </td>
  92.           </tr>
  93.         <tr>
  94.           <td colspan="2" align="center">&nbsp;</td>
  95.         </tr>
  96.       </form>
  97.     </table></td>
  98.   </tr>
  99. </table>
  100. </body>
  101. </html>