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 require_once('../webadmin/configure.php');?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <?php //SEO $result1 = mysql_query("SELECT * FROM seo WHERE pagepath = 'Contact Us' "); $row1 = mysql_fetch_array($result1,MYSQL_ASSOC); ?> <title><?=$row1{'seotitle'};?></title> <meta name="keywords" content="<?=$row1{'seokey'};?>"> <meta name="description" content="<?=$row1{'seodesc'};?>" /> <meta http-equiv="X-UA-Compatible" content="IE=7" /> <link rel="stylesheet" type="text/css" href="../css/style.css" /> <script type="text/javascript" src="../inc/check_form.js"></script>
</head> <body><div id="container"> <div id="body"> <table width="830" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table width="830" border="0" cellspacing="0" cellpadding="0"> <tr> <td rowspan="2"><a href="index.php"><img src="../images/logo.jpg" width="220" height="105" hspace="20" style="float:left;" /></a></td> <td height="20"><form id="searchform" method="get" action="http://www.google.com/search"><input name="q" type="text" id="searchinput" /><input type="image" src="../images/btn_search.jpg" align="absmiddle"/><input type="hidden" name="sitesearch" value="<?php echo $_SERVER['SERVER_NAME']; ?>" /></form></td> </tr> <tr> <td height="80" align="left" valign="top"><div class="mainmenu"> <ul> <li><a href="index.php">Home</a></li> <li><a href="aboutus.php">About us</a></li> <li><a href="products.php">Products</a></li> <li><a href="news.php">News</a></li> <li><a href="contactus.php" class="current">Contact us</a></li> </ul> </div></td> </tr> </table></td> </tr> <tr> <td align="right" class="path">You are here: <a href="index.php">Home</a> > Contact us </td> </tr> <tr> <td><div id="homecontent"> <?php $result1 = mysql_query("SELECT * FROM contactus ORDER BY contactusid ASC "); $row1 = mysql_fetch_array($result1,MYSQL_ASSOC); if ($row1{'contactusbanner'} <> ''){ $bg = "../webadmin/contactus/".$row1{'contactusbanner'}; } else { $bg = '../webadmin/contactus/noimage.jpg'; } ?> <table width="720" border="0" cellspacing="0" cellpadding="0" style="background: url('<?=$bg;?>') no-repeat left top;"> <tr> <td width="255" height="370" align="left" valign="top" id="contactusbg"> </td> <td width="475" height="370" align="left" valign="top"><div class="contactusmsg"> <span class="txt"> <form action="../inc/mail.php" method="post" name="enquiry" id="enquiry" onsubmit="return validate_form(this)" style="display:inline;"> <input type="hidden" name="lang" value="en" /> <input type="hidden" name="contactemail" value="<?=$row1{'contactusemail'};?>" /> <table width="370" border="0"> <tr> <td width="100" align="left" valign="top" class="txt">Contact Name:</td> <td align="left" valign="top" class="txt"><input name="gender" type="radio" value="Mr." />Mr. <input name="gender" type="radio" value="Ms." />Ms. <input name="name" type="text" class="txt" style="width:165px; height:14px;"/></td> </tr> <tr> <td align="left" valign="top" class="txt">Company Name:</td> <td align="left" valign="top" class="txt"><input name="company" type="text" class="txt" style="width:250px; height:14px;" /></td> </tr> <tr> <td align="left" valign="top" class="txt">Tel:</td> <td align="left" valign="top" class="txt"><input name="tel" type="text" class="txt" style="width:250px; height:14px;" /></td> </tr> <tr> <td align="left" valign="top" class="txt">Email:</td> <td align="left" valign="top" class="txt"><input name="email" type="text" class="txt" style="width:250px; height:14px;" /></td> </tr> <tr> <td align="left" valign="top" class="txt">Enquiry:</td> <td align="left" valign="top" class="txt"><textarea name="msg" rows="4" class="txt" style="width:250px;"></textarea></td> </tr> <tr> <td align="left" valign="top" class="txt"> </td> <td align="right" valign="top" class="txt"><button type="submit" style='border:0px;background-color:transparent;' name="Submit" value="Submit"><img src="../images/btn_submit.jpg" hspace="10" /></button></td> </tr> </table></form><br /><?=$row1{'contactusdesc'};?> </span> </div></td> </tr> </table> </div> <div id="mainframetop"></div><div id="mainframeleft"></div><div id="mainframeright"></div><div id="mainframebottom"></div></td> </tr> </table> <!-- Footer --> <div id="footer"> <table width="830" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center" valign="top" class="footer">Copyright © 2015 Chatsford Group. All Rights Reserved. </td> </tr> </table> </div> <!-- End Container --> </div></body> </html> <?php mysql_close($dbh);?>
|