<?
########## Confixx(R) 3.0 Professional ############
####### Copyright SWsoft, Inc. 2004-2005 ##########
#### http://www.sw-soft.com - info@sw-soft.com ####

include_once("auth.php");
db_connect($db_host, $db_user, $db_pass);

$id = safe_query( "select * from admin", TRUE );
$werte = db_fetch_array($id);
$quota = $werte["quota"];
if ($ausdb != "nein")	{
  $mysqlshelluser = $werte["mysqlshelluser"];
  $mysqlshellpasswort = $werte["mysqlshellpasswort"];
  $mysqlshellhost = $werte["mysqlshellhost"];

  $phpmyadmin = $werte["phpmyadmin"];
  $phpmyadminpfad = $werte["phpmyadminpfad"];
  $skmysql = $werte["mysql"];
						}

?>
<HTML>
<HEAD>
<META content="text/html; charset=<? echo $lang_html_charset; ?>" http-equiv=Content-Type>
<LINK href="<?=$strSkinName?>/style.css" rel=stylesheet type=text/css>
</HEAD>

<BODY bgColor=#ffffff bottomMargin=0 leftMargin=0 topMargin=0 MARGINHEIGHT="0" MARGINWIDTH="0">
<br><? include("../fehler.inc.php"); ?>
<script>
function doChange()
{
document.forms[0].submit();
}
</script>
<table class="tblbgcolor" align="left" border="1" cellpadding="3" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
  <TR>
    <TD width=430> 
      <?
if ($skmysql == 1) { ?>
      <form action="einstellungen_db2.php" method="post">
        <b><? echo ltext("eidb_mysql"); ?></b> 
		<!--<table class="tblbgcolor" border="1" cellpadding="3" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
          <tr > 
            <td  >
              <? echo ltext("eidb_cell_user"); ?>
              </td>
            <td  > 
              <input type="text" name="mysqlshelluser" value="<? echo $mysqlshelluser; ?>">
            </td>
          </tr>
          <tr > 
            <td  >
              <? echo ltext("eidb_cell_password"); ?>
              &nbsp;&nbsp;</td>
            <td  > 
              <input type="text" name="mysqlshellpasswort" value="<? echo $mysqlshellpasswort; ?>">
            </td>
          </tr>
          <tr > 
            <td  >
              <? echo ltext("eidb_cell_host"); ?>
              </td>
            <td  > 
              <input type="text" name="mysqlshellhost" value="<? echo $mysqlshellhost; ?>">
            </td>
          </tr>
        </table>-->
        <br>
<table class="tblbgcolor" border="1" cellpadding="3" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
          <tr > 
            <td  >
              <? echo ltext("eidb_cell_phpmyadmindir"); ?>
              </td>
            <td  > 
              <input type="text" name="phpmyadminpfad" value="<? echo $phpmyadminpfad; ?>">
            </td>
          </tr>
          <tr > 
            <td  >
              <? echo ltext("eidb_cell_phpmyadminlink"); ?>
              </td>
            <td  > 
              <input type="checkbox" name="phpmyadmin" value="1"<? if ($phpmyadmin == 1) echo "checked"; ?>>
               
              <? echo ltext("g_yes"); ?>
              </td>
          </tr>
        </table>
        <p><? echo std_button(ltext("eidb_button1"), "javascript:doChange()"); ?></p>
      </form>
      <? } ?>
    </TD>
  </TR>
  </TBODY> 
</TABLE>
</BODY>
</HTML>
<?
db_close();
?>
