Guest User

Untitled

a guest
Dec 9th, 2016
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. <?php
  2. require_once('login.php'); // Include the Login Script
  3. // if logged in user ID exists, then there is a session in progress with that user
  4. ?>
  5. <html>
  6. <link href="css/webPageStyle.css" rel="stylesheet" type="text/css"/>
  7. <body>
  8. <main>
  9. <?php include ("header.php");?>
  10. <h2>Login</h2>
  11. <form action="" method="post">
  12. <div id="box">
  13. <h1>Username:</h1>
  14. <br/>
  15. <input id="name" name="employee_name" placeholder="Username" type="text" pattern="[0-9A-Za-z ]{3,}">
  16. <br/>
  17. <h1>Password:</h1>
  18. <br/>
  19. <input id="password" name="employee_password" placeholder="********" type="password" pattern="[0-9A-Za-z]{3,}"><br>
  20.  
  21. <input id="button" name="submit" type="submit" value=" Login "><br/>
  22. <span><?php echo $error; ?></span>
  23. </div>
  24. </form>
  25.  
  26. </main>
  27. <?php include ("footer.php");?>
  28. </body>
  29. </html>
Add Comment
Please, Sign In to add comment