:



getquota(); if (!is_array($q) || empty($q) ) { $msg->raise("ALERT", "quota", _("No quotas for this account, or quotas currently unavailable!")); include_once("main.php"); exit(); } echo ""; echo ""; $qlist=$quota->qlist(); reset($qlist); $totalsize = 0; while (list($key,$val)=each($qlist)) { if ( !isset($q[$key]) || !$q[$key]["t"]) continue; echo ""; echo ""; } else { echo " "; } if (isset($q[$key]['s'])) { $totalsize += $q[$key]["s"]; echo ""; } else { echo ""; } echo ""; } echo ""; echo "
"._("Quota").""._("Used").""._("Total").""._("Size on disk")."
"; if ($q[$key]["u"] >= $q[$key]["t"]) echo ""; echo _($val); if ($q[$key]["u"] >= $q[$key]["t"]) echo ""; if (($key == 'web')||(isset($q[$key]['type'])&&($q[$key]['type']=='size'))) { echo " ". format_size($q[$key]["u"] * 1024) . "  ".$q[$key]["u"]." ".$q[$key]["t"]." ". format_size($q[$key]["s"] * 1024) . " 
"._("Total").": ".format_size($totalsize * 1024)." / ".format_size($q['web']["t"] * 1024)."
"; include_once("foot.php"); ?>