Remove problems from code inspection.
This commit is contained in:
@@ -17,4 +17,3 @@ if ($result2) {
|
||||
echo '<a href="index.php?section=angebote">Zur<75>ck zur <20>bersicht</a>';
|
||||
|
||||
|
||||
?>
|
||||
@@ -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']) {
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
<p>In diesem Bereich können die Fotos für die einzelnen Bildergalerien hochgeladen werden.</p>
|
||||
<p>Dafür muss eine Sektion im linken Bereich ausgewählt werden.</p>
|
||||
<p>In diesem Bereich können die Fotos für die einzelnen Bildergalerien hochgeladen werden.</p>
|
||||
<p>Dafür muss eine Sektion im linken Bereich ausgewählt werden.</p>
|
||||
@@ -8,8 +8,8 @@ if (!isset($_GET['action'])) {
|
||||
|
||||
for ($i = 0; $i < 2; $i++) {
|
||||
$pic = $path . $i . ".jpg";
|
||||
$link = $ref . "&action=add&pic=" . $i;
|
||||
if (file_exists($pic)) {
|
||||
$link = $ref . "&action=add&pic=" . $i;
|
||||
if (0 == $i) {
|
||||
echo "<p>Wohnung Gaby:</p>\n";
|
||||
} else {
|
||||
@@ -20,7 +20,6 @@ if (!isset($_GET['action'])) {
|
||||
echo "</a>\n";
|
||||
echo "<br /> ";
|
||||
} else {
|
||||
$link = $ref . "&action=add&pic=" . $i;
|
||||
echo "<a href=\"$link\">";
|
||||
echo "<img style=\"border: 2px solid red;\" src=\"../img/no.jpg\" />";
|
||||
echo "</a>\n";
|
||||
|
||||
@@ -17,4 +17,3 @@ if ($result2) {
|
||||
echo '<a href="index.php?section=gb">Zur<75>ck zur <20>bersicht</a>';
|
||||
|
||||
|
||||
?>
|
||||
@@ -10,4 +10,3 @@ if ($result2) {
|
||||
echo '<a href="' . $ref . '">Zur<75>ck zur <20>bersicht</a>';
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
$sql1 = 'SELECT * FROM ' . $table . '';
|
||||
$sql1 = 'SELECT * FROM ' . $table . ';';
|
||||
$result1 = $db->query($sql1);
|
||||
?>
|
||||
<fieldset>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
$sql1 = 'SELECT * FROM ' . $table . '';
|
||||
$sql1 = 'SELECT * FROM ' . $table . ';';
|
||||
$result1 = $db->query($sql1);
|
||||
|
||||
echo "<label><b>Mieter</b></label>";
|
||||
|
||||
@@ -10,4 +10,3 @@ if (isset($_POST['add'])) {
|
||||
include "inhalte/kal/saison/standard.php";
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -10,4 +10,3 @@ if ($result2) {
|
||||
echo '<a href="index.php?section=kal&t=saison">Zur<75>ck zur <20>bersicht</a>';
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user