2011-03-26 17:16:09 +00:00
<? php
2020-09-21 15:40:17 +02:00
2016-01-02 01:32:43 +01:00
echo '<table border="0" cellspacing="0" cellpadding="5" width="100%" class="table table-condensed"><tr class="tablehead"><th>Server Name</th><th>Power Status</th><th>Operating System</th><th>Memory</th><th>CPU</th></tr>' ;
2015-07-10 13:36:21 +02:00
$i = '1' ;
2011-03-26 17:16:09 +00:00
2020-09-21 15:40:17 +02:00
foreach ( dbFetchRows ( 'SELECT `vmwVmDisplayName`,`vmwVmState`,`vmwVmGuestOS`,`vmwVmMemSize`,`vmwVmCpus` FROM `vminfo` WHERE `device_id` = ? ORDER BY `vmwVmDisplayName`' , [ $device [ 'device_id' ]]) as $vm ) {
2019-04-11 23:26:42 -05:00
include 'includes/html/print-vm.inc.php' ;
2015-07-10 13:36:21 +02:00
$i ++ ;
2011-03-26 17:16:09 +00:00
}
2015-07-10 13:36:21 +02:00
echo '</table>' ;
2016-01-02 23:34:55 +01:00
$pagetitle [] = 'Virtual Machines' ;