-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlogausgabe-alles.php
64 lines (59 loc) · 1.92 KB
/
logausgabe-alles.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
<html>
<head>
<title>Logausgabe aller Tage</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 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";
echo "Montag $nl $nl";
include("./logs/Monday.html");
echo "$nl $nl Dienstag $nl $nl";
include("./logs/Tuesday.html");
echo "$nl $nl Mittwoch $nl $nl";
include("./logs/Wednesday.html");
echo "$nl $nl Donnerstag $nl $nl";
include("./logs/Thursday.html");
echo "$nl $nl Freitag $nl $nl";
include("./logs/Friday.html");
echo "$nl $nl Samstags $nl $nl";
include("./logs/Saturday.html");
echo "$nl $nl Sonntag $nl $nl";
include("./logs/Sunday.html");
?>
<br>
<br>
</body>
</html>