<?PHP
require "login.php";
if ($fromlogin) {
if ($start_page == "today") { Header("Location: calendar.php?date=".date("m")."-".date("d")."-".date("Y")); }
elseif ($start_page == "monthly") { Header("Location: calendar.php"); }
else { Header("Location: todos.php"); }
}
else { Header("Location: todos.php"); }
?>