-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
173 lines (138 loc) · 5 KB
/
contact.html
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<title>About-Contact</title>
<link rel="stylesheet" type="text/css" href="main.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
<link rel="STYLESHEET" type="text/css" href="contact.css" />
<script type='text/javascript' src='scripts/gen_validatorv31.js'></script>
<style>
* {
box-sizing: border-box;
}
.lefttop {
background-color:#341C09;
padding:20px;
float:left;
width:30%;/*The width is 30%, by default*/
color: #D4E4F7;
}
.righttop {
background-color:#D4E4F7;
padding:20px;
float:left;
width:70%;/*The width is 70%, by default*/
color: #341C09;
text-align: left;
}
.lefttop ul {
text-align: left;
list-style: none;
}
.lefttop li a {
color: #D4E4F7;
text-decoration: none;
font-size: 3vw;
}
.leftbottom {
background-color:#236AB9;
padding:20px;
float:left;
width:30%;/*The width is 30%, by default*/
color: #B85B14;
}
.rightbottom {
background-color:#B85B14;
padding:20px;
float:left;
width:50%;/*The width is 50%, by default*/
color: #236AB9;
}
/*Use a media query to add a break point at 800px:*/
@media (max-width:800px) {
.lefttop, .righttop, .leftbottom, .rightbottom{
width:100%;/*The width is 100%, when the viewport is 800px or smaller*/
}
}
</style>
</head>
<body>
<div class="flex-container"> <!-- main container for the four boxes and footer-->
<article><!-- left column-->
<div class="lefttop">
<h3>Menu</h3>
<p>
<ul>
<li><a href="index.html" >Home </a></li>
<li><a href="music_performance.html">Music Performance</a></li>
<li><a href="music_teaching.html">Music Teaching</a></li>
<li><a href="reed_making.html">Reed Making</a></li>
<li><a href="event_management.html">Event Management</a></li>
</ul>
</p>
</div>
<div class="leftbottom">
<h3>Upcoming Events</h3>
<p>Here we add the upcoming concerts and events</p><br>
</div>
</article>
<div>
<div class="rightbottom">
<h3>Contact Me</h3>
<!-- When submitting this form, the result will be stay on this page -->
<form action="/action_page.php" target="_self">
First name:<br>
<input type="text" name="firstname" value="Mickey">
<br>
Last name:<br>
<input type="text" name="lastname" value="Mouse">
<br><br>
<input type="submit" value="Submit">
</form>
<form id='contactus' action='<?php echo $formproc->GetSelfScript(); ?>' method='post' accept-charset='UTF-8'>
<fieldset >
<legend>Contact us</legend>
<input type='hidden' name='submitted' id='submitted' value='1'/>
<input type='hidden' name='<?php echo $formproc->GetFormIDInputName(); ?>' value='<?php echo $formproc->GetFormIDInputValue(); ?>'/>
<input type='text' class='spmhidip' name='<?php echo $formproc->GetSpamTrapInputName(); ?>' />
<div class='short_explanation'>* required fields</div>
<div><span class='error'><?php echo $formproc->GetErrorMessage(); ?></span></div>
<div class='container'>
<label for='name' >Your Full Name*: </label><br/>
<input type='text' name='name' id='name' value='<?php echo $formproc->SafeDisplay('name') ?>' maxlength="50" /><br/>
<span id='contactus_name_errorloc' class='error'></span>
</div>
<div class='container'>
<label for='email' >Email Address*:</label><br/>
<input type='text' name='email' id='email' value='<?php echo $formproc->SafeDisplay('email') ?>' maxlength="50" /><br/>
<span id='contactus_email_errorloc' class='error'></span>
</div>
<div class='container'>
<label for='message' >Message:</label><br/>
<span id='contactus_message_errorloc' class='error'></span>
<textarea rows="10" cols="50" name='message' id='message'><?php echo $formproc->SafeDisplay('message') ?></textarea>
</div>
<div class='container'>
<input type='submit' name='Submit' value='Submit' />
</div>
</fieldset>
</form>
<script type='text/javascript'>
// <![CDATA[
var frmvalidator = new Validator("contactus");
frmvalidator.EnableOnPageErrorDisplay();
frmvalidator.EnableMsgsTogether();
frmvalidator.addValidation("name","req","Please provide your name");
frmvalidator.addValidation("email","req","Please provide your email address");
frmvalidator.addValidation("email","email","Please provide a valid email address");
frmvalidator.addValidation("message","maxlen=2048","The message is too long!(more than 2KB!)");
// ]]>
</script>
</div>
</div> <!-- /bottom row with two boxes -->
-->
<footer class="clearfix">Copyright © 2019 <a href="about_contact.html">About</a> | <a href="about_contact.html">Contact</a> | <a href="#">LinkedIn</a> | <a href="#">Facebook</a></footer>
</div> <!-- /main container for the four boxes -->
</body>
</html>