if (isset($_GET["flush"])) { $flush = true; } $mode = ($_GET["mode"] == "overview"); require_once("rrd.php"); ?>
EOT;
} else {
echo <<Senaste dygnetgraph_attic("humidity_1d.png", $mode, "1day", 14400); if ($mode) echo <<
EOT;
?>
| Senaste veckangraph_attic("humidity_1w.png", $mode, "1week", 43200); if ($mode) echo << |
EOT;
?>
Senaste månadengraph_attic("humidity_1m.png", $mode, "1month"); if ($mode) echo <<
EOT;
?>
| Senaste åretgraph_attic("humidity_1y.png", $mode, "1year"); if ($mode) echo << |