Advertisement
Guest User

Untitled

a guest
Jun 18th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. <div class="wrapper">
  2. <h2>Login</h2>
  3. <p>Please fill in your credentials to login.</p>
  4. <form action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]); ?>" method="post">
  5. <div class="form-group <?php echo (!empty($username_err)) ? 'has-error' : ''; ?>">
  6. <label>Username</label>
  7. <input type="text" name="username"class="form-control" value="<?php echo $username; ?>">
  8. <span class="help-block"><?php echo $username_err; ?></span>
  9. </div>
  10. <div class="form-group <?php echo (!empty($password_err)) ? 'has-error' : ''; ?>">
  11. <label>Password</label>
  12. <input type="password" name="password" class="form-control">
  13. <span class="help-block"><?php echo $password_err; ?></span>
  14. </div>
  15. <div class="form-group">
  16. <input type="submit" class="btn btn-primary" value="Login">
  17. </div>
  18. <p>Don't have an account? <a href="register.php">Sign up now</a>.</p>
  19. </form>
  20. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement