| 98 |
|
<? |
| 99 |
|
if ($submit == "Show" && $machine_name && $report) { |
| 100 |
|
|
| 101 |
– |
include("$reportDirectory/$day/$machine_name/$report/$reportLimitsFile"); |
| 102 |
– |
|
| 101 |
|
$url = "$webRoot/$day/$machine_name/$report/$reportChartFile"; |
| 102 |
|
if (isReportEmpty("$reportDirectory/$day/$machine_name/$report/$reportChartDataFile", $minFileSize)) { |
| 103 |
|
echo "Host <b>$machine_name</b> did not send any information about <b>$report</b> on <b>$day</b>. Please select another report."; |
| 104 |
|
} |
| 105 |
< |
else if (file_exists("$reportDirectory/$day/$machine_name/$report/$reportChartFile")) { ?> |
| 106 |
< |
|
| 105 |
> |
else if (file_exists("$reportDirectory/$day/$machine_name/$report/$reportChartFile")) { |
| 106 |
> |
|
| 107 |
> |
include("$reportDirectory/$day/$machine_name/$report/$reportLimitsFile"); |
| 108 |
> |
|
| 109 |
> |
?> |
| 110 |
> |
|
| 111 |
|
<center><b>[<? echo $machine_name; ?>] - <? echo $report; ?></b></center> |
| 112 |
|
|
| 113 |
|
<table border="0" cellpadding="0" cellspacing="0"> |
| 130 |
|
</tr> |
| 131 |
|
</table> |
| 132 |
|
|
| 133 |
< |
<hr weigth="1" color="<? echo $lineColor ?>"> |
| 133 |
> |
<hr weight="1" color="<? echo $lineColor ?>"> |
| 134 |
> |
|
| 135 |
> |
<b>Latest data</b> |
| 136 |
> |
<p> |
| 137 |
> |
Latest set of data received from |
| 138 |
> |
<a href="<? echo "latest.php?machine=$machine_name"; ?>"><?=$machine_name?></a> |
| 139 |
> |
<br> |
| 140 |
> |
Alerts for <a href="alerts.php?machine=<?=$machine_name?>"><?=$machine_name?></a> |
| 141 |
> |
|
| 142 |
> |
|
| 143 |
> |
<hr weight="1" color="<? echo $lineColor ?>"> |
| 144 |
|
|
| 145 |
|
<b>Extra data</b> |
| 146 |
|
<p> |