Repository navigation
Expand file tree
/
Copy pathadmin.php
More file actions
170 lines (153 loc) · 6.6 KB
/
Copy pathadmin.php
File metadata and controls
170 lines (153 loc) · 6.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Admin Page</title>
<link href="css/bootstrap.min.css" rel="stylesheet" >
<link href="css/font-awesome.min.css" rel="stylesheet" >
<link rel="stylesheet" href="css/admin.css">
<link rel="stylesheet" href="css/global.css">
<link href="https://fonts.googleapis.com/css2?family=Jost&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Goblin+One&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<script src="js/bootstrap.bundle.min.js"></script>
</head>
<body>
<section id="header">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand col_1" href="admin.php"><span style="margin-bottom:10px;"><i class="fa fa-plane"></i></span> Kenya airways</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="admin.php">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-bs-toggle="dropdown" aria-expanded="false">Flights</a>
<ul class="dropdown-menu drop_1 " aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="add-flight.php">Add Flight</a></li>
<li><a class="dropdown-item" href="flight-list.php"> List flight</a></li>
</ul>
</li>
<!-- <li class="nav-item">
<a class="nav-link" href="add-flight.php">Add Flight</a>
</li> -->
<li class="nav-item">
<a class="nav-link" href="ticket-report.php">Ticket Report</a>
</li>
<li class="nav-item">
<a class="nav-link" href="manage-flights.php">Manage Flights</a>
</li>
<li class="nav-item">
<a class="nav-link" href="manage-passenger.php">Manage Passenger</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li class="nav-item">
<a class="nav-link" href="includes/logout.php"><span class="glyphicon glyphicon-log-out"></span> Logout</a>
</li>
</ul>
</div>
</nav>
</section>
<!-- Navigation end -->
<?php
if(isset($_GET['error'])) {
if($_GET['error'] === 'sqlerror') {
echo "<script>alert('Error while deleting the record.');</script>";
}
} else if(isset($_GET['delete'])) {
if($_GET['delete'] === 'success') {
echo "<script>alert('The Record was deleted Successfully');</script>";
}
}
?>
<section id="center" class="center_o">
<div class="container">
<div class="row center_o1 text-center">
<div class="col-md-12">
<h1 class="text-white">Admin Panel</h1>
</div>
</div>
</div>
</section>
<section id="benefit">
<div class="container">
<div class="row mb-3">
<div class="col-md-4">
<div class="benefit_1l">
<h4 class="col_1">OUR BENEFITS</h4>
<h3>AIR TRANSPORT & LOGISTICS</h3>
</div>
</div>
<div class="col-md-8">
<div class="benefit_1l">
<p>Our Best Price Guarantee ensures that you get the best fares available on our website,
also find our Best Flight Deals to the Rest of the World travelling in Business Class.
Our commitment to deliver a safe travel experience to you still remains.
If you intend to fly please check the entry requirements for the country you intend to fly to
and fill the necesary requirements form on time.</p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="award text-center">
<span style="font-size:50px;" class="col_4"><i class="fa fa-plane"></i></span>
<h1 class="text-white mt-2">7000</h1>
<h5 class="col_3 mb-0">+ Happy Clients</h5>
</div>
</div>
<div class="col-md-3">
<div class="award text-center">
<span style="font-size:50px;" class="col_4"><i class="fa fa-users"></i></span>
<h1 class="text-white mt-2">2000</h1>
<h5 class="col_3 mb-0">+ Total Members</h5>
</div>
</div>
<div class="col-md-3">
<div class="award text-center">
<span style="font-size:50px;" class="col_4"><i class="fa fa-user-plus"></i></span>
<h1 class="text-white mt-2">600</h1>
<h5 class="col_3 mb-0">+ Expert Instructor</h5>
</div>
</div>
<div class="col-md-3">
<div class="award text-center">
<span style="font-size:50px;" class="col_4"><i class="fa fa-trophy"></i></span>
<h1 class="text-white mt-2">150</h1>
<h5 class="col_3 mb-0">+ Win Awards</h5>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<section id="footer_bm">
<div class="container">
<div class="footer_2 row">
<div class="col-md-8">
<div class="footer_2l">
<p class="mb-0 col_3">© 2023 Colin Kebaso. All Rights Reserved | Design by <a class="col_4" href="#">Colin</a></p>
</div>
</div>
<div class="col-md-4">
<div class="footer_2r float-end">
<ul class="mb-0">
<li class="d-inline-block"><a class="text-light" href="#">Support</a></li>
<li style="margin-left:10px; margin-right:10px;" class="d-inline-block"><a class="text-light" href="#">Terms Of Services </a></li>
<li class="d-inline-block"><a class="text-light" href="#">Privacy Policy</a></li>
</ul>
</div>
</div>
</div>
</div>
</section>
</body>
</html>