summaryrefslogtreecommitdiff
blob: 93cb8e516c9e412d88f9fcdde72fbd217056073e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{include file="header.tpl" title="Server Information Exporter"}
List of clients in group: 
<form name="form1" method="post" action="#">
<select name="group" size="1">
<option value=""></option>
<!--
foreach ($profile_list as $profile)
	print "<option value=\"". $profile['profileid']."\">".$profile['profile_name']."</option>\n";
?> -->
</select>
<input type="submit" name="ChangeView" value="Go, because i hate doing it with javascript.">
</form>
<form name="form2" method="post" action="ExportedData.php">
<table><tr>
    <th>HOSTNAME</th>
    <th>STATUS</th>
    <th>IP</th>
    <th>MAC</th>
    <th>ASSET ID</th>
    <th>INSTALL TIME</th>
  </tr>
<!--
foreach ($clients as $client)
	print "<tr><td>".$client['hostname']."</td>\n";
	print "<td>".$client['status']."</td>\n";
	print "<td>".$client['ip']."</td>\n";
	print "<td>".$client['mac']."</td>\n";
	print "<td>".$client['assetid']."</td>\n";
	print "<td>".$client['installtime']."</td>\n";
?>  -->
</table>
<hr>
<input type="submit" name="ExportToXML" value="Export To XML">
<input type="submit" name="ExportToCSV" value="Export To CSV">
<input type="submit" name="ExportToTXT" value="Export To TXT">
{include file="footer.tpl"}