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"; ?>
Distributed Mode - Seconds Behind Master: =$dx[0]['Seconds_Behind_Master'];?> - Slave IO Running: =$dx[0]['Slave_IO_Running'];?> - Slave SQL Running: =$dx[0]['Slave_SQL_Running'];?>
} ?>Hi-Vol Search Engine: if (intval($manticoremode) == 1) { ?>ACTIVE } else {?>INACTIVE } ?>
This month =intval($piexml->Owner->JobsThisMonth);?>
Last month =intval($piexml->Owner->JobsLastMonth);?>
0.00%
Owner->JobsMonthPercentageDifference) < 0){ ?>=$piexml->Owner->JobsMonthPercentageDifference;?>% ↓
=$piexml->Owner->JobsMonthPercentageDifference;?>% ↑
This week
0.00%
Owner->NewClientsPercentageDifference)<0) { ?>=$piexml->Owner->NewClientsPercentageDifference;?>% ↓
=$piexml->Owner->NewClientsPercentageDifference;?>% ↑
This week
0.00%
Owner->InvoicedPercentageDifference)<0) { ?>=$piexml->Owner->InvoicedPercentageDifference;?>% ↓
=$piexml->Owner->InvoicedPercentageDifference;?>% ↑
This week
0.00%
Owner->PaymentsPercentageDifference)<0) { ?>=$piexml->Owner->PaymentsPercentageDifference;?>% ↓
=$piexml->Owner->PaymentsPercentageDifference;?>% ↑