Esempio n. 1
0
         if (trim($dl)) {
             ++$downloadscount;
             continue;
         }
     }
 }
 $serverarray = array();
 if ($server) {
     $result2 = select_query("tblservers", "", array("id" => $server));
     $serverarray = mysql_fetch_array($result2);
 }
 if ($tax) {
 }
 $regdate = fromMySQLDate($regdate, 0, 1, "-");
 $nextduedate = fromMySQLDate($nextduedate, 0, 1, "-");
 $langbillingcycle = $ca->getRawStatus($billingcycle);
 $rawstatus = $ca->getRawStatus($status);
 $xstatus = $status;
 if ($status == "Active") {
     $xcolor = "clientarealistactive";
 } else {
     if ($status == "Completed") {
         $xcolor = "clientarealistactive";
     } else {
         if ($status == "Pending") {
             $xcolor = "clientarealistpending";
         } else {
             if ($status == "Suspended") {
                 $xcolor = "clientarealistsuspended";
             } else {
                 $xcolor = "clientarealistterminated";