-
Notifications
You must be signed in to change notification settings - Fork 0
/
displaycontactus.php
156 lines (93 loc) · 4.35 KB
/
displaycontactus.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
<?php
include_once 'config.php';
?>
<!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">
<link rel="stylesheet" type="text/css" href="styles/tablestyles.css">
<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>
</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>
<br>
<center>
<h1 style="color: white" >------CONTACT US------</h1>
<div class="table-responsive">
<table>
<tr class="table-header">
<th style="background: #b2b2b2" class="bookingA">CONTACT US ID</th>
<th style="background: #b2b2b2" class="bookingA">FIRST NAME</th>
<th style="background: #b2b2b2" class="bookingA">LAST NAME</th>
<th style="background: #b2b2b2" class="bookingA">EMAIL</th>
<th style="background: #b2b2b2" class="bookingA">PHONE NUMBER</th>
<th style="background: #b2b2b2" class="bookingA">MESSAGE</th>
</tr>
<?php
$sql = "select * from contactus";
$result = $conn->query($sql);
if($result->num_rows>0){
while($row=$result->fetch_assoc()){
echo"<tr><td style='color: white ;text-align: center' class='bookingB'>".$row["ContactusID"]."</td><td style='color: white ;text-align: center' class='bookingB'>".$row["Fname"]."</td><td style='color: white ;text-align: center' class='bookingB'>".$row["Lname"]."</td><td style='color: white ;text-align: center' class='bookingB'>".$row["Email"]."</td><td style='color: white ;text-align: center' class='bookingB'>".$row["Pnum"]."</td><td style='color: white ;text-align: center' class='bookingB'>".$row["Msg"]."</td></tr>";
}
}
else{
echo"Empty Table";
}
echo"</table></div><br>";
$conn->close();
?>
<br>
</center>
<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="policy.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>