<?
########## 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);
$skmysql = $werte["mysql"];
$quota = $werte["quota"];
$ftpmaxkb = $werte["ftpmaxkb"] / 1024;
$popmaxkb = $werte["popmaxkb"] / 1024;
?>

<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" border="1" cellpadding="3" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
      <form action="einstellungen_quota2.php" method="post">
          <tr > 
            <td > 
              <? echo ltext("eiqu_cell_pop"); ?>
              </td>
            <td > 
              <input type="text" name="popmaxkb" value="<? echo $popmaxkb; ?>" size="5">
              <? echo $lang_format_mb_expr; ?></td>
          </tr>
<!--
ftp's quota is same as user's quota
          <tr > 
            <td > 
              <? echo ltext("eiqu_cell_ftp"); ?>
              </td>
            <td > 
              <input type="text" name="ftpmaxkb" value="<? echo $ftpmaxkb; ?>" size="5">
              <? echo $lang_format_mb_expr; ?> </td>
          </tr>
-->
          <tr > 
            <td > 
              <? echo ltext("eiqu_cell_text"); ?>
              </td>
            <td > 
              <input type="checkbox" name="quota4all" value="1" size="5"<? if ($quota4all == 1) { echo " checked"; } ?>>
              
              <? echo ltext("g_yes"); ?>
              </td>
          </tr>
	  <tr><td colspan=2><? echo std_button(ltext("eiqu_button1"), "javascript:doChange()"); ?></form>
    </TD>
  </TR>
  </TBODY> 
</TABLE>
</BODY>
</HTML>
<?
db_close();
?>
