-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnokia.html
More file actions
39 lines (39 loc) · 1.16 KB
/
nokia.html
File metadata and controls
39 lines (39 loc) · 1.16 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
<?
//response.setHeader("Connection","keep-alive");
if(input.legacyCSS){
if(input.legacyCSS==="1") response.setHeader("Set-Cookie","legacyCSS=1; Path=/; max-age=172800");
else response.setHeader("Set-Cookie","legacyCSS=0; Path=/; max-age=0");
}
console.log(request.rawHeaders);
console.log("user_agent",input.user_agent);
?><!DOCTYPE html>
<html>
<head>
<?=globals.functions.importHead({
input,
tabs: 2,
title: "Nokia Testseite",
autodetect: false,
})?>
</head>
<body>
<h1>Ich bin eine Überschrift</h1>
<p>Ich bin ein Langer Text: Ähm ich weiß gar nicht was ich alles noch schreiben soll schon keine lust mehr zu tippen aber mal gucken ob charset utf-8 in nokia Handys geht xD</p>
<?
if(input.legacyCSS==="1"){
?> <p><a href="/z/nokia.html?legacyCSS=0">CSS-Legacy Ausschalten.</a></p>
<?
}else{
?> <p><a href="/z/nokia.html?legacyCSS=1">CSS-Legacy Einschalten.</a></p>
<?
}
?>
<form method=get>
<input type=hidden name=msg value=test>
<input type=submit value=SUBMIT>
<button>BUTTON</button>
</form>
<p>MSG: <?=(input.msg||"").split("<").join("<").split(">").join(">")?></p>
<p>Zu <a href=/ >LFF.one</a></p>
</body>
</html>