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

include_once("auth.php");

include_once("../include/cron_functions.php");
include_once("../include/module.Database.php");

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

$anbieter = $PHP_AUTH_USER;

## kundendaten holen
$loUser = new SQLString( $PHP_AUTH_USER );
$loKunde = new SQLString( $kunde );

$id = safe_query2( "select * from kunden where kunde=? and anbieter=?", $loKunde, $loUser);
$werte = db_fetch_array($id);
$id = db_query ( "SELECT * FROM admin" );
$admin = db_fetch_array($id);
$anmeldedatum = $werte["anmeldedatum"];
$anmeldedatum = date($lang_format_date, $anmeldedatum);
$name = $werte["name"];
$firma = $werte["firma"];
$anschrift = $werte["anschrift"];
$plzort = $werte["plzort"];
$telefon = $werte["telefon"];
$fax = $werte["fax"];
$emailadresse = $werte["emailadresse"];
$kundennummer = $werte["kundennummer"];
$freifeldname1 = $werte["freifeldname1"];
$freifeldname2 = $werte["freifeldname2"];
$freifeldname3 = $werte["freifeldname3"];
$freifeldwert1 = $werte["freifeldwert1"];
$freifeldwert2 = $werte["freifeldwert2"];
$freifeldwert3 = $werte["freifeldwert3"];
$maxpop = $werte["maxpop"];
$maxkb = $werte["maxkb"];
$maxmysql = $werte["maxmysql"];
$maxcronjobs = $werte["maxcronjobs"];
$maxemail = $werte["maxemail"];
$maxautoresponder = $werte["maxautoresponder"];
$maxftp = $werte["maxftp"];
$maxatdomains = $werte["maxatdomains"];
$maxtransfer = $werte["maxtransfer"];
$maxsubdomains = $werte["maxsubdomains"];
$php = $werte["php"];
$ftp = $werte["ftp"];
$wildcard = $werte["wildcard"];
$perl = $werte["perl"];
$modpython = $werte["modpython"];
$ssi = $werte["ssi"];
$shell = $werte["shell"];
$scponly = $werte["scponly"];
if($scponly) $scponly=1;
$statistik = $werte["statistik"];
$pwschutz = $werte["pwschutz"];
$fehlerseiten = $werte["fehlerseiten"];
$webftp = $werte["webftp"];
$webmail = $werte["webmail"];
$phpupload = $werte["phpupload"];
$wap = $werte["wap"];
$coldfusion = $werte["coldfusion"];
$dirlist = $werte["dirlist"];
$gesperrt = $werte["gesperrt"];
$spamfilter = $werte["spamfilter"];
$maxmaillist = $admin["majordomo"] ? $werte["maxmaillist"] : 0;
## /kundendaten holen

# Anbieterreche auslesen
$loRes = new SQLString( $anbieter );
$id = safe_query2( "select * from anbieter where anbieter=?", $loRes);
$serverkann = db_fetch_array($id);
$skpop = $serverkann["pop"];
$skemail = $serverkann["email"];
$skautoresponder = $serverkann["autoresponder"];
$skftp = $serverkann["ftp"];
$sksubdomains = $serverkann["subdomains"];
$skmysql = $serverkann["mysql"];
$skphp = $serverkann["php"];
$skftp = $serverkann["ftp"];
$skperl = $serverkann["perl"];
$skmodpython = $serverkann["modpython"];
$skssi = $serverkann["ssi"];
$skshell = $serverkann["shell"];
$skscponly = $serverkann["scponly"];
$skstatistik = $serverkann["statistik"];
$skpwschutz = $serverkann["pwschutz"];
$skfehlerseiten = $serverkann["fehlerseiten"];
$skwebftp = $serverkann["webftp"];
$skwebmail = $serverkann["webmail"];
$skphpupload = $serverkann["phpupload"];
$skwap = $serverkann["wap"];
$skcoldfusion = $serverkann["coldfusion"];
$skdirlist = $serverkann["dirlist"];
$skspamfilter = $serverkann["spamfilter"];
$skmaillist = $admin["majordomo"] ? $serverkann["maxmaillist"] : 0;
# /Anbieterrechte auslesen

# speicher berechnen
$id = safe_query2( "select sum(kbhomedir) as kbhomedir, sum(kbdb) as kbdb from kunden where kunde=?", $loKunde);
$kbhomedir = $werte["kbhomedir"];
$kbdb = $werte["kbdb"];
$kbgesamt = $kbdb + $kbhomedir;
# /speicher berechnen

## transfer berechnen
$monat = date("n");
$jahr = date("Y");
$tag = date("j");

$jahrstr = $jahr;

$monatstr = $lang_months[$monat];

$id = safe_query2( "select sum(web) as transferweb, sum(ftp) as transferftp, sum(email) as transferemail ".
									 "from transfer where kunde=? and jahr=$jahr and monat=$monat and geloescht = 0 and anbieter=?",
									 $loKunde, $loUser );
$werte = db_fetch_array($id);
$transferweb = $werte["transferweb"];
$transferftp = $werte["transferftp"];
$transferemail = $werte["transferemail"];
$transfergesamt = $transferftp + $transferweb + $transferemail;
## /transfer berechnen

$id = safe_query2( "select domain from domains where kunde=? and richtigedomain=1 and anbieter=? order by domain",
									 $loKunde, $loUser );
while ($werte = db_fetch_array($id)) {

if (strlen($domains) > 0) { $domains .= "<br>" . $werte["domain"]; }
 else { $domains = $werte["domain"]; }
}

## anzahl kunden, domains, pop3, email, subdomains, dbs, ipadressen
$id = safe_query2( "select count(kunde) as anzahlkunden from kunden where kunde=? and anbieter=?", $loKunde, $loUser);
$werte = db_fetch_array($id);
$anzahlkunden = $werte["anzahlkunden"];

$id = safe_query2( "select count(domain) as anzahldomains from domains where kunde=? and richtigedomain=1 and anbieter=?",
									 $loKunde, $loUser);
$werte = db_fetch_array($id);
$anzahldomains = $werte["anzahldomains"];

$id = safe_query2( "select count(domain) as anzahlsubdomains from domains where kunde=? and richtigedomain=0 and anbieter=?",
									 $loKunde, $loUser);
$werte = db_fetch_array($id);
$anzahlsubdomains = $werte["anzahlsubdomains"];

$id = safe_query2( "select count(account) as anzahlpop from pop3 where kunde=? and anbieter=?", $loKunde, $loUser );
$werte = db_fetch_array($id);
$anzahlpop = $werte["anzahlpop"];

$id = safe_query2( "select count(account) as anzahlftp from ftp where kunde=? and anbieter=?", $loKunde, $loUser );
$werte = db_fetch_array($id);
$anzahlftp = $werte["anzahlftp"];

$sql = "SELECT COUNT(*) AS atd FROM atdomains, domains ".
	"WHERE atdomains.id_from=domains.id AND domains.kunde = ?"; 
$id = safe_query2( $sql, $loKunde );
$werte = db_fetch_array($id);
$atdomains = $werte["atd"];

$id = safe_query2( "select count(ident) as anzahlemail from email where kunde=? and anbieter=?", $loKunde, $loUser);
$werte = db_fetch_array($id);
$anzahlemail = $werte["anzahlemail"];

$id = safe_query2( "select count(ident) as anzahlautoresponder from autoresponder where kunde=? and anbieter=?",
									 $loKunde, $loUser);
$werte = db_fetch_array($id);
$anzahlautoresponder = $werte["anzahlautoresponder"];

$id = safe_query2( "select ip from ipadressen where kunde=?", $loKunde );
$werte = db_fetch_array($id);
$kundenipstr = $werte["ip"];
if (istleer($kundenipstr)) { $kundenipstr = ltext("stku2_cell_stdip"); }

##anzahl mysqldbs
$id = safe_query2( "select count(datenbank) as mysql from mysql_datenbanken where kunde = ?", $loKunde);
$werte = db_fetch_array($id);
$anzahlmysql = $werte["mysql"];
## // anzahl mysqldbs

## cron
$cronjobs = count_cron_jobs_user($kunde);
## //cron

## maillist	 
if($skmaillist)
{
	$id = safe_query2( 'SELECT COUNT(*) AS cnt FROM maillist INNER JOIN domains ON (domains.id = maillist.domain_id) '.
										 ' WHERE domains.kunde=?', $loKunde);
	$werte = db_fetch_array($id);
	$maillist_count = $werte['cnt'];
}	 
## //maillist	 
 	 
## /anzahl kunden, domains, pop3, email, subdomains, dbs,  ipadressen

?>
<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("stku2_title1"); ?> <? echo $kunde; ?></b><br><br>
<? if ($gesperrt > 0) { ?>
      <P><font size="-1" color="#CC0000"><? echo ltext("stku2_descr2"); ?></P>
<? } ?>
<table class="tblbgcolor" align="left" border="1" cellpadding="3" cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
	<tr><td colspan=2 class="titel-3" ><? echo ltext("stku2_title2"); ?></td></tr>
        <tr> 
          <td  align="right"><? echo ltext("stku2_cell_dateofusercreation"); ?></td>
          <td><? echo $anmeldedatum; ?></td>
        </tr>
        <tbody> 

<? if ($name <> "") { ?>

        <tr> 
          <td>
            <div align=right><? echo ltext("stku2_cell_name"); ?></div></td>
          <td> 
            <? echo $name; ?></td>
        </tr>

<? } ?>
<? if ($firma <> "") { ?>

        <tr> 
          <td align="right">
            <? echo ltext("stku2_cell_firm"); ?>
            </td>
          <td  ><? echo $firma; ?></td>
        </tr>
<? } ?>
<? if ($anschrift <> "") { ?>

        <tr> 
          <td  > 
            <div align=right>
              <? echo ltext("stku2_cell_address"); ?>
              </div>
          </td>
          <td  > 
            <? echo $anschrift; ?></td>
        </tr>

<? } ?>
<? if ($plzort <> "") { ?>

        <tr> 
          <td  > 
            <div align="right">
              <? echo ltext("stku2_cell_city"); ?>
              </div>
          </td>
          <td  ><? echo $plzort; ?></td>
        </tr>

<? } ?>
<? if ($telefon <> "") { ?>

        <tr> 
          <td  > 
            <div align="right">
              <? echo ltext("stku2_cell_tel"); ?>
              </div>
          </td>
          <td  ><? echo $telefon; ?></td>
        </tr>

<? } ?>
<? if ($fax <> "") { ?>

        <tr> 
          <td  > 
            <div align=right>
              <? echo ltext("stku2_cell_fax"); ?>
              </div>
          </td>
          <td  > 
            <? echo $fax; ?></td>
        </tr>

<? } ?>

<? if ($emailadresse <> "") { ?>

        <tr> 
          <td  > 
            <div align=right>
              <? echo ltext("stku2_cell_email"); ?>
              </div>
          </td>
          <td  > 
            <? echo $emailadresse; ?></td>
        </tr>

<? } ?>

<? if ($kundennummer <> "") { ?>

        <tr> 
          <td  > 
            <div align="right">
              <? echo ltext("stku2_cell_cid"); ?>
              </div>
          </td>
          <td  > <? echo $kundennummer; ?></td>
        </tr>

<? } ?>

<? if ($freifeldwert1 <> "") { ?>

        <tr> 
          <td  > 
            <div align="right"><? echo $freifeldname1; ?></div>
          </td>
          <td> <? echo $freifeldwert1; ?></td>
        </tr>

<? } ?>

<? if ($freifeldwert2 <> "") { ?>

        <tr> 
          <td  > 
            <div align="right"><? echo $freifeldname2; ?></div>
          </td>
          <td  > <? echo $freifeldwert2; ?></td>
        </tr>
<? } ?>

<? if ($freifeldwert3 <> "") { ?>

        <tr> 
          <td  > 
            <div align="right"><? echo $freifeldname3; ?></div>
          </td>
          <td  > <? echo $freifeldwert3; ?></td>
        </tr>

<? } ?>

	<tr><td colspan=2 class="titel-3" ><? echo ltext("stku2_title3"); ?></td></tr>
        <tr> 
          <td align="right"> 
            <? echo ltext("stku2_cell_domains"); ?>
            </td>
          <td  ><? echo $domains; ?></td>
        </tr>
        <tr> 
          <td> 
            <div align=right>
              <? echo ltext("stku2_cell_pop3"); ?>
              </div>
          </td>
          <td <? if (($anzahlpop > $maxpop) && ($maxpop <> -1)) { echo "bgcolor=".$fehlerfarbe; } ?>> 
            
            <? echo sinnv_intwert($anzahlpop,ltext("g_nolimit")); ?> 
            (<? echo sinnv_intwert($maxpop,ltext("g_nolimit")); ?>)</td>
        </tr>
        <tr> 
          <td>
            <div align=right>
              <? echo ltext("stku2_cell_email"); ?>
              </div>
          </td>
          <td <? if (($anzahlemail > $maxemail) && ($maxemail <> -1)) { echo "bgcolor=".$fehlerfarbe; } ?> > 
            
            <? echo sinnv_intwert($anzahlemail,ltext("g_nolimit")); ?> 
            (<? echo sinnv_intwert($maxemail,ltext("g_nolimit")); ?>)</td>
        </tr>
        <tr> 
          <td> 
            <div align=right>
              <? echo ltext("stku2_cell_autoresponder"); ?>
              </div>
          </td>
          <td <? if (($anzahlautoresponder > $maxautoresponder) && ($maxautoresponder <> -1)) { echo "bgcolor=".$fehlerfarbe; } ?> > 
            
            <? echo sinnv_intwert($anzahlautoresponder,ltext("g_nolimit")); ?> 
            (<? echo sinnv_intwert($maxautoresponder,ltext("g_nolimit")); ?>)</td>
        </tr>
        <tr> 
          <td> 
            <div align="right">
              <? echo ltext("stku2_cell_subdomains"); ?>
              </div>
          </td>
          <td <? if (($anzahlsubdomains > $maxsubdomains) && ($maxsubdomains <> -1)) { echo "bgcolor=".$fehlerfarbe; } ?> > 
            <? echo sinnv_intwert($anzahlsubdomains,ltext("g_nolimit")); ?> 
            (<? echo sinnv_intwert($maxsubdomains,ltext("g_nolimit")); ?>)</td>
        </tr>
        <tr> 
          <td> 
            <div align="right">
              <? echo ltext("stku2_cell_mysql"); ?>
              </div>
          </td>
          <td <? if (($anzahlmysql > $maxmysql) && ($maxmysql <> -1)) { echo "bgcolor=".$fehlerfarbe; } ?> > 
            <? echo sinnv_intwert($anzahlmysql,ltext("g_nolimit")); ?> 
            (<? echo sinnv_intwert($maxmysql,ltext("g_nolimit")); ?>)</td>
        </tr>
<?
if ( $admin["cronjobs"] ){
?>
        <tr> 
          <td> 
            <div align="right">
              <? echo ltext("stku2_cell_cron"); ?>
              </div>
          </td>
          <td <? if (($cronjobs > $maxcronjobs) && ($maxcronjobs <> -1)) { echo "bgcolor=".$fehlerfarbe; } ?> > 
            <? echo sinnv_intwert($cronjobs,ltext("g_nolimit")); ?> 
            (<? echo sinnv_intwert($maxcronjobs,ltext("g_nolimit")); ?>)</td>
        </tr>
<?
}
?>
        <tr> 
          <td> 
            <div align="right">
              <? echo ltext("stku2_cell_ftpusers"); ?>
              </div>
          </td>
          <td <? if (($anzahlftp > $maxftp) && ($maxftp <> -1)) { echo "bgcolor=".$fehlerfarbe; } ?> > 
            <? echo sinnv_intwert($anzahlftp,ltext("g_nolimit")); ?> 
            (<? echo sinnv_intwert($maxftp,ltext("g_nolimit")); ?>)</td>
        </tr>
<? if($skmaillist): ?>
         <tr>
           <td>
             <div align="right">
               <? echo ltext("stku2_cell_maillist"); ?>
               </div>
           </td>
           <td <? if (($maillist_count > $maxmaillist) && ($maxmaillist <> -1)) { echo "bgcolor=".$fehlerfarbe; } ?> >
             <? echo sinnv_intwert($maillist_count,ltext("g_nolimit")); ?>
             (<? echo sinnv_intwert($maxmaillist,ltext("g_nolimit")); ?>)</td>
         </tr>
 <? endif; ?>
        <tr>
          <td>
            <div align="right">
              <? echo ltext("stku2_cell_atdomains"); ?>
              </div>
          </td>
          <td <? if (($atdomains > $maxatdomains) && ($maxatdomains <> -1)) { echo "bgcolor=".$fehlerfarbe; } ?> >
            <? echo sinnv_intwert($atdomains,ltext("g_nolimit")); ?>
            (<? echo sinnv_intwert($maxatdomains,ltext("g_nolimit")); ?>)</td>
        </tr>
	<tr><td colspan=2 class="titel-3" ><? echo ltext("stku2_title4"); ?></td></tr>
        <tr> 
          <td>
            <div align=right>
              <? echo ltext("stku2_cell_maxdu"); ?>
              </div>
          </td>
          <td> 
            <? echo sinnv_kbwert($maxkb,ltext("g_nolimit")); ?></td>
        </tr>
        <tr>
          <td>
            <div align=right>
              <? echo ltext("stku2_cell_useddu"); ?>
              </div>
          </td>
          <td <? if (($kbgesamt > $maxkb) && ($maxkb <> -1)) { echo "bgcolor=".$fehlerfarbe; } ?> > 
            <? echo sinnv_kbwert($kbgesamt,ltext("g_nolimit")); ?></td>
        </tr>
        <tr>
          <td>
            <div align=right>
              <? echo ltext("stku2_cell_dufiles"); ?>
              </div>
          </td>
          <td> 
            <? echo sinnv_kbwert($kbhomedir,ltext("g_nolimit")); ?></td>
        </tr>
        <tr>
          <td>
            <div align=right>
              <? echo ltext("stku2_cell_dudb"); ?>
              </div>
          </td>
          <td> 
            <? echo sinnv_kbwert($kbdb,ltext("g_nolimit")); ?></td>
        </tr>
	<tr><td colspan=2 class="titel-3" ><? echo ltext("stku2_title5"); ?> <? echo "$monatstr $jahrstr"; ?></td></tr>
        <tr>
          <td>
            <div align=right>
              <? echo ltext("stku2_cell_maxtransfer"); ?>
              </div>
          </td>
          <td> 
            <? echo sinnv_kbwert($maxtransfer,ltext("g_nolimit")); ?></td>
        </tr>
        <tr>
          <td>
            <div align=right>
              <? echo ltext("stku2_cell_usedtransfer"); ?>
              </div>
          </td>
          <td <? if (($transfergesamt > $maxtransfer) && ($maxtransfer <> -1)) { echo "bgcolor=".$fehlerfarbe; } ?> > 
            <? echo sinnv_kbwert($transfergesamt,ltext("g_nolimit")); ?></td>
        </tr>
        <tr>
          <td>
            <div align=right>
              <? echo ltext("stku2_cell_webtransfer"); ?>
              </div>
          </td>
          <td>
            <? echo sinnv_kbwert($transferweb,ltext("g_nolimit")); ?></td>
        </tr>
        <tr>
          <td>
            <div align="right">
              <? echo ltext("stku2_cell_ftptransfer"); ?>
              </div>
          </td>
          <td> <? echo sinnv_kbwert($transferftp,ltext("g_nolimit")); ?></td>
        </tr>
<? if ($show_emailtransfer == 1) { ?>
        <tr>
          <td>
            <div align="right">
              <? echo ltext("stku2_cell_email"); ?>
              </div>
          </td>
          <td> <? echo sinnv_kbwert($transferemail,ltext("g_nolimit")); ?></td>
        </tr>
<? } ?>
	<tr> 
          <td  colspan="2" height="15"> 
            <div align="center"><b><a class=data href="statistiken_details_transfer.php?kunde=<? echo $kunde; ?>"><? echo ltext("stku2_cell_link1"); ?></a></b><a class=data href="statistiken_details_transfer.php?kunde=<? echo $kunde; ?>"></a></div>
          </td>
        </tr>
	<tr><td colspan=2 class="titel-3" ><? echo ltext("stku2_title6"); ?></td></tr>
        <tr> 
          <td  > 
            <div align=right>
              <? echo ltext("stku2_cell_ip"); ?>
              </div>
          </td>
          <td  > <? echo $kundenipstr; ?></td>
        </tr>
	<tr><td colspan=2 class="titel-3" ><? echo ltext("stku2_title7"); ?></td></tr>
        <tr> 
          <td> 
            <div align=right> 
              <? echo ltext("stku2_cell_wildcard"); ?>
              </div>
          </td>
          <td> 
             
            <? if ($wildcard == 1) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <? if ($skftp == 1) { ?>
        <tr> 
          <td> 
            <div align=right> 
              <? echo ltext("stku2_cell_ftp"); ?>
              </div>
          </td>
          <td> 
             
            <? if ($ftp == 1) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <? } 

 if ($skphp == 1) { ?>
        <tr> 
          <td> 
            <div align=right> 
              <? echo ltext("stku2_cell_php"); ?>
              </div>
          </td>
          <td> 
             
            <? if ($php == 1) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <? } 
 if ($skperl == 1) { ?>
        <tr> 
          <td> 
            <div align=right> 
              <? echo ltext("stku2_cell_cgi"); ?>
              </div>
          </td>
          <td> 
             
            <? if ($perl > 0) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <tr> 
          <td> 
            <div align=right> 
              <? echo ltext("stku2_cell_cgiperl"); ?>
              </div>
          </td>
          <td> 
             
            <? if ($perl == 2 ) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
								
        <? }
 if ($skmodpython == 1) { ?>
        <tr>
          <td>
            <div align=right>
              <? echo ltext("stku2_cell_modpython"); ?>
              </div>
          </td>
          <td>

            <? if ($modpython == 1) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <? }
 ?>
        <? if ($skssi == 1) { ?>
        <tr> 
          <td> 
            <div align="right"> 
              <? echo ltext("stku2_cell_ssi"); ?>
              </div>
          </td>
          <td>  
            <? if ($ssi == 1) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
<? 
}  
if ($skshell == 1) { 
?>
  <tr> 
    <td align="right"> 
      <? echo ltext("stku2_cell_shell"); ?>
    </td>
    <td> 
      <? 
  if ($shell == 1) { 
    echo ltext("stku2_activated"); 
  } else { 
    echo ltext("stku2_deactivated"); 
  } 
?>
   </td>
 </tr>
<? 
}
if ($skscponly == 1) { 
?>
  <tr> 
    <td align="right"> 
      <? echo ltext("stku2_cell_scponly"); ?>
    </td>
    <td> 
      <? 
  if ($scponly) { 
    echo ltext("stku2_activated"); 
  } else { 
    echo ltext("stku2_deactivated"); 
  } 
?>
   </td>
 </tr>
<? 
}  
if ($skphpupload == 1) { ?>
        <tr> 
          <td align="right"> 
            <? echo ltext("stku2_cell_phpupload"); ?>
            </td>
          <td  > 
            <? if ($phpupload == 1) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <? } ?>
        <? if ($skwap == 1) { ?>
        <tr> 
          <td  align="right"> 
            <? echo ltext("stku2_cell_wap"); ?>
            </td>
          <td  > 
            <? if ($wap == 1) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <? } ?>
        <? if ($skcoldfusion == 1) { ?>
        <tr> 
          <td  align="right"> 
            <? echo ltext("stku2_cell_coldfusion"); ?>
            </td>
          <td  > 
            <? if ($coldfusion == 1) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <? } ?>
        <? if ($skdirlist == 1) { ?>
        <tr> 
          <td  align="right"> 
            <? echo ltext("stku2_cell_dirlist"); ?>
            </td>
          <td  > 
            <? if ($dirlist == 2) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <? } ?>
	<? if ($skstatistik == 1) { ?>
        <tr> 
          <td  align="right"> 
            <? echo ltext("stku2_cell_webalizer"); ?>
            </td>
          <td  > 
            <? if ($statistik == 1) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <? } ?>
        <? if ($skpwschutz == 1) { ?>
        <tr> 
          <td  align="right"> 
            <? echo ltext("stku2_cell_pwdir"); ?>
            </td>
          <td  > 
            <? if ($pwschutz == 1) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <? } ?>
        <? if ($skfehlerseiten == 1) { ?>
        <tr> 
          <td  align="right"> 
            <? echo ltext("stku2_cell_errorfiles"); ?>
            </td>
          <td  > 
            <? if ($fehlerseiten == 1) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <? } ?>
        <? if ($skwebftp == 1) { ?>
        <tr> 
          <td  align="right"> 
            <? echo ltext("stku2_cell_webftp"); ?>
            </td>
          <td  > 
            <? if ($webftp == 1) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <? } ?>
        <? if ($skwebmail == 1) { ?>
        <tr> 
          <td  align="right"> 
            <? echo ltext("stku2_cell_webmail"); ?>
            </td>
          <td  > 
            <? if ($webmail == 1) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <? } ?>
        <? if ($skspamfilter == 1) { ?>
        <tr> 
          <td  align="right"> 
            <? echo ltext("stku2_cell_spamfilter"); ?>
            </td>
          <td  > 
            <? if ($spamfilter == 1) { echo ltext("stku2_activated"); } else { echo ltext("stku2_deactivated"); } ?>
            </td>
        </tr>
        <? } ?>      </table>
    </TD>
  </TR>
</TABLE>
<P>&nbsp;</P>
</BODY>
</HTML>

<?
db_close();
?>
