forked from hardikrana11/Student-Feedback-System
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.php
111 lines (93 loc) · 4.25 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
<?php
include('dbconfig.php');
extract($_POST);
if(isset($save))
{
mysqli_query($conn,"insert into contact values('','$n','$m','$e','$msg',now())");
$err="<font color='green'>Admin Will Contact you soon</font>";
}
?>
<div class="container">
<!-- Page Heading/Breadcrumbs -->
<div class="row">
<div class="col-lg-12">
<ol class="breadcrumb">
</li>
</ol>
</div>
</div>
<!-- /.row -->
<!-- Content Row -->
<div class="row">
<div class="col-md-8">
<h3><font color="#00FF33">Contact us </font></h3>
<form name="sentMessage" method="post" id="contactForm" novalidate>
<?php echo @$err; ?>
<div class="control-group form-group">
<div class="controls">
<label>Name:</label>
<input type="text" class="form-control" name="n" required data-validation-required-message="Please enter your name.">
<p class="help-block"></p>
</div>
</div>
<div class="control-group form-group">
<div class="controls">
<label>Mobile Number:</label>
<input type="number" class="form-control" name="m" required data-validation-required-message="Please enter your phone number.">
</div>
</div>
<div class="control-group form-group">
<div class="controls">
<label>Email Address:</label>
<input type="email" class="form-control" name="e" required data-validation-required-message="Please enter your email address.">
</div>
</div>
<div class="control-group form-group">
<div class="controls">
<label>Message:</label>
<textarea rows="10" name="msg" cols="100" class="form-control" id="message" required data-validation-required-message="Please enter your message" maxlength="999" style="resize:none"></textarea>
</div>
</div>
<div id="success"></div>
<!-- For success/fail messages -->
<button type="submit" name="save" class="btn btn-primary">Send Message</button>
<h1></h1>
</form>
</div>
<div class="col-md-4" style="margin-top:30px">
<h3>Contact Details</h3>
<p>
E-20 Sector 63<br>Noida, India 90210<br>
</p>
<p><i class="fa fa-phone"></i>
<abbr title="Phone">P</abbr>: (123) 456-7890</p>
<p><i class="fa fa-envelope-o"></i>
<abbr title="Email">E</abbr>: <a href="mailto:[email protected]">[email protected]</a>
</p>
<p><i class="fa fa-clock-o"></i>
<abbr title="Hours">H</abbr>: Monday - Sunday: 9:00 AM to 9:00 PM</p>
<ul class="list-unstyled list-inline list-social-icons">
<li>
<a href="#"><i class="fa fa-facebook-square fa-2x"></i></a>
</li>
<li>
<a href="#"><i class="fa fa-linkedin-square fa-2x"></i></a>
</li>
<li>
<a href="#"><i class="fa fa-twitter-square fa-2x"></i></a>
</li>
<li>
<a href="#"><i class="fa fa-google-plus-square fa-2x"></i></a>
</li>
</ul>
</div>
</div>
</div>
<!-- Contact Details Column -->
<!-- /.row -->
<!-- Contact Form -->
<!-- In order to set the email address and subject line for the contact form go to the bin/contact_me.php file. -->
<!-- /.row -->
<br/><br/>
</div>
<!-- /.container -->