⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 backupdb.asp

📁 功能非常强大的一款办公自动化软件原代码,其中的文档签收功能特别实用.不相信下下来看下.
💻 ASP
字号:
<!--#include file="check.asp"-->
<!--#include file="checkpower.asp"-->
<!--#INCLUDE FILE="connect.asp" --> 
<html>
<head>
<title>办公自动化(OA)</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT LANGUAGE="javascript" src="apply.js">
</SCRIPT>

<link rel="stylesheet" href="apply.css" type="text/css">
</head>
 <%set rs=server.createobject("adodb.recordset")
 sql="select * from sqlbackup order by backuptime desc"
 rs.open sql,conn,1,1
%>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" oncontextmenu="return false">
<table width="100%" cellpadding="0" cellspacing="0" align="center">
  <tr> 
       <td valign="top" width="940"> 
      <form action="backupdbsave.asp" method="post" name=form >
        <table width="100%" border="0" cellspacing="0" cellpadding="0" height="50">
          <tr>
          <td class=title align="center" height="50"> <img src="images/systembackup.gif"></td>
          </tr>
        </table>
        <table width="102%" cellpadding=1 cellspacing=1 border=0 align=center>
            <td align="center"> 
              <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center" height="26">
                    <tr height=1> 
                      <td bgcolor="#A7BAE4" height="1" colspan="4"></td>
                    </tr>
                    <tr> 
                      <td bgcolor="#D4DEF4" valign="top"> 
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" height="26">
                          <tr> 
                            <td width="30">&nbsp;</td>
                            <td width="160">目前共有<font class="picknum"><b><%=rs.recordcount %></b></font>个备份</td>
                            <td>&nbsp;</td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                    <tr height=1> 
                      <td bgcolor="#A7BAE4" height="1" colspan="4"></td>
                    </tr>
                  </table>
                  <table width="90%" border="0" cellspacing="0" align="center" cellpadding="0">
                    <tr bgcolor="#E7ECF7"> 
                      <td height="26" width="31%" align="center">备 份 描 述:</td>
                      <td height="26" width="17%" align="center">服 务 器:</td>
                      <td height="26" width="33%" align="center">备 份 位 置:</td>
                      <td height="26" width="19%" align="center">备份时间:</td>
                    </tr>
                    <%if rs.eof then %>
                    <tr height="1"> 
                      <td bgcolor="#ffffff" colspan="5"><img src="images/spacer.gif" width="1" height="1"></td>
                    </tr>
                    <tr bgcolor="#F5FAFD"> 
                      
                  <td height="26" colspan="5" class="f6wait" align="center">目前您还没有对SQL数据库进行备份</td>
                    </tr>
                    <tr height="1"> 
                      <td bgcolor="#D6E1F8" colspan="5"><img src="images/spacer.gif" width="1" height="1"></td>
                    </tr>
                    <%
		  else
		   while not rs.eof
				   %>
                    <tr height="1"> 
                      <td bgcolor="#ffffff" colspan="5"><img src="images/spacer.gif" width="1" height="1"></td>
                    </tr>
                    <tr bgcolor="#F5FAFD"> 
                      <td height="26" width="31%" align="center"><%=rs("discript")%></td>
                      <td height="26" width="17%" align="center"><%=rs("server")%></td>
                      <td height="26" width="33%" align="center"><%=rs("sqlpath")%></td>
                      <td height="26" width="19%" align="center"><%=rs("backuptime")%> 
                      </td>
                    </tr>
                    <tr height="1"> 
                      <td bgcolor="#D6E1F8" colspan="4"><img src="images/spacer.gif" width="1" height="1"></td>
                    </tr>
                    <%rs.movenext
		  wend
		  end if
		  %>
                  </table>
                  <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center" height="26">
                    <tr height=1> 
                      <td bgcolor="#A7BAE4" height="1" colspan="4"></td>
                    </tr>
                    <tr> 
                      <td bgcolor="#D4DEF4" align="center">备 份 描 述: 
                        <input id=txtto name=discript class="boxinput">
                        
                    <input name=backup type="image" value="开始备份" onClick="return checkbackupdb();return false;" src="images/backgif.gif" alt="开始备份">
                        <input  type="image" name="send2" value=" 返 回 " onClick="document.location='system.asp';return false;" src="images/fanhuigif.gif" alt="返回">
                      </td>
                    </tr>
                    <tr height=1> 
                      <td bgcolor="#A7BAE4" height="1" colspan="4"></td>
                    </tr>
                  </table>
                  <table width="60%" border="0" cellspacing="0" cellpadding="0" align="center" height="40">
                    <tr> 
                      <td > 
                        
                    <div align="center" class="9blue">注:在备份数据库之间要确保系统参数设置正确,且数据库用户具有备份数据库的权限。</div>
                      </td>
                    </tr>
                  </table>
                  
                </td>
              </tr>
              <tr> 
                <td class=TD_Mand_FN align="center" height="35"> 
                  <div align="center"></div>
                </td>
              </tr>
            </table>
          </form>
    </td>
    
  </tr>
 
</table>

<!--#include file="close.asp"-->
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -