| 37 |
|
} |
| 38 |
|
} |
| 39 |
|
|
| 40 |
+ |
function printLine() { |
| 41 |
+ |
echo "<hr color=\"#9999ff\">"; |
| 42 |
+ |
} |
| 43 |
|
|
| 44 |
+ |
|
| 45 |
|
function showStat($title, $value, $input) { |
| 46 |
< |
preg_match("/$value=([^\,]*)\,/", $input, $matches); |
| 46 |
> |
preg_match("/$value=([^\,]*)[\,\}]/", $input, $matches); |
| 47 |
|
$value = $matches[1]; |
| 48 |
|
if (empty($value)) { |
| 49 |
< |
$value = "<i>unknown</i>"; |
| 49 |
> |
$value = "<i><font color=\"#999999\">not sent</font></i>"; |
| 50 |
|
} |
| 51 |
|
?> |
| 52 |
|
<table border="0" width="100%"> |
| 53 |
|
<tr> |
| 54 |
< |
<td width="50%" align="right"><b><?=$title?></b></td> |
| 55 |
< |
<td width="50%" align="left"><?=$value?></td> |
| 54 |
> |
<td width="50%" align="right" valign="top"><b><?=$title?></b></td> |
| 55 |
> |
<td width="50%" align="left" valign="top"><?=$value?></td> |
| 56 |
|
</tr> |
| 57 |
|
</table> |
| 58 |
|
<? |
| 106 |
|
<form method="<? echo $formMethod ?>" action="<? echo $thisPage ?>"> |
| 107 |
|
<? |
| 108 |
|
|
| 109 |
< |
$file_array = getdirArray($latestDirectory,'rsort'); |
| 109 |
> |
$file_array = getdirArray($latestDirectory,'asort'); |
| 110 |
|
print "<select size=\"1\" name=\"machine\">"; |
| 111 |
|
if ($machine) { ?> |
| 112 |
|
<option selected value="<? echo $machine ?>"><? echo $machine ?></option> |
| 113 |
|
<option value="">----------------</option> |
| 114 |
|
<? } |
| 115 |
|
foreach($file_array as $file_name) { |
| 116 |
< |
if (is_dir($file_name)) { |
| 113 |
< |
$i++; |
| 116 |
> |
#if (is_dir($file_name)) { |
| 117 |
|
print "<option value=\"$file_name\">$file_name</option>"; |
| 118 |
< |
} |
| 118 |
> |
#} |
| 119 |
|
} |
| 120 |
|
print "</select>"; |
| 121 |
|
|