Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
742 B
PHP
Raw Permalink Normal View History

2012-05-22 14:20:08 +00:00
<?php
echo "<div style='margin: 0px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>";
$i = '1';
if ($vars['ap'] > 0) { //We have a selected AP
$aps = dbFetchRows("SELECT * FROM `access_points` WHERE `device_id` = ? AND `accesspoint_id` = ? AND `deleted` = '0' ORDER BY `name`,`radio_number` ASC", [$device['device_id'], $vars['ap']]);
} else {
$aps = dbFetchRows("SELECT * FROM `access_points` WHERE `device_id` = ? AND `deleted` = '0' ORDER BY `name`,`radio_number` ASC", [$device['device_id']]);
}
2012-05-22 14:20:08 +00:00
echo "<div style='margin: 0px;'><table border=0 cellspacing=0 cellpadding=5 width=100%>";
foreach ($aps as $ap) {
2019-04-11 23:26:42 -05:00
include 'includes/html/print-accesspoint.inc.php';
2012-05-22 14:20:08 +00:00
$i++;
}
echo '</table></div>';
echo '</div>';