126 |
|
<input type="submit" name="submit" value="Display"> |
127 |
|
</form> |
128 |
|
|
129 |
– |
<hr weight="1" color="<? echo $lineColor ?>"> |
130 |
– |
|
129 |
|
<? if ($machine) { |
130 |
|
|
131 |
|
$last_modified = filemtime("$latestDirectory/$machine/$latestData"); |
132 |
|
clearstatcache(); |
133 |
|
$data_age = time() - $last_modified; |
134 |
|
|
135 |
< |
$last_modified = strftime("%a %d %b %Y at %T", $last_modified); |
135 |
> |
$last_modified = date("l jS F - g:ia", $last_modified); |
136 |
|
|
137 |
|
if ($data_age > $warning_age) { |
138 |
|
$warning = <<<EOT |
145 |
|
} |
146 |
|
|
147 |
|
echo <<<EOT |
148 |
< |
<table border="0" bgcolor="#000066" cellpadding="3" cellspacing="1" align="center"> |
148 |
> |
<table border="0" bgcolor="#000066" cellpadding="3" cellspacing="1"> |
149 |
|
<tr> |
150 |
|
<td bgcolor="#000066"> |
151 |
|
|
173 |
|
# Display the data specified in the display include. |
174 |
|
include("latest_display.inc.php"); |
175 |
|
} |
178 |
– |
|
179 |
– |
printLine(""); |
176 |
|
} |
177 |
|
|
178 |
|
?> |
179 |
|
|
180 |
+ |
<? printLine(""); ?> |
181 |
|
|
182 |
|
<? include($bottomHTML); ?> |