-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact_us.php
71 lines (59 loc) · 2.25 KB
/
contact_us.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
<?php
if(isset($_POST['submit'])){
require_once('mail.php');
$sent = mail_sent($_POST);
}
?>
<?php include_once('nav.inc'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Clean Innovations</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" href="indexcss.css" type="text/css" media="screen" />
</head>
<body>
<div id="container">
<div id="logo">
<p class="one">Newly renamed Columbus Janitor Supply...</p>
<p class="two">...our new name says it all!</p>
<a href="index.php"><img src="images/logo.gif" alt="Clean Innovations" /></a>
</div>
<div id="header">
<p>An alliance strategy with both global and community partnerships that brings innovation and knowledge for a cleaner invironment</p>
</div>
<?php echo menu($_SERVER['PHP_SELF']); ?>
<div id="content">
<h2>Contact Us</h2>
<?php
if(isset($sent)){
if($sent){
echo '<h3>Thank you for your message</h3><p>We appreciate your comments and we will be sure to get back to you as soon as we can.</p>';
}
else{
echo "<h3>We're sorry</h3><p>There was an error processing your request. Please try to contact us again with this form a little later.</p>";
}
}
else{
echo '<form action="'.$_SERVER['PHP_SELF'].'" method="post">'."\n";
?>
<p class="contact">Do you have any comments, questions or concerns? Just send us an e-mail and we'll get back to you as soon as we can. Thank you for your interest.</p>
<fieldset>
<!--<legend >Contact Information</legend>-->
<div class="clear"><label for="name" >Your Name:</label><input id="name" name="name" type="text" /></div>
<div class="clear"><label for="email">Your Email Address:</label><input id="email" name="email" type="text" /></div>
<div class="clear"><label for="misc">Your Comments:</label><textarea id="misc" name="misc" rows="8" cols="25"></textarea></div>
</fieldset>
<fieldset>
<div class="clear"><input id="submit" name="submit" value="Submit" type="submit" /></div>
</fieldset>
</form>
<?php } ?>
</div><!--content-->
<div id="bottom">
<a href="#">a J6 collaboration</a>
</div><!--bottom-->
</div><!--container-->
</body>
</html>