";
$res = mysql_query($sql);
if ($res){
$id_graph = mysql_insert_id();
if ($id_graph){
for ($a=0; $a < $module_number; $a++){
$id_agentemodulo = get_parameter_post ("module_".$a);
$id_agentemodulo_w = get_parameter_post ("module_weight_".$a);
$sql = "INSERT INTO tgraph_source (id_graph, id_agent_module, weight) VALUES
($id_graph, $id_agentemodulo, $id_agentemodulo_w)";
//echo "DEBUG $sql
";
mysql_query($sql);
}
echo "
"; if ($config['flash_charts']) { echo graphic_combined_module (split (',', $modules), split (',', $weights), $period, $width, $height, 'Combined%20Sample%20Graph', '', $events, 0, 0, $stacked); } else { echo ""; } echo " |
"; echo ""; echo " |
"; echo ""; echo " |