<form name="f1" method="post" action="?step=install">
<div class="block-title">检测数据库连接</div>
<div class="block-summary">根据填写的配置参数判断是否能正常连接到Mysql服务器，并写入配置文件。</div>
<div class="block-content">{?if $link_status == 1?}<span class="span-green">{?$step_content?}</span>{?else?}<span class="span-red">{?$step_content?}</span>{?/if?}{?if $modadmin == 2?}<br><span class="span-blue">修改admin目录失败，可能没有修改权限，请登录后台设置后手动修改</span>{?/if?}</div>
<div class="block-menu">
	<input type="button" name="bt0" value="返回安装首页" class="button" onclick="window.location='index.php';"><span class="span-space"></span>	
	<input type="button" name="bt1" value="重新配置" class="button" onclick="history.go(-1);">
	<input type="submit" name="bt2" value="下一步" {?if $link_status == 0?}class="button-off" disabled{?else?}class="button"{?/if?}>
</div>
</form>