<?
########## 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");

## mysql verbindung aufbauen
db_connect($db_host, $db_user, $db_pass);
## /mysql verbindung aufbauen

$id = safe_query( "select maxftp, webmail, webftp, pwschutz, fehlerseiten, perl from kunden where kunde = ? ", TRUE, new SQLString( $PHP_AUTH_USER ) );
$werte = db_fetch_array($id);
$maxftp = $werte["maxftp"];
$skwebmail = $werte["webmail"];
$skwebftp = $werte["webftp"];
$skfehlerseiten = $werte["fehlerseiten"];
$skpwschutz = $werte["pwschutz"];
$skperl = $werte["perl"];
if ($ausdb != "nein")	{
$id = safe_query( "select * from fehlermeldungen where kunde = ?  and pfad = ? ", TRUE, new SQLString( $PHP_AUTH_USER ), new SQLString( $pfad ) );
while ($werte = db_fetch_array($id))	{
$pfad = $werte["pfad"];
$fehlertyp = $werte["fehlertyp"];
$varname = "fehler".$fehlertyp;
$$varname = $werte["seite"];
										}
						}
?>
<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>
<?
echo js_f_call_help('tofeae_title', 'tofeae_desc2');
?>
function doChange2()
{
document.forms[1].submit();
}
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">
        <? echo ltext("tofeae_desc1", array($pfad)); ?>
      <form action="tools_fehlerseiten_aendern2.php" method="post">
        <table class="tblbgcolor" align="left" border="1" cellpadding="3" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
	<tr><td colspan=2 class="titel-3" ><? echo ltext("tofeae_subtitle", array($pfad)); ?></td></tr>
	<tr>
            <td class="titel-3" >
              <? echo ltext("tofeae_cell_key"); ?>
              </td>
            <td class="titel-3" >
              <? echo ltext("tofeae_cell_value"); ?>
              </td>
          </tr>
          <tr > 
            <td >  
              <? echo ltext("tofeae_cell_dir"); ?>
              </td>
            <td ><i> 
              <? echo $pfad; ?>
              </i></td>
          </tr>
          <tr > 
            <td  height="36"> 
              <? echo ltext("tofeae_cell_error"); ?>
              404:</td>
            <td  height="36"> 
              <input type="text" name="fehler404" maxlength="255" value="<? echo $fehler404; ?>">
            </td>
          </tr>
          <tr > 
            <td  height="36"> 
              <? echo ltext("tofeae_cell_error"); ?>
              401:</td>
            <td  height="36"> 
              <input type="text" name="fehler401" maxlength="255" value="<? echo $fehler401; ?>">
            </td>
          </tr>
          <tr > 
            <td  height="36"> 
              <? echo ltext("tofeae_cell_error"); ?>
              403:</td>
            <td  height="36"> 
              <input type="text" name="fehler403" maxlength="255" value="<? echo $fehler403; ?>">
            </td>
          </tr>
          <tr > 
            <td  height="36"> 
              <? echo ltext("tofeae_cell_error"); ?>
              500:</td>
            <td  height="36"> 
              <input type="text" name="fehler500" maxlength="255" value="<? echo $fehler500; ?>">
            </td>
          </tr>
          <tr > 
            <td  height="36">&nbsp;</td>
            <td  height="36"><? echo std_button(ltext('tofeae_btn_send'), 'javascript:doChange()') ?><input type="hidden" name="pfad" value="<? echo $pfad; ?>"></td>
	    </tr>
	    </form>
	    <form action="tools_fehlerseiten_loeschen.php" method="post">
	    <b><i> </i></b> 
	    <tr><td colspan=2 class="titel-3" ><? echo ltext("tofeae_cell_del"); ?></td></tr>
	    <tr > 
	    <td height="36" colspan="2"><input type="hidden" name="pfad" value="<? echo $pfad; ?>"><? echo std_button(ltext('tofeae_btn_del'), 'javascript:doChange2()') ?></td>
          </tr>
        </table>
      </form>
    </TD>
  </TR>
   
</TABLE>
<P>&nbsp;</P>
</BODY>
</HTML>

<?
db_close();
?>
