-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.php
117 lines (103 loc) · 4.17 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
<?php
$active = "Contact";
include('db.php');
include("functions.php");
include("header.php");
?>
<!-- Breadcrumb Section Begin -->
<div class="breacrumb-section">
<div class="container">
<div class="row">
<div class="col-lg-12">
<div class="breadcrumb-text">
<a href="index.php"><i class="fa fa-home"></i> Home</a>
<span>Contact</span>
</div>
</div>
</div>
</div>
</div>
<!-- Breadcrumb Section Begin -->
<!-- Contact Section Begin -->
<section class="contact-section spad">
<div class="container">
<div class="row">
<div class="col-lg-5">
<div class="contact-title">
<h4>Contacts Us</h4>
<p>Your Passion is our Satisfaction</p>
</div>
<div class="contact-widget">
<div class="cw-item">
<div class="ci-icon">
<i class="ti-location-pin"></i>
</div>
<div class="ci-text">
<span>Address:</span>
<p>SOUTH G-24, Navsari</p>
</div>
</div>
<div class="cw-item">
<div class="ci-icon">
<i class="ti-mobile"></i>
</div>
<div class="ci-text">
<span>Phone:</span>
<p>+91 8401952635</p>
</div>
</div>
<div class="cw-item">
<div class="ci-icon">
<i class="ti-email"></i>
</div>
<div class="ci-text">
<span>Email:</span>
<p>paramsales2022.@gmail.com</p>
</div>
</div>
</div>
</div>
<div class="col-lg-6 offset-lg-1">
<div class="contact-form">
<div class="leave-comment">
<h4>Leave A Message</h4>
<p>Our staff will call back later and answer your questions.</p>
<form action="contact.php" class="comment-form">
<div class="row">
<div class="col-lg-6">
<input type="text" placeholder="Your name" class="form-control" name="name" required>
</div>
<div class="col-lg-6">
<input type="text" placeholder="Your email" class="form-control" name="email" required>
</div>
<div class="col-lg-12">
<input type="text" placeholder="Message Subject" class="form-control" name="subject" required>
</div>
<div class="col-lg-12">
<textarea placeholder="Your message" class="form-control" name="message"></textarea>
<button class="site-btn" name="submit">Send message</button>
</div>
</div>
</form>
<?php
if (isset($_POST['submit'])) {
$user_name = $_POST['name'];
$user_email = $_POST['email'];
$user_subject = $_POST['subject'];
$user_msg = $_POST['message'];
$receiver_mail = 'yousafsaddique523@gmail.com';
mail($receiver_mail, $user_name, $user_subject, $user_msg, $user_email);
}
?>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Section End -->
<?php
include('footer.php');
?>
</body>
</html>