librenms-librenms/html/pages/device/accesspoints.inc.php

19 lines
486 B
PHP
Raw Normal View History

<?php
2015-07-13 20:10:26 +02:00
echo "<div style='margin: 0px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>";
2015-07-13 20:10:26 +02:00
$i = '1';
$aps = dbFetchRows("SELECT * FROM `access_points` WHERE `device_id` = ? AND `deleted` = '0' ORDER BY `name`,`radio_number` ASC", array($device['device_id']));
2015-07-13 20:10:26 +02:00
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++;
}
2015-07-13 20:10:26 +02:00
echo '</table></div>';
2015-07-13 20:10:26 +02:00
echo '</div>';