<?
########## 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 login from admin", TRUE );
$werte = db_fetch_array($id);
$newlogin = $werte["login"];
?>

<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"); ?>
      <form action="allgemein_pwaendern2.php" method="post" name=form1>

        <table cellpadding="5" cellspacing="0" align="left" border="0">
                <tr>
                        <td>
                                <table border="1" bordercolordark="#ffffff" bordercolorlight="#cccccc" cellpadding="3" cellspacing="0">
                                     <tr class="tblbgcolor">
                                                <td align="right" nowrap class="tbldata"  align="right"><? echo ltext("alpw_cell_login"); ?></td>
                                                <td><img src="<?=$strSkinName?>/pics/star.gif" width="7" height="5" border="0" alt=""></td>
                                                <td><input type="text" name="newlogin" size="12" maxlength="27" value="<? echo $newlogin; ?>"></td>
                                        </tr>
                                      <tr class="tblbgcolor">
                                                <td align="right" nowrap class="tbldata"  align="right"><? echo ltext("alpw_cell_oldpw"); ?></td>
                                                <td>&nbsp;</td>
                                                <td><input type="password" name="altpw" size="12" maxlength=<?= MaxPwdLength ?>></td>
                                        </tr>
                                        <tr class="tblbgcolor">
                                                <td align="right" nowrap class="tbldata"  align="right"><? echo ltext("alpw_cell_pw1"); ?></td>
                                                <td>&nbsp;</td>
                                                <td><input type="password" name="neupw1" size="12" maxlength=<?= MaxPwdLength ?>></td>
                                        </tr>
                                        <tr class="tblbgcolor">
                                                <td class="tbldata" nowrap  align="right"><? echo ltext("alpw_cell_pw2"); ?></td>
                                                <td>&nbsp;</td>
                                                <td><input type="password" name="neupw2" size="12" maxlength=<?= MaxPwdLength ?>></td>
                                        </tr>

                                        <tr class="tblbgcolor">
					<td colspan="3" align="center">
<script>
function doChange()
{
document.forms[0].submit();
}
</script>

<? echo std_button(ltext("alpw_button1"), "javascript:doChange()"); ?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
    </TD>
  </TR>
  </TBODY> 
</TABLE>
</BODY>
</HTML>
