-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtbi.php
More file actions
214 lines (189 loc) · 6.42 KB
/
tbi.php
File metadata and controls
214 lines (189 loc) · 6.42 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
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
<!doctype html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Escape game</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<script src="js/typed.min.js" type="text/javascript"></script>
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Popper JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
</head>
<style>
@import url('https://fonts.googleapis.com/css?family=Slabo+27px');
*{
padding:0;
margin:0;
box-sizing: border-box;
}
html, body {
height:100%;
font-size: 100%;
background: url("img/matric.gif");
background-size: cover;
overflow: hidden;
user-select: none;
-moz-user-select: -moz-none;
}
article{
color: rgba(0,204,17,0.9);
font-family: 'Slabo 27px', serif;
font-size: 18px;
padding: 0 0 0 25%;
max-height:90%;
width:100%;
white-space:pre;
overflow: hidden;
background-color: rgba(0,0,0,.8);
}
.lettre{
text-decoration: underline;
}
footer{
width: 100%;
height: 10%;
position: fixed;
bottom: 0;
background-color: limegreen;
box-shadow: 0px 0 20px limegreen;
animation: interference 4s infinite;
}
.full {
position:absolute;
top:0;
left:0;
width: 100%;
height: 100%;
background: url("img/matric.gif");
background-size: cover;
text-align: center;
line-height: 100vh;
}
.full img {
box-shadow: 0px 0 100px limegreen;
border-radius:10px ;
background-color: rgba(0,0,0,.5);
animation: interference 5s infinite;
}
.letter {
background-color: black;
box-shadow: 0 0 15px 0 limegreen inset;
color: limegreen;
animation: interference 4s infinite;
}
@keyframes interference {
0% {
transform: skewX(0)
}
31% {
transform: skewX(-2deg)
}
31.5% {
transform: skewX(89deg)
}
32% {
transform: skewX(89deg)
}
32.1% {
transform: skewX(0)
}
33% {
transform: skewX(2deg)
}
54% {
transform: skewX(0deg)
}
94% {
transform: skewX(2deg)
}
95.1% {
transform: skewX(-3deg)
}
95.2% {
transform: skewX(-89deg)
}
95.3% {
transform: skewX(2deg)
}
100% {
transform: skewX(0)
}
}
</style>
<body>
<article id="typed"></article>
<footer>
<div class="container">
<div class="float-left"><img src="tbi/clickarrow.png" width="100"></div>
<div class="word row pt-4">
</div>
</div>
</footer>
<script src="js/discoword.js"></script>
<?php
include ('php/config.php');
$discoword = '"'.$discoword.'"';
echo '<script>discoword('.$discoword.')</script>';
?>
<script>
document.addEventListener('DOMContentLoaded', function() {
var typed = new Typed('#typed', {
strings: ['<!DOCTYPE html>\n' +
'<html lang="fr">\n' +
'<head>\n' +
' <meta charset="UTF-8">\n' +
' <title>Le hac<span class="lettre">k</span>eur de la BMI</title>\n' +
'</head>\n' +
'<body>\n' +
' <header id="header" role="banner">\n' +
' <nav id="navigation" role="navigation">\n' +
' <ul class="liste">\n' +
' <li class="elementListe">La BM<span class="lettre">I</span> et ses deux relais ont en fait été victimes de cyberattaque</li>\n' +
' <li class="elementListe">Cyberattaque à la BMI : tout est rentré dans l’ordre</li>\n' +
' </ul>\n' +
' </nav>\n' +
' </<span class="lettre">h</span>eader>\n' +
' <main id="main" role="main" class="flex-item-fluid pam">\n' +
' <h1>La BMI ne peut momentanément pas procéder à des prêts de docume<span class="lettre">n</span>ts suite à une cyberattaque...</h1>\n' +
' <p>\n' +
' Le résultat d’une cyberattaque dont a été victime le réseau informatique de l’établissement culturel dans la nuit de jeudi à vendredi.<br>\n' +
' <span class="lettre">A</span>vec « rançonning », c’est-à-dire d’une demande de rançon de la part des cyberpirates.<br>\n' +
' </p>\n' +
' <p>\n' +
' Mobilisés toute la nuit de cette attaque, les informaticiens (les gentils, pas les méchants) avaient cru avoir solutionné l’affaire vendredi matin.<br>\n' +
' Mais le virus était plus coriace qu’on aurait pu le <span class="lettre">c</span>roire.<br>\n' +
' Ils promettent que tout sera rentré dans l’ordre jeudi soir et que les « otages » (les données informatiques) auront été libérés.<br>\n' +
' Sans qu’aucune rançon eût été versée bien sûr!\n' +
' </p>\n' +
' </main>\n' +
' <footer id="footer" role="Contentinfo" class="pam"><ul class="pam">\n' +
' Les responsables de la communauté d’Ag<span class="lettre">g</span>lo d’Épinal et les personnels de la BMI saluent en attendant l’attitude des usagers qui se montrent compréhensifs.\n' +
' </footer>\n' +
'</body>\n' +
'</html>' +
''],
typeSpeed: 5,
backSpeed: 0,
fadeOut: true,
loop: true
});
});
</script>
<script>
$(document).ready(function(){
$(this).bind("contextmenu",function(e){
return false;
});
positionScroll();
});
function positionScroll(){
var hauteurCode = document.getElementById('typed').scrollHeight;
document.getElementById('typed').scrollTo(0,hauteurCode);
setTimeout(positionScroll, 100);
}
</script>
</body>
</html>