<!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">
<!--<?php
print <<<EOT
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>126cms 安装向导</title>
<link rel="stylesheet" href="images/style.css" type="text/css" media="all" />
<script type="text/javascript">
	function $(id) {
		return document.getElementById(id);
	}

	function showmessage(message) {
		document.getElementById('notice').innerHTML += message + '<br />';
	}
</script>
<meta content="126CMS" name="Copyright" />
</head>
<div class="container">
	<div class="header">
		<h1>126CMS 安装向导</h1>
		<span>126CMS 简体中文版 20111010</span>	<div class="setup step2">
		<h2>安装数据库</h2>
		<p>正在执行数据库安装</p>
	</div>
	<div class="stepstat">
		<ul>
			<li class="">检查安装环境</li>
			<li class="current">创建数据库</li>
			<li class="unactivated last">安装</li>
		</ul>
		<div class="stepstatbg stepstat1"></div>
	</div>
</div>
<div class="main"><form method="post" action="index.php">
<input type="hidden" name="step" value="4">
<input type="hidden" name="install_ucenter" value="yes">
<div id="form_items_3" ><br /><div class="desc"><b>填写数据库信息</b></div><table class="tb2">
<tr><th class="tbopt" align="left">&nbsp;数据库服务器:</th>
<td><input type="text" name="dbinfo[dbhost]" value="$dbinfo[dbhost]" size="35" class="txt"></td>
<td>数据库服务器地址, 一般为 localhost</td>
</tr>

<tr><th class="tbopt" align="left">&nbsp;数据库名:</th>
<td><input type="text" name="dbinfo[dbname]" value="$dbinfo[dbname]" size="35" class="txt"></td>
<td></td>
</tr>

<tr><th class="tbopt" align="left">&nbsp;数据库用户名:</th>
<td><input type="text" name="dbinfo[dbuser]" value="$dbinfo[dbuser]" size="35" class="txt"></td>
<td></td>
</tr>

<tr><th class="tbopt" align="left">&nbsp;数据库密码:</th>
<td><input type="text" name="dbinfo[dbpwd]" value="$dbinfo[dbpwd]" size="35" class="txt"></td>
<td></td>
</tr>

<tr><th class="tbopt red" align="left">&nbsp;强制安装:</th>
<td><label><input type="checkbox" name="dbinfo[forceinstall]" value="1"style="border: 0">我要删除数据，强制安装 !!!</label>
</td>
<td><span class="red">当前数据库已存在，继续安装可能会覆盖原有数据，请先备份原数据，或选择强制安装，强制安装会删除旧数据，且无法恢复</span></td>
</tr>

<!--
<tr><th class="tbopt" align="left">&nbsp;数据表前缀:</th>
<td><input type="text" name="dbinfo[tablepre]" value="pre_" size="35" class="txt"></td>
<td>同一数据库运行多个程序时，请修改前缀</td>
</tr>

<tr><th class="tbopt" align="left">&nbsp;系统信箱 Email:</th>
<td><input type="text" name="dbinfo[adminemail]" value="admin@admin.com" size="35" class="txt"></td>
<td>用于发送程序错误报告</td>
</tr>//-->
</table><div class="desc"><b>填写管理员信息</b></div><table class="tb2">
<tr><th class="tbopt" align="left">&nbsp;管理员账号:</th>
<td><input type="text" name="admininfo[userid]" value="$admininfo[userid]" size="35" class="txt"></td>
<td></td>
</tr>

<tr><th class="tbopt" align="left">&nbsp;管理员密码:</th>
<td><input type="password" name="admininfo[pwd]" value="$admininfo[pwd]" size="35" class="txt"></td>
<td>管理员密码不能为空</td>
</tr>

<tr><th class="tbopt" align="left">&nbsp;重复密码:</th>
<td><input type="password" name="admininfo[pwd2]" value="$admininfo[pwd2]" size="35" class="txt"></td>
<td></td>
</tr>

<tr><th class="tbopt" align="left">&nbsp;管理员 Email:</th>
<td><input type="text" name="admininfo[email]" value="$admininfo[email]" size="35" class="txt"></td>
<td></td>
</tr>
</table>
</div><table class="tb2">
<tr><th class="tbopt" align="left">&nbsp;</th>
<td><input type="submit" name="submitname" value="下一步" class="btn">
</td>
<td></td>
</tr>

</table>
</form>
		<div class="footer">&copy;2011 <a href="http://www.126CMS.com/">126CMS</a></div>
	</div>
</div>
</body>
</html>
<!--
EOT;
?>
-->