<%@ LANGUAGE="VBSCRIPT" %> <%=ForumName%>--管理页面 <% if not master then Errmsg=Errmsg+"
"+"
  • 本页面为管理员专用,请登陆管理后进入。" call Error() else %> align=center>
    > <%end IF%>
    欢迎<%=session("mastername")%>进入管理页面
    <%call leftmenu()%> > <% fsoflag=1 if fsoflag="1" then dim method method=request.querystring("method") if method="" then %> > <% elseif method="Restore" then Dbpath=request.form("Dbpath") if dbpath="" then response.write "" else Dbpath=server.mappath(Dbpath) end if REM 修改本行中的dvbbs5.mdb文件名为您需要的恢复文件名 Backpath=left(dbpath,instrrev(dbpath,"\",(instrrev(dbpath,"\")-1)))&"Data\dvbbs5.MDB" 'Response.write Backpath Set Fso=server.createobject("scripting.filesystemobject") if fso.fileexists(Backpath) then fso.copyfile Backpath,Dbpath response.write "" else response.write "" end if end if else%> <%end if%>
      恢复论坛数据 | 感谢ra88(barnett@263.net)整理制作( 需要FSO支持,FSO相关帮助请看微软网站 )
      数据库路径(相对):   | 请注意:本功能需要FSO支持
    -----------------------------------------------------------------------------------------
      在上面填写本程序的数据库路径全名,本程序的备份数据库文件为DataBackup\dvbbs_Backup.MDB
      您可以用这个功能来恢复您的程序数据,以保证您的数据安全!
      注意:所有路径都是相对与程序空间根目录的相对路径,本程序默认恢复成的数据库文件名为data/dvbbs5.mdb,修改文件名请自行修改conn.asp和admin_RestoreData.asp文件(安全起见推荐进行修改,程序中有说明)。
  • 请输入您要恢复成的数据库全名
  • 成功恢复数据!
  • 备份目录下并无您的备份文件!
  • 本项功能已经被管理员关闭