<!--<?php
# MetInfo Enterprise Content Management System 
# Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved. 
require_once template('head'); 
echo <<<EOT
-->
<script language="javascript">
parent.document.getElementById("license").className='stepnowno';
parent.document.getElementById("inspect").className='stepnowno';
parent.document.getElementById("databasesetup").className='stepnow';
</script>
<body>
<div class="contenttext">
<br />
<p>檢查您的資料庫設置情況，請在相應欄目仔細輸入配置內容，點擊 <b>保存資料庫設置</b> 繼續。</p>
<br />
    <form method="post" action="">
    <input name="setup" type="hidden" value="1">
	 <input name="db_type" type="hidden" value="mysql">
	  <fieldset>
	  <legend><strong>資料庫資訊</strong></legend>

		<div class="section">
		  <input type="text" id="db_prefix" class="inp" name="db_prefix" tabindex="2" value="met_" size="18" />
		  <label for="db_prefix">資料表首碼</label>
		  <p>例如：met_ 請不要留空，且使用“_”結尾。<br />
		  </p>
		</div>

                <div class="section">
		  <input type="text" id="db_host" class="inp" name="db_host" tabindex="3" value="localhost" size="18" />
		  <label for="db_host">資料庫主機</label>
		  <p>資料庫主機的格式可以是主機名字，例如 'db.myserver.com', 或者是IP位址，例如 '192.168.0.1',一般不需要更改。</p>
		</div>
		<div class="section">
		  <input type="text" id="db_username" class="inp" name="db_username" tabindex="4" value="root" size="18" />
		  <label for="db_username">資料庫用戶名</label>
		</div>
		<div class="section">
		  <input type="password" id="db_pass" class="inp" name="db_pass" tabindex="5" />
		  <label for="db_pass">資料庫密碼</label>
		</div>
		<div class="section">
		 <input type="text" id="db_name" name="db_name" class="inp" tabindex="6"  size="18" />
		  <label for="db_name">資料庫名 </label>
		  <p>例如'met'或'my_met',請確保用字母開頭</p>
		</div>
      </fieldset>
	 <p align="right" >
	 <input name="cndata" type="checkbox" value="yes"  checked="checked"/>安裝中文演示資料 
	 <input name="endata" type="checkbox" value="yes" checked="checked" />安裝英文演示資料 
	 <input type="submit" name="submit" class="btn2" tabindex="15" value="保存資料庫設置並繼續" style="*padding-top:4px;"/></p>

    </form>
</div>
</body>
<!--
EOT;
# This program is an open source system, commercial use, please consciously to purchase commercial license.
# Copyright (C) MetInfo Co., Ltd. (http://www.metinfo.cn). All rights reserved.
?>-->
