* * Oh, and before I forget... * ________ __________ __ ____ __ ______ * / ____/ / / / ____/ //_/ / __ \/ / / / __ \ * / /_ / / / / / / ,< / /_/ / /_/ / /_/ / with * / __/ / /_/ / /___/ /| | / ____/ __ / ____/ a * /_/ \____/\____/_/ |_| /_/ /_/ /_/_/ cactus! * * Thanks for listening. */ include_once 'config.php'; switch ($_GET['page']) { case "login": { $tpl->draw("login"); break; } case "logout": { session_destroy(); session_start(); $_SESSION['flash'] = "Sucessfully logged out"; header('Location: index.php'); break; } case "settings": { $tpl->draw("settings"); break; } case "inbox": default: { $tpl->draw("inbox"); } }