'.$image.' ' . generate_device_link($device) . '
' . $device['location'] . ' '); if (isset($config['os'][$device['os']]['over'])) { $graphs = $config['os'][$device['os']]['over']; } elseif (isset($device['os_group']) && isset($config['os'][$device['os_group']]['over'])) { $graphs = $config['os'][$device['os_group']]['over']; } else { $graphs = $config['os']['default']['over']; } $graph_array['height'] = "100"; $graph_array['width'] = "310"; $graph_array['to'] = $now; $graph_array['id'] = $device['device_id']; $graph_array['type'] = "device_bits"; $graph_array['from'] = $day; $graph_array['legend'] = "no"; $graph_array['popup_title'] = $descr; # $graph_array['link'] = generate_device_link($device_id); # print_graph_popup($graph_array); $graph_array['height'] = "45"; $graph_array['width'] = "150"; $graph_array['bg'] = "FFFFFF00"; foreach ($graphs as $entry) { $graph_array['type'] = $entry['graph']; $graphhead = $entry['text']; echo("
"); print_graph_popup($graph_array); echo("
".$entry['text']."
"); echo("
"); } unset($graph_array); echo(' '); ?>