You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
2.6 KiB
78 lines
2.6 KiB
8 months ago
|
<!doctype html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8"/>
|
||
|
<title>安装详细过程 - Powered by CRMEB </title>
|
||
|
<link rel="stylesheet" href="/install/css/install.css?v=9.0"/>
|
||
|
<script src="/install/js/jquery.js?v=9.0"></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="wrap">
|
||
|
<div class="header">
|
||
|
<h1 class="logo">logo</h1>
|
||
|
<div class="icon_install">安装向导</div>
|
||
|
<div class="version"></div>
|
||
|
</div>
|
||
|
<section class="section">
|
||
|
<div class="step">
|
||
|
<ul>
|
||
|
<li class="on"><em>1</em>检测环境</li>
|
||
|
<li class="on"><em>2</em>创建数据</li>
|
||
|
<li class="current"><em>3</em>完成安装</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="install" id="log">
|
||
|
<ul id="loginner">
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="bottom tac"><a href="javascript:;" class="btn_old"><img src="/install/images/install/loading.gif" align="absmiddle"/> 正在安装...</a></div>
|
||
|
</section>
|
||
|
<script type="text/javascript">
|
||
|
var n = 0;
|
||
|
var data = <?php echo json_encode($data);?>;
|
||
|
$.ajaxSetup({cache: false});
|
||
|
|
||
|
function reloads(n) {
|
||
|
var url = "/install/perform/" + n;
|
||
|
$.ajax({
|
||
|
type: "POST",
|
||
|
url: url,
|
||
|
data: data,
|
||
|
dataType: 'json',
|
||
|
beforeSend: function () {
|
||
|
},
|
||
|
success: function (msg) {
|
||
|
if(msg.status == 400){
|
||
|
alert(msg.message)
|
||
|
window.location.href = '/install/databases'
|
||
|
}
|
||
|
if (msg.n >= 0) {
|
||
|
var _msg = msg.msg || msg.message || '';
|
||
|
if (_msg !== '') {
|
||
|
$('#loginner').append(_msg)
|
||
|
}
|
||
|
reloads(msg.n);
|
||
|
} else {
|
||
|
$('#dosubmit').attr("disabled", false);
|
||
|
$('#dosubmit').removeAttr("disabled");
|
||
|
$('#dosubmit').removeClass("nonext");
|
||
|
setTimeout('gonext()', 2000);
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
function gonext() {
|
||
|
window.location.href = '/install/end';
|
||
|
}
|
||
|
$(document).ready(function () {
|
||
|
reloads(n);
|
||
|
})
|
||
|
</script>
|
||
|
</div>
|
||
|
<div class="footer"> © 2014-2022 <a href="http://www.crmeb.com" target="_blank">www.crmeb.com</a> 西安众邦网络科技有限公司出品
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|