-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact_us.php
More file actions
75 lines (64 loc) · 2.3 KB
/
contact_us.php
File metadata and controls
75 lines (64 loc) · 2.3 KB
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
<!DOCTYPE html>
<html>
<head>
<?include "contact2_header.php"?>
<div class="container">
<div class="content">
<div class="row" style="margin-left: 0px";>
<div class="span16">
<div class="row " style="margin-left: auto; margin-right: auto; margin-bottom: 0px">
<div class="span15" style="margin-top:0px;margin-bottom: 0px; margin-left: auto; margin-right: auto; ">
<h4 class="glow" style="font-family: 'Lucida Grande', sans-serif; text-align: center; width: 100%; font-size: 20px; font-weight: lighter; color:#444444; "> </h4>
</div>
<meta charset="utf-8" />
<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<br>
</br>
<br>
</br>
<div id="contact" style="margin-left:54px; <? if (isset($_GET["B$@4it"])){ echo "margin:3px auto;"; }?>">
<form action="email.php" method="post">
<fieldset>
<label for="name">Name:</label>
<input type="text" id="name" name="name" placeholder="Enter your full name" />
<label for="email">Email:</label>
<input type="email" id="email" name = "email" placeholder="Enter your email address" />
<label for="message">Message:</label>
<textarea id="message" name = "message" placeholder="What's on your mind?"></textarea>
<? if (isset($_GET["B$@4it"])){?>
<!--<div class="row" style="width:100%;">
<div class="alert-message warning" style="background-color:orange; margin-left:150px; height: 40px;">
<table bgcolor="orange"><tr><td><p style="color:white;">
<?php $errno = $_GET["B$@4it"];
if ($errno == 1) { echo "Please fill in all the fields.";}
else if ($errno == 2) { echo "Error. Your message has not been sent. Please try again.";}
?></p></td></tr></table>
</div>
</div>-->
<div class="alert fade in" style="padding: 8px 35px 8px 14px;
margin-bottom: 18px;
color: #FFFFFF;
background-color: #FF8C00;
border: 1px solid #FF8C00;
-webkit-border-radius: 4px;">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong>Error!</strong> Please fill in all the fields.
</div>
<?}?>
<input type="submit" value="Send message" />
</fieldset>
</form>
</div>
</div>
</div>
</div>
</div>
<?include "bottom_pane.php"?>
<footer>
<p>© Duma 2011</p>
</footer>
</div>
</body>
</html>