bak_m.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="com.redmoon.oa.pvg.*" %>
  4. <html>
  5. <head>
  6. <title>备份</title>
  7. <link href="../common.css" rel="stylesheet" type="text/css">
  8. <link href="default.css" rel="stylesheet" type="text/css">
  9. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  10. <style type="text/css">
  11. <!--
  12. .style1 {
  13. color: #FFFFFF;
  14. font-weight: bold;
  15. }
  16. .style2 {color: #FFFFFF}
  17. -->
  18. </style>
  19. </head>
  20. <body bgcolor="#FFFFFF" text="#000000">
  21. <jsp:useBean id="cfg" scope="page" class="cn.js.fan.web.Config"/>
  22. <jsp:useBean id="privilege" scope="page" class="com.redmoon.oa.pvg.Privilege"/>
  23. <%
  24. if (!privilege.isUserPrivValid(request, PrivDb.PRIV_BACKUP)) {
  25.     out.print(cn.js.fan.web.SkinUtil.makeErrMsg(request, cn.js.fan.web.SkinUtil.LoadString(request, "pvg_invalid")));
  26. return;
  27. }
  28. String rootpath = request.getContextPath();
  29. String bakpath = cfg.getProperty("Application.bak_path");
  30. %>
  31. <table cellSpacing="0" cellPadding="0" width="100%">
  32.   <tbody>
  33.     <tr>
  34.       <td class="head">数据管理</td>
  35.     </tr>
  36.   </tbody>
  37. </table>
  38. <br>
  39. <TABLE 
  40. style="BORDER-RIGHT: #a6a398 1px solid; BORDER-TOP: #a6a398 1px solid; BORDER-LEFT: #a6a398 1px solid; BORDER-BOTTOM: #a6a398 1px solid" 
  41. cellSpacing=0 cellPadding=3 width="95%" align=center>
  42.   <!-- Table Head Start-->
  43.   <TBODY>
  44.     <TR>
  45.       <TD class=thead style="PADDING-LEFT: 10px" noWrap width="70%">数据库及文件备份      </TD>
  46.     </TR>
  47.     <TR class=row style="BACKGROUND-COLOR: #fafafa">
  48.       <TD height="175" align="center" style="PADDING-LEFT: 10px"><table width="353" border="0" align="center">
  49.         <tr>
  50.           <td height="28">&nbsp;</td>
  51.           <td height="22"><img src="images/arrow.gif" align="absmiddle">&nbsp;<a href="bak_do.jsp?op=file">备份文件</a></td>
  52.           <td>&nbsp;</td>
  53.         </tr>
  54. <!--
  55.         <tr>
  56.           <td height="33">&nbsp;</td>
  57.           <td height="22"><img src="images/arrow.gif" align="absmiddle">&nbsp;<a href="bak_do.jsp?op=db">备份数据库</a></td>
  58.           <td>&nbsp;</td>
  59.         </tr>
  60. -->
  61.         <tr>
  62.           <td height="33">&nbsp;</td>
  63.           <td height="22"><img src="images/arrow.gif" align="absmiddle">&nbsp;<a href="<%=rootpath+"/"+bakpath%>/bak_file.zip">下载ZIP文件</a></td>
  64.           <td>&nbsp;</td>
  65.         </tr><!--
  66.         <tr>
  67.           <td height="24">&nbsp;</td>
  68.           <td height="22"><img src="images/arrow.gif" align="absmiddle">&nbsp;<a href="<%=rootpath+"/"+bakpath%>/bak_db.bak">下载数据库备份文件</a></td>
  69.           <td>&nbsp;</td>
  70.         </tr>-->
  71.       </table></TD>
  72.     </TR>
  73.     <!-- Table Body End -->
  74.     <!-- Table Foot -->
  75.     <TR>
  76.       <TD class=tfoot align=right><DIV align=right> </DIV></TD>
  77.     </TR>
  78.     <!-- Table Foot -->
  79.   </TBODY>
  80. </TABLE>
  81. </body>
  82. <script language="javascript">
  83. <!--
  84. //-->
  85. </script>
  86. </html>