-
Notifications
You must be signed in to change notification settings - Fork 9
/
contact.php
87 lines (79 loc) · 2.63 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
<?php
include("sqlcon.php");
include("header.php");
if(isset($_POST[btnsend]))
{
$date = date("d/m/y");
$qry = "insert into tblcontact(cname,email, subject, cno,message,date) values (".$_POST[name].",".$_POST[email].",".$_POST[subject].",".$_POST[cno].",".$_POST[message].",".$date.")";
if(mysqli_query($con, $qry))
{
echo "<script>alert(Thank you for your Feedback!!!);</script>";
}
}
?>
<div class="contact">
<h2> Contact</h2>
<div class="map">
<iframe src=" " frameborder="0" style="border:0" allowfullscreen></iframe>
</div>
<div class="map-grids animated wow fadeInUp" data-wow-duration="1000ms" data-wow-delay="500ms" style="left: 7em;width: 82%;">
<div class="col-md-8 map-middle">
<form method="post" action="">
<input type="text" name="name" placeholder="Name" required />
<input type="email" name="email" placeholder="Email ID" required />
<input type="text" name="cno" placeholder="Contact Number" required >
<input type="text" name="subject" placeholder="subject" required >
<textarea name="message" onfocus="this.value = ;" placeholder="Message" required ></textarea>
<input type="submit" name="btnsend" value="Send" >
</form>
</div>
<div class="col-md-4 map-left">
<h3>Address</h3>
<div class="call">
<div class="col-xs-3 contact-grdl">
<span class="glyphicon glyphicon-phone" aria-hidden="true"></span>
</div>
<div class="col-xs-9 contact-grdr">
<ul>
<li>0422-6611304</li>
</ul>
</div>
<div class="clearfix"> </div>
</div>
<div class="call">
<div class="col-xs-3 contact-grdl">
<span class="glyphicon glyphicon-send" aria-hidden="true"></span>
</div>
<div class="col-xs-9 contact-grdr">
<ul>
<li>Department of Plant Molecular Biology & Bioinformatics,</li>
<li>Centre for Plant Molecular Biology and Biotechnology</li>
<li> Tamil Nadu Agricultural University</li>
<li>Coimbatore - 641 003 </li>
<li>Tamil Nadu , India </li>
</ul>
</div>
<div class="clearfix"> </div>
</div>
<div class="call">
<div class="col-xs-3 contact-grdl">
<span class="glyphicon glyphicon-envelope" aria-hidden="true"></span>
</div>
<div class="col-xs-9 contact-grdr">
<ul>
<li><a href="mailto:[email protected]">[email protected]</a></li>
<li><a href="Web : ">Web:https://tnau.ac.in/cpmb/about-bioinformatics/ </a></li>
</ul>
</div>
<div class="clearfix"> </div>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
<!-- //map -->
<!--//content-slide-->
</div>
<?php
include("footer.php");
?>