<form name="form1" method="post" action="{?$next_page?}">
<div class="block-head">{?$step_menu5?}</div>
<!-- 配置网站根路径 -->
<div class="block-title">{?$step_title0?}</div>
<div class="block-summary">{?$step_summary0?}</div>
<div class="block-content">
	<table cellpadding="0" cellspacing="1">
		<tr><td>网站根路径</td></tr>
		<tr><td><input name="local_root" type="text" class="input" onfocus="this.select();" value="{?$local_root?}" size="50"/></td>
		</tr>
	</table>
</div>
<!-- 配置Mysql链接参数 -->
<div class="block-title">{?$step_title1?}</div>
<div class="block-summary">{?$step_summary1?}</div>
<div class="block-content">
	<table cellpadding="0" cellspacing="1">
		<tr><td>主机地址</td></tr>
		<tr><td><input name="mysql_host" type="text" class="input" onfocus="this.select();" value="localhost" size="30" style="width:150px" /></td></tr>
		<tr><td>连接编码</td></tr>
		<tr><td><select class='select'  size='1' name='mysql_charset'>
<option value='gbk' selected='selected'>gbk</option>
<option value='gb2312'>gb2312</option>
<option value='utf8'>utf8</option>
<option value='big5'>big5</option>
<option value='latin1'>latin1</option>
<option value='default'>default</option>
</select></td></tr>
		<tr><td>数据库名称</td></tr>
		<tr><td>
			<input name="mysql_name" type="text" class="input" size="30" style="width:150px" /> 
			<input type="checkbox" name="setup_table" value="yes" onclick="doAlert();" /> 建立数据库
		</td></tr>
		<tr><td>用户名</td></tr>
		<tr><td><input name="mysql_user" type="text" class="input" size="30" style="width:150px" /></td></tr>
		<tr><td>密&nbsp;&nbsp;码</td></tr>
		<tr><td><input name="mysql_pass" type="password" class="input" size="30" style="width:150px" /></td></tr>
	</table>
</div>
<!-- 配置管理员用户 -->
<div class="block-title">{?$step_title2?}</div>
<div class="block-summary">{?$step_summary2?}</div>
<div class="block-content">
	<table cellpadding="0" cellspacing="1">
		<tr><td>管理员账号</td></tr>
		<tr><td><input name="system_user" type="text" class="input" size="30" style="width:150px" /></td></tr>
		<tr><td>管理员密码</td></tr>
		<tr><td><input name="system_pass" type="password" class="input" size="30" style="width:150px" /></td></tr>
		<tr><td>确认管理员密码</td></tr>
		<tr><td><input name="system_pass_confirm" type="password" class="input" size="30" style="width:150px" /></td></tr>
		<tr><td>管理员Email</td></tr>
		<tr><td><input name="system_email" type="text" class="input" size="30" style="width:150px" /></td></tr>
	</table>
</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="submit" name="bt1" value="下一步" class="button" onClick="return checkPass();" />
</div>
</form>
<script language="javascript" src="js/alert.js"></script>