librenms/html/pages/device/accesspoints.inc.php
2015-07-15 11:04:22 +02:00

19 lines
486 B
PHP

<?php
echo "<div style='margin: 0px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>";
$i = '1';
$aps = dbFetchRows("SELECT * FROM `access_points` WHERE `device_id` = ? AND `deleted` = '0' ORDER BY `name`,`radio_number` ASC", array($device['device_id']));
echo "<div style='margin: 0px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>";
foreach ($aps as $ap) {
include 'includes/print-accesspoint.inc.php';
$i++;
}
echo '</table></div>';
echo '</div>';