require("config.php"); require("./lang/lang.admin." . LANGUAGE_CODE . ".php"); require("functions.php"); $action = $HTTP_GET_VARS['action']; $m = (int) $HTTP_GET_VARS['month']; $y = (int) $HTTP_GET_VARS['year']; if ( $action == "login" && auth($HTTP_POST_VARS['username'], $HTTP_POST_VARS['password']) ) { echo ""; } elseif ($action == "logout") { session_destroy(); header ("Location: index.php?month=$m&year=$y"); } else { ?>
\n";
}
?>