-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogausgabe.php
51 lines (46 loc) · 1.51 KB
/
logausgabe.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
<html>
<head>
<title>Heutige Logausgabe</title>
<link rel="stylesheet" href="http://privat.tobis-bu.de/stylesheets/standard.css" type="text/css">
</head>
<body>
<?php
$zeit = getdate();
$p= $zeit["weekday"];
$nl = "<br>\n";
switch ($p)
{
case "Monday" : $tagdeutsch = "Montag";
break;
case "Tuesday" : $tagdeutsch = "Dienstag";
break;
case "Wednesday" : $tagdeutsch = "Mittwoch";
break;
case "Thursday" : $tagdeutsch = "Donnerstag";
break;
case "Friday" : $tagdeutsch = "Freitag";
break;
case "Saturday" : $tagdeutsch = "Samstag";
break;
case "Sunday" : $tagdeutsch = "Sonntag";
break;
}
echo "<h1>Alle Eingaben, die jemals am <font color=\"#FF3333\">\"$tagdeutsch\"</font> gemacht wurden</h1>\n";
echo "Andere Tage ansehen??";
echo "$nl $nl";
echo "<a href=\"./logausgabe-tag.php?p=Monday\">Montag</a><br>";
echo "<a href=\"./logausgabe-tag.php?p=Tuesday\">Dienstag</a><br>";
echo "<a href=\"./logausgabe-tag.php?p=Wednesday\">Mittwoch</a><br>";
echo "<a href=\"./logausgabe-tag.php?p=Thursday\">Donnerstag</a><br>";
echo "<a href=\"./logausgabe-tag.php?p=Friday\">Freitag</a><br>";
echo "<a href=\"./logausgabe-tag.php?p=Saturday\">Samstag</a><br>";
echo "<a href=\"./logausgabe-tag.php?p=Sunday\">Sonntag</a><br>";
echo "$nl $nl";
echo "<a href=\"./index.php\">Zurück zur Eingabe</a>";
echo "$nl $nl";
include("./logs/$p.html");
?>
<br>
<br>
</body>
</html>