<!doctype html>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" >
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="Content-Language" content="zh-cn"/>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
<title><?php echo $Title; ?>-<?php echo $Powered; ?></title>
<link rel="stylesheet" href="./css/install.css" />
<script src="/themes/default/js/jquery-1.11.2.min.js"></script>
<?php 
$uri = $_SERVER['REQUEST_URI'];
$root = substr($uri, 0,strpos($uri, "install"));
$admin = $root."../login.php";
?>
</head>
<body>
<div class="wrap">
  <?php require './templates/header.php';?>
  <section class="section">
    <div class="blank10"></div>
    <div class="blank30"></div>
    <div class="go go4"></div>
    <div class="blank10"></div>
    <div class="blank30"></div>
    <div class="">
      <div class="result cc">
        <h1>恭喜您，帮管客CRM已经成功安装完成！</h1>
        <h5>基于安全考虑，安装完成后即可将网站根目录下的“install”文件夹删除！</h5>
      </div>
      <div class="bottom tac">
        <center>
          <a href="/" class="btn_a btn_submit J_install_btn"> 登录系统 </a>
        </center>
      </div>
      <div class=""> </div>
    </div>
  </section>
</div>
<div class="blank30"></div>
<?php require './templates/footer.php';?>
<script>
$(function(){
    $.ajax({
        type: "post",
        url: "<?php echo base64_decode($ajax_url);?>",
        data: {banben:'<?php echo $banben;?>',version:'<?php echo $version;?>',domain:'<?php echo $host;?>',install_time:'<?php echo $time;?>',ip:'<?php echo $ip;?>',phpv:'<?php echo $phpv;?>',web_server:'<?php echo $web_server;?>',rand_str:'<?php echo $rand_str;?>'},
        dataType: 'jsonp',
        jsonp: "callback",//服务端用于接收callback调用的function名的参数 
        success: function(){}
    });
});
</script>
</body>
</html>