Files
sentcms/application/install/view/index/config.html
2016-07-31 14:17:51 +08:00

164 lines
3.2 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{extend name="public/base"/}
{block name="body"}
<h2 class="text-center">
创建数据库
</h2>
<form method="post" target="_self">
<div class="create-database">
<h2>
数据库连接信息
</h2>
<table class="table-hover table">
<tr>
<td>
<select class="form-control" name="db[]">
<option>
mysql
</option>
<option>
mysqli
</option>
</select>
</td>
<td>
数据库连接类型服务器支持的情况下建议使用mysql
</td>
</tr>
<tr>
<td>
<input class="form-control" name="db[]" type="text" value="127.0.0.1">
</input>
</td>
<td>
<span>
数据库服务器数据库服务器IP一般为127.0.0.1使用localhost可能导致网站速度变慢
</span>
</td>
</tr>
<tr>
<td>
<input class="form-control" name="db[]" type="text" value="">
</input>
</td>
<td>
<span>
数据库名
</span>
</td>
</tr>
<tr>
<td>
<input class="form-control" name="db[]" type="text" value="">
</input>
</td>
<td>
<span>
数据库用户名
</span>
</td>
</tr>
<tr>
<td>
<input class="form-control" name="db[]" type="password" value="">
</input>
</td>
<td>
<span>
数据库密码
</span>
</td>
</tr>
<tr>
<td>
<input class="form-control" name="db[]" type="text" value="3306">
</input>
</td>
<td>
<span>
数据库端口数据库服务连接端口一般为3306
</span>
</td>
</tr>
<tr>
<td>
<input class="form-control" name="db[]" type="text" value="sent_" class="form-control">
</input>
</td>
<td>
<span>
数据表前缀,同一个数据库运行多个系统时请修改为不同的前缀
</span>
</td>
</tr>
</table>
</div>
<div class="create-database">
<h2>
创始人帐号信息
</h2>
<table class="table-hover table">
<tr>
<td>
<input class="form-control" name="admin[]" type="text" value="admin">
</input>
</td>
<td>
<span>
用户名(
<span class="text-danger">
英文+数字,严禁中文与特殊字符
</span>
)
</span>
</td>
</tr>
<tr>
<td>
<input class="form-control" name="admin[]" type="password" value="">
</input>
</td>
<td>
<span>
密码
</span>
</td>
</tr>
<tr>
<td>
<input class="form-control" name="admin[]" type="password" value="">
</input>
</td>
<td>
<span>
确认密码
</span>
</td>
</tr>
<tr>
<td>
<input class="form-control" name="admin[]" type="text" value="admin@admin.com">
</input>
</td>
<td>
<span>
邮箱,请填写正确的邮箱便于收取提醒邮件
</span>
</td>
</tr>
</table>
<div>
</div>
</div>
</form>
{/block}
{block name="footer"}
<div class="text-center">
<button class="btn btn-primary" id="submit" onclick="$('form').submit();return false;" type="button">
下一步
</button>
<a class="btn btn-default" href="{:url('install/index/check')}">
上一步
</a>
</div>
{/block}