<input type="text" name="username" value="<?php if ($this->session->flashdata('username')) { echo $this->session->flashdata('username'); } ?> "> </li> <li> <label for="password">Password:</label> <input type="password" name="password"> </li> <li> <input type="submit"> </li> Need an an account? Register <a class="inText" href=<?php echo '"' . site_url() . '/register"'; ?> >here!</a><br> Forgot your password? Click <a class="inText" href=<?php echo '"' . site_url() . '/login/resetPassword"'; ?> >here!</a> </ol> </fieldset> </form> </div> </div> <?php echo generateFooter();
echo htmlspecialchars($_SERVER["PHP_SELF"], ENT_QUOTES, "utf-8"); ?> "> <h1>Sign In</h1> <?php echo $error_message; ?> <div class="field"> <label for="username">Username:</label> <input type="text" value="<?php echo $username; ?> " id="username" class="input" name="username" maxlength="20"> </div> <div class="field"> <label for="password">Password:</label> <input type="password" value="<?php echo $password; ?> " class="input" id="password" name="password" maxlength="20"> </div> <p><a href="register.php" style="float:left; margin-left:50px">Create Account</a> <a href="recoverpass.php" style="float:left; margin-left:20px">Forgot Password?</a></p> <input type="submit" name="submit" value="Sign in" id="submit"> </form> </section> <div id="space"></div> <?php generateFooter(); ?> </body> </html>