continue; } array_push($sensor_stack, $sensor); } } $active_sensors = 0; $total_sensors = 0; // Munin $ossim_conf = $GLOBALS["CONF"]; $use_munin = $ossim_conf->get_conf("use_munin"); if ($use_munin == 1) { $munin_link = $ossim_conf->get_conf("munin_link"); } $xml = ""; if (preg_match("/version/", $order)) { $sensor_list = Sensor::get_list_by_version($conn, $order, $limit); } else { $sensor_list = Sensor::get_all($conn, "ORDER BY {$order} {$limit}"); $sensor_list_total = Sensor::get_all($conn, ""); } // if ($sensor_list[0]) { $total = $sensor_list[0]->get_foundrows(); if ($total == 0) { $total = count($sensor_list); } if (count($sensor_list_total) > 0) { $total = count($sensor_list_total); } } else { $total = 0;