国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
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.

124 lines
5.1KB

  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>安装程序 - DedeCMSV6 - DedeBIZ技术支持
  7. </title>
  8. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  9. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  10. <script src="../static/js/jquery.min.js"></script>
  11. <script src="../static/js/popper.min.js"></script>
  12. <script src="../static/js/bootstrap.bundle.js"></script>
  13. <script src="../static/js/dede.js"></script>
  14. </head>
  15. <body>
  16. <div class="d-flex flex-column flex-md-row align-items-center p-3 px-md-4 mb-3 bg-white border-bottom shadow-sm">
  17. <h5 class="my-0 mr-md-auto font-weight-normal text-success">DedeCMSV6安装程序</h5>
  18. <nav class="my-2 my-md-0 mr-md-3">
  19. <a class="p-2 text-dark" href="https://www.dedebiz.com/git" target="_blank">代码托管</a>
  20. <a class="p-2 text-dark" href="https://www.dedebiz.com/help" target="_blank">帮助中心</a>
  21. <a class="p-2 text-dark" href="https://www.dedebiz.com/service" target="_blank">技术服务</a>
  22. </nav>
  23. </div>
  24. <main class="container">
  25. <?php
  26. if(count($arrMsg) > 0){
  27. foreach($arrMsg as $msg){
  28. ?>
  29. <div class="alert alert-warning" role="alert">
  30. <?php echo $msg ?>
  31. </div>
  32. <?php
  33. }
  34. }
  35. ?>
  36. <div class="card mb-4 shadow-sm">
  37. <div class="card-header">
  38. <h4 class="my-0 fw-normal text-center">首次运行安装包</h4>
  39. </div>
  40. <div class="card-body">
  41. <form>
  42. <input type="hidden" name="cookieencode" value="<?php echo $rnd_cookieEncode; ?>">
  43. <input type="hidden" name="adminmail" value="admin@dedebiz.com">
  44. <legend>数据库设置</legend>
  45. <hr>
  46. <div class="mb-3">
  47. <label for="dbtype" class="form-label">数据库类型</label>
  48. <select id="dbtype" name="dbtype" class="form-control form-select">
  49. <option value="mysql" selected>MySQL</option>
  50. <option value="sqlite">SQLite</option>
  51. </select>
  52. <div class="form-text text-muted">一般为MySQL,SQLite仅用于开发调试不建议生产中使用</div>
  53. </div>
  54. <div class="mb-3">
  55. <label for="dbhost" class="form-label">数据库主机</label>
  56. <input id="dbhost" name="dbhost" type="text" class="form-control" placeholder="localhost">
  57. </div>
  58. <div class="mb-3">
  59. <label for="dbuser" class="form-label">数据库用户</label>
  60. <input name="dbuser" id="dbuser" type="text" class="form-control" placeholder="root">
  61. </div>
  62. <div class="mb-3">
  63. <label for="exampleInputPassword1" class="form-label">数据库密码</label>
  64. <input name="dbpwd" type="text" class="form-control" id="dbpwd" placeholder="">
  65. </div>
  66. <div class="mb-3">
  67. <label for="dbprefix" class="form-label">数据表前缀</label>
  68. <input name="dbprefix" type="text" class="form-control" id="dbprefix" placeholder="dede_">
  69. </div>
  70. <div class="mb-3">
  71. <label for="dbname" class="form-label">数据库名称</label>
  72. <input name="dbname" type="text" class="form-control" id="dbname" placeholder="dedecmsv6">
  73. </div>
  74. <legend>站点设置</legend>
  75. <hr>
  76. <div class="mb-3">
  77. <label for="adminuser" class="form-label">用户名</label>
  78. <input name="adminuser" type="text" class="form-control" id="adminuser" placeholder="admin">
  79. <div class="form-text text-muted">只能用'0-9'、'a-z'、'A-Z'、'.'、'@'、'_'、'-'、'!'以内范围的字符</div>
  80. </div>
  81. <div class="mb-3">
  82. <label for="adminpwd" class="form-label">密码</label>
  83. <input name="adminpwd" type="text" class="form-control" id="adminpwd" placeholder="admin">
  84. </div>
  85. <div class="mb-3">
  86. <label for="webname" class="form-label">网站名称</label>
  87. <input name="webname" type="text" class="form-control" id="webname" placeholder="我的网站">
  88. </div>
  89. <div class="mb-3">
  90. <label for="baseurl" class="form-label">网站网址</label>
  91. <input name="baseurl" type="text" class="form-control" id="baseurl" placeholder="<?php echo $baseurl; ?>">
  92. </div>
  93. <div class="mb-3">
  94. <label for="cmspath" class="form-label">安装目录</label>
  95. <input name="cmspath" type="text" class="form-control" id="cmspath" placeholder="<?php echo $basepath; ?>">
  96. <div class="form-text text-muted">在根目录安装时不必理会</div>
  97. </div>
  98. <button type="submit" class="btn btn-success">立即安装</button> <span class="ml-2">安装即表示你同意<a href="https://www.dedebiz.com/license" target="_blank">站点授权协议</a></span>
  99. </form>
  100. </div>
  101. </div>
  102. <footer>
  103. <div class="row">
  104. <div class="col-12 col-md">
  105. <p class="d-block mb-3 text-muted">© 2021 <a href="https://www.dedebiz.com" target="_blank" title="DedeBIZ商业技术支持,提供更专业强大的站点应用开发技术">DedeBIZ技术支持</a></p>
  106. </div>
  107. </div>
  108. </footer>
  109. </main>
  110. </body>
  111. </html>