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.
69 lines
1.9 KiB
69 lines
1.9 KiB
10 months ago
|
<!doctype html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8" />
|
||
|
<title><?php echo $Title; ?> - <?php echo $Powered; ?></title>
|
||
|
<link rel="stylesheet" href="./css/install.css?v=9.0" />
|
||
|
<script src="js/jquery.js"></script>
|
||
|
<link rel="stylesheet" href="./css/step5.css"/>
|
||
|
|
||
|
<?php
|
||
|
$uri = $_SERVER['REQUEST_URI'];
|
||
|
$root = substr($uri, 0,strpos($uri, "install"));
|
||
|
$admin = $root."../index.php/admin/index/";
|
||
|
$host = $_SERVER['HTTP_HOST'];
|
||
|
?>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="wrap">
|
||
|
<div class="title">
|
||
|
安装完成
|
||
|
</div>
|
||
|
|
||
|
<section class="section">
|
||
|
<div class="title">
|
||
|
<img src="./images/install/success.png" alt="">
|
||
|
<h1>安装成功</h1>
|
||
|
</div>
|
||
|
<div class="progress">
|
||
|
<div class="trip p8">
|
||
|
为了您站点的安全,安装完成后即可将网站根目录下的“install”文件夹下的所有文件删除,防止重复安装。
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="bottom-btn">
|
||
|
<div class="pre btn">
|
||
|
<a href="<?php echo 'http://'.$host;?>" class="btn mid">进入前台</a>
|
||
|
</div>
|
||
|
<div class="admin btn">
|
||
|
<a href="<?php echo 'http://'.$host;?>/admin" class="btn btn_submit J_install_btn mid">进入后台</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</section>
|
||
|
</div>
|
||
|
<?php require './templates/footer.php';?>
|
||
|
<script>
|
||
|
$(function(){
|
||
|
$.ajax({
|
||
|
type: "POST",
|
||
|
url: "http://shop.crmeb.net/index.php/admin/server.upgrade_api/updatewebinfo",
|
||
|
header:{
|
||
|
'Access-Control-Allow-Origin':'*',
|
||
|
'Access-Control-Allow-Headers':'X-Requested-With',
|
||
|
'Access-Control-Allow-Methods':'PUT,POST,GET,DELETE,OPTIONS'
|
||
|
},
|
||
|
data: {
|
||
|
host:'<?php echo $host;?>',
|
||
|
https:'<?php echo 'http://'.$host;?>',
|
||
|
version:'<?php echo $version;?>',
|
||
|
version_code:'<?php echo $platform;?>',
|
||
|
ip:<?php echo json_encode($ip);?>
|
||
|
},
|
||
|
dataType: 'json',
|
||
|
success: function(){}
|
||
|
});
|
||
|
});
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|