      <!--Start header-->
        <div class="header"><h1>Marketools Install</h1><span>V4.0</span>
            <div class="setup step2">
                <h2><?php echo L_G_TITLE_STEP2; ?></h2>
                <p><?php echo L_G_DESC_STEP2; ?></p>
            </div>
            <div class="stepstat">
                <ul>
                    <li class="unactivated">1</li>
                    <li class="current">2</li>
                    <li class="unactivated">3</li>
                    <li class="unactivated">4</li>
                    <li class="unactivated">5</li>
                    <li class="unactivated last">6</li>
                </ul>
                <div class="stepstatbg stepstat2"></div>
            </div>
        </div>
      <!--End header-->

        <div class="main">
        <form action="index.php" method="post">

    <table class=tableresult width=100% border=0 cellspacing=0 cellpadding=3>
      <tr>
        <td class=commcat align=left valign=top colspan=3>
        <?php echo L_G_DBCONFIGHELP?>
        <pre>CREATE DATABASE `yourdatabase_name` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;</pre>
        <?php echo L_G_DBCONFIGHELP2?>
        <br><br>
        </td>
      </tr>
<?php if($GLOBALS['errorMsg'] != '') { ?>
      <tr>
        <td class=commcat align=center colspan=3><font color=#ff0000><?php echo $GLOBALS['errorMsg']?></font></td>
      </tr>
<?php } ?>
      <tr>
        <td class=theader align=right width="50%"><?php echo L_G_DBTYPE?></td>
        <td width=5></td>
        <td align=left width="50%">
        <input type=hidden name=dbtype value="mysql">
        <?php echo L_G_MYSQL?>
        </td>
      </tr>
      <tr>
        <td class=theader align=right><?php echo L_G_DBHOSTNAME?></td>
        <td width=5></td>
        <td align=left>
        <input type=textbox name=dbhostname value="<?php echo (!empty($_POST['dbhostname']) ? $_POST['dbhostname']: "localhost")?>">
        </td>
      </tr>
      <tr>
        <td class=theader align=right><?php echo L_G_DBNAME?></td>
        <td width=5></td>
        <td align=left>
        <input type=textbox name=dbname value="<?php echo $_POST['dbname']?>">
        </td>
      </tr>
      <tr>
        <td class=theader align=right><?php echo L_G_DBUSERNAME?></td>
        <td width=5></td>
        <td align=left>
        <input type=textbox name=dbusername value="<?php echo $_POST['dbusername']?>">
        </td>
      </tr>
      <tr>
        <td class=theader align=right><?php echo L_G_DBPWD?></td>
        <td width=5></td>
        <td align=left>
        <input type=password name=dbpwd value="<?php echo $_POST['dbpwd']?>">
        </td>
      </tr>
      <tr>
        <td class=commcat align=left valign=top colspan=3>&nbsp;</td>
      </tr>
    </table>

            <div class="btnbox marginbot">
                <input type="button" onclick="history.back();" value="<?php echo L_G_BACK; ?>" />
                <input type="submit" name="submit" value="<?php echo L_G_NEXT; ?>" />
            </div>

        <input type="hidden" name="action" value="DbConfig">
        <input type="hidden" name="installmethod" value="<?php echo $_POST['installmethod']; ?>">
        </form>


