forked from nisiya/MaristIDCP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
41 lines (35 loc) · 951 Bytes
/
footer.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
<!--Footer-->
<br><br><br><br><br>
<footer class="footer">
<div class="container-fluid" style="text-align: center;">
<p class="text-muted">Copyright © <?php echo date("Y")?> Donald R. Schwartz and Marist College. All rights reserved.</p>
</div>
</footer>
<script>
var code = [38, 38, 40, 40, 37, 39, 37, 39, 66, 65];
var othercode = [72, 69, 65, 68, 79, 70, 68, 79, 78];
var pos = 0;
var otherpos = 0;
document.addEventListener('keydown', function(event) {
if(event.keyCode == code[pos]) {
pos++;
if(pos == code.length){
window.location.href = "subhome.php";
}
}
else{
pos = 0;
}
});
document.addEventListener('keydown', function(event) {
if(event.keyCode == othercode[otherpos]) {
otherpos++;
if(otherpos == othercode.length){
window.location.href = "subsubhome.php";
}
}
else{
otherpos = 0;
}
});
</script>