114 |
|
|
115 |
echo '<table border="1" id="mytab">'; |
echo '<table border="1" id="mytab">'; |
116 |
echo '<thead><tr style="font-weight:bold;background-color:#d5e5ff"><th>edit</th><th colspan=3>serial</th><th width=170>hostname</th><th width=100>ip</th><th width=100>mac</th><th width=100>last connected</th>'; |
echo '<thead><tr style="font-weight:bold;background-color:#d5e5ff"><th>edit</th><th colspan=3>serial</th><th width=170>hostname</th><th width=100>ip</th><th width=100>mac</th><th width=100>last connected</th>'; |
117 |
echo '<th colspan=2>version</th>'; |
echo '<th colspan=3>version</th>'; |
118 |
echo '<th width=100>boot</th>'; |
echo '<th width=100>boot</th>'; |
119 |
echo '<th width=150>up/down</th></tr></thead><tbody>'; |
echo '<th width=150>up/down</th></tr></thead><tbody>'; |
120 |
|
|
151 |
if (isset($alxinfo[utils])) $alxutils = $alxinfo[utils]; |
if (isset($alxinfo[utils])) $alxutils = $alxinfo[utils]; |
152 |
else $alxutils = 'unknown'; |
else $alxutils = 'unknown'; |
153 |
|
|
154 |
|
if (isset($alxinfo[arch])) $alxarch = $alxinfo[arch]; |
155 |
|
else $alxarch = 'unknown'; |
156 |
|
|
157 |
echo '<td>'.$alxver.'</td>'; |
echo '<td>'.$alxver.'</td>'; |
158 |
echo '<td>'.$alxutils.'</td>'; |
echo '<td>'.$alxutils.'</td>'; |
159 |
|
echo '<td>'.$alxarch.'</td>'; |
160 |
|
|
161 |
// netboot state |
// netboot state |
162 |
if($c['netboot'] == 1) echo '<td>Netboot (PXE)</td>'; |
if($c['netboot'] == 1) echo '<td>Netboot (PXE)</td>'; |