<?php
if (!defined('IN_59MIAO'))
{
	exit('Access Defined');
} 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>欢迎使用59秒网络科技环境测试程序-安装向导，第三步,账号设置</title>
<META content="59秒网络科技购物导航LSV" name=keywords>
<META content="59秒网络科技购物导航LSV" name=description>
<link rel="stylesheet" type="text/css" href="template/css/login.css">
<style type="text/css">
.lable tr td input{
	width:240px;
	height:22px;
	line-height:22px;
}
.lable h2
{
	color:#6CA1B4;
	padding:10px 0px;
}
</style>
</head>
<body>
<div id="login">
<table>
<tr>
	<TD><h1><A HREF="#">安装向导第三步,账号设置</A></h1></TD>
	<TD><h1 style="color:#6CA1B4;font-size:36px;">3. 账号设置</h1></TD>
</tr>
</table>
   <form action="index.php?step=4" method="post" id="form" name="dbform">	
			

	<div class="lable">
	<h2>填写数据库信息:</h2>
	
    	<table width="100%" cellspacing="1" cellpadding="0" >
    		<tr>
				<th width="20%">数据库主机名称：</th>
				<td>
				<input name="dbhost" type="text" id="dbhost" value="localhost" onblur="check_dbhost(this.value)"/><span id="check_dbhost"></span>
				</td>				
			</tr>
			<tr>
				<th width="20%">数据库用户名：</th>
				<td>
				<input name="dbuser" type="text" id="dbuser" value="root" onblur="check_dbuser(this.value)"/><span id="check_dbuser"></span>
				</td>				
			</tr>
			<tr>
				<th width="20%">数据库密码：</th>
				<td>
				<input name="dbpassword" type="password" id="dbpassword" value="" onblur="check_dbpassword(this.value)"/><span id="check_dbpassword"></span>
				</td>				
			</tr>
			<tr>
				<th width="20%">数据库名：</th>
				<td>
				<input name="dbname" type="text" id="dbname" value="59miao" onblur="check_dbname(this.value)"/><span id="check_dbname"></span>
				</td>				
			</tr>					
			<tr>
				<th align="right">数据表前缀：</th>
				<td><input name="tablepre" type="text" id="tablepre" value="mall_" onblur="check_tablepre(this.value)"/><span id="check_tablepre"></span></td>
			</tr>
			</table>
    </div>



	<div class="lable"><h2>填写账号信息:</h2>
	
    	<table width="100%" cellspacing="1" cellpadding="0">
			  <tr>
				<th width="20%" align="right">超级管理员帐号：</th>
				<td><input name="username" type="text" id="username" value="admin" onblur="check_user(this.value)" /><span id="check_username"></span></td>
			  </tr>
			  <tr>
				<th align="right">管理员密码：</th>
				<td><input name="password" type="password" id="password" onblur="check_pass1(this.value)" /><span id="check_password"></span></td>
			  </tr>
			  <tr>
				<th align="right">确认密码：</th>
				<td><input name="pwdconfirm" type="password" id="pwdconfirm" onblur="check_pass2()" /><span id="check_pwdconfirm"></span></td>
			  </tr>
			</table>
    </div>
                <p class="submit">
		<input type="button" value="上一步" onclick="location.href='index.php?agree=1&step=2'">
		<input type="submit" class="btn" tabindex="100" value="下一步" id="wp-submit" name="wp-submit">
	          </p>
			</form>
</div>
<script type="text/javascript" src="template/js/jquery.js"></script>
<script type="text/javascript" src="template/js/check.js"></script>
</body></html>