Remove problems from code inspection.

This commit is contained in:
2023-12-28 13:51:36 +01:00
parent b70cedac3b
commit 679257d709
41 changed files with 131 additions and 153 deletions

View File

@@ -18,6 +18,8 @@ if ('will' == $_GET['t']) {
} elseif ('amelie' == $_GET['t']) {
$path = "../img/amelie/";
echo "<h2>Fotos auf der Seite Wohnung Amelie</h2>\n";
} else {
die();
}
$ref = "index.php?section=fotos&t=" . $_GET['t'];
@@ -31,13 +33,12 @@ if (!isset($_GET['action'])) {
$link = $ref . "&action=del&pic=" . $i;
echo "<a href=\"$link\">";
echo "<img style=\"margin: 20px 20px 20px 20px; border: 2px solid red;\" src=\"$pic\" width=\"100px\" height=\"100px\"/>";
echo "</a>\n";
} else {
$link = $ref . "&action=add&pic=" . $i;
echo "<a href=\"$link\">";
echo "<img style=\"margin: 20px 20px 20px 20px; border: 2px solid red;\" src=\"../img/no.jpg\" />";
echo "</a>\n";
}
echo "</a>\n";
}
} else {
if ('del' == $_GET['action']) {