-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.php
207 lines (171 loc) · 8.85 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
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="shortcut icon" href="./IMAGES/ulogo.PNG" type="image/x-icon">
<script src="https://kit.fontawesome.com/1cfb698203.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./CSS/contact.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>U.T| CONTACT US</title>
</head>
<body>
<section id="header"> <a href="index.html"> <img src="./IMAGES/ulogo.PNG" class="logo" alt="" width="60px"> </a>
<div>
<ul id="navbar">
<li><a href="home.html">HOME</a></li>
<li><a href="shop.html">SHOP</a></li>
<li><a href="blog.html">BLOG</a></li>
<li><a href="about.html">ABOUT</a></li>
<li><a class="active" href="contact.html">CONTACT</a></li>
<a href="#" id="close"><img src="./IMAGES/tinga.png" alt="" width="15px"></a>
</ul>
</div>
<div id="mobile">
<i id="bar" class="fas fa-outdent"></i>
</div>
</section>
<section id="contact-details" class="section-p1">
<div class="details">
<h2>Visit our Head Office</h2>
<div>
<li>
<i class="fal fa-map"></i>
<p>Utawala, mihang'o</p>
</li>
<li>
<i class="far fa-envelope"></i>
<p>[email protected]</p>
</li>
<li>
<i class="fas fa-phone-alt"></i>
<p>+2547 24 572 997</p>
</li>
<li>
<i class="far fa-clock"></i>
<p>Mon-Sat: 8am - 6:30pm</p>
</li>
</div>
</div>
<div class="map">
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3988.822135457046!2d36.961775014854645!3d-1.2803835359811473!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x182f6ca8bc774695%3A0xe822c3eebd1fc561!2sUtawala%20Complex%2C%20Eastern%20Bypass%2C%20Nairobi!5e0!3m2!1sen!2ske!4v1663223147962!5m2!1sen!2ske"
width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy"
referrerpolicy="no-referrer-when-down<?php include_once 'header.php'; ?>grade"></iframe>
</div>
</section>
<section id="form-details">
<?php
session_start();
if(isset($_SESSION['success'])){
echo '<p class="success">'.$_SESSION['success'].'</p>';
unset($_SESSION['success']);
}
if(isset($_SESSION['error'])){
echo '<p class="error">'.$_SESSION['error'].'</p>';
unset($_SESSION['error']);
}
?>
<form action="./PHP/csave.php" method="post">
<span>Leave a message</span>
<h2>We'd love to hear from you!!</h2>
<label for="name">Name:</label>
<input type="text" name="name" id="name" placeholder="Your name" required>
<label for="email">Email:</label>
<input type="email" name="email" id="email" placeholder="E-mail" required>
<label for="subject">Subject:</label>
<input type="text" name="subject" id="subject" placeholder="Subject" required>
<label for="message">Message</label>
<textarea name="message" id="message" cols="30" rows="10" placeholder="Your Message" required></textarea>
<button type="submit">Send</button>
</form>
<div class="people">
<div>
<img src="./IMAGES/mzae.jpg" alt="" width="100px">
<p><span>Mr </span> <br>
Phone: +254123456789 <br>
Gmail:[email protected]</p>
</div>
<div>
<img src="./IMAGES/aleko.jpg" alt="" width="100px">
<p><span>Mr</span> <br>
Phone: +254722234567 <br>
Gmail:@gmail.com</p>
</div>
</div>
</section>
<div class="container my-5">
<footer class="text-center text-lg-start text-white" style="background-color: grey">
<div class="container p-4 pb-0">
<section class="">
<div class="row">
<div class="col-md-3 col-lg-3 col-xl-3 mx-auto mt-3">
<h6 class="text-uppercase mb-4 font-weight-bold">
Urban Tyres
</h6>
<p>
Mazee if you need brand new tyres all sizes reach us
</p>
</div>
<hr class="w-100 clearfix d-md-none" />
<!-- Grid column -->
<div class="col-md-2 col-lg-2 col-xl-2 mx-auto mt-3">
<h6 class="text-uppercase mb-4 font-weight-bold">Links</h6>
<p>
<a class="text-white" href="./shop.html">Shop</a>
</p>
<p>
<a class="text-white" href="./contact.php">Contact</a>
</p>
<p>
<a class="text-white" href="./home.html">Home</a>
</p>
<p>
<a class="text-white" href="./blog.html">Blog</a>
</p>
<p>
<a class="text-white" href="./about.html">About</a>
</p>
</div>
<hr class="w-100 clearfix d-md-none" />
<hr class="w-100 clearfix d-md-none" />
<div class="col-md-4 col-lg-3 col-xl-3 mx-auto mt-3">
<h6 class="text-uppercase mb-4 font-weight-bold">Contact</h6>
<p><i class="fas fa-home mr-3"></i>Kenya, Nairobi - Utawala</p>
<p><i class="fas fa-envelope mr-3"></i> [email protected]</p>
<p><i class="fas fa-phone mr-3"></i> + 2547 24572997</p>
<p><i class="fas fa-print mr-3"></i> + 2547 24572997</p>
</div>
<div class="col-md-3 col-lg-2 col-xl-2 mx-auto mt-3">
<h6 class="text-uppercase mb-4 font-weight-bold">Follow us</h6>
<!-- Facebook -->
<a class="btn btn-primary btn-floating m-1" style="background-color: #3b5998" href="#!"
role="button"><i class="fab fa-facebook-f"></i></a>
<!-- Twitter -->
<a class="btn btn-primary btn-floating m-1" style="background-color: #55acee" href="#!"
role="button"><i class="fab fa-twitter"></i></a>
<!-- Google -->
<a class="btn btn-primary btn-floating m-1" style="background-color: #dd4b39" href="#!"
role="button"><i class="fab fa-google"></i></a>
<!-- Instagram -->
<a class="btn btn-primary btn-floating m-1" style="background-color: #ac2bac" href="#!"
role="button"><i class="fab fa-instagram"></i></a>
<!-- Linkedin -->
<a class="btn btn-primary btn-floating m-1" style="background-color: #0082ca" href="#!"
role="button"><i class="fab fa-linkedin-in"></i></a>
<a class="btn btn-primary btn-floating m-1" style="background-color: #00FF00" href="#!"
role="button"><i class="fab fa-whatsapp"></i></a>
</div>
</div>
</section>
</div>
<div class="text-center p-3" style="background-color: rgba(0, 0, 0, 0.2)">
©2022, Daniel Mukenya.
</div>
</footer>
</div>
</body>
</html>