<?
########## 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 phpmyadmin, phpmyadminpfad from admin", TRUE );
$werte = db_fetch_array($id);
$phpmyadmin = $werte["phpmyadmin"];
$phpmyadminpfad = $werte["phpmyadminpfad"];
?>
<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> 
      <b><? echo ltext("dbmypw_title"); ?></b><br><br>
      <? echo ltext("dbmypw_desc"); ?>
      <form action="db_mysql_pwaendern2.php" method="post">
        <table class="tblbgcolor" align="left" border="1" cellpadding="3" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
          <tr > 
            <td class="titel-3" ><? echo ltext("dbmypw_cell_username"); ?></td>
            <td class="titel-3" >
              <? echo $PHP_AUTH_USER; ?>
              </td>
          </tr>
          <tr > 
            <td><? echo ltext("dbmypw_cell_pass1"); ?></td>
            <td > 
              <input type="password" name="neupw1" size="12" value="" maxlength=<?= MaxPwdLength ?>>
            </td>
          </tr>
          <tr > 
            <td><? echo ltext("dbmypw_cell_pass2"); ?></td>
            <td > 
              <input type="password" name="neupw2" size="12" value="" maxlength=<?= MaxPwdLength ?>>
            </td>
          </tr>
          <tr > 
            <td>&nbsp;</td>
            <td><? echo std_button(ltext('dbmypw_btn_change'), 'javascript:doChange()') ?></td>
          </tr>
        </table>
      </form>
    </TD>
  </TR>
</TABLE>
</BODY>
</HTML>
