System Status

'; $query = "SELECT * FROM `devices` WHERE 1 ".$where." ORDER BY hostname"; list($format, $subformat) = explode("_", $vars['format']); if($format == "graph") { $row = 1; foreach (dbFetchRows($query, $sql_param) as $device) { if (is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; } if (device_permitted($device['device_id'])) { if (!$location_filter || ((get_dev_attrib($device,'override_sysLocation_bool') && get_dev_attrib($device,'override_sysLocation_string') == $location_filter) || $device['location'] == $location_filter)) { $graph_type = "device_".$subformat; if ($_SESSION['widescreen']) { $width=270; } else { $width=315; } echo("
".$device['hostname']." - ".$interface['ifDescr']."
\ \ ', CENTER, LEFT, FGCOLOR, '#e5e5e5', BGCOLOR, '#e5e5e5', WIDTH, 400, HEIGHT, 150);\" onmouseout=\"return nd();\" >". " "); } } } } else { echo('
'); if ($subformat == "detail" || $subformat == "basic") { echo(''); } foreach (dbFetchRows($query, $sql_param) as $device) { if (!device_permitted($device['device_id'])) { include("includes/hostbox-basic.inc.php"); } } echo("
Device Platform Operating System Uptime/Location
"); echo('
'); echo('
'); } ?>