Notif->Data as $item) { if ((string)$item->desc === "Jobs Not Accepted Yet By Servers") { $foundItem = $item; break; } } // Output the result if ($foundItem) { $location = (string)$foundItem->location; $value = (string)$foundItem->value; echo json_encode([ "location" => $location, "value" => $value, ]); } else { echo json_encode(["message" => "No matching data found."]); } //Declined Jobs alert lookup (silent — value used by the dashboard card below) $declinedItem = null; foreach ($piexml->Notif->Data as $ditem) { if ((string)$ditem->desc === "Declined Jobs") { $declinedItem = $ditem; break; } } $declinedvalue = $declinedItem ? (string)$declinedItem->value : "0"; $declinedlocation = $declinedItem ? (string)$declinedItem->location : "results.php?funcx=DECLINEDJOBS"; ?>
Show/Hide Owner->Company;?>
rawQuery($q); if (intval($dx[0]['Seconds_Behind_Master'])==0) { $xcg="lime"; } elseif (intval($dx[0]['Seconds_Behind_Master'])<4) { $xcg="yellow"; } else { $xcg="pink"; } ?>

Distributed Mode - Seconds Behind Master: - Slave IO Running: - Slave SQL Running:

Hi-Vol Search Engine: ACTIVE INACTIVE


Open Jobs

Alerts
Notif->Data as $thisalert) { ?>
desc;?>
value;?>
Case Status configure
CaseStatuss->CaseStatus as $cs) { $rid = intval($cs->CaseStatusID); if(!empty($csIncludeIds) && !in_array($rid, $csIncludeIds)) { continue; } $csRows[] = array('id'=>$rid, 'name'=>(string)$cs->Status, 'num'=>intval($cs->NumCases)); } if(!empty($csIncludeIds)) { usort($csRows, function($a, $b) use ($csIncludeOrder) { $sa = isset($csIncludeOrder[$a['id']]) ? $csIncludeOrder[$a['id']] : 9999; $sb = isset($csIncludeOrder[$b['id']]) ? $csIncludeOrder[$b['id']] : 9999; if($sa == $sb) { return 0; } return ($sa < $sb) ? -1 : 1; }); } // max for bar scaling $maxCaseStatusCnt = 0; foreach($csRows as $r) { if($r['num'] > $maxCaseStatusCnt) { $maxCaseStatusCnt = $r['num']; } } if($maxCaseStatusCnt < 1) { $maxCaseStatusCnt = 1; } ?> 0) { $cpct = 5; } ?>

No case statuses selected. Click configure to choose which to show.

Job Status
JobStatuss->JobStatus as $js) { if(intval($js->NumJobs) > $maxJobStatusCnt) $maxJobStatusCnt = intval($js->NumJobs); } if($maxJobStatusCnt < 1) $maxJobStatusCnt = 1; ?> JobStatuss->JobStatus as $thisstatus) { $pct = round((intval($thisstatus->NumJobs) / $maxJobStatusCnt) * 100); if($pct < 5 && intval($thisstatus->NumJobs) > 0) $pct = 5; // minimum visible width ?>
Status);?> NumJobs;?>
10 Most Active (This Month)
MostActiveClients->Client as $thisclient) { ?>
ClientName;?>

ClientCity;?>, ClientState;?>

JobsThisMonth;?> Jobs

This Month

10 Most Active Servers (This Month)
MostActiveServers->Server as $thisserver) { ?>
ServerName;?>

ServerCity;?>, ServerState;?>

JobsThisMonth;?> Completed
random icon
New Jobs

This month Owner->JobsThisMonth);?>

Last month Owner->JobsLastMonth);?>

Owner->JobsThisMonth);?>

Owner->JobsMonthPercentageDifference)==0) { ?>

0.00%

Owner->JobsMonthPercentageDifference) < 0){ ?>

Owner->JobsMonthPercentageDifference;?>% ↓

Owner->JobsMonthPercentageDifference;?>% ↑

Owner->JobsMonthPercentageDifference),2)=="0.00") { ?>
Owner->JobsMonthPercentageDifference)<0) { ?>
Owner->JobsMonthPercentageDifference);?>%;" aria-valuenow="Owner->JobsMonthPercentageDifference);?>" aria-valuemin="0" aria-valuemax="100">
random icon
New Customers

This week

Owner->NewClientsThisWeek);?>

Owner->NewClientsPercentageDifference)==0) { ?>

0.00%

Owner->NewClientsPercentageDifference)<0) { ?>

Owner->NewClientsPercentageDifference;?>% ↓

Owner->NewClientsPercentageDifference;?>% ↑

Owner->NewClientsPercentageDifference),2)=="0.00") { ?>
Owner->NewClientsPercentageDifference)<0) { ?>
Owner->NewClientsPercentageDifference);?>%;" aria-valuenow="Owner->InvoicedPercentageDifference);?>" aria-valuemin="0" aria-valuemax="100">
random icon
Invoiced

This week

$Owner->InvoicedThisWeek),2);?>

Owner->InvoicedPercentageDifference)==0) { ?>

0.00%

Owner->InvoicedPercentageDifference)<0) { ?>

Owner->InvoicedPercentageDifference;?>% ↓

Owner->InvoicedPercentageDifference;?>% ↑

Owner->InvoicedPercentageDifference),2)=="0.00") { ?>
Owner->InvoicedPercentageDifference)<0) { ?>
Owner->InvoicedPercentageDifference);?>%;" aria-valuenow="Owner->InvoicedPercentageDifference);?>" aria-valuemin="0" aria-valuemax="100">
random icon
Payments

This week

$Owner->PaymentsThisWeek),2);?>

Owner->PaymentsPercentageDifference)==0) { ?>

0.00%

Owner->PaymentsPercentageDifference)<0) { ?>

Owner->PaymentsPercentageDifference;?>% ↓

Owner->PaymentsPercentageDifference;?>% ↑

Owner->PaymentsPercentageDifference),2)=="0.00") { ?>
Owner->PaymentsPercentageDifference)<0) { ?>
Owner->PaymentsPercentageDifference);?>%;" aria-valuenow="Owner->PaymentsPercentageDifference);?>" aria-valuemin="0" aria-valuemax="100">