SetFont(FF_FONT1, FS_NORMAL); $t->SetPos(0.5, 0.4, "center"); $t->SetBox("white", "black", true); $t->SetColor("black"); $t->SetShadow(false); $graph->AddText($t); $graph->Stroke(); exit; } $available_graphs = array('pergraph', 'statgraph', 'topgraph', 'timegraph'); $graphMarginColor = array(230, 230, 230); if (isset($_GET['graph']) and in_array($_GET['graph'], $available_graphs)) { require("./graphs/${_GET['graph']}.php"); } else { err_message("Undefined parameter 'graph'."); } ?>