Commit version 24.12.13800

This commit is contained in:
2025-01-06 17:35:06 -05:00
parent b7f6a79c2c
commit 55d9218816
6133 changed files with 4239740 additions and 1374287 deletions

View File

@ -4,37 +4,35 @@
* Observium Network Management and Monitoring System
* Copyright (C) 2006-2015, Adam Armstrong - http://www.observium.org
*
* @package observium
* @subpackage webui
* @author Adam Armstrong <adama@observium.org>
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
* @package observium
* @subpackage webui
* @author Adam Armstrong <adama@observium.org>
* @copyright (C) Adam Armstrong
*
*/
$i = "1";
$aps = dbFetchRows("SELECT * FROM `accesspoints` LEFT JOIN `accesspoints-state` USING (`accesspoint_id`) WHERE `device_id` = ? AND `deleted` = '0' ORDER BY `name`,`radio_number` ASC", array($device['device_id']));
$aps = dbFetchRows("SELECT * FROM `accesspoints` LEFT JOIN `accesspoints-state` USING (`accesspoint_id`) WHERE `device_id` = ? AND `deleted` = '0' ORDER BY `name`,`radio_number` ASC", [$device['device_id']]);
if(count($aps))
{
if (count($aps)) {
echo generate_box_open();
echo generate_box_open();
echo('<table class="table table-striped table-hover">');
echo('<table class="table table-striped table-hover">');
foreach ($aps as $ap)
{
include($config['html_dir'].'/includes/print-accesspoint.inc.php');
foreach ($aps as $ap) {
include($config['html_dir'] . '/includes/print-accesspoint.inc.php');
$i++;
}
echo('</table>');
$i++;
}
echo('</table>');
echo generate_box_close();
echo generate_box_close();
} else {
print_message('No access points found.', 'warning');
print_message('No access points found.', 'warning');
}