"; echo "top.location.href = \"index.php\";"; echo ""; } elseif ($action == "logout") { session_destroy(); header ("Location: index.php?month=$m&year=$y"); } else { ?> " . $lang['wronglogin'] . "

\n"; } ?>