90 |
|
|
91 |
echo '<form action="index.php" method="get" style="margin:0px">'; |
echo '<form action="index.php" method="get" style="margin:0px">'; |
92 |
echo '<table width=480><tr>'; |
echo '<table width=480><tr>'; |
93 |
echo '<td><img src="pics/logo.jpg"></td>'; |
// print version info |
94 |
|
$version = file_get_contents('.VERSION', FILE_USE_INCLUDE_PATH); |
95 |
|
echo '<td><img src="pics/logo.jpg"><font size="1">v'.$version.'</font></td>'; |
96 |
echo '<td align=right valign=top><a href="index.php" style="color:#000000;text-decoration:none; font-weight:bold">[REFRESH]</a></td>'; |
echo '<td align=right valign=top><a href="index.php" style="color:#000000;text-decoration:none; font-weight:bold">[REFRESH]</a></td>'; |
97 |
echo '</tr><tr>'; |
echo '</tr><tr>'; |
98 |
echo '<td valign=top><b>SORT BY</b> <input onclick="this.form.submit()" type="radio" name="s_krit" value="serial"'.checkif($_SESSION['alx_sort_krit']=='serial').'>serial <input onclick="this.form.submit()" type="radio" name="s_krit" value="hostname"'.checkif($_SESSION['alx_sort_krit']=='hostname').'>hostname<br>'; |
echo '<td valign=top><b>SORT BY</b> <input onclick="this.form.submit()" type="radio" name="s_krit" value="serial"'.checkif($_SESSION['alx_sort_krit']=='serial').'>serial <input onclick="this.form.submit()" type="radio" name="s_krit" value="hostname"'.checkif($_SESSION['alx_sort_krit']=='hostname').'>hostname<br>'; |
141 |
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>'; } |
142 |
else echo '<td></td>'; |
else echo '<td></td>'; |
143 |
|
|
144 |
if($showversion=='on') |
// get alx version info for |
145 |
{ |
$alxinfo = sqlfirst('SELECT * FROM client_version WHERE serial='.$c['serial']); |
146 |
// get alx version info for |
$alxver = $alxinfo[os]; |
147 |
$alxinfo = sqlfirst('SELECT * FROM client_version WHERE serial='.$c['serial']); |
$alxutils = $alxinfo[utils]; |
|
$alxver = $alxinfo[os]; |
|
|
$alxutils = $alxinfo[utils]; |
|
148 |
|
|
149 |
if($alxver == '') $alxver='unknown'; |
if($alxver == '') $alxver='unknown'; |
150 |
if($alxutils == '') $alxutils='unknown'; |
if($alxutils == '') $alxutils='unknown'; |
151 |
|
|
152 |
echo '<td>'.$alxver.'</td>'; |
echo '<td>'.$alxver.'</td>'; |
153 |
echo '<td>'.$alxutils.'</td>'; |
echo '<td>'.$alxutils.'</td>'; |
|
} |
|
154 |
|
|
155 |
//netboot state |
// netboot state |
156 |
if($c['netboot'] == 1) echo '<td>Netboot (PXE)</td>'; |
if($c['netboot'] == 1) echo '<td>Netboot (PXE)</td>'; |
157 |
else echo '<td>Local Disk</td>'; |
else echo '<td>Local Disk</td>'; |
158 |
|
|