Skip to content
Permalink
219cf06276
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
76 lines (76 sloc) 2.11 KB
<?php
session_start();
?>
<html>
<head>
<title>
Delete Flight Schedule Details
</title>
<style>
input {
border: 1.5px solid #030337;
border-radius: 4px;
padding: 7px 10px;
}
input[type=submit] {
background-color: #030337;
color: white;
border-radius: 4px;
padding: 7px 45px;
margin: 0px 215px
}
input[type=date] {
border: 1.5px solid #030337;
border-radius: 4px;
padding: 5.5px 30px;
}
</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">
ABC aircraft management
</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="delete_flight_details_form_handler.php" method="post">
<h2>ENTER THE FLIGHT SCHEDULE TO BE DELETED</h2>
<div>
<?php
if(isset($_GET['msg']) && $_GET['msg']=='success')
{
echo "<strong style='color:green; padding-left:20px;'>The Flight Schedule has been successfully deleted.</strong>
<br>
<br>";
}
else if(isset($_GET['msg']) && $_GET['msg']=='failed')
{
echo "<strong style='color:red; padding-left:20px;'>*Invalid Flight No./Departure Date, please enter again.</strong>
<br>
<br>";
}
?>
<table cellpadding="5" style="padding-left: 20px;">
<tr>
<td class="fix_table">Enter a valid Flight No.</td>
<td class="fix_table">Enter the Departure Date</td>
</tr>
<tr>
<td class="fix_table"><input type="text" name="flight_no" required></td>
<td class="fix_table"><input type="date" name="departure_date" required></td>
</tr>
</table>
<br>
<br>
<input type="submit" value="Delete" name="Delete">
</div>
</form>
</body>
</html>