<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WebMagiK安装页面</title>
<meta name="keywords" content="<?php echo _conf( 'WEB_SITE_SEO_META_KEYWORD' ) ?>">
<meta name="description" content="<?php echo _conf( 'WEB_SITE_SEO_META_DESCRIP' ) ?>">
<?php echo _conf('WEB_SITE_SEO_HEADER_CODE'); ?>
<link href="res/css/douya.css" rel="stylesheet" type="text/css">
</head>

<body><form action="install.php?i=install_save" method="POST">
<br/>
<table border="0" width="98%" id="table1" cellspacing="0" cellpadding="0" height="40" align="center">
	<tr>
		<td valign="top"><br/><span class="title_2">WebMagik快速安装页面</span>&nbsp;&nbsp;&nbsp;
		</td>
		<td rowspan="2" valign="bottom">
		<p align="right">
		<a href="http://webmagik.cn/"><img border="0" src="res/img/logo.png"  vspace="8" hspace="20"></a><br/>
				</td>
	</tr>
	</table>
	<table border="0" width="98%" cellspacing="0" cellpadding="0" align="center">
	<tr>
		<td valign="top">
		</td>
		<td align="right" valign="top">
		</td>
	</tr>
</table>
<hr align="left" color="#eff1f2" noShade SIZE="1">
<br/><table border="0" width="500px" id="table1" cellspacing="5" cellpadding="5" align="center">
	<tr>
		<td class="top">
		<!-- main -->
		<h3>数据库信息设置</h3>
		<table style="width:100%">
		<tr>
			<td width="100px">host</td>
			<td><input name="db_host" type="text" style="width:300px" value="localhost"></td>
		</tr>
		<tr>
			<td width="100px">username</td>
			<td><input name="db_user" type="text" style="width:300px" value="root"></td>
		</tr>
		<tr>
			<td width="100px">password</td>
			<td><input name="db_password" type="password" style="width:300px"></td>
		</tr>
		<tr>
			<td width="100px">dbname</td>
			<td><input name="db_name" type="text" style="width:300px" value="webmagik"></td>
		</tr>
		</table>
		<h3>管理帐号设置</h3>
		<table style="width:100%">
		<tr>
			<td width="100px">用户名</td>
			<td><input name="admin_username" type="text" style="width:300px" value="admin"></td>
		</tr>
		<tr>
			<td width="100px">邮箱</td>
			<td><input name="admin_email" type="text" style="width:300px" value="admin@admin.com"></td>
		</tr>
		<tr>
			<td width="100px">密码</td>
			<td><input name="admin_password" type="text" style="width:300px" value="admin"></td>
		</tr>
		</table>
		<!--
		<h3>初始化设置</h3>
		<table style="width:100%">
		<tr>
			<td width="100px">是否提供默认数据</td>
			<td><input name="config_sample" type="radio" value="1" checked>是&nbsp;&nbsp;<input name="config_sample" type="radio" value="0">否</td>
		</tr>
		</table>
		-->
		</td>
		<td width="300px" class=top>
		<!-- right -->
		<h3>用户协议</h3>
		<textarea style="width:250px;height:225px;color:#B0B0B0"><?php echo file_get_contents( ROOT . 'install/license.txt' ); ?>
		</textarea>
		</td>
	</tr>
</table>
<p align="center"><input type="button" style="width:120px;height:50px" value="同意协议并安装" onclick="this.value='安装中，请稍候';form.submit();this.disabled=true"></p>
</body>
</form>
</html>