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

📄 mdb_restore.asp

📁 很好的企业网站管理系统!可以适应各种不同的小型企业!
💻 ASP
字号:

<%Admin="SysMdbCR"%>
<!--#include file="check.asp"-->
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta copy="程序制作:xoyu(QQ:5964887)www.xoyu.com">
<title>■管理中心 - 晓宇听幽 网站内容管理系统</title>
<link rel="stylesheet" href="admin.css" type="text/css">
</head>
<body>
<div align="center">
  <center>
<%
'#################################################################
'#  晓宇听幽网站内容管理系统(xoYu CMS)
'# 
'#  版权所有: 晓宇听幽工作室
'#
'#  制作人  :  xoyu(晓宇)            
'#           
'#  主页地址: http://www.xoYu.com	    晓宇听幽工作室
'#  论坛地址: http://www.xoYu.com/bbs/	晓宇听幽讨论区
'#
'#【版权声明】
'#################################################################
'# 本软体为共享软体(shareware)提供个人网站免费使用,请勿非法修改,
'# 转载,散播,或用于其他图利行为,并请勿删除版权声明。
'# 如果您的网站正式起用了这个脚本,请您通知我们,以便我们能够知晓!
'# 如果可能,请在您的网站做上我们的链接,希望能给予合作。谢谢!
'#################################################################
'# 程序名称:晓宇听幽网站内容管理系统·网站内容管理系统
'# 英文名称:xoYu News 2004 Professional For xoYu CMS
'# 程序创建时间:2003-7-10
'# 程序完成时间:2003-9-11
'# 最后修改时间:2003-11-15
'#################################################################
'# 请您尊重我们的劳动和版权,不要删除以上的版权声明部分,谢谢合作
'# 如有任何问题请到我们的论坛(http://www.xoyu.com/bbs/)告诉我们。 
'#################################################################
if request("type")="save" then
xoYuStudioMDBname=request("xoYuStudioMDBname")
xoYuStudioMDBnameNew=request("xoYuStudioMDBnameNew")
if xoYuStudioMDBname="" or xoYuStudioMDBnameNew="" then
  xoYuStudioMsg="错误:数据库名不能为空."
end if
if xoYuStudioMDBname=xoYuStudioMDBnameNew then
  xoYuStudioMsg="错误:文件名相同."
end if
if xoYuStudioMsg="" then
Set fs=Server.CreateObject("Scripting.FileSystemObject")
If fs.FileExists(Server.MapPath("data_backup\"&xoYuStudioMDBname&".asp")) Then
fs.CopyFile Server.MapPath("data_backup\"&xoYuStudioMDBname&".asp"),Server.MapPath("data\"&xoYuStudioMDBnameNew&".asp")
xoYuStudioMsg="成功:成功恢复数据!"
Set fs=nothing
else
xoYuStudioMsg="错误:无备份数据库文件!"
end if
end if
%>
<table width="380" border="0" cellspacing="1" cellpadding="3"  align=center class="tableBorder">
  <tr>
    <td width="100%" class=forumrow><font color="#FF0000">·</font><%=xoYuStudioMsg%> 时间:<%=Now()%></td>
  </tr>
</table>
<%end if%>
<table width="380" border="0" cellspacing="1" cellpadding="3"  align=center class="tableBorder">
    <tr>
      <th width="100%"><b>恢复数据</b></th>
    </tr>
    <tr>
      <td width="100%" class=forumrow>      
      <font color="#FF0000">·&quot;备份数据库&quot;为默认文件名,如你备份的数据库名不是这个请更改.</font><font color="#808080"><br>
      </font>      
      <font color="#FF0000">·恢复的数据将会覆盖当前使用中的数据库</font><font color="#808080">.</font></td>
    </tr>
    </tr>
    <!--#include file="mdb_path_info_name.asp"-->
    <form action="mdb_restore.asp?type=save&xoYuStudioMDBnameNew=<%=MDBname%>" method="post">
    <tr>
      <td width="100%" class=forumHeaderBackgroundAlternate>      
      <b>文章数据恢复</b></td>
    </tr>
    <tr>
      <td width="100%" class=forumrow>      
      备份数据库      
      <input name="xoYuStudioMDBname" value="<%=MDBname%>_backup" size="20" style="border-style: solid; border-width: 1">.asp</td>
    </tr>
    <tr>
      <td width="100%" class=forumrow>      
      目标数据库      
      <input disabled name="xoYuStudioMDBnameNew" value="<%=MDBname%>" size="20" style="border-style: solid; border-width: 1">.asp</td>
    </tr>
    <tr>
      <td width="100%" class=forumrow>      
      <p align="center">      
      <input name="b1" type="submit" value="恢复数据"></p>
     </td>
     </form>
    </tr>
    <!--#include file="mdb_path_user_name.asp"-->
    <form action="mdb_restore.asp?type=save&xoYuStudioMDBnameNew=<%=MDBname%>" method="post">
    <tr>
      <td width="100%" class=forumHeaderBackgroundAlternate>      
      <b>用户数据恢复</b></td>
    </tr>
    <tr>
      <td width="100%" class=forumrow>      
      备份数据库      
      <input name="xoYuStudioMDBname" value="<%=MDBname%>_backup" size="20" style="border-style: solid; border-width: 1">.asp</td>
    </tr>
    <tr>
      <td width="100%" class=forumrow>      
      目标数据库      
      <input disabled name="xoYuStudioMDBnameNew" value="<%=MDBname%>" size="20" style="border-style: solid; border-width: 1">.asp</td>
    </tr>
    <tr>
      <td width="100%" class=forumrow>      
      <p align="center">      
      <input name="b1" type="submit" value="恢复数据"></p>
     </td>
     </form>
    </tr>
        <!--#include file="mdb_path_vote_name.asp"-->
    <form action="mdb_restore.asp?type=save&xoYuStudioMDBnameNew=<%=MDBname%>" method="post">
    <tr>
      <td width="100%" class=forumHeaderBackgroundAlternate>      
      <b>投票数据恢复</b></td>
    </tr>
    <tr>
      <td width="100%" class=forumrow>      
      备份数据库      
      <input name="xoYuStudioMDBname" value="<%=MDBname%>_backup" size="20" style="border-style: solid; border-width: 1">.asp</td>
    </tr>
    <tr>
      <td width="100%" class=forumrow>      
      目标数据库      
      <input disabled name="xoYuStudioMDBnameNew" value="<%=MDBname%>" size="20" style="border-style: solid; border-width: 1">.asp</td>
    </tr>
    <tr>
      <td width="100%" class=forumrow>      
      <p align="center">      
      <input name="b1" type="submit" value="恢复数据"></p>
     </td>
     </form>
    </tr>
        <!--#include file="mdb_path_down_name.asp"-->
    <form action="mdb_restore.asp?type=save&xoYuStudioMDBnameNew=<%=MDBname%>" method="post">
    <tr>
      <td width="100%" class=forumHeaderBackgroundAlternate>      
      <b>下载数据恢复</b></td>
    </tr>
    <tr>
      <td width="100%" class=forumrow>      
      备份数据库      
      <input name="xoYuStudioMDBname" value="<%=MDBname%>_backup" size="20" style="border-style: solid; border-width: 1">.asp</td>
    </tr>
    <tr>
      <td width="100%" class=forumrow>      
      目标数据库      
      <input disabled name="xoYuStudioMDBnameNew" value="<%=MDBname%>" size="20" style="border-style: solid; border-width: 1">.asp</td>
    </tr>
    <tr>
      <td width="100%" class=forumrow>      
      <p align="center">      
      <input name="b1" type="submit" value="恢复数据"></p>
     </td>
     </form>
    </tr>
  </table>
  </center>
</div>
</body>
</html>

⌨️ 快捷键说明

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