Permalink
Cannot retrieve contributors at this time
85 lines (85 sloc)
2.17 KB
<?php | |
session_start(); | |
?> | |
<html> | |
<head> | |
<title> | |
Add Aircrafts Details | |
</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/shutterstock_22.jpg"/> | |
<h1 id="title"> | |
AADITH AIRLINES | |
</h1> | |
<div> | |
<ul> | |
<li><a href="admin_homepage.php"><i class="fa fa-home" aria-hidden="true"></i> Home</a></li> | |
<li><a href="admin_homepage.php"><i class="fa fa-desktop" aria-hidden="true"></i> Dashboard</a></li> | |
<li><a href="logout_handler.php"><i class="fa fa-sign-out" aria-hidden="true"></i> Logout</a></li> | |
</ul> | |
</div> | |
<form action="add_jet_details_form_handler.php" method="post"> | |
<h2>ENTER THE AIRCRAFTS DETAILS</h2> | |
<div> | |
<?php | |
if(isset($_GET['msg']) && $_GET['msg']=='success') | |
{ | |
echo "<strong style='color: green'>The Aircraft has been successfully added.</strong> | |
<br><br>"; | |
} | |
else if(isset($_GET['msg']) && $_GET['msg']=='failed') | |
{ | |
echo "<strong style='color:red'>*Jet ID already exists, please enter a new Jet ID.</strong> | |
<br><br>"; | |
} | |
?> | |
<table cellpadding="5"> | |
<tr> | |
<td class="fix_table">Enter a valid Jet ID</td> | |
</tr> | |
<tr> | |
<td class="fix_table"><input type="text" name="jet_id" required></td> | |
</tr> | |
</table> | |
<br> | |
<table cellpadding="5"> | |
<tr> | |
<td class="fix_table">Enter the Jet Type/Model</td> | |
</tr> | |
<tr> | |
<td class="fix_table"><input type="text" name="jet_type" required></td> | |
</tr> | |
</table> | |
<br> | |
<table cellpadding="5"> | |
<tr> | |
<td class="fix_table">Enter the total capacity of the Jet</td> | |
</tr> | |
<tr> | |
<td class="fix_table"><input type="number" name="jet_capacity" required></td> | |
</tr> | |
</table> | |
<br> | |
<br> | |
<input type="submit" value="Submit" name="Submit"> | |
</div> | |
</form> | |
</body> | |
</html> |