-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
45 lines (40 loc) · 1.58 KB
/
index.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
<?php include 'sendemail.php'; ?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Responsive Contact Form</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css">
</head>
<body>
<!--alert messages start-->
<?php echo $alert; ?>
<!--alert messages end-->
<!--contact section start-->
<div class="contact-section">
<div class="contact-info">
<div><i class="fas fa-map-marker-alt"></i>Address, City, Country</div>
<div><i class="fas fa-envelope"></i>contact@email.com</div>
<div><i class="fas fa-phone"></i>+00 0000 000 000</div>
<div><i class="fas fa-clock"></i>Mon - Fri 8:00 AM to 5:00 PM</div>
</div>
<div class="contact-form">
<h2>Contact Us</h2>
<form class="contact" action="" method="post">
<input type="text" name="name" class="text-box" placeholder="Your Name" required>
<input type="email" name="email" class="text-box" placeholder="Your Email" required>
<textarea name="message" rows="5" placeholder="Your Message" required></textarea>
<input type="submit" name="submit" class="send-btn" value="Send">
</form>
</div>
</div>
<!--contact section end-->
<script type="text/javascript">
if(window.history.replaceState){
window.history.replaceState(null, null, window.location.href);
}
</script>
</body>
</html>