-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathcontact.php
executable file
·125 lines (114 loc) · 4.48 KB
/
contact.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Contact Us</title>
<link rel="stylesheet" href="styles/style.css" media="all">
<style>
#guides {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
border-collapse: collapse;
border: 1px solid black;
width: 740px;
}
#guides th {
text-align: left;
background-color: #3A6070;
color: #fff;
padding: 4px;
}
#guides td {
border: 1px solid black;
padding: 4px;
text-align: left;
}
#guides tr:nth-child(odd) td {
background-color: #E7EDF0;
}
#regoff {
font-size: 15px;
}
#headoff {
font-size: 16px;
}
</style>
</head>
<body>
<!--Main container starts here-->
<div class="main_wrapper">
<!--Header starts here-->
<?php include 'includes/header.php'; ?>
<!--Header ends here-->
<!--Navbar starts here-->
<?php include 'includes/navbar.php'; ?>
<!--Navbar ends here-->
<!--Content starts here-->
<div class="content_wrapper">
<div class="sidebar">
<div id="sidebar_title"><b>Contact Us</b></div>
<br><br><br><br><br><br><br>
<div id="sidebar_title"><b>24/7 Hotline</b></div>
<div id="sidebar_title"><b>Dial: 16505</b></div>
</div>
<div id="content_area">
<div id="packages_box">
<br>
<h2 style="font-family: Cambria;">Our Local Guides</h2>
<br>
<table id="guides" align="center" bgcolor="#EEE0CB">
<tr align="center" bgcolor="#5FCEE8">
<th id="thfix">Name</th>
<th id="thfix">Email</th>
<th id="thfix">Location</th>
<th id="thfix">Address</th>
<th id="thfix">Contact</th>
</tr>
<?php
include("includes/db.php");
$get_c = "SELECT * FROM employees";
$run_c = mysqli_query($con, $get_c);
$i = 0;
while ($row_c = mysqli_fetch_array($run_c)) {
$e_id = $row_c['emp_id'];
$e_name = $row_c['emp_name'];
$e_email = $row_c['emp_email'];
$e_designation = $row_c['emp_designation'];
$e_location = $row_c['emp_location'];
$e_address = $row_c['emp_address'];
$e_contact = $row_c['emp_contact'];
$i++;
?>
<tr align="left">
<td style="width: 150px;"><?php echo $e_name; ?></td>
<td style="width: 160px;"><?php echo $e_email; ?></td>
<td style="width: 100px;"><?php echo $e_location; ?></td>
<td style="width: 240px;" align="center"><?php echo $e_address; ?></td>
<td style="width: 120px;"><?php echo $e_contact; ?></td>
</tr>
<?php
}
?>
</table>
<br><br><br>
<h3 style="font-family: Cambria;">Head Office:</h3>
<p id="headoff"><b>Address: </b>221B Baker Street, London, UK.<br>
<b>Contact: </b>123456789
</p>
<br>
<h4 style="font-family: Cambria;">Regional Office:</h4>
<p id="regoff"><b>Address: </b>102 Stadium Market, Gulistan, Dhaka, Bangladesh<br>
<b>Contact: </b>0987654321
</p>
</div>
</div>
</div>
<!--Content ends here-->
<!--footer starts-->
<?php include "includes/footer.php";?>
<!--footer ends-->
</div>
<!--Main container ends here-->
</body>
</html>