Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ABC_Air_Secure_Design/login_page.php
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
66 lines (66 sloc)
2.11 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
session_start(); | |
?> | |
<html> | |
<head> | |
<title> | |
Account Login | |
</title> | |
<style> | |
input { | |
border: 1.5px solid #030337; | |
border-radius: 4px; | |
padding: 7px 30px; | |
} | |
input[type=submit] { | |
background-color: #030337; | |
color: white; | |
border-radius: 4px; | |
padding: 7px 45px; | |
margin: 0px 60px | |
} | |
</style> | |
<link rel="stylesheet" type="text/css" href="css/style.css"/> | |
<link rel="stylesheet" href="font-awesome-4.7.0\css\font-awesome.min.css"> | |
</head> | |
<body> | |
<img class="logo" src="images/irctc.jpg"/> | |
<h1 id="title"> | |
ABC Aircraft Maintenance </h1> | |
<div> | |
<ul> | |
<li><a href="home_page.php"><i class="fa fa-home" aria-hidden="true"></i> Home</a></li> | |
<li><a href="login_page.php"><i class="fa fa-ticket" aria-hidden="true"></i> Schedule Maintenance</a></li> | |
<li><a href="home_page.php"><i class="fa fa-plane" aria-hidden="true"></i> About Us</a></li> | |
<li><a href="home_page.php"><i class="fa fa-phone" aria-hidden="true"></i> Contact Us</a></li> | |
<li><a href="login_page.php"><i class="fa fa-sign-in" aria-hidden="true"></i> Login</a></li> | |
</ul> | |
</div> | |
<br> | |
<br> | |
<br> | |
<form class="float_form" style="padding-left: 40px" action="login_handler.php" method="POST"> | |
<fieldset> | |
<legend>Login Details:-</legend> | |
<strong>Username:</strong><br> | |
<input type="text" name="username" placeholder="Enter your username" required><br><br> | |
<strong>Password:</strong><br> | |
<input type="password" name="password" placeholder="Enter your password" required><br><br> | |
<strong>User Type:</strong><br> | |
Customer <input type='radio' name='user_type' value='Customer' checked/> Administrator <input type='radio' name='user_type' value='Administrator'/> | |
<br> | |
<?php | |
if(isset($_GET['msg']) && $_GET['msg']=='failed') | |
{ | |
echo "<br> | |
<strong style='color:red'>Invalid Username/Password</strong> | |
<br><br>"; | |
} | |
?> | |
<input type="submit" name="Login" value="Login"> | |
</fieldset> | |
<br> | |
<a href="new_user.php"><i class="fa fa-user-plus" aria-hidden="true"></i> Create New User Account?</a> | |
</form> | |
</body> | |
</html> |