Remove problems from code inspection.
This commit is contained in:
@@ -42,8 +42,8 @@ form br {
|
||||
}
|
||||
|
||||
#header ul {
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
text-align: center;
|
||||
}
|
||||
@@ -68,7 +68,7 @@ form br {
|
||||
position: relative;
|
||||
width: 160px;
|
||||
height: 600px;
|
||||
left: 0px;
|
||||
left: 0;
|
||||
float: left;
|
||||
background-color: #ccc;
|
||||
}
|
||||
@@ -76,8 +76,8 @@ form br {
|
||||
#links ul {
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
margin: 20px 0px;
|
||||
padding: 0px;
|
||||
margin: 20px 0;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,4 +2,3 @@
|
||||
include "funktionen.php";
|
||||
include "variablen.php";
|
||||
include "konstanten.php";
|
||||
?>
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
// Die Datei inc/funktionen.php
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?php
|
||||
// konstanten.php
|
||||
define('MYSQL_HOST', 'localhost');
|
||||
define('MYSQL_USER', 'web104');
|
||||
define('MYSQL_PASS', 'lmaa,dw.');
|
||||
define('MYSQL_DATABASE', 'usr_web104_1');
|
||||
?>
|
||||
const MYSQL_HOST = 'localhost';
|
||||
const MYSQL_USER = 'web104';
|
||||
const MYSQL_PASS = 'lmaa,dw.';
|
||||
const MYSQL_DATABASE = 'usr_web104_1';
|
||||
|
||||
@@ -16,4 +16,3 @@ $links['fotos'] = "links/fotos.php";
|
||||
$links['kal'] = "links/kal.php";
|
||||
$links['preise'] = "links/preise.php";
|
||||
|
||||
?>
|
||||
@@ -31,4 +31,3 @@ echo " </div>\n";
|
||||
echo " </div>\n";
|
||||
echo " </body>\n";
|
||||
echo "</html>\n";
|
||||
?>
|
||||
@@ -4,4 +4,3 @@ if (isset($_GET['section']) and isset($dateien[$_GET['section']])) {
|
||||
} else {
|
||||
include $dateien['will'];
|
||||
}
|
||||
?>
|
||||
@@ -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>';
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,6 +1,4 @@
|
||||
<?php
|
||||
if (isset($_GET['section']) and isset($links[$_GET['section']])) {
|
||||
include $links[$_GET['section']];
|
||||
} else {
|
||||
}
|
||||
?>
|
||||
}
|
||||
@@ -1,2 +1,2 @@
|
||||
<h1>Administrationsbereich Ferienhaus Wille</h1>
|
||||
<p>Hier können die Inhalte der Homepage geändert werden!</p>
|
||||
<p>Hier können die Inhalte der Homepage geändert werden!</p>
|
||||
Reference in New Issue
Block a user