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

include_once( "../include/class.SQLString.php" );
include_once("auth.php");

$id2 = safe_query( "select maxautoresponder from kunden where kunde = ? ", TRUE, new SQLString( $kunde ) );
$id = safe_query( "select count(ident) as autoresponder from autoresponder where kunde = ? ", TRUE, new SQLString( $kunde ) );
$werte = db_fetch_array($id2);
$maxautoresponder = $werte["maxautoresponder"];
$werte = db_fetch_array($id);
$autoresponder = $werte["autoresponder"];

?>
<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 valign="top"> <b><? echo ltext("pop_alpw_title"); ?></b><br><br>
        <? echo ltext("pop_alpw_descr1"); ?>
      <form action="allgemein_pwaendern2.php" method="post">
<table class="tblbgcolor" align="left" border="1" cellpadding="3" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
          <tr> 
            <td>
              <div align="right"><b>
                <? echo ltext("pop_alpw_cell_oldpw"); ?>
                </b></div>
            </td>
            <td>
              <input type="password" name="altpw" size="12" maxlength=<?= MaxPwdLength ?>>
              </td>
          </tr>
          <tr> 
            <td>
              <div align="right"><b>
                <? echo ltext("pop_alpw_cell_newpw1"); ?>
                </b></div>
            </td>
            <td>
              <input type="password" name="neupw1" size="12" maxlength=<?= MaxPwdLength ?>>
              </td>
          </tr>
          <tr> 
            <td>
              <div align="right"><b>
                <? echo ltext("pop_alpw_cell_newpw2"); ?>
                </b></div>
            </td>
            <td>
              <input type="password" name="neupw2" size="12" maxlength=<?= MaxPwdLength ?>>
              </td>
          </tr>
          <tr> 
            <td>
              <div align="right">&nbsp;</div>
            </td>
            <td><? echo std_button(ltext("pop_alpw_button1"), 'javascript:doChange()'); ?></td>
          </tr>
        </table>
      </form>
    </td>
  </TR>
</TABLE>
</BODY>
</HTML>
