0) {
header( 'refresh: ' . $_GET['refresh'] );
}
// CSS
echo '';
// Get input parameters
if (!isset($_GET["period"]) OR (!isset($_GET["id"]))) {
echo "
".$lang_label["graf_error"]."
";
exit;
}
if (isset($_GET["event"]))
$draw_events = entrada_limpia($_GET["event"]);
else
$draw_events = 0;
if (isset($_GET["refresh"]))
$refresh = entrada_limpia($_GET["refresh"]);
else
$refresh = 0;
if (isset($_GET["period"]))
$period = entrada_limpia($_GET["period"]);
else
$period = 86400; // 1 day default period
if (isset($_GET["id"]))
$id = entrada_limpia($_GET["id"]);
else
$id = 0;
if (isset($_GET["width"]))
$width = entrada_limpia($_GET["width"]);
else
$width = 525;
if (isset($_GET["height"]))
$height = entrada_limpia ($_GET["height"]);
else
$height = 200;
if (isset($_GET["label"]))
$label = entrada_limpia ($_GET["label"]);
else
$label = "";
if (isset($_GET["zoom"])){
$zoom = entrada_limpia ($_GET["zoom"]);
$height=$height*$zoom;
$width=$width*$zoom;
}
else
$zoom = "1";
echo "";
}
?>