<?php
if(!defined('MONKEYMAO')) {
	exit('Access Denied');
}
?>
<tr><td height="40" style="color:#c3e3f9"><b><?=$lang['action']?><?=$lang['dbset']?></b></td></tr><tr><td height="20">&nbsp;</td></tr><tr><td>
<table width="100%" border="0" align="center" cellpadding="10" cellspacing="0" bgcolor="#FFFFFF">
<form id="form1" name="form1" method="post" action="install.php">
		<input type="hidden"  name="step" value="dbset">
		<input type="hidden"  name="saveconfig" value="dbset">

      <tr>
        <td><table width="99%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
            <tr class="header">
              <td class="header" colspan="3"><?=$lang['tips']?></td>
            </tr>
            <tr class="header">
              <td class="tdbg2" colspan="3" style="color:#FF0000;"><?=$msg?></td>
            </tr>
            <tr>
              <td class="tdbg"><?=$lang['localhost']?></td>
			  <td class="tdbg2"><input type="text" name="dbhost" value="<?=$dbhost?>"></td>
			  <td class="tdbg"><?=$lang['localhost_note']?></td>
            </tr>
            <tr>
              <td class="tdbg"><?=$lang['dbuser']?></td>
			  <td class="tdbg2"><input type="text" name="dbuser" value="<?=$dbuser?>"></td>
			  <td class="tdbg"> <?=$lang['dbuser_note']?></td>
            </tr>
            <tr>
              <td class="tdbg"><?=$lang['dbpwd']?></td>
			  <td class="tdbg2"><input type="password" name="dbpassword" value="<?=$dbpassword?>"></td>
			  <td class="tdbg">  <?=$lang['dbpwd_note']?></td>
            </tr>
            <tr>
              <td class="tdbg"><?=$lang['dbname']?></td>
			  <td class="tdbg2"><input type="text" name="dbname" value="<?=$dbname?>"></td>
			  <td class="tdbg"><?=$lang['dbname_note']?></td>
            </tr>
            <tr>
              <td class="tdbg"><?=$lang['tablepre']?></td>
			  <td class="tdbg2"><input type="text" name="tablepre" value="<?=$tablepre?>"></td>
			  <td class="tdbg"> <?=$lang['tablepre_note']?></td>
            </tr>
            <tr>
              <td class="tdbg"><?=$lang['myysdb']?></td>
			  <td class="tdbg2"><!--input name="picdb" type="radio" value="yes">是 --><input name="picdb" type="radio" value="" checked>否</td>
			  <td class="tdbg"> <?=$lang['myysdb_note']?></td>
            </tr>		
            
        </table>
      <tr>
        <td>
            <div align="center">
              <input type="button" onclick="window.location='?step='" name="back" value="<?=$lang['back']?>" /> <input type="submit" name="next" value="<?=$lang['next']?>" />
            </div>
        </td>
      </tr></form>
    </table>