Magellan Linux

Diff of /alx-src/branches/alx-web-070/index.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8528 by niro, Mon Feb 8 10:03:43 2016 UTC revision 8529 by niro, Mon Feb 8 10:12:39 2016 UTC
# Line 139  foreach($comps as $c) Line 139  foreach($comps as $c)
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    

Legend:
Removed from v.8528  
changed lines
  Added in v.8529