getquota("mail"); $r = $quota->getquota("dom"); // there are some existing mail, or there is a domain AND quota authorize mail if ($q["u"] > 0 || ( $r["u"] > 0 && $q['t'] > 0 )) { ?>