+
+
+ get("ID"); ?>: getID()); ?>
+
+ getOS())) { ?>
+
+ get("OS/Software"); ?>: getOS()); ?>
+
+
+ getSerial())) { ?>
+
+ get("Serial"); ?>: getSerial()); ?>
+
+
+ getManufacturer())) { ?>
+
+ get("Manufacturer"); ?>: getManufacturer()); ?>
+
+
+ getModel())) { ?>
+
+ get("Model"); ?>: getModel()); ?>
+
+
+ getCondition() > 0) {
+ ?>
+
+
get("Condition"); ?>: getCondition();
+ $filled = floor($val);
+ $empty = 10;
+ while ($filled > 0) {
+ $filled--;
+ $empty--;
+ echo "
";
}
- ?>
- getPrice() > 0) {
- ?>
-
- get("Price"); ?>: $getPrice(), 2); ?>
-
- 0.75) {
+ $empty--;
+ echo "
";
+ } else if ($val - floor($val) > 0.25) {
+ $empty--;
+ echo "
";
}
- ?>
- getPublicNotes())) {
- ?>
-
- get("Notes"); ?>: getPublicNotes()); ?>
-
- 0) {
+ $empty--;
+ echo "
";
}
+ echo " ($val/10)";
?>
-
-
+
getComponents();
-
- if (count($components) > 0) {
+ if ($machine->getPrice() > 0) {
?>
-
-
Components:
-
+
+ get("Price"); ?>: $getPrice(), 2); ?>
+
+
+ getPublicNotes())) {
+ ?>
+
+ get("Notes"); ?>: getPublicNotes()); ?>
+
+
+
+
+
+ getComponents();
+
+ if (count($components) > 0) {
+ ?>
+
+
Components:
+
+
+
+
+
getTypeName(); ?>
getModel())) {
?>
-
-
-
getTypeName(); ?>
- getModel())) {
- ?>
-
get("Model"); ?>: getModel()); ?>
- get("Model"); ?>: getModel()); ?>
+ getCapacity())) {
- ?>
-
get("Capacity"); ?>: getCapacity()); ?>
- getCapacity())) {
+ ?>
+
get("Capacity"); ?>: getCapacity()); ?>
+ getSerial())) {
- ?>
-
get("Serial"); ?>: getSerial()); ?>
- getSerial())) {
+ ?>
+
get("Serial"); ?>: getSerial()); ?>
+ getTestedDate())) {
- ?>
-
get("Tested On"); ?>: getTestedDate())); ?>
- getTestedDate())) {
+ ?>
+
get("Tested On"); ?>: getTestedDate())); ?>
+ getPrice())) {
- ?>
-
get("Price"); ?>: $getPrice(), 2); ?>
- getPrice())) {
+ ?>
+
get("Price"); ?>: $getPrice(), 2); ?>
+ getPublicNotes())) {
- ?>
-
-
Notes:
-
getPublicNotes()); ?>
-
-
+ if (!empty($c->getPublicNotes())) {
+ ?>
+
+
Notes:
+
getPublicNotes()); ?>
-
-
+
+
+ getEvents();
+ $history = $machine->getEvents();
- if (count($history) > 0) {
- ?>
-
-
Events:
-
- \n";
- echo "
$h[eventname] on " . date($SETTINGS["datetime_format"], strtotime($h['date'])) . "
\n";
- if (!empty($h['publicnotes'])) {
- echo "
Notes:" . htmlspecialchars($h['publicnotes']) . "
";
- }
- echo "\n
\n";
- }
- ?>
-
-
+ if (count($history) > 0) {
+ ?>
+
-
- Look up another machine:
-
-
+ foreach ($history as $h) {
+ echo "
\n";
+ echo "
$h[eventname] on " . date($SETTINGS["datetime_format"], strtotime($h['date'])) . "
\n";
+ if (!empty($h['publicnotes'])) {
+ echo "
Notes:" . htmlspecialchars($h['publicnotes']) . "
";
+ }
+ echo "\n
\n";
+ }
+ ?>
+