require 'inc/footer.php'; exit; // no need to continue with this page } else { // else if not logged in and not a login request $page = "login"; $page_title = "Login"; require 'inc/header.php'; ?> <fieldset id="login-field"> <legend>Login</legend> <form id="login-form" action="login.php" method="post"> <?php echo trys(); $token = genFormToken('login'); ?> <label for="f-name">Username:</label> <input type="text" name="f-name" id="f-name" tabindex="1" /><br /> <label for="f-pw">Password:</label> <input type="password" name="f-pw" id="f-pw" tabindex="2" /> <?php if ($num_games != 0) { ?> <label for="f-game">Game:</label> <select name="f-game" id="f-game" tabindex="3">
require 'inc/footer.php'; exit; // no need to continue with this page } else { // else if not logged in and not a login request $page = "login"; $page_title = "Login"; require 'inc/header.php'; ?> <fieldset id="login-field"> <legend>Login</legend> <form id="login-form" action="login.php" method="post"> <?php trys(); $token = genFormToken('login'); ?> <label for="f-name">Username:</label> <input type="text" name="f-name" id="f-name" tabindex="1" /><br /> <label for="f-pw">Password:</label> <input type="password" name="f-pw" id="f-pw" tabindex="2" /> <?php if ($num_games != 0) { ?> <label for="f-game">Game:</label> <select name="f-game" id="f-game" tabindex="3">