Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once('login.php'); // Include the Login Script
- // if logged in user ID exists, then there is a session in progress with that user
- ?>
- <html>
- <link href="css/webPageStyle.css" rel="stylesheet" type="text/css"/>
- <body>
- <main>
- <?php include ("header.php");?>
- <h2>Login</h2>
- <form action="" method="post">
- <div id="box">
- <h1>Username:</h1>
- <br/>
- <input id="name" name="employee_name" placeholder="Username" type="text" pattern="[0-9A-Za-z ]{3,}">
- <br/>
- <h1>Password:</h1>
- <br/>
- <input id="password" name="employee_password" placeholder="********" type="password" pattern="[0-9A-Za-z]{3,}"><br>
- <input id="button" name="submit" type="submit" value=" Login "><br/>
- <span><?php echo $error; ?></span>
- </div>
- </form>
- </main>
- <?php include ("footer.php");?>
- </body>
- </html>
Add Comment
Please, Sign In to add comment