1<?php 2 3/** 4 * Observium 5 * 6 * This file is part of Observium. 7 * 8 * @package observium 9 * @subpackage webui 10 * @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited 11 * 12 */ 13 14foreach ($datas as $type) 15{ 16 if ($type != "overview") 17 { 18 $filename = $config['html_dir'] . '/pages/routing/overview/'.$type.'.inc.php'; 19 if (is_file($filename)) 20 { 21 $g_i++; 22 if (!is_integer($g_i/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; } 23 24 echo('<div style="background-color: '.$row_colour.';">'); 25 echo('<div style="padding:4px 0px 0px 8px;"><span class=graphhead>'.$type_text[$type].'</span>'); 26 27 include($filename); 28 29 echo('</div>'); 30 echo('</div>'); 31 } else { 32 $graph_title = $type_text[$type]; 33 $graph_type = "device_".$type; 34 35 include("includes/print-device-graph.php"); 36 } 37 } 38} 39 40// EOF 41