<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>安装程序 - DedeCMSV6 - DedeBIZ技术支持 </title> <link rel="stylesheet" href="../static/css/bootstrap.min.css"> <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet"> <script src="../static/js/jquery.min.js"></script> <script src="../static/js/popper.min.js"></script> <script src="../static/js/bootstrap.bundle.js"></script> <script src="../static/js/dede.js"></script> </head> <body> <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"> <h5 class="my-0 mr-md-auto font-weight-normal text-success">DedeCMSV6安装程序</h5> <nav class="my-2 my-md-0 mr-md-3"> <a class="p-2 text-dark" href="https://www.dedebiz.com/git" target="_blank">代码托管</a> <a class="p-2 text-dark" href="https://www.dedebiz.com/help" target="_blank">帮助中心</a> <a class="p-2 text-dark" href="https://www.dedebiz.com/service" target="_blank">技术服务</a> </nav> </div> <main class="container"> <?php if(count($arrMsg) > 0){ foreach($arrMsg as $msg){ ?> <div class="alert alert-warning" role="alert"> <?php echo $msg ?> </div> <?php } } ?> <div class="card mb-4 shadow-sm"> <div class="card-header"> <h4 class="my-0 fw-normal text-center">首次运行安装包</h4> </div> <div class="card-body"> <form> <input type="hidden" name="cookieencode" value="<?php echo $rnd_cookieEncode; ?>"> <input type="hidden" name="adminmail" value="admin@dedebiz.com"> <legend>数据库设置</legend> <hr> <div class="mb-3"> <label for="dbtype" class="form-label">数据库类型</label> <select id="dbtype" name="dbtype" class="form-control form-select"> <option value="mysql" selected>MySQL</option> <option value="sqlite">SQLite</option> </select> <div class="form-text text-muted">一般为MySQL,SQLite仅用于开发调试不建议生产中使用</div> </div> <div class="mb-3"> <label for="dbhost" class="form-label">数据库主机</label> <input id="dbhost" name="dbhost" type="text" class="form-control" placeholder="localhost"> </div> <div class="mb-3"> <label for="dbuser" class="form-label">数据库用户</label> <input name="dbuser" id="dbuser" type="text" class="form-control" placeholder="root"> </div> <div class="mb-3"> <label for="exampleInputPassword1" class="form-label">数据库密码</label> <input name="dbpwd" type="text" class="form-control" id="dbpwd" placeholder=""> </div> <div class="mb-3"> <label for="dbprefix" class="form-label">数据表前缀</label> <input name="dbprefix" type="text" class="form-control" id="dbprefix" placeholder="dede_"> </div> <div class="mb-3"> <label for="dbname" class="form-label">数据库名称</label> <input name="dbname" type="text" class="form-control" id="dbname" placeholder="dedecmsv6"> </div> <legend>站点设置</legend> <hr> <div class="mb-3"> <label for="adminuser" class="form-label">用户名</label> <input name="adminuser" type="text" class="form-control" id="adminuser" placeholder="admin"> <div class="form-text text-muted">只能用'0-9'、'a-z'、'A-Z'、'.'、'@'、'_'、'-'、'!'以内范围的字符</div> </div> <div class="mb-3"> <label for="adminpwd" class="form-label">密码</label> <input name="adminpwd" type="text" class="form-control" id="adminpwd" placeholder="admin"> </div> <div class="mb-3"> <label for="webname" class="form-label">网站名称</label> <input name="webname" type="text" class="form-control" id="webname" placeholder="我的网站"> </div> <div class="mb-3"> <label for="baseurl" class="form-label">网站网址</label> <input name="baseurl" type="text" class="form-control" id="baseurl" placeholder="<?php echo $baseurl; ?>"> </div> <div class="mb-3"> <label for="cmspath" class="form-label">安装目录</label> <input name="cmspath" type="text" class="form-control" id="cmspath" placeholder="<?php echo $basepath; ?>"> <div class="form-text text-muted">在根目录安装时不必理会</div> </div> <button type="submit" class="btn btn-success">立即安装</button> <span class="ml-2">安装即表示你同意<a href="https://www.dedebiz.com/license" target="_blank">站点授权协议</a></span> </form> </div> </div> <footer> <div class="row"> <div class="col-12 col-md"> <p class="d-block mb-3 text-muted">© 2021 <a href="https://www.dedebiz.com" target="_blank" title="DedeBIZ商业技术支持,提供更专业强大的站点应用开发技术">DedeBIZ技术支持</a></p> </div> </div> </footer> </main> </body> </html>