/
contactus.php
92 lines (60 loc) · 2.69 KB
/
contactus.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
<?php include 'header.php';?>
<script type="text/javascript">
function validateForm()
{
var email=document.forms["form1"]["email"].value;
var phone=document.forms["form1"]["phone"].value;
var desc=document.forms["form1"]["desc"].value;
if(email==0)
{
alert("Enter email address");
return false;
}else if(desc==0)
{
alert("Enter email Query description");
return false;
}else{
return true;
}
}
</script>
<div id="leftbar" style=" height:900px; width:710px; padding: 0em; border-style:solid; border-width:0px; border-color:#B8B8B8; position:absolute; left:3px; top:100px; float:left; background-color:#ffffff;" >
<h1>Contact Us</h1>
Feel free to contact on following email address regarding respective queries.
<ul>
<li>To contact advertising manager: <font color="#3333FF">adverts@<?php echo $_SERVER['SERVER_NAME'];?></font></li>
<li>To contact Administrator: <font color="#3333FF">webmaster@<?php echo $_SERVER['SERVER_NAME'];?></font></li>
<li>For report any business/events/photos etc: <font color="#3333FF">report@<?php echo $_SERVER['SERVER_NAME'];?></font></li>
<li>For any other queries: <font color="#3333FF">info@<?php echo $_SERVER['SERVER_NAME'];?></font></li>
</ul>
<br />
<h3>Direct Contact us by filling following web form</h3>
<table align="center" width="430px">
<form name="form1" action="contactus-pro.php" method="post" onSubmit="return validateForm()">
<tr height="30px"><td width="125px">Your Email<font color="#FF0000">*</font> : </td>
<td><input type="text" id="email" name="email" size="30" ></td>
</tr>
<tr height="30px"><td width="125px">Your Phone : </td>
<td><input type="text" id="phone" name="phone" size="30" ></td>
</tr>
<tr height="30px"><td width="125px">Business Category<font color="#FF0000">*</font> : </td>
<td>
<select name="cat" style="width:220px;">
<option value="advertise">want to advertise</option>
<option value="General Information">General Information</option>
<option value="advertise">want to advertise</option>
</select>
</td>
</tr>
<tr height="30px"><td width="125px">Query Description: <font color="#FF0000">*</font> : </td>
<td><textarea name="desc" id="desc" cols="25" rows="5"></textarea></td>
</tr>
<tr height="30px"><td></td>
<td><input type="submit" name="submit" value="Send Request" /></td>
</tr>
</form>
</table>
<!-- -->
</div>
<?php include 'leftbar.php';?>
<?php include 'footer.php' ?>