<!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>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title> {$pref.k_version_setup} </title>
<link href="data/tpl/setup.css" rel="stylesheet" type="text/css" />
</head>

<body>
<br />
<br />
<br />
<br />
<br />
 <form action="setup.php" method="post" enctype="multipart/form-data" name="s" id="s">
<table width="600" border="0" align="center" cellpadding="0" cellspacing="1" class="tableborder">
  <tr>
    <td class="setupbody"><div class="topheader">
        {$pref.k_version_setup}
      </div>
        <div class="header_box">
         <strong> {$la.database_setting}</strong><br />
		 {$la.database_setting_desc}
        </div>
        <div class="firsthr" style="height:1px"><img src="data/tpl/pixel.gif" height="1" width="1" alt="" /></div>
        <div class="secondhr" style="height:1px"><img src="data/tpl/pixel.gif" height="1" width="1" alt="" /></div>
        <div class="install_box">
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="10" valign="top"><img src="data/tpl/splash.gif" alt="" width="148" height="229" /></td>
              <td width="10"><img src="data/tpl/pixel.gif" height="1" width="10" alt="" /></td>
              <td>
			 
				<div style="background-color:#FFFFFF;margin:0px; padding:5px; border:1px inset; width:420px; height:217px; overflow:auto">
				 {if $warnnodb}
				 <span class="error">
				 <strong>{$warnnodb}</strong>
				 </span>
				 <br />
				 {/if}
				 <table width="100%" border="0" cellspacing="1" cellpadding="4">
                    <tr>
                      <td width="20%" nowrap="nowrap">{$la.dbserver}</td>
                      <td><input class="textfield" name="dbhost" type="text" id="dbhost" value="{$dbhost}" /></td>
                    </tr>
                    <tr>
                      <td width="20%" nowrap="nowrap">{$la.dbuser}                      </td>
                      <td><input class="textfield" name="dbuser" type="text" id="dbuser" value="{$dbuser}" /></td>
                    </tr>
                    <tr>
					
					<tr>
                      <td width="20%" nowrap="nowrap">{$la.dbpass}</td>
                      <td><input class="textfield" name="dbpass" type="text" id="dbpass" value="{$dbpass}" /></td>
                    </tr>
					
                      <td width="20%" nowrap="nowrap">{$la.dbname}</td>
                      <td><input class="textfield" name="dbname" type="text" id="dbname" value="{$dbname}" /></td>
                    </tr>
                    
                    <tr>
                      <td width="20%" nowrap="nowrap">{$la.dbprefix}</td>
                      <td><input class="textfield" name="dbprefix" type="text" id="dbprefix" value="{$dbprefix|default:"koobi4"}" /></td>
                    </tr>
                  </table>
</div></td>
            </tr>
          </table>
          <br />
          <br />
          {$la.database_setting_foot}
          <br />
          <br />
          <table width="100%" border="0" cellpadding="2" cellspacing="0">
            <tr>
              <td width="4%" nowrap="nowrap" class="versioninfo">{$pref.k_version}
&nbsp;</td>
              <td><div class="firsthr" style="height:1px"><img src="data/tpl/pixel.gif" height="1" width="1" alt="" /></div>
                  <div class="secondhr" style="height:1px"><img src="data/tpl/pixel.gif" height="1" width="1" alt="" /></div></td>
            </tr>
          </table>
          <div align="right">
            <input name="step" type="hidden" id="step" />
           
              <input name="subaction" type="hidden" id="subaction" value="newset" />
              <input accesskey="e" name="Submit" type="submit" class="button" value="{$la.database_setting_save}" />
              <input onclick="if(confirm('{$la.confirm_exit}')) location.href='data/exit.html'" type="button" class="button" value="{$la.exit}" />
         
          </div>
      </div></td>
  </tr>
</table>
</form>
</body>
</html>
