-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.php
125 lines (103 loc) · 6.59 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
<?php include('includes/header.php');?>
<body>
<?php include('includes/menubar.php');?>
<div class="container-xxl py-5 bg-dark hero-header mb-5">
<div class="container text-center my-5 pt-5 pb-4">
<h1 class="display-3 text-white mb-3 animated slideInDown">Contact Us</h1>
<nav aria-label="breadcrumb">
<ol class="breadcrumb justify-content-center text-uppercase">
<li class="breadcrumb-item"><a href="#">Home</a></li>
<li class="breadcrumb-item"><a href="#">Pages</a></li>
<li class="breadcrumb-item text-white active" aria-current="page">Contact</li>
</ol>
</nav>
</div>
</div>
</div>
<!-- Navbar & Hero End -->
<!-- Contact Start -->
<div class="container-xxl py-5">
<div class="container">
<div class="text-center wow fadeInUp" data-wow-delay="0.1s">
<h5 class="section-title ff-secondary text-center text-primary fw-normal">Contact Us</h5>
<h1 class="mb-5">Contact For Any Query</h1>
</div>
<div class="row g-4">
<div class="col-12">
<div class="row gy-4">
<div class="col-md-4">
<h5 class="section-title ff-secondary fw-normal text-start text-primary">Enquiry</h5>
<p><i class="fa fa-envelope-open text-primary me-2"></i>enquiry@mail.com</p>
</div>
<div class="col-md-4">
<h5 class="section-title ff-secondary fw-normal text-start text-primary">General</h5>
<p><i class="fa fa-envelope-open text-primary me-2"></i>Khandeshitadka@mail.com
</p>
</div>
<div class="col-md-4">
<h5 class="section-title ff-secondary fw-normal text-start text-primary">Technical</h5>
<p><i class="fa fa-envelope-open text-primary me-2"></i>support@mail.com</p>
</div>
</div>
</div>
<div class="col-md-6 wow fadeIn" data-wow-delay="0.1s">
<!-- <iframe class="position-relative rounded w-100 h-100"
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3001156.4288297426!2d-78.01371936852176!3d42.72876761954724!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x4ccc4bf0f123a5a9%3A0xddcfc6c1de189567!2sNew%20York%2C%20USA!5e0!3m2!1sen!2sbd!4v1603794290143!5m2!1sen!2sbd"
frameborder="0" style="min-height: 350px; border:0;" allowfullscreen="" aria-hidden="false"
tabindex="0"></iframe> -->
<iframe class="position-relative rounded w-100 h-100" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3724.881633086345!2d75.55731211493206!3d20.997381386015388!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3bd90fb31e78b261%3A0x89dee457212c36a9!2sJalgaon%20Municipal%20Corporation%20Sagar%20Park!5e0!3m2!1sen!2sin!4v1648967581985!5m2!1sen!2sin" style=" min-height: 350px; border:0;" allowfullscreen="" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
<div class="col-md-6">
<div class="wow fadeInUp" data-wow-delay="0.2s">
<form method="post">
<div class="row g-3">
<div class="col-md-6">
<div class="form-floating">
<input type="text" class="form-control" id="name" name="name" placeholder="Your Name">
<label for="name">Your Name</label>
</div>
</div>
<div class="col-md-6">
<div class="form-floating">
<input type="email" class="form-control" id="email" name="email"placeholder="Your Email">
<label for="email">Your Email</label>
</div>
</div>
<div class="col-12">
<div class="form-floating">
<input type="text" class="form-control" id="subject" name="subject" placeholder="Subject">
<label for="subject">Subject</label>
</div>
</div>
<div class="col-12">
<div class="form-floating">
<textarea class="form-control" placeholder="Leave a message here" name="message" id="message" style="height: 150px"></textarea>
<label for="message">Message</label>
</div>
</div>
<div class="col-12">
<button class="btn btn-primary w-100 py-3" name="submit" type="submit">Send Message</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- Contact End -->
<!-- Database Connectivity Start -->
<?php
include('includes/dbcon.php');
if (isset($_POST['submit'])) {
$name= $_POST['name'];
$email= $_POST['email'];
$subject= $_POST['subject'];
$message= $_POST['message'];
$insertq = " INSERT INTO tbl_contact ( cname , cemail, csubject, cmessage ) VALUES ('$name', '$email', '$subject', '$message' )" ;
$result = mysqli_query($con , $insertq);
}
?>
<!-- Database Connectivity End -->
<!-- Footer Start -->
<?php include('includes/footer.php');?>