-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlv8.php
39 lines (39 loc) · 1.24 KB
/
lv8.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
<html>
<head>
<title> r3:0 lv8 </title>
<meta charset='utf-8' />
<link rel='stylesheet' href='css/main.css' />
<link href="https://fonts.googleapis.com/css?family=Noto+Serif+TC|Overpass+Mono&display=swap" rel="stylesheet">
</head>
<body>
<nav class='nav'>
<div> r3:0 異世界網站挑戰 </div>
<div> 關卡: 8 </div>
<?php
if(isset($_GET['hint'])){
if($_GET['hint']==='help'){
echo "<div class='nav__help'>[大賢者] 也許藏在 response header 裡面 ?</div>";
}
}
?>
</nav>
<?php if(isset($_GET['token']) && $_GET['token']==='cookieyumyum') {
setcookie("TokenIsMe", "", time()-3600);
header("TokenIsMe: {headshot}");
?>
<div class='main'>
<?php include_once('template/board.html') ?>
<?php include_once('template/controller.html') ?>
</div>
<script src='js/main.js'></script>
<script src='js/lv8.js'></script>
<?php } else { ?>
<div class='main'>
<?php include_once('template/board.html') ?>
<?php include_once('template/controller.html') ?>
</div>
<script src='js/main.js'></script>
<script src='js/failmsg.js'></script>
<?php } ?>
</body>
</html>