mirror of
https://github.com/crmeb/CRMEB.git
synced 2025-12-20 17:42:59 +00:00
43 lines
1.4 KiB
PHP
43 lines
1.4 KiB
PHP
<!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>
|
||
<?php
|
||
$uri = $_SERVER['REQUEST_URI'];
|
||
$root = substr($uri, 0,strpos($uri, "install"));
|
||
$admin = $root."../index.php/Admin/admin/";
|
||
?>
|
||
</head>
|
||
<body>
|
||
<div class="wrap">
|
||
<?php require './templates/header.php';?>
|
||
<section class="section">
|
||
<div class="">
|
||
<div class="success_tip cc"> <a href="<?php echo $admin;?>" class="f16 b">安装完成,进入后台管理</a>
|
||
<p>为了您站点的安全,安装完成后即可将网站根目录下的“install”文件夹删除,或者/install/目录下创建install.lock文件防止重复安装。<p>
|
||
</div>
|
||
<div class="bottom tac">
|
||
<a href="../index.php/wap/" class="btn">进入前台</a>
|
||
<a href="../index.php//admin/login/index.html" class="btn btn_submit J_install_btn">进入后台</a>
|
||
</div>
|
||
<div class=""> </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",
|
||
data: {host:'<?php echo $host;?>',https:'<?php echo 'http://'.$host;?>',version:'v2.0',ip:'<?php echo $_SERVER[HTTP_CLIENT_IP];?>'},
|
||
dataType: 'json',
|
||
success: function(){}
|
||
});
|
||
});
|
||
</script>
|
||
</body>
|
||
</html>
|