"; echo "opener.location = \"index.php?month=$m&year=$y\";"; echo "window.setTimeout('window.close()', 500);"; echo ""; } elseif ($action == "logout") { session_start(); session_destroy(); header ("Location: index.php?month=$m&year=$y"); } else { ?> <?=$lang['logintitle']?> " . $lang['wronglogin'] . "

\n"; } ?>