<?php
	!defined('DIRCMS_MANAGE') && exit('Access Denied!');
?>
<!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>
<title>程序升级</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link rel="stylesheet" type="text/css" href="admin/template/css/style.css" />
<script type="text/javascript" src="images/js/jquery.min.js"></script>
<script src="images/js/css.js"></script>
</head>
<body>
<div id="wrap">
	<div class="tab">
		<ul>
			<li><a href="javascript:void(0);" class="on">数据转换</a></li>	
		</ul>
	</div>
	<div class="main">
		<fieldset>
		<legend><?php echo $lang['RETURN_TIPS'];?></legend>
		配置需转移的系统数据库信息
		</fieldset>
		<form action="" method="post" name="myform">
		<input type="hidden" name="do_submit" value="1" />
		<table cellspacing="0" class="sub" width="98%">
			<tr>
				<td width="198" align="right">数据转换程序版本：</td>
				<td width="1087">
			<select name="version">
				<option value="">需转换程序版本</option>
				<option value="dircms2011sp1">DirCMS 2011Sp1</option>
				<option value="dircms2011sp2">DirCMS 2011Sp2</option>
				<option value="dircms2011sp3">DirCMS 2011Sp3</option>
			</select>
			<span>必填项，需转换的DirCMS旧系统程序版本</span>
			  </td>
			</tr>
			<tr>
				<td width="198" align="right">数据库服务器主机地址：</td>
				<td width="1087">
				<input type="text" name="info[ver_db_host]" value="<?php echo DB_HOST;?>" size="20" />
				<span>必填项，旧系统数据库服务器主机地址</span>
			  </td>
			</tr>
			<tr>
				<td width="198" align="right">数据库帐号：</td>
				<td>
				<input type="text" name="info[ver_db_user]" value="<?php echo DB_USER;?>" size="20" />
				<span>必填项，旧系统数据库帐号</span>
				</td>
			</tr>
			<tr>
				<td width="198" align="right">数据库密码：</td>
				<td>
				<input type="text" name="info[ver_db_psw]" value="<?php echo DB_PSW;?>" size="20" />
				<span>必填项，旧系统数据库密码</span>
				</td>
			</tr>
			<tr>
				<td width="198" align="right">数据库名：</td>
				<td>
				<input type="text" name="info[ver_db_name]" size="20" />
				<span>必填项，旧系统数据库名</span>
				</td>
			</tr>
			<tr>
				<td width="198" align="right">数据表前缀：</td>
				<td>
				<input type="text" name="info[ver_db_pre]" value="dircms_" size="20" />
				<span>必填项，旧系统数据表前缀</span>
				</td>
			</tr>
			<tr class="bg2"><td></td><td><input type="submit" class="button"  value="下一步" /></td></tr>
		</table>
		</form>
	</div>
</div>
</body>
</html>