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.

step5.html 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>{$title|default=''} - {$powered|default=''}</title>
  6. <link rel="stylesheet" href="css/install.css" />
  7. <script src="js/jquery.js"></script>
  8. </head>
  9. <body>
  10. <div class="wrap">
  11. <div class="header">
  12. <h1 class="logo">logo</h1>
  13. <div class="icon_install">安装向导</div>
  14. <div class="version"></div>
  15. </div>
  16. <section class="section">
  17. <div class="">
  18. <div class="success_tip cc"> <a href="/admin" class="f16 b">安装完成,进入后台管理</a>
  19. <p>为了您站点的安全,安装完成后即可将网站根目录下的“install”文件夹下的所有文件删除,<span style="color: red">除install.lock文件外</span>防止重复安装。<p>
  20. </div>
  21. <div class="bottom tac">
  22. <a href="/" class="btn">进入前台</a>
  23. <a href="/admin" class="btn btn_submit J_install_btn">进入后台</a>
  24. </div>
  25. <div class=""> </div>
  26. </div>
  27. </section>
  28. </div>
  29. <script>
  30. $(function(){
  31. $.ajax({
  32. type: "POST",
  33. url: "",//???
  34. header:{
  35. 'Access-Control-Allow-Origin':'*',
  36. 'Access-Control-Allow-Headers':'X-Requested-With',
  37. 'Access-Control-Allow-Methods':'PUT,POST,GET,DELETE,OPTIONS'
  38. },
  39. data: {
  40. host:'<?php echo $host;?>',
  41. https:'<?php echo "http://".$host;?>',
  42. version:'<?php echo $version;?>',
  43. ip:<?php echo json_encode($ip);?>
  44. },
  45. dataType: 'json',
  46. success: function(){}
  47. });
  48. });
  49. </script>
  50. </body>
  51. </html>