-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
373 lines (354 loc) · 19.4 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
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
<?php
session_start();
// Set Language variable
if(isset($_GET['lang']) && !empty($_GET['lang'])){
if(isset($_SESSION['lang']) && $_SESSION['lang'] != $_GET['lang']) {
$_SESSION['lang'] = $_GET['lang'];
header("Location: https://paspal.space");
die();
}
else {
$_SESSION['lang'] = $_GET['lang'];
}
if(isset($_SESSION['lang']) && $_SESSION['lang'] != $_GET['lang']){
echo "<script type='text/javascript'> location.reload(); </script>";
}
}
// Include Language file
if(isset($_SESSION['lang']) && file_exists("langs/lang_".$_SESSION['lang'].".php")){
include "langs/lang_".$_SESSION['lang'].".php";
}
else{
include "langs/lang_cz.php";
}
?>
<!DOCTYPE html>
<html>
<head>
<title>PASPAL | Letíme do vesmíru!</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Toto je oficiální stránka skupiny PASPAL, která se zúčastnila soutěže CanSat.">
<meta name="keywords" content="Satelit, PASPAL, CanSat, 2020">
<meta name="author" content="Jonáš Židek (Johno95)">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js'></script>
<link rel="icon" href="images/logo.png">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-5MRKD5HTBW"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-5MRKD5HTBW');
</script>
</head>
<body>
<div class="w3-top">
<div class="w3-bar" id="myNavbar">
<a class="w3-bar-item w3-button w3-hover-black w3-hide-large w3-right" href="javascript:void(0);" onclick="toggleFunction()" title="Toggle Navigation Menu">
<i class="fa fa-bars"></i>
</a>
<a href="#home" class="w3-bar-item w3-button"><?= _NAV ?></a>
<a href="#about" class="w3-bar-item w3-button w3-hide-small w3-hide-medium"><?= _NAV2 ?></a>
<a href="#cansat" class="w3-bar-item w3-button w3-hide-small w3-hide-medium"><?= _NAV3 ?></a>
<a href="#satelit" class="w3-bar-item w3-button w3-hide-small w3-hide-medium"><?= _NAV4 ?></a>
<a href="#team" class="w3-bar-item w3-button w3-hide-small w3-hide-medium"><?= _NAV5 ?></a>
<a href="#news" class="w3-bar-item w3-button w3-hide-small w3-hide-medium"><?= _NAV6 ?></a>
<a href="#sponzors" class="w3-bar-item w3-button w3-hide-small w3-hide-medium"><?= _NAV7 ?></a>
<a href="https://paspal.space/galerie" class="w3-bar-item w3-button w3-hide-small w3-hide-medium"><?= _NAV9 ?></a>
<a href="https://live.paspal.space/" target="_blank" class="w3-bar-item w3-button w3-hide-small w3-hide-medium"><?= _NAV8 ?></a>
<a href="https://paspal.space/?lang=cz" class="w3-bar-item w3-button w3-hide-small w3-hide-medium w3-right">CZ</a>
<a href="https://paspal.space/?lang=en" class="w3-bar-item w3-button w3-hide-small w3-hide-medium w3-right">EN</a>
</div>
<div id="navDemo" class="w3-bar-block w3-white w3-hide w3-hide-large">
<a href="#about" class="w3-bar-item w3-button" onclick="toggleFunction()"><?= _NAV2 ?></a>
<a href="#cansat" class="w3-bar-item w3-button" onclick="toggleFunction()"><?= _NAV3 ?></a>
<a href="#satelit" class="w3-bar-item w3-button" onclick="toggleFunction()"><?= _NAV4 ?></a>
<a href="#team" class="w3-bar-item w3-button" onclick="toggleFunction()"><?= _NAV5 ?></a>
<a href="#news" class="w3-bar-item w3-button" onclick="toggleFunction()"><?= _NAV6 ?></a>
<a href="#sponzors" class="w3-bar-item w3-button" onclick="toggleFunction()"><?= _NAV7 ?></a>
<a href="galerie.php" class="w3-bar-item w3-button" onclick="toggleFunction()"><?= _NAV9 ?></a>
<a href="https://live.paspal.space/" target="_blank" class="w3-bar-item w3-button" onclick="toggleFunction()"><?= _NAV8 ?></a>
<a href="https://paspal.space/?lang=cz" class="w3-bar-item w3-button w3-right">CZ</a>
<a href="https://paspal.space/?lang=en" class="w3-bar-item w3-button w3-right">EN</a>
</div>
</div>
<div class="bgimg-1 w3-display-container" id="home">
<div class="w3-display-middle" style="white-space:nowrap;">
<span class="w3-center w3-padding-large w3-black w3-xlarge w3-wide w3-animate-opacity">PASPAL</span>
</div>
</div>
<div class="w3-content w3-container w3-padding-64" id="about">
<h3 class="w3-center"><?= _NAV2 ?></h3>
<p class="w3-center"><em></em></p>
<p id="text-size"><?= _TEXT1 ?></p>
<div class="w3-row">
<div class="w3-col m6 w3-center" style="margin-top: 25px; padding-right: 9%;">
<img src="images/logo.png" class="w3-round w3-image" alt="Photo" width="250" height="150">
</div>
<div class="w3-col m6">
<p><?= _TEXT2 ?></p>
</div>
</div>
</div>
<div class="w3-row w3-center w3-dark-grey w3-padding-16">
<div class="w3-quarter w3-section">
<span class="w3-xlarge">30</span><br>
<?= _DATA1 ?>
</div>
<div class="w3-quarter w3-section">
<span class="w3-xlarge">2</span><br>
<?= _DATA2 ?>
</div>
<div class="w3-quarter w3-section">
<span class="w3-xlarge">1,200</span>+<br>
<?= _DATA3 ?>
</div>
<div class="w3-quarter w3-section">
<span class="w3-xlarge">5</span><br>
<?= _DATA4 ?>
</div>
</div>
<div class="bgimg-2 w3-display-container">
<div class="w3-display-middle">
<span class="w3-xxlarge w3-text-white w3-wide"><strong>CANSAT</strong></span>
</div>
</div>
<div class="w3-content w3-container w3-padding-64" id="cansat">
<h3 class="w3-center"><?= _TEXT3 ?></h3>
<p class="w3-center"><?= _TEXT4 ?></p>
</div>
<div class="bgimg-2 w3-display-container">
<div class="w3-display-middle">
<span class="w3-xxlarge w3-text-white w3-wide"><strong><?= _NAV4 ?></strong></span>
</div>
</div>
<div class="w3-content w3-container w3-padding-64" id="satelit">
<h3 class="w3-center">SpaceCan</h3>
<p class="w3-center"><?= _TEXT5 ?></p>
</div>
<div class="bgimg-2 w3-display-container">
<div class="w3-display-middle">
<span class="w3-xxlarge w3-text-white w3-wide"><strong><?= _NAV5 ?></strong></span>
</div>
</div>
<div class="w3-content w3-container w3-padding-64" id="team">
<h3 class="w3-center"><?= _TEXT6 ?></h3>
<p class="w3-center"><em></em></p>
<p></p>
<div class="w3-container">
<ul class="w3-ul w3-card-4">
<li class="w3-bar">
<img src="images/profily/Jirka.png" class="w3-bar-item w3-circle w3-hide-small" style="width:100px">
<div class="w3-bar-item">
<span class="w3-large">Jiří Ryška</span><br>
<span>Team Captain, Management</span>
</div>
</li>
<li class="w3-bar">
<img src="images/profily/Marek.png" class="w3-bar-item w3-circle w3-hide-small" style="width:100px">
<div class="w3-bar-item">
<span class="w3-large">Marek Kozel</span><br>
<span>Communication, Heating</span>
</div>
</li>
<li class="w3-bar">
<img src="images/profily/Jonáš.png" class="w3-bar-item w3-circle w3-hide-small" style="width:100px">
<div class="w3-bar-item">
<span class="w3-large">Jonáš Židek</span><br>
<span>Website, Graphics Design</span>
</div>
</li>
<li class="w3-bar">
<img src="images/profily/Partik.png" class="w3-bar-item w3-circle w3-hide-small" style="width:100px">
<div class="w3-bar-item">
<span class="w3-large">Patrik Glomb</span><br>
<span>Programming, Graphics Design</span>
</div>
</li>
<li class="w3-bar">
<img src="images/profily/Filip.png" class="w3-bar-item w3-circle w3-hide-small" style="width:100px">
<div class="w3-bar-item">
<span class="w3-large">Filip Gardoš</span><br>
<span>Parachute, Data</span>
</div>
</li>
<li class="w3-bar">
<img src="images/profily/Ondra.png" class="w3-bar-item w3-circle w3-hide-small" style="width:100px">
<div class="w3-bar-item">
<span class="w3-large">Ondřej Zahorán</span><br>
<span>Hardware, 3D modeling</span>
</div>
</li>
</ul>
</div>
</div>
<div class="bgimg-2 w3-display-container">
<div class="w3-display-middle">
<span class="w3-xxlarge w3-text-white w3-wide"><strong><?= _NAV6 ?></strong></span>
</div>
</div>
<div class="w3-content w3-container w3-padding-64" id="news">
<h3 class="w3-center"><?= _TEXT7 ?></h3>
<p class="w3-center"><em></em></p>
<p></p>
<div class="w3-row">
<a class="twitter-timeline" data-lang="cs" data-height="750" data-dnt="true" data-theme="dark" href="https://twitter.com/PaspalCanSat?ref_src=twsrc%5Etfw">Tweets by PaspalCanSat</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
</div>
<div class="bgimg-2 w3-display-container">
<div class="w3-display-middle">
<span class="w3-xxlarge w3-text-white w3-wide"><strong><?= _NAV7 ?></strong></span>
</div>
</div>
<div class="w3-content w3-container w3-padding-64" id="sponzors">
<h3 class="w3-center"><?= _TEXT8 ?> ❤️️</h3>
<p class="w3-center"><em></em></p>
<p></p>
<div class="w3-row w3-hide-small w3-hide-medium">
<div class="w3-col s2">
<center><a href="https://pojfm.cz/" target="_blank"><img src="images/pojfm.PNG" class="w3-bar-item" style="width:100%;max-width:150px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://palkovice.cz/index.php/cs/" target="_blank"><img src="images/Logo-Palkovice.jpg" class="w3-bar-item" style="width:100%;max-width:200px; margin-top: -25px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="http://www.ekologicky-outsourcing.cz/" target="_blank"><img src="images/ekologicky_outsourcing-logo.bmp" class="w3-bar-item" style="width:100%;max-width:140px; margin-top: -5px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://www.pepsi.cz/" target="_blank"><img src="images/Logo-Pepsi.png" class="w3-bar-item w3-circle" style="width:100%;max-width:100px; margin-top: -5px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://www.facebook.com/cansatspsoafm/" target="_blank"><img src="images/Logo%20Ajťáci%20spsoafm.jpg" class="w3-bar-item" style="width:100%;max-width:100px; margin-top: -5px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://www.facebook.com/2itcan/" target="_blank"><img src="images/Logo%20ITCan.png" class="w3-bar-item w3-circle" style="width:100%;max-width:100px; margin-top: -5px"></a></center>
</div>
</div>
<div class="w3-row w3-hide-small w3-hide-medium">
<div class="w3-col s2">
<center><a href="https://www.vsb.cz/cs/" target="_blank"><img src="images/vsb_cs.svg" class="w3-bar-item" style="width:100%;max-width:140px; margin-top: 20px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://www.facebook.com/CombiPrint-111574463628316/" target="_blank"><img src="images/logo-combiprint.jpg" class="w3-bar-item w3-circle" style="width:100%;max-width:130px; margin-top: 15px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://www.facebook.com/ogcansat/" target="_blank"><img src="images/Logo%20OGSat.jpg" class="w3-bar-item" style="width:100%;max-width:100px; margin-top: -5px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://www.facebook.com/stratocan/" target="_blank"><img src="images/Logo%20Stratocan.jpg" class="w3-bar-item w3-circle" style="width:100%;max-width:100px; margin-top: -5px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://www.mobility.siemens.com/cz/cs.html" target="_blank"><img src="images/Logo%20siemens.png" class="w3-bar-item w3-circle" style="width:100%;max-width:120px; margin-top: 20px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://dratek.cz/" target="_blank"><img src="images/logo-dratek%20-%20bily.png" class="w3-bar-item" style="width:100%;max-width:120px; margin-top: 35px"></a></center>
</div>
</div>
<div class="w3-row w3-hide-small w3-hide-medium">
<div class="w3-col s2">
<center><a href="http://www.polar.cz/" target="_blank"><img src="images/polar.png" class="w3-bar-item" style="width:100%;max-width:200px; margin-top: 40px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="http://www.kuncicepo.cz/" target="_blank"><img src="images/kunčice.png" class="w3-bar-item" style="width:100%;max-width:70px; margin-top: 20px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://raskovice.cz/" target="_blank"><img src="images/raskovice.png" class="w3-bar-item" style="width:100%;max-width:140px; margin-top: 20px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://www.przno.cz/" target="_blank"><img src="images/pržno.png" class="w3-bar-item" style="width:100%;max-width:190px; margin-top: 30px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://inzep.cz/" target="_blank"><img src="images/inzep.png" class="w3-bar-item" style="width:100%;max-width:190px; margin-top: 30px"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://vyrobareklamy.info/" target="_blank"><img src="images/výroba%20reklamy.png" class="w3-bar-item" style="width:100%;max-width:170px; margin-top: 30px"></a></center>
</div>
</div>
<div class="w3-row w3-hide-small w3-hide-medium">
<div class="w3-col s2">
<center><a href="https://www.chapes.cz/" target="_blank"><img src="images/chapes.png" class="w3-bar-item w3-circle" style="width:100%;max-width:95px;"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://www.plotbase.cz/" target="_blank"><img src="images/plotbase.png" class="w3-bar-item" style="width:100%;max-width:170px;padding-top: 30px;"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://www.o2.cz/" target="_blank"><img src="images/o2.png" class="w3-bar-item" style="width:100%;max-width:110px;"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://www.solartec.eu/" target="_blank"><img src="images/SOLARTEC.jpeg" class="w3-bar-item" style="width:100%;max-width:150px;padding-top: 20px;"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://www.aliexpress.com/" target="_blank"><img src="images/2560px-Aliexpress_logo.svg.png" class="w3-bar-item" style="width:100%;max-width:150px;padding-top: 40px;"></a></center>
</div>
<div class="w3-col s2">
<center><a href="https://www.newdimension.cz/" target="_blank"><img src="images/newdimension.png" class="w3-bar-item" style="width:100%;max-width:150px;margin-top: 40px; padding: 10px; background-color: black"></a></center>
</div>
</div>
<div class="w3-row w3-hide-small w3-hide-medium">
<div class="w3-col s2">
<strong><a href="https://www.facebook.com/stepan.sebela.7" target="_blank"><p style="text-align: center; padding: 10px;">Šebela Štěpán</p></a></strong>
</div>
<div class="w3-col s2">
<strong><a href="https://www.facebook.com/petr.poboril.7731" target="_blank"><p style="text-align: center; padding: 10px;">Petr Pobořil</p></a></strong>
</div>
<div class="w3-col s2">
<strong><a href="https://www.facebook.com/petr.gres.3" target="_blank"><p style="text-align: center; padding: 10px;">Petr Gřes</p></a></strong>
</div>
<div class="w3-col s2">
<strong><p style="text-align: center; padding: 10px;">Letiště Bahno</p></strong>
</div>
<div class="w3-col s2">
<strong><a href="http://www.elektropenco.cz/" target="_blank"><p style="text-align: center; padding: 10px;">Elektro Penco</p></a></strong>
</div>
<div class="w3-col s2">
<strong><a href="http://www.onyxmedia.cz/" target="_blank"><p style="text-align: center; padding: 10px;">onyxmedia</p></a></strong>
</div>
</div>
<iframe class="w3-hide-large" src="phone-sponzors.html" style="border: 2px solid; width: 100%; height: 300px;"></iframe>
</div>
<footer class="w3-center w3-black w3-padding-64">
<a href="#home" class="w3-button w3-light-grey"><i class="fa fa-arrow-up w3-margin-right"></i><?= _BUTTON1 ?></a>
<div class="w3-xlarge w3-section">
<a href="https://facebook.com/CanSatPaspal" target="_blank"><i class="fa fa-facebook-official w3-hover-opacity"></i></a>
<a href="https://instagram.com/paspalcansat" target="_blank"><i class="fa fa-instagram w3-hover-opacity"></i></a>
<a href="https://twitter.com/PaspalCanSat" target="_blank"><i class="fa fa-twitter w3-hover-opacity"></i></a>
<a href="https://www.youtube.com/channel/UC7gtm3pSgp-xXV9Ppiytk7A" target="_blank"><i class="fa fa-youtube w3-hover-opacity"></i></a>
<a href="mailto: [email protected]" target="_blank"><i class="fa fa-envelope w3-hover-opacity"></i></a>
</div>
<p>© PASPAL.SPACE <?= date("Y") ?></p>
<p> Email: [email protected] | <?= _TELCISLO ?>: 778 076 787</p>
</footer>
<script>
function onClick(element) {
document.getElementById("img01").src = element.src;
document.getElementById("modal01").style.display = "block";
let captionText = document.getElementById("caption");
captionText.innerHTML = element.alt;
}
window.onscroll = function() {myFunction()};
function myFunction() {
let navbar = document.getElementById("myNavbar");
if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
navbar.className = "w3-bar" + " w3-card" + " w3-animate-top" + " w3-white";
} else {
navbar.className = navbar.className.replace(" w3-card w3-animate-top w3-white", "");
}
}
function toggleFunction() {
let x = document.getElementById("navDemo");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
</script>
</body>
</html>