139 |
if($c['mtime']) { echo '<td><nobr>'.date('Y-m-d, H:i:s',$c['mtime']).'</nobr></td>'; } |
if($c['mtime']) { echo '<td><nobr>'.date('Y-m-d, H:i:s',$c['mtime']).'</nobr></td>'; } |
140 |
else echo '<td></td>'; |
else echo '<td></td>'; |
141 |
|
|
142 |
if($showversion=='on') |
// get alx version info for |
143 |
{ |
$alxinfo = sqlfirst('SELECT * FROM client_version WHERE serial='.$c['serial']); |
144 |
// get alx version info for |
$alxver = $alxinfo[os]; |
145 |
$alxinfo = sqlfirst('SELECT * FROM client_version WHERE serial='.$c['serial']); |
$alxutils = $alxinfo[utils]; |
|
$alxver = $alxinfo[os]; |
|
|
$alxutils = $alxinfo[utils]; |
|
146 |
|
|
147 |
if($alxver == '') $alxver='unknown'; |
if($alxver == '') $alxver='unknown'; |
148 |
if($alxutils == '') $alxutils='unknown'; |
if($alxutils == '') $alxutils='unknown'; |
149 |
|
|
150 |
echo '<td>'.$alxver.'</td>'; |
echo '<td>'.$alxver.'</td>'; |
151 |
echo '<td>'.$alxutils.'</td>'; |
echo '<td>'.$alxutils.'</td>'; |
|
} |
|
152 |
|
|
153 |
//netboot state |
// netboot state |
154 |
if($c['netboot'] == 1) echo '<td>Netboot (PXE)</td>'; |
if($c['netboot'] == 1) echo '<td>Netboot (PXE)</td>'; |
155 |
else echo '<td>Local Disk</td>'; |
else echo '<td>Local Disk</td>'; |
156 |
|
|