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,26 +4,30 @@
*
* This file is part of Observium.
*
* @package observium
* @subpackage web
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2022 Observium Limited
* @package observium
* @subpackage web
* @copyright (C) Adam Armstrong
*
*/
$ap = dbFetchRow("SELECT * FROM `accesspoints` LEFT JOIN `accesspoints-state` USING (`accesspoint_id`) WHERE `device_id` = ? AND accesspoints.`accesspoint_id` = ? AND `deleted` = '0' ORDER BY `name`,`radio_number` ASC", array($device['device_id'],$vars['ap']));
$sql = "SELECT * FROM `accesspoints` LEFT JOIN `accesspoints-state` USING (`accesspoint_id`)
WHERE `device_id` = ? AND accesspoints.`accesspoint_id` = ? AND `deleted` = '0'
ORDER BY `name`,`radio_number` ASC";
$ap = dbFetchRow($sql, [$device['device_id'], $vars['ap']]);
if (safe_empty($ap)) {
print_error("No Access Point Found");
return;
print_error("No Access Point Found");
return;
}
echo generate_box_open();
echo '<table class="table table-striped">';
include($config['html_dir'].'/includes/print-accesspoint.inc.php');
include($config['html_dir'] . '/includes/print-accesspoint.inc.php');
echo '</table>' ;
echo '</table>';
echo generate_box_close();