<!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>优能分类目录网站安装向导</title>
<link href="images/skin.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="main">
	<?php require('header.php'); ?>
	<div class="central">
    	<div id="left">
    		<ul>
				<li>
					<h1>1</h1>
					<div class="left_title">  
						<h2>准备安装</h2>
						<p>欢迎您使用优能分类目录网站内容管理系统！</p>
					</div>
				</li>
				<li>
					<h1>2</h1>
					<div class="left_title">  
						<h2>阅读协议</h2>
						<p>请认真阅读软件使用协议，以免您的利益受到损害！</p>
					</div>
				</li>
				<li>
					<h1 class="install">3</h1>
					<div class="left_title">  
						<h2 class="install">基本设置</h2>
						<p class="install">请设置网站的基本信息进行网站安装！</p>
					</div>
				</li>
				<li>
					<h1>4</h1>
					<div class="left_title">  
						<h2>开始安装</h2>
						<p>开始愉快的网站安装之旅吧！</p>
					</div>
				</li>
			</ul>
		</div>
		<div class="right">
			<form action="install.php" method="post" name="form" id="form">
            	<div class="right_title">数据库设置</div> 
            	<div style="font-size: 14px; line-height: 25px; padding: 20px 0; text-align: left;">
				<table class="data_set">
					<tr><th colspan="3"></th></tr>
					<tr>
                    	<td width="14%">数据库类型：</td>
                    	<td width="37%"><input type="text" class="setup_input" name="DB_TYPE" value="mysql"  disabled="disabled" /></td>
                    	<td width="49%" class="lightcolor">数据库类型，不需要修改 </td>
					</tr>
					<tr>
					<tr><th colspan="3"></th></tr>
                    	<td width="14%">数据库地址：</td>
                    	<td width="37%"><input type="text" class="setup_input" name="DB_HOST" value="localhost" /></td>
                    	<td width="49%" class="lightcolor">数据库服务器地址，一般为localhost </td>
					</tr>
					<tr><th colspan="3"></th></tr>
					<tr>
					<tr><th colspan="3"></th></tr>
                    	<td width="14%">数据库端口：</td>
                    	<td width="37%"><input type="text" class="setup_input" name="DB_PORT" value="3306" /></td>
                    	<td width="49%" class="lightcolor">数据库端口，一般为3306 </td>
					</tr>
					<tr><th colspan="3"></th></tr>
					<tr>
						<td>数据库名称：</td>
                    	<td><input type="text" class="setup_input" name="DB_NAME" value="youneng" /></td>
                    	<td class="lightcolor">请先建立数据库</td>
					</tr>
					<tr><th height="13" colspan="3"></th></tr>
					<tr>
                    	<td>数据库账号：</td>
                    	<td><input type="text" class="setup_input" name="DB_USER" value="root" /></td>
                    	<td class="lightcolor">您的MySQL 用户名 </td>
					</tr>
					<tr><th colspan="3"></th></tr>
					<tr>
                    	<td>数据库密码：</td>
                    	<td><input type="password" class="setup_input" name="DB_PASS" value="" /></td>
                    	<td class="lightcolor">您的MySQL密码</td>
					</tr>
					<tr><th colspan="3"></th></tr>
					<tr>
						<td>数据表前缀：</td>
                    	<td><input type="text" class="setup_input" name="TABLE_PREFIX" value="yn_" /></td>
                    	<td class="lightcolor">同一数据库安装多个程序请设置前缀</td>
					</tr>
					<tr><th colspan="3"></th></tr>
				</table>
                </div>
                <div class="right_title">帐号设置</div> 
                <div style="font-size: 14px; line-height: 25px; padding: 20px 0; text-align: left;">
				<table class="data_set">
					<tr><th colspan="3"></th></tr>
					<tr>
						<td width="14%">电子邮箱：</td>
                    	<td width="37%"><input type="text" class="setup_input" name="email" value="admin@admin.com" /></td>
                    	<td width="49%" class="lightcolor">管理员帐号，格式为admin@admin.com</td>
					</tr>
					<tr><th height="13" colspan="3"></th></tr>
					<tr>
                    	<td width="14%">登录密码：</td>
                    	<td width="37%"><input type="text" class="setup_input" name="pass" value="yn123456" /></td>
                    	<td width="49%" class="lightcolor">登录密码</td>
					</tr>
                </table>
                </div>
				<div class="agree"  align="center">
				<input type="submit" class="button" hidefocus="true" value="马上开始安装！" />
                </div>
			</form>
		</div>
	</div>
</div>
<?php require('footer.php'); ?>
</body>
</html>