-
Notifications
You must be signed in to change notification settings - Fork 0
/
view.php
185 lines (150 loc) · 6.27 KB
/
view.php
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<?php
session_start();
?>
<?php
if($_SESSION["name"]) {
?>
<!DOCTYPE HTML>
<html>
<head>
<title>Car Rental System</title>
<link rel="stylesheet" type="text/css" href="styles/Home_styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="styles/footer.css">
<link rel="stylesheet" type="text/css" href="styles/stylesss.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@700&display=swap" >
<link href="https://fonts.googleapis.com/css2?family=Grenze+Gotisch:wght@700&display=swap" rel="stylesheet">
<meta charset="utf-8">
<meta name="viewpoint" content="width=device-width, initial-scale=1.0">
<script src="js/JavaScript.js"></script>
</head>
<body style="background-color:black">
<div style="background-color:orange; width:100%; height:195px; padding-bottom:20px">
<a href="index.html"><img src="images/LOGO11.png" width = "185" height = "185" class = "logo" style="border-radius:100px; padding-top:2px; padding-left:5px" align = "left"></a>
<div style="padding-top: 1px; padding-left: 10px; padding-right:150px;">
<header>
<center><h1 class="monospace"><b>EagleEye Rent-a-Car</b></h1></center>
<p style="position: relative; text-align:right; width:111%; font-size:18px"><a href="logout.php" style="text-decoration:none">LOG OUT </a></p>
</header>
</div>
</div>
<ul class="menu">
<li class="menu"><a href="index.html"><i class="fa fa-home" id="nav-image"></i>Home</a></li>
<li class="menu"><a href="about us.html"><i class="fa fa-user" id="nav-image"></i>About Us</a></li>
<li class="menu"><a href="Rates.php"><i class="fa fa-usd" id="nav-image"></i>Rates</a></li>
<li class="menu"><a href="contactUs.html"><i class="fa fa-phone" id="nav-image"></i>Contact Us</a></li>
</ul>
<center>
<h1 style="color: white" >!!..Welcome <?php echo $_SESSION["name"]; ?> ..!!</h1>
</center>
<div class="BoxesRate">
<div class="columnRate">
<div class="cardRate">
<img src="images/img10.jpg" width = "100%" height = "160">
<h2 style="text-align: center">Customer</h2>
<div style=" padding-left:5px" align = "center">
<a href="admin_customer.php"><button class="button" type="button">VIEW CUSTOMERS</button></a>
</div>
<div style="padding-top:20px; padding-left:5px" align = "center">
<a href="aDelete_customer.html"><button class="button" type="button">DELETE CUSTOMERS</button></a>
</div>
</div>
</div>
<div class="columnRate">
<div class="cardRate">
<img src="images/img11.jpg" width = "100%" height = "160">
<h2 style="text-align: center">Driver</h2>
<div style=" padding-left:5px" align = "center">
<a href="admin_drivers.php"><button class="button" type="button">VIEW DRIVERS</button></a>
</div>
<div style="padding-top:20px; padding-left:5px" align = "center">
<a href="aDelete_driver.html"><button class="button" type="button">DELETE DRIVERS</button></a>
</div>
</div>
</div>
</div>
<center>
<h2 style="color: white" >------VEHICLES------</h2>
</center>
<div>
<div style=" padding-left:5px" align = "center">
<a href="addVehicles.html"><button class="button" type="button">ADD VEHICLE</button></a>
</div><br>
<div style=" padding-left:5px" align = "center">
<a href="updateVehicle.html"><button class="button" type="button">UPDATE VEHICLE</button></a>
</div><br>
<div style=" padding-left:5px" align = "center">
<a href="deleteVehicle.html"><button class="button" type="button">DELETE VEHICLE</button></a>
</div><br>
</div>
<br><br>
<center>
<div class="BoxesRate">
<div class="columnRate">
<div class="cardRate">
<h2 style="text-align: center">CONTACT US</h2>
<div style=" padding-left:5px" align = "center">
<a href="displaycontactus.php"><button class="button" type="button">VIEW CONTACT US</button></a>
</div>
<br>
<div style=" padding-left:5px" align = "center">
<a href="deletecontactus.html"><button class="button" type="button">DELETE CONTACT US</button></a>
</div>
</div>
</div>
<div class="columnRate">
<div class="cardRate">
<h2 style="text-align: center">FEEDBACKS</h2>
<div style=" padding-left:5px" align = "center">
<a href="displayfeedback.php"><button class="button" type="button">VIEW FEEDBACKS</button></a>
</div>
</div>
</div>
</div>
</center>
<center>
<h2 style="color: white" >------BOOKING DETAILS------</h2>
</center>
<div>
<div style=" padding-left:5px" align = "center">
<a href="displayBooking2.php"><button class="button" type="button">VIEW WITH DRIVER</button></a>
<a href="deletewithDriver.html"><button class="button" type="button">DELETE WITH DRIVER</button></a>
</div><br>
<div style=" padding-left:5px" align = "center">
<a href="displayBooking.php"><button class="button" type="button">VIEW SELF DRIVE</button></a>
<a href="deleteselfDrive.html"><button class="button" type="button">DELETE SELF DRIVE</button></a>
</div><br>
</div>
<br>
<footer style="background-color:#283c5f; width:100%; height:200px; padding-top:2px">
<div class="main-content">
<div class="left box1">
<h4><a href="#">QUICK LINKS</a></h4>
<h5><a href="index.html">HOME</a></h5>
<h5><a href="https://distancecalculator.globefeed.com/Sri_Lanka_Distance_Calculator.asp">DISTANCE CALCULATOR</a></h5>
<h5><a href="terms.html">TERMS & CONDITIONS</a></h5>
</div>
<div class="left box2">
<h4><a href="#"></a></h4>
<h5><a href="Rates.php">RATES</a></h5>
<h5><a href="about us.html">ABOUT US</a></h5>
<h5><a href="contactUs.html">CONTACT US</a></h5>
<h5><a href="privacy.html">PRIVACY POLICY</a></h5>
</div>
<img src="images/LOGO12.png" width="400px" height="170px" class="logo" style=" padding-top:15px; padding-left:10px; padding-right:230px" align="center">
<div class="right box3">
<h4><font color="white">FOLLOW US</font></h4>
<div class="social">
<a href="#"><span class="fa fa-facebook"></span></a>
<a href="#"><span class="fa fa-twitter"></span></a>
<a href="#"><span class="fa fa-instagram"></span></a>
<a href="#"><span class="fa fa-youtube"></span></a>
</div>
</div>
</div>
</footer>
<h5 align="center"><font color="white">Copyright 2020 © eagleeye.com . All Rights Reserved.</font></h5>
</body>
</html>
<?php } else echo "<script>alert('Please Login First'); window.location='Login_admin.php';</script>";
?>