-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrcontact.php
53 lines (53 loc) · 1.52 KB
/
rcontact.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
<?php
include("include/header.php");
?>
<div class="content">
<div class="wrap">
<div class="content-top" style="min-height:400px;padding:0px;width:100%">
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">Send Your Message</div>
<?php
if(isset($_SESSION['error']))
{
foreach($_SESSION['error'] as $er)
{
echo'<font color="red"><b>'.$er.'</b></font>';
echo'<br>';
}
unset($_SESSION['error']);
}
if(isset($_SESSION['error']))
{
echo'<font color="green"><b>'.$_SESSION['done'].'</b></font>';
unset($_SESSION['done']);
}
?>
<div class="panel-body">
<form action="contact_process.php" method="post" id="form1">
<div class="form-group has-feedback">
<input name="nm" type="text" size="25" placeholder="Name" class="form-control" required/>
</div>
<div class="form-group has-feedback">
<input name="mno" type="text" placeholder="Mobile Number" class="form-control" required />
</div>
<div class="form-group has-feedback">
<input name="email" type="text" placeholder="Email" class="form-control" required />
</div>
<div class="form-group has-feedback">
<textarea name="msg" placeholder="Message "></textarea>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">Send Now</button>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="clear"></div>
</div>
</div>
<?php
include("include/footer.php");
?>