-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
274 lines (196 loc) · 10.3 KB
/
index.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
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
<!DOCTYPE html>
<!-- Restrict user's from caching -->
<?php
//set headers to NOT cache a page
header("Cache-Control: no-cache, must-revalidate"); //HTTP 1.1
header("Pragma: no-cache"); //HTTP 1.0
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
?>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Austin Arledge</title>
<meta name="description" content="An ongoing project" />
<meta name="author" content="Austin Arledge" />
<meta name="viewport" content="width=device-width, user-scalable=no" />
<link rel="apple-touch-icon" sizes="180x180" href="img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon/favicon-16x16.png">
<link rel="stylesheet" href="css/style.css" />
<script defer type="text/javascript" src="js/main.js"></script>
<!-- h Captcha custom class -->
<script defer type="text/javascript" src="js/hCaptcha.js"></script>
<!-- h Captcha CDN -->
<script src='https://js.hcaptcha.com/1/api.js' async defer></script>
</head>
<body>
<div class="camera">
<div class="map pixelArt">
<div>
<!-- Map objects -->
<div class="river">
<div class="riverSpriteSheet"></div>
</div>
<div class="generator">
<div class="generatorSpriteSheet"></div>
</div>
<div class="palmTree">
<div class="palmTreeSpriteSheet"></div>
</div>
<div class="palmTree palmTree2">
<div class="palmTreeSpriteSheet palmTreeSpriteSheet1"></div>
</div>
<!-- Speech Box -->
<div class="text"></div>
<!-- NPCs -->
<div class="doggo doggo1">
<div class="doggoSpriteSheet doggo1SpriteSheet"></div>
</div>
<div class="soldier soldier1 pixelArt">
<div class="soldierSpriteSheet soldier1SpriteSheet pixelArt"></div>
</div>
<div class="soldier soldier2 pixelArt">
<div class="soldierSpriteSheet soldier2SpriteSheet pixelArt"></div>
</div>
<!-- PT Test Grader -->
<div class="soldier soldier3">
<div class="soldierSpriteSheet soldier3SpriteSheet"></div>
</div>
<div class="soldier soldier4">
<div class="soldierSpriteSheet soldier4SpriteSheet"></div>
</div>
<div class="tuber tuber1 pixelArt">
<div class="tuberSheet tuber1sheet pixelArt"></div>
</div>
<div class="tuber tuber2 pixelArt">
<div class="tuberSheet tuber2sheet pixelArt"></div>
</div>
<div class="grad grad1">
<div class="gradSpriteSheet grad1SpriteSheet"></div>
</div>
<div class="grad grad2">
<div class="gradSpriteSheet grad2SpriteSheet"></div>
</div>
<div class="grad grad3">
<div class="gradSpriteSheet grad3SpriteSheet"></div>
</div>
<div class="grad grad4">
<div class="gradSpriteSheet grad4SpriteSheet"></div>
</div>
<div class="grad grad5">
<div class="gradSpriteSheet grad5SpriteSheet"></div>
</div>
<!-- Bridge -->
<div>
<div id="bridge"></div>
</div>
<!-- Flags -->
<div class="armyFlag">
<div id="armyFlagSS"></div>
</div>
<div class="usFlag">
<div id="usFlagSS"></div>
</div>
<!-- Signs -->
<div class="sign goDownSign">
<div class="signSS goDownSignSS"></div>
</div>
<div class="sign armySign">
<div class="signSS armySignSS"></div>
</div>
<div class="sign cssSign">
<div class="signSS cssSignSS"></div>
</div>
<div class="sign htmlSign">
<div class="signSS htmlSignSS"></div>
</div>
<div class="sign javaSign">
<div class="signSS javaSignSS"></div>
</div>
<div class="sign mySqlSign">
<div class="signSS mySqlSignSS"></div>
</div>
<div class="sign pythonSign">
<div class="signSS pythonSignSS"></div>
</div>
<div class="sign javaScriptSign">
<div class="signSS javaScriptSignSS"></div>
</div>
<div class="sign leaderSign">
<div class="signSS leaderSignSS"></div>
</div>
<div class="sign netSysSign">
<div class="signSS netSysSignSS"></div>
</div>
<div class="sign nurseSign">
<div class="signSS nurseSignSS"></div>
</div>
<div class="sign degreeSign">
<div class="signSS degreeSignSS"></div>
</div>
<!-- Numbers for stop clock -->
<div class="numbers0-6 tenMin">
<div class="numbers-hours" id="numbers0-6"></div>
</div>
<div class="numbers oneMin">
<div class="numbers-minutes" id="numbers"></div>
</div>
<div class="numbers0-6 tenSec">
<div class="numbers-tens-seconds" id="numbers0-6"></div>
</div>
<div class="numbers hunSec">
<div class="numbers-seconds" id="numbers"></div>
</div>
</div>
<!-- Player Character -->
<div>
<div class="character pixelArt" walkDir="down" sprintDir="down" walking="true" sprinting="false">
<div class="characterSpritesheet"></div>
</div>
</div>
<!-- PT Grader's speech bubble -->
<div class="ptGraderSpeechBubble speechBubble">'MORNING SERGEANT!</div>
<!-- Mailbox has to be on top of Player Character to give proper visual effect -->
<div class="mailbox">
<div id="mailbox"></div>
</div>
<div class="mail pixelArt">
<div id="mail"></div>
</div>
<div class="mailClosed glow" onclick="displayLetterForm()">
<div class="mailClosedSpriteSheet"></div>
</div>
</div>
<!-- Player Character's Speech Bubble -->
<div class="playerText speechBubble"></div>
<!-- Control Buttons / UI -->
<div class="allBtns pixelArt">
<div class="sprint-btn single-btn glow"></div>
<div class="upBtn single-btn glow">
<div class="upBtnSpriteSheet singleBtnSpriteSheet"></div>
</div>
<div class="downBtn single-btn glow">
<div class="upBtnSpriteSheet singleBtnSpriteSheet"></div>
</div>
</div>
<!-- Form Section -->
<form id="message-form" class="pixelArt formLetterController" action="/php/sendEmail.php" method="post">
<!-- Letter Form for user to send me a message -->
<div class="pixelArt letterForm"></div>
<!-- Letter form fields -->
<input class="formText formCloseBtn" type="button" name="closeBtn" id="closeBtn" onclick="hideLetterForm()">
<label class="formText formTextLabel" for="message">DEAR AUSTIN,</label>
<textarea class="formTextField speechBubble" name="message" id="message" maxlength="495" placeholder="ENTER YOUR MESSAGE HERE!" required></textarea>
<label class="formText formEmailLabel" for="email">MY EMAIL IS:</label>
<input class="formEmailField speechBubble" type="email" name="email" id="email" maxlength="45" placeholder="ENTER YOUR EMAIL HERE!" required>
<label class="formText formNameLabel" for="name">FROM,</label>
<input class="formNameField speechBubble" type="text" name="name" id="name" maxlength="25" placeholder="ENTER YOUR NAME HERE!" required>
<!-- h Captcha -->
<div class="h-captcha h-captcha-custom" data-sitekey="--------------------> YOUR SITE KEY HERE! <--------------------"></div>
<input class="formText submitFormLetter" type="submit" value="SUBMIT">
</form>
</div>
</body>
<footer>
</footer>
</html>