error nachricht
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -82,7 +82,7 @@ $melly: #6959cd
|
|||||||
|
|
||||||
#falseDay
|
#falseDay
|
||||||
display: inline-block
|
display: inline-block
|
||||||
margin: 1rem 0 -14px 0
|
margin: 1rem 0 -5px 0
|
||||||
width: 40%
|
width: 40%
|
||||||
|
|
||||||
p
|
p
|
||||||
|
|||||||
41
tab/tuer.php
41
tab/tuer.php
@@ -1,7 +1,42 @@
|
|||||||
<?php
|
<?php
|
||||||
$nr = $_GET["nr"];
|
$nr = $_GET["nr"];
|
||||||
|
|
||||||
$tag = strtotime($nr." December 2023");
|
$images = [
|
||||||
|
"", // 0 Leer lassen
|
||||||
|
"1-image", // 1
|
||||||
|
"2-image",
|
||||||
|
"3-image",
|
||||||
|
"4-image",
|
||||||
|
"5-image",
|
||||||
|
"6-image",
|
||||||
|
"7-image",
|
||||||
|
"8-image",
|
||||||
|
"9-image",
|
||||||
|
"10-image",
|
||||||
|
"11-image",
|
||||||
|
"12-image",
|
||||||
|
"13-image",
|
||||||
|
"14-image",
|
||||||
|
"15-image",
|
||||||
|
"16-image",
|
||||||
|
"1-image",
|
||||||
|
"2-image",
|
||||||
|
"3-image",
|
||||||
|
"4-image",
|
||||||
|
"5-image",
|
||||||
|
"6-image",
|
||||||
|
"7-image",
|
||||||
|
"24",
|
||||||
|
"scheniiW",
|
||||||
|
"packa"
|
||||||
|
];
|
||||||
|
if ($nr>-1 && $nr<sizeof($images)) {
|
||||||
|
$errorImage = $images[$nr];
|
||||||
|
}else {
|
||||||
|
$errorImage = "pepperPig";
|
||||||
|
}
|
||||||
|
|
||||||
|
$tag = strtotime($nr." December 2024");
|
||||||
if (isset($_GET["debug"])) {
|
if (isset($_GET["debug"])) {
|
||||||
$now = strtotime($_GET["debug"]);
|
$now = strtotime($_GET["debug"]);
|
||||||
} else {
|
} else {
|
||||||
@@ -12,6 +47,8 @@ if ($now < $tag) {
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="tueren">
|
<div class="tueren">
|
||||||
<?php
|
<?php
|
||||||
switch ($nr) {
|
switch ($nr) {
|
||||||
@@ -404,7 +441,7 @@ if ($now < $tag) {
|
|||||||
default:
|
default:
|
||||||
echo('<div id="txt"><h3>Falscher Tag</h3><p id="false">
|
echo('<div id="txt"><h3>Falscher Tag</h3><p id="false">
|
||||||
Ah Ah Ah, nicht so voreilig. <br> Dieser Tag ist noch nicht an der Reihe !, <br> Du muss dich noch ein wenig Gedulden. </p>
|
Ah Ah Ah, nicht so voreilig. <br> Dieser Tag ist noch nicht an der Reihe !, <br> Du muss dich noch ein wenig Gedulden. </p>
|
||||||
<img id="falseDay" src="src/images/peperPig/pepperPig.png"</img>
|
<img id="falseDay" src="src/images/peperPig/'.$errorImage.'.png"</img>
|
||||||
</div>');
|
</div>');
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user