代码拉取完成,页面将自动刷新
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>备份数据库</title>
<script type="text/javascript">
var xmlHttp;
function setXmlHttpRequest()
{
if(window.ActiveXObject)
{
xmlHttp = new ActiveXObject('Microsoft.XMLHTTP');
}
else if(window.XMLHttpRequest)
{
xmlHttp = new XMLHttpRequest();
}
}
function ajaxFun(url,funName)
{
setXmlHttpRequest();
url = encodeURI(url);
xmlHttp.open("GET",url,true);
xmlHttp.onreadystatechange = funName;
xmlHttp.send(null);
}
function bakup()
{
var url = "admin_core/control.php?action=restore";
ajaxFun(url,returnFun);
}
function returnFun()
{
if(xmlHttp.readyState == 4)
{
if(xmlHttp.status == 200)
{
var content = xmlHttp.responseText;
if(content=="success")
{
document.getElementById('bak').innerHTML="<img src=\"images/success.gif\" title=\"还原成功.....\" /><br />还原成功!";
}
}
}
}
</script>
</head>
<body style="font-size: 13px; color:#666; font-weight:bold;" onLoad="bakup()">
<center>
<div style="width:100%; height:100px;">
</div>
<span id="bak">
<img src="images/loading.gif" title="恢复中....." /><br />
正在恢复中......</span>
</center>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。