Compare commits
10 Commits
cfb1a58846
...
6975e68508
| Author | SHA1 | Date | |
|---|---|---|---|
| 6975e68508 | |||
| 4da5fc3f9c | |||
| 66af0a2bb7 | |||
| 7cd0ed9f58 | |||
| 648ea29dac | |||
| c1a95d5a3e | |||
| 24b4275b40 | |||
| ff41eb7866 | |||
| 73073186c0 | |||
| e090fdc63d |
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/.idea
|
||||
@@ -13,10 +13,13 @@ RUN apt-get clean && \
|
||||
ENV APACHE_DOCUMENT_ROOT /var/www
|
||||
ENV APACHE_RUN_USER www-data
|
||||
|
||||
RUN sed -ri -e 's!/var/www/html!/var/www!g' /etc/apache2/sites-available/*.conf
|
||||
RUN sed -ri -e 's!/var/www/!/var/www!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
|
||||
RUN sed -ri -e 's!/var/www/html!/var/www/public!g' /etc/apache2/sites-available/*.conf
|
||||
RUN sed -ri -e 's!/var/www/!/var/www/public!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
|
||||
RUN sed -ri -e 's!AllowOverride None!AllowOverride All!g' /etc/apache2/apache2.conf
|
||||
|
||||
RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
|
||||
RUN sed -ri -e 's!upload_max_filesize = 2M!upload_max_filesize = 8M!g' $PHP_INI_DIR/php.ini
|
||||
|
||||
RUN a2enmod rewrite
|
||||
|
||||
ARG UNAME=www-data
|
||||
|
||||
@@ -13,6 +13,4 @@ if (!isset($_GET['t'])) {
|
||||
} else {
|
||||
include "inhalte/fotos/standard.php";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<ul>
|
||||
<li><a href="index.php?section=fotos">Fotos</a></li>
|
||||
<li><a href="index.php?section=angebote">Datenschutzerklärung</a></li>
|
||||
<li><a href="index.php?section=angebote">Angebote</a></li>
|
||||
<li><a href="index.php?section=gb">Gästebuch</a></li>
|
||||
<li><a href="index.php?section=kal">Kalender</a></li>
|
||||
<li><a href="index.php?section=preise">Preise</a></li>
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
<?php
|
||||
include "funktionen.php";
|
||||
include "variablen.php";
|
||||
include "konstanten.php";
|
||||
@@ -1,6 +0,0 @@
|
||||
<?php
|
||||
|
||||
// Die Datei inc/funktionen.php
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
<?php
|
||||
// konstanten.php
|
||||
const MYSQL_HOST = 'localhost';
|
||||
const MYSQL_USER = 'web104';
|
||||
const MYSQL_PASS = 'lmaa,dw.';
|
||||
const MYSQL_DATABASE = 'usr_web104_1';
|
||||
@@ -1,18 +0,0 @@
|
||||
<?php
|
||||
// Die Leeren Arrays erzeugen
|
||||
$dateien = array();
|
||||
$links = array();
|
||||
|
||||
// Das Array f<>r die Inhaltsseite mit den entsprechenden Dateien f<>llen
|
||||
$dateien['fotos'] = "fotos.php";
|
||||
$dateien['angebote'] = "angebote.php";
|
||||
$dateien['gb'] = "gb.php";
|
||||
$dateien['kal'] = "kal.php";
|
||||
$dateien['preise'] = "preise.php";
|
||||
$dateien['will'] = "will.php";
|
||||
|
||||
// Das Array f<>r die linke Navigation mit den entsprechenden Dateien f<>llen
|
||||
$links['fotos'] = "links/fotos.php";
|
||||
$links['kal'] = "links/kal.php";
|
||||
$links['preise'] = "links/preise.php";
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
<?php
|
||||
error_reporting(E_ALL);
|
||||
include "inc/config.php"; // die Konfigurationsdateien lesen
|
||||
|
||||
// Verbindung zu MySQL Aufbauen
|
||||
$db = @new MySQLi(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DATABASE);
|
||||
if (mysqli_connect_errno()) {
|
||||
die('Konnte keine Verbindung zu Datenbank aufbauen, MySQL meldete: ' . mysqli_connect_error());
|
||||
}
|
||||
|
||||
|
||||
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n";
|
||||
echo " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
|
||||
echo "<html>\n";
|
||||
echo " <head>\n";
|
||||
echo " <title>Administrationsbereich Ferienhaus - Wille</title>\n";
|
||||
echo " <link rel=\"stylesheet\" type=\"text/css\" href=\"css/page.css\" />\n";
|
||||
echo " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" />\n";
|
||||
echo " </head>\n";
|
||||
echo " <body>\n";
|
||||
echo " <div id=\"root\">\n";
|
||||
echo " <div id=\"header\">\n"; // Oben der Header
|
||||
include "header.php";
|
||||
echo " </div>\n";
|
||||
echo " <div id=\"links\">\n"; // Navigation links
|
||||
include "links.php";
|
||||
echo " </div>\n";
|
||||
echo " <div id=\"inhalt\">\n"; // In der Mitte der Inhalt
|
||||
include "inhalt.php";
|
||||
echo " </div>\n";
|
||||
echo " </div>\n";
|
||||
echo " </body>\n";
|
||||
echo "</html>\n";
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
if (isset($_GET['section']) and isset($dateien[$_GET['section']])) {
|
||||
include $dateien[$_GET['section']];
|
||||
if (isset($_GET['section']) and isset($admin[$_GET['section']])) {
|
||||
include $admin[$_GET['section']];
|
||||
} else {
|
||||
include $dateien['will'];
|
||||
}
|
||||
include $admin['will'];
|
||||
}
|
||||
@@ -14,6 +14,4 @@ if ($result2) {
|
||||
} else {
|
||||
echo "Fehler beim Löschen";
|
||||
}
|
||||
echo '<a href="index.php?section=angebote">Zurück zur Übersicht</a>';
|
||||
|
||||
|
||||
echo '<a href="index.php?section=angebote">Zurück zur Übersicht</a>';
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
<?php
|
||||
if (!isset($_POST['Speichern'])) {
|
||||
echo "<img src=\"../img/angebot/" . $_POST['Titel'] . ".jpg\" /><br />";
|
||||
$ts = time();
|
||||
echo "<img src=\"../img/angebot/" . $_POST['Titel'] . ".jpg?ts=" . $ts . "\" /><br />";
|
||||
$sql1 = 'SELECT * FROM Angebot WHERE ID = "' . $_POST['Titel'] . '"';
|
||||
$result1 = $db->query($sql1);
|
||||
$nt1 = $result1->fetch_assoc();
|
||||
@@ -81,7 +82,6 @@ if (!isset($_POST['Speichern'])) {
|
||||
if (!$stmt2->execute()) {
|
||||
die ('Query konnte nicht ausgef<65>hrt werden: ' . $stmt->error);
|
||||
}
|
||||
echo "Der Eintrag wurde ge<EFBFBD>ndert<br />";
|
||||
echo '<a href="index.php?section=angebote">Zur<EFBFBD>ck zur <EFBFBD>bersicht</a>';
|
||||
}
|
||||
?>
|
||||
echo "Der Eintrag wurde geändert<br />";
|
||||
echo '<a href="index.php?section=angebote">Zurück zur Übersicht</a>';
|
||||
}
|
||||
@@ -100,7 +100,6 @@ if (!isset($_POST['Speichern'])) {
|
||||
imagedestroy($tmp);
|
||||
unlink($uploaddir . $_FILES['Foto']['name']);
|
||||
}
|
||||
echo '<a href="index.php?section=angebote">Zur<EFBFBD>ck zur <EFBFBD>bersicht</a>';
|
||||
echo '<a href="index.php?section=angebote">ZurÜck zur übersicht</a>';
|
||||
|
||||
}
|
||||
?>
|
||||
}
|
||||
@@ -1,22 +1,24 @@
|
||||
<?php
|
||||
|
||||
$imgPath = __DIR__ . '/../../../public/img';
|
||||
|
||||
if ('will' == $_GET['t']) {
|
||||
$path = "../img/will/";
|
||||
$path = $imgPath . '/will/';
|
||||
echo "<h2>Fotos auf der Seite Willkommen</h2>\n";
|
||||
} elseif ('haus' == $_GET['t']) {
|
||||
$path = "../img/haus/";
|
||||
$path = $imgPath . '/haus/';
|
||||
echo "<h2>Fotos auf der Seite Unser Haus</h2>\n";
|
||||
} elseif ('lage' == $_GET['t']) {
|
||||
$path = "../img/haus/lage/";
|
||||
$path = $imgPath . '/haus/lage/';
|
||||
echo "<h2>Fotos auf der Seite Unser Haus - Lage</h2>\n";
|
||||
} elseif ('geschichte' == $_GET['t']) {
|
||||
$path = "../img/haus/geschichte/";
|
||||
$path = $imgPath . '/haus/geschichte/';
|
||||
echo "<h2>Fotos auf der Seite Unser Haus - Geschichte</h2>\n";
|
||||
} elseif ('gaby' == $_GET['t']) {
|
||||
$path = "../img/gaby/";
|
||||
$path = $imgPath . '/gaby/';
|
||||
echo "<h2>Fotos auf der Seite Wohnung Gaby</h2>\n";
|
||||
} elseif ('amelie' == $_GET['t']) {
|
||||
$path = "../img/amelie/";
|
||||
$path = $imgPath . '/amelie/';
|
||||
echo "<h2>Fotos auf der Seite Wohnung Amelie</h2>\n";
|
||||
} else {
|
||||
die();
|
||||
@@ -25,6 +27,7 @@ if ('will' == $_GET['t']) {
|
||||
$ref = "index.php?section=fotos&t=" . $_GET['t'];
|
||||
|
||||
if (!isset($_GET['action'])) {
|
||||
$ts = time();
|
||||
echo "<p>Auf ein vorhandenes Bild klicken um es zu löschen<br />";
|
||||
echo "Auf einen Platzhalter klicken um ein neues Bild hochzuladen</p>";
|
||||
for ($i = 0; $i < 10; $i++) {
|
||||
@@ -32,7 +35,7 @@ if (!isset($_GET['action'])) {
|
||||
if (file_exists($pic)) {
|
||||
$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 "<img style=\"margin: 20px 20px 20px 20px; border: 2px solid red;\" src=\"" . str_replace(__DIR__ . '/../../../public', '', $pic) . "?ts=" . $ts . "\" width=\"100px\" height=\"100px\"/>";
|
||||
} else {
|
||||
$link = $ref . "&action=add&pic=" . $i;
|
||||
echo "<a href=\"$link\">";
|
||||
|
||||
@@ -3,12 +3,11 @@
|
||||
<?php
|
||||
|
||||
if (isset($_POST['add'])) {
|
||||
include "inhalte/fotos/bilder/add.php";
|
||||
include __DIR__ . '/bilder/add.php';
|
||||
} elseif (isset($_POST['edit'])) {
|
||||
include "inhalte/fotos/bilder/edit.php";
|
||||
include __DIR__ . '/bilder/edit.php';
|
||||
} elseif (isset($_POST['del'])) {
|
||||
include "inhalte/fotos/bilder/del.php";
|
||||
include __DIR__ . '/bilder/del.php';
|
||||
} else {
|
||||
include "inhalte/fotos/bilder/standard.php";
|
||||
}
|
||||
?>
|
||||
include __DIR__ . '/bilder/standard.php';
|
||||
}
|
||||
@@ -10,7 +10,7 @@ if (!isset($_POST['Speichern'])) {
|
||||
<input type="file" name="Foto"/>
|
||||
<br/>
|
||||
<label>Bildüberschrift</label>
|
||||
<input type="text" name="Text"/>
|
||||
<textarea name="Text" cols="90" rows="10"></textarea>
|
||||
<br/>
|
||||
<input type="submit" name="Speichern" value="Speichern"/>
|
||||
</form>
|
||||
@@ -18,7 +18,7 @@ if (!isset($_POST['Speichern'])) {
|
||||
<?php
|
||||
} else {
|
||||
if ('' != $_FILES['Foto']['name']) {
|
||||
$Text = $_POST['Text'];
|
||||
$Text = $db->real_escape_string($_POST['Text']);
|
||||
$sql1 = 'INSERT INTO bilder (ID, Head) VALUES (NULL, "' . $Text . '");';
|
||||
$stmt1 = $db->prepare($sql1);
|
||||
if (!$stmt1) {
|
||||
@@ -33,9 +33,9 @@ if (!isset($_POST['Speichern'])) {
|
||||
$last = $result2->fetch_assoc();
|
||||
$id = $last['last_insert_id()'];
|
||||
|
||||
$uploaddir = '../img/umgebung/bilder/';
|
||||
$uploaddir = __DIR__ . '/../../../../public/img/umgebung/bilder/';
|
||||
$uploadfile = $uploaddir . $_FILES['Foto']['name'];
|
||||
move_uploaded_file($_FILES['Foto']['tmp_name'], $uploadfile);
|
||||
$test = move_uploaded_file($_FILES['Foto']['tmp_name'], $uploadfile);
|
||||
$src = imagecreatefromjpeg($uploadfile);
|
||||
list($width, $height) = getimagesize($uploadfile);
|
||||
if ($height > $width) {
|
||||
@@ -55,4 +55,3 @@ if (!isset($_POST['Speichern'])) {
|
||||
}
|
||||
echo '<a href="index.php?section=fotos&t=bilder">Zurück zur Übersicht</a>';
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
|
||||
if (!isset($_POST['Speichern'])) {
|
||||
echo "<p>Dieses Bild löschen?</p>\n";
|
||||
$file = "../img/umgebung/bilder/" . $_POST['Titel'] . ".jpg";
|
||||
|
||||
$ts = time();
|
||||
$file = "../img/umgebung/bilder/" . $_POST['Titel'] . ".jpg?ts=" . $ts;
|
||||
echo "<img src=\"$file\"><br />\n";
|
||||
$sql1 = 'SELECT * FROM bilder WHERE ID = "' . $_POST['Titel'] . '"';
|
||||
$result1 = $db->query($sql1);
|
||||
@@ -32,6 +34,4 @@ if (!isset($_POST['Speichern'])) {
|
||||
echo "Fehler beim L<>schen";
|
||||
}
|
||||
echo '<a href="index.php?section=fotos&t=bilder">Zurück zur Übersicht</a>';
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
@@ -3,7 +3,8 @@
|
||||
<?php
|
||||
|
||||
if (!isset($_POST['Speichern'])) {
|
||||
echo "<img src=\"../img/umgebung/bilder/" . $_POST['Titel'] . ".jpg\" /><br />";
|
||||
$ts = time();
|
||||
echo "<img src=\"../img/umgebung/bilder/" . $_POST['Titel'] . ".jpg?ts=" . $ts . "\" /><br />";
|
||||
$sql1 = 'SELECT Head FROM bilder WHERE ID = "' . $_POST['Titel'] . '"';
|
||||
$result1 = $db->query($sql1);
|
||||
$nt1 = $result1->fetch_assoc();
|
||||
@@ -15,14 +16,14 @@ if (!isset($_POST['Speichern'])) {
|
||||
<input type="hidden" name="edit" value="speichern"/>
|
||||
<input type="hidden" name="id" value="<?php echo $_POST['Titel']; ?>"/>
|
||||
<label>Bildüberschrift</label>
|
||||
<input type="text" name="Text" value="<?php echo $nt1['Head']; ?>"/>
|
||||
<textarea name="Text" cols="90" rows="10"><?php echo $nt1['Head']; ?></textarea>
|
||||
<br/>
|
||||
<input type="submit" name="Speichern" value="Speichern"/>
|
||||
</form>
|
||||
|
||||
<?php
|
||||
} else {
|
||||
$Text = $_POST['Text'];
|
||||
$Text = $db->real_escape_string($_POST['Text']);
|
||||
$sql2 = 'UPDATE bilder SET Head = "' . $Text . '" WHERE ID = "' . $_POST['id'] . '";';
|
||||
$stmt2 = $db->prepare($sql2);
|
||||
if (!$stmt2) {
|
||||
@@ -33,5 +34,4 @@ if (!isset($_POST['Speichern'])) {
|
||||
}
|
||||
echo "Die Überschrift wurde gespeichert<br />";
|
||||
echo '<a href="index.php?section=fotos&t=bilder">Zurück zur Übersicht</a>';
|
||||
}
|
||||
?>
|
||||
}
|
||||
@@ -5,6 +5,7 @@ $ref = "index.php?section=fotos&t=" . $_GET['t'];
|
||||
|
||||
if (!isset($_GET['action'])) {
|
||||
echo "<p>Auf ein Bild klicken um es zu ersetzen<br />";
|
||||
$ts = time();
|
||||
|
||||
for ($i = 0; $i < 2; $i++) {
|
||||
$pic = $path . $i . ".jpg";
|
||||
@@ -16,7 +17,7 @@ if (!isset($_GET['action'])) {
|
||||
echo "<p>Wohnung Amelie:</p>\n";
|
||||
}
|
||||
echo "<a href=\"$link\">";
|
||||
echo "<img style=\"border: 2px solid red;\" src=\"$pic\" width=\"100px\" height=\"100px\"/>";
|
||||
echo "<img style=\"border: 2px solid red;\" src=\"$pic?ts=$ts\" width=\"100px\" height=\"100px\"/>";
|
||||
echo "</a>\n";
|
||||
echo "<br /> ";
|
||||
} else {
|
||||
@@ -60,5 +61,4 @@ if (!isset($_GET['action'])) {
|
||||
echo "<p>Bild hochgeladen</p>";
|
||||
echo "<a href=\"index.php?section=fotos&t=$_GET[t]\">Zurück zur Übersicht</a>\n";
|
||||
}
|
||||
}
|
||||
?>
|
||||
}
|
||||
@@ -14,6 +14,4 @@ if ($result2) {
|
||||
} else {
|
||||
echo "Fehler beim L<>schen";
|
||||
}
|
||||
echo '<a href="index.php?section=gb">Zurück zur Übersicht</a>';
|
||||
|
||||
|
||||
echo '<a href="index.php?section=gb">Zurück zur Übersicht</a>';
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
<?php
|
||||
if (!isset($_POST['Speichern'])) {
|
||||
echo "<img src=\"../img/umgebung/gb/" . $_POST['Titel'] . ".jpg\" /><br />";
|
||||
$ts = time();
|
||||
echo "<img src=\"../img/umgebung/gb/" . $_POST['Titel'] . ".jpg?ts=" . $ts . "\" /><br />";
|
||||
$sql1 = 'SELECT Autor, Text, Datum FROM gb WHERE ID = "' . $_POST['Titel'] . '"';
|
||||
$result1 = $db->query($sql1);
|
||||
$nt1 = $result1->fetch_assoc();
|
||||
@@ -28,8 +29,8 @@ if (!isset($_POST['Speichern'])) {
|
||||
|
||||
<?php
|
||||
} else {
|
||||
$Autor = $_POST['Autor'];
|
||||
$Text = $_POST['Text'];
|
||||
$Autor = $db->real_escape_string($_POST['Autor']);
|
||||
$Text = $db->real_escape_string($_POST['Text']);
|
||||
$Datum = $_POST['Datum'];
|
||||
$sql2 = 'UPDATE gb SET Autor = "' . $Autor . '", Text = "' . $Text . '", Datum = "' . $Datum . '" WHERE ID = "' . $_POST['id'] . '";';
|
||||
$stmt2 = $db->prepare($sql2);
|
||||
@@ -41,5 +42,4 @@ if (!isset($_POST['Speichern'])) {
|
||||
}
|
||||
echo "Der Eintrag wurde geändert<br />";
|
||||
echo '<a href="index.php?section=gb">Zurück zur Übersicht</a>';
|
||||
}
|
||||
?>
|
||||
}
|
||||
@@ -24,8 +24,8 @@ if (!isset($_POST['Speichern'])) {
|
||||
<?php
|
||||
} else {
|
||||
if ('' != $_FILES['Foto']['name']) {
|
||||
$Autor = $_POST['Autor'];
|
||||
$Text = $_POST['Text'];
|
||||
$Autor = $db->real_escape_string($_POST['Autor']);
|
||||
$Text = $db->real_escape_string($_POST['Text']);
|
||||
$Datum = $_POST['Datum'];
|
||||
$sql1 = 'INSERT INTO gb (ID, Autor, Text, Datum) VALUES (NULL, "' . $Autor . '", "' . $Text . '", "' . $Datum . '");';
|
||||
$stmt1 = $db->prepare($sql1);
|
||||
@@ -62,5 +62,4 @@ if (!isset($_POST['Speichern'])) {
|
||||
unlink($uploaddir . $_FILES['Foto']['name']);
|
||||
}
|
||||
echo '<a href="index.php?section=gb">Zurück zur Übersicht</a>';
|
||||
}
|
||||
?>
|
||||
}
|
||||
@@ -5,15 +5,13 @@ $table = "Kal_Amelie";
|
||||
$ref = "index.php?section=kal&t=amelie";
|
||||
|
||||
if (isset($_POST['add'])) {
|
||||
include "inhalte/kal/belegung/add.php";
|
||||
include __DIR__ . '/belegung/add.php';
|
||||
} elseif (isset($_POST['edit'])) {
|
||||
include "inhalte/kal/belegung/edit.php";
|
||||
include __DIR__ . '/belegung/edit.php';
|
||||
} elseif (isset($_POST['del'])) {
|
||||
include "inhalte/kal/belegung/del.php";
|
||||
include __DIR__ . '/belegung/del.php';
|
||||
} elseif (isset($_POST['view'])) {
|
||||
include "inhalte/kal/belegung/view.php";
|
||||
include __DIR__ . '/belegung/view.php';
|
||||
} else {
|
||||
include "inhalte/kal/belegung/standard.php";
|
||||
}
|
||||
|
||||
?>
|
||||
include __DIR__ . '/belegung/standard.php';
|
||||
}
|
||||
@@ -30,6 +30,4 @@ if (!isset($_POST['Speichern'])) {
|
||||
}
|
||||
echo '<a href="' . $ref . '">Zurück zur Übersicht</a>';
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
@@ -7,6 +7,4 @@ if ($result2) {
|
||||
} else {
|
||||
echo "Fehler beim L<>schen";
|
||||
}
|
||||
echo '<a href="' . $ref . '">Zurück zur Übersicht</a>';
|
||||
|
||||
|
||||
echo '<a href="' . $ref . '">Zurück zur Übersicht</a>';
|
||||
@@ -5,7 +5,6 @@ $sql1 = 'SELECT * FROM ' . $table . ' WHERE ID = "' . $_POST['Titel'] . '";';
|
||||
$result1 = $db->query($sql1);
|
||||
$nt1 = $result1->fetch_assoc();
|
||||
if (!isset($_POST['Speichern'])) {
|
||||
var_dump($_POST);
|
||||
echo "<br />";
|
||||
?>
|
||||
|
||||
@@ -36,6 +35,4 @@ if (!isset($_POST['Speichern'])) {
|
||||
}
|
||||
echo '<a href="' . $ref . '">Zurück zur Übersicht</a>';
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
@@ -5,15 +5,13 @@ $table = "Kal_Gaby";
|
||||
$ref = "index.php?section=kal&t=gaby";
|
||||
|
||||
if (isset($_POST['add'])) {
|
||||
include "inhalte/kal/belegung/add.php";
|
||||
include __DIR__ . '/belegung/add.php';
|
||||
} elseif (isset($_POST['edit'])) {
|
||||
include "inhalte/kal/belegung/edit.php";
|
||||
include __DIR__ . '/belegung/edit.php';
|
||||
} elseif (isset($_POST['del'])) {
|
||||
include "inhalte/kal/belegung/del.php";
|
||||
include __DIR__ . '/belegung/del.php';
|
||||
} elseif (isset($_POST['view'])) {
|
||||
include "inhalte/kal/belegung/view.php";
|
||||
include __DIR__ . '/belegung/view.php';
|
||||
} else {
|
||||
include "inhalte/kal/belegung/standard.php";
|
||||
}
|
||||
|
||||
?>
|
||||
include __DIR__ . '/belegung/standard.php';
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
<?php
|
||||
|
||||
if (isset($_POST['add'])) {
|
||||
include "inhalte/kal/saison/add.php";
|
||||
include __DIR__ . '/saison/add.php';
|
||||
} elseif (isset($_POST['edit'])) {
|
||||
include "inhalte/kal/saison/edit.php";
|
||||
include __DIR__ . '/saison/edit.php';
|
||||
} elseif (isset($_POST['del'])) {
|
||||
include "inhalte/kal/saison/del.php";
|
||||
include __DIR__ . '/saison/del.php';
|
||||
} else {
|
||||
include "inhalte/kal/saison/standard.php";
|
||||
include __DIR__ . '/saison/standard.php';
|
||||
}
|
||||
|
||||
|
||||
@@ -37,6 +37,4 @@ if (!isset($_POST['Speichern'])) {
|
||||
die ('Query konnte nicht ausgeführt werden: ' . $stmt1->error);
|
||||
}
|
||||
echo '<a href="index.php?section=kal&t=saison">Zurück zur Übersicht</a>';
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
@@ -7,6 +7,4 @@ if ($result2) {
|
||||
} else {
|
||||
echo "Fehler beim L<>schen";
|
||||
}
|
||||
echo '<a href="index.php?section=kal&t=saison">Zurück zur Übersicht</a>';
|
||||
|
||||
|
||||
echo '<a href="index.php?section=kal&t=saison">Zurück zur Übersicht</a>';
|
||||
@@ -45,6 +45,4 @@ if (!isset($_POST['Speichern'])) {
|
||||
die ('Query konnte nicht ausgeführt werden: ' . $stmt1->error);
|
||||
}
|
||||
echo '<a href="index.php?section=kal&t=saison">Zurück zur übersicht</a>';
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
@@ -51,5 +51,4 @@ if (!isset($_POST['Speichern'])) {
|
||||
}
|
||||
echo "Der Eintrag wurde geändert<br />";
|
||||
echo '<a href="index.php?section=preise">Zurück zur Übersicht</a>';
|
||||
}
|
||||
?>
|
||||
}
|
||||
@@ -2,16 +2,15 @@
|
||||
<?php
|
||||
|
||||
if (!isset($_GET['t'])) {
|
||||
include "inhalte/kal/standard.php";
|
||||
include __DIR__ . '/inhalte/kal/standard.php';
|
||||
} else {
|
||||
if ('saison' == $_GET['t']) {
|
||||
include "inhalte/kal/saison.php";
|
||||
include __DIR__ . '/inhalte/kal/saison.php';
|
||||
} elseif ('gaby' == $_GET['t']) {
|
||||
include "inhalte/kal/gaby.php";
|
||||
include __DIR__ . '/inhalte/kal/gaby.php';
|
||||
} elseif ('amelie' == $_GET['t']) {
|
||||
include "inhalte/kal/amelie.php";
|
||||
include __DIR__ . '/inhalte/kal/amelie.php';
|
||||
} else {
|
||||
include "inhalte/kal/standard.php";
|
||||
include __DIR__ . '/inhalte/kal/standard.php';
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -11,6 +11,4 @@ if (!isset($_GET['t'])) {
|
||||
} else {
|
||||
include "inhalte/amelie/standard.php";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
@@ -269,5 +269,4 @@
|
||||
Interesse im Sinne von Art. 6 Abs. 1 lit. f DSGVO dar.
|
||||
Mehr Informationen zum Umgang mit Nutzerdaten finden Sie in der Datenschutzerklärung von Google:
|
||||
https://www.google.de/intl/de/policies/privacy/.
|
||||
|
||||
<from/>
|
||||
</p>
|
||||
@@ -1,7 +1,2 @@
|
||||
<!--
|
||||
die Datei footer.php als HTML-Modus
|
||||
da sie nur ein Bild ausgibt und kein
|
||||
PHP-Code benoetigt.
|
||||
-->
|
||||
<a href="https://www.steinle-computer.de" target="_blank">© CS medien- & kommunikationssysteme</a>
|
||||
<span style="float: left; margin-left: 20px;">Ferienhaus Wille - 87541 Bad Hindelang - Tel: +49 8324 952154 - E-mail: info@ferienhaus-wille.de</span>
|
||||
4
gaby.php
@@ -11,6 +11,4 @@ if (!isset($_GET['t'])) {
|
||||
} else {
|
||||
include "inhalte/gaby/standard.php";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
5
haus.php
@@ -13,7 +13,4 @@ if (!isset($_GET['t'])) {
|
||||
} else {
|
||||
include "inhalte/haus/standard.php";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
}
|
||||
41
header.php
@@ -1,42 +1,3 @@
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript">
|
||||
if (window.navigator.systemLanguage && !window.navigator.language) {
|
||||
function hoverIE() {
|
||||
var LI = document.getElementById("Navigation").firstChild;
|
||||
do {
|
||||
if (sucheUL(LI.firstChild)) {
|
||||
LI.onmouseover = einblenden;
|
||||
LI.onmouseout = ausblenden;
|
||||
}
|
||||
LI = LI.nextSibling;
|
||||
}
|
||||
while (LI);
|
||||
}
|
||||
|
||||
function sucheUL(UL) {
|
||||
do {
|
||||
if (UL) UL = UL.nextSibling;
|
||||
if (UL && UL.nodeName == "UL") return UL;
|
||||
}
|
||||
while (UL);
|
||||
return false;
|
||||
}
|
||||
|
||||
function einblenden() {
|
||||
var UL = sucheUL(this.firstChild);
|
||||
UL.style.display = "block";
|
||||
UL.style.backgroundColor = "#eee";
|
||||
}
|
||||
|
||||
function ausblenden() {
|
||||
sucheUL(this.firstChild).style.display = "none";
|
||||
}
|
||||
|
||||
window.onload = hoverIE;
|
||||
}
|
||||
</script>
|
||||
<![endif]-->
|
||||
|
||||
<div id="Tmenu">
|
||||
<ul id="Navigation">
|
||||
<li><a href="index.php?section=will">Willkommen</a>
|
||||
@@ -89,4 +50,4 @@
|
||||
</li>
|
||||
</ul>
|
||||
<div></div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
include "konstanten.php";
|
||||
include "funktionen.php";
|
||||
include "variablen.php";
|
||||
include "konstanten.php";
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
<?php
|
||||
// Die Leeren Arrays erzeugen
|
||||
$dateien = array();
|
||||
$titel = array();
|
||||
$dateien = [];
|
||||
$titel = [];
|
||||
$admin = [];
|
||||
$links = [];
|
||||
|
||||
// Das Array für die Inhaltsseite mit den entsprechenden Dateien füllen
|
||||
$dateien['will'] = "will.php";
|
||||
@@ -17,3 +18,19 @@ $titel['home'] = "Willkommen beim Ferienhaus Wille";
|
||||
$titel['leist'] = "Beratung, Satz, Druck und mehr";
|
||||
$titel['anreise'] = "Kontakt zur Druckerei Martin";
|
||||
|
||||
$links['fotos'] = "links/fotos.php";
|
||||
$links['kal'] = "links/kal.php";
|
||||
$links['preise'] = "links/preise.php";
|
||||
|
||||
$admin['fotos'] = "fotos.php";
|
||||
$admin['angebote'] = "angebote.php";
|
||||
$admin['gb'] = "gb.php";
|
||||
$admin['kal'] = "kal.php";
|
||||
$admin['preise'] = "preise.php";
|
||||
$admin['will'] = "will.php";
|
||||
|
||||
|
||||
$db = @new MySQLi(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DATABASE);
|
||||
if (mysqli_connect_errno()) {
|
||||
die('Konnte keine Verbindung zu Datenbank aufbauen, MySQL meldete: ' . mysqli_connect_error());
|
||||
}
|
||||
|
||||
52
index.php
@@ -1,52 +0,0 @@
|
||||
<?php
|
||||
error_reporting(E_ALL);
|
||||
include "inc/config.php"; // die Konfigurationsdateien lesen
|
||||
|
||||
// Verbindung zu MySQL Aufbauen
|
||||
$db = @new MySQLi(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DATABASE);
|
||||
if (mysqli_connect_errno()) {
|
||||
die('Konnte keine Verbindung zu Datenbank aufbauen, MySQL meldete: ' . mysqli_connect_error());
|
||||
}
|
||||
|
||||
if (isset($_GET['section']) and isset($titel[$_GET['section']])) {
|
||||
$temp_titel = $titel[$_GET['section']];
|
||||
} else {
|
||||
$temp_titel = "Ferienhaus Wille";
|
||||
}
|
||||
|
||||
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n";
|
||||
echo " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
|
||||
echo "<html>\n";
|
||||
echo " <head>\n";
|
||||
echo " <title>" . $temp_titel . "</title>\n";
|
||||
echo " <link rel=\"stylesheet\" type=\"text/css\" href=\"css/page.css\" />\n";
|
||||
echo " <meta name=\"description\" content=\"offsetdruck martin, druckerei martin, richard martin \" /> \n";
|
||||
echo " <meta name=\"keywords\" content=\"offsetdruck martin, druckerei martin, postprint, preprint, druck\" /> \n";
|
||||
echo " <meta name=\"Generator\" content=\"Christian Steinle (C) 2009. All rights reserved.\" /> \n";
|
||||
echo " <meta name=\"robots\" content=\"index, follow\" /> \n";
|
||||
echo " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\" />\n";
|
||||
echo " </head>\n";
|
||||
echo " <body align=\"center\">\n";
|
||||
|
||||
echo " <div id=\"root\">\n"; // ganz oberer Div-Holder
|
||||
echo " <div id=\"header\">\n"; // Oben der Header
|
||||
include "header.php";
|
||||
echo " </div>\n";
|
||||
echo " <div id=\"clear\">\n"; // Textfluss <20>ndern
|
||||
echo " </div>\n";
|
||||
echo " <div id=\"cleaner\">\n"; // Textfluss <20>ndern
|
||||
echo " </div>\n";
|
||||
echo " <div id=\"inhalt\">\n"; // In der Mitte der Inhalt
|
||||
include "inhalt.php";
|
||||
echo " </div>\n";
|
||||
echo " <div id=\"clear2\">\n"; // Textfluss <20>ndern
|
||||
echo " </div>\n";
|
||||
echo " <div id=\"cleaner\">\n"; // Textfluss <20>ndern
|
||||
echo " </div>\n";
|
||||
echo " <div id=\"footer\">\n"; // Unten der Footer
|
||||
include "footer.php";
|
||||
echo " </div>\n";
|
||||
echo " </div>\n";
|
||||
|
||||
echo " </body>\n";
|
||||
echo "</html>\n";
|
||||
@@ -3,4 +3,4 @@ if (isset($_GET['section']) and isset($dateien[$_GET['section']])) {
|
||||
include $dateien[$_GET['section']];
|
||||
} else {
|
||||
include $dateien['will'];
|
||||
}
|
||||
}
|
||||
@@ -29,9 +29,8 @@
|
||||
<td>E-Mail:</td>
|
||||
<td><a href="mailto:info@ferienhaus-wille.de">info@ferienhaus-wille.de</a></td>
|
||||
</tr>
|
||||
</div>
|
||||
<?php
|
||||
include "inhalte/kalender.php";
|
||||
echo "<br style=\"clear:right;\" />";
|
||||
include "inhalte/kal_def.php";
|
||||
?>
|
||||
</table>
|
||||
|
||||
<?php include __DIR__ . '/../kalender.php'; ?>
|
||||
<br style="clear:right;" />
|
||||
<?php include __DIR__ . '/../kal_def.php'; ?>
|
||||
|
||||
@@ -65,11 +65,8 @@
|
||||
echo " </tr>\n";
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
include "inhalte/kalender.php";
|
||||
echo "<br style=\"clear:right;\" />";
|
||||
include "inhalte/kal_def.php";
|
||||
echo "<br class=\"clear\" />\n";
|
||||
include "inhalte/preis_def.php";
|
||||
|
||||
?>
|
||||
<?php include __DIR__ . '/../kalender.php'; ?>
|
||||
<br style="clear:right;" />
|
||||
<?php include __DIR__ . '/../kal_def.php'; ?>
|
||||
<br class="clear" />
|
||||
<?php include __DIR__ . '/../preis_def.php'; ?>
|
||||
@@ -24,9 +24,4 @@
|
||||
<li>Handtücher, Geschirrtücher und weiße Kochbettwäsche sowie Endreinigung inklusive</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="rspalte">
|
||||
|
||||
<?php
|
||||
include "inhalte/rfoto.php";
|
||||
?>
|
||||
<div id="rspalte"><?php include __DIR__ . '/../rfoto.php'; ?></div>
|
||||
@@ -29,8 +29,8 @@
|
||||
<td>E-Mail:</td>
|
||||
<td><a href="mailto:info@ferienhaus-wille.de">info@ferienhaus-wille.de</a></td>
|
||||
</tr>
|
||||
<?php
|
||||
include "inhalte/kalender.php";
|
||||
echo "<br style=\"clear: right;\" />";
|
||||
include "inhalte/kal_def.php";
|
||||
?>
|
||||
</table>
|
||||
|
||||
<?php include __DIR__ . '/../kalender.php'; ?>
|
||||
<br style="clear:right;" />
|
||||
<?php include __DIR__ . '/../kal_def.php'; ?>
|
||||
|
||||
@@ -65,11 +65,8 @@
|
||||
echo " </tr>\n";
|
||||
?>
|
||||
</table>
|
||||
<?php
|
||||
include "inhalte/kalender.php";
|
||||
echo "<br style=\"clear:right;\" />";
|
||||
include "inhalte/kal_def.php";
|
||||
echo "<br class=\"clear\" />\n";
|
||||
include "inhalte/preis_def.php";
|
||||
|
||||
?>
|
||||
<?php include __DIR__ . '/../kalender.php'; ?>
|
||||
<br style="clear:right;" />
|
||||
<?php include __DIR__ . '/../kal_def.php'; ?>
|
||||
<br class="clear" />
|
||||
<?php include __DIR__ . '/../preis_def.php'; ?>
|
||||
@@ -18,9 +18,4 @@
|
||||
<li>Handtücher, Geschirrtücher und weiße Kochbettwäsche sowie Endreinigung inklusive.</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="rspalte">
|
||||
|
||||
<?php
|
||||
include "inhalte/rfoto.php";
|
||||
?>
|
||||
<div id="rspalte"><?php include __DIR__ . '/../rfoto.php'; ?></div>
|
||||
@@ -33,7 +33,4 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="rspalte">
|
||||
<?php
|
||||
include "inhalte/rfoto.php";
|
||||
?>
|
||||
<div id="rspalte"><?php include __DIR__ . '/../rfoto.php'; ?></div>
|
||||
@@ -28,7 +28,4 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="rspalte">
|
||||
<?php
|
||||
include "inhalte/rfoto.php";
|
||||
?>
|
||||
<div id="rspalte"><?php include __DIR__ . '/../rfoto.php'; ?></div>
|
||||
@@ -23,8 +23,4 @@
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="rspalte">
|
||||
<?php
|
||||
include "inhalte/rfoto.php";
|
||||
?>
|
||||
<div id="rspalte"><?php include __DIR__ . '/../rfoto.php'; ?></div>
|
||||
@@ -1,30 +1,30 @@
|
||||
<div id="lspalte"/>
|
||||
<h2>Unsere Wohnungen</h2>
|
||||
<p>
|
||||
Unser Ferienhaus Wille bietet Ihnen zwei komfortable, gemütliche und liebevoll
|
||||
im Detail eingerichtete Nichtraucher Wohnungen für jeweils zwei Personen. Beide
|
||||
wurden nach den Kriterien des Deutschen Tourismusverbandes klassifiziert und
|
||||
mit 4 Sternen ausgezeichnet.
|
||||
</p>
|
||||
<h3>Unser Service für Sie:</h3>
|
||||
<ul>
|
||||
<li>Bring- und Abholservice vom Bahnhof Sonthofen</li>
|
||||
<li>gefüllter Kühlschrank mit regionalen Produkten (bitte Bestell-Liste anfordern; separate Abrechnung je nach
|
||||
Einkauf)
|
||||
</li>
|
||||
<li>Handtücher, weiße Kochbettwäsche inklusive (wie im Hotel! Der Unterschied:
|
||||
Bei uns kümmert sich die Hausherrin persönlich darum)
|
||||
</li>
|
||||
<li>Endreinigung und W-LAN inklusive</li>
|
||||
<li>Busticket im Ferienland Bad Hindelang und
|
||||
zahlreiche Ermäßigungen auf die Allgäu-Walser-Gästekarte
|
||||
</li>
|
||||
</ul>
|
||||
<div id="lspalte">
|
||||
<h2>Unsere Wohnungen</h2>
|
||||
<p>
|
||||
Unser Ferienhaus Wille bietet Ihnen zwei komfortable, gemütliche und liebevoll
|
||||
im Detail eingerichtete Nichtraucher Wohnungen für jeweils zwei Personen. Beide
|
||||
wurden nach den Kriterien des Deutschen Tourismusverbandes klassifiziert und
|
||||
mit 4 Sternen ausgezeichnet.
|
||||
</p>
|
||||
<h3>Unser Service für Sie:</h3>
|
||||
<ul>
|
||||
<li>Bring- und Abholservice vom Bahnhof Sonthofen</li>
|
||||
<li>gefüllter Kühlschrank mit regionalen Produkten (bitte Bestell-Liste anfordern; separate Abrechnung je nach
|
||||
Einkauf)
|
||||
</li>
|
||||
<li>Handtücher, weiße Kochbettwäsche inklusive (wie im Hotel! Der Unterschied:
|
||||
Bei uns kümmert sich die Hausherrin persönlich darum)
|
||||
</li>
|
||||
<li>Endreinigung und W-LAN inklusive</li>
|
||||
<li>Busticket im Ferienland Bad Hindelang und
|
||||
zahlreiche Ermäßigungen auf die Allgäu-Walser-Gästekarte
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="rspalte" style="margin-top: 0;"/>
|
||||
<h2 style="float: left;"><a href="index.php?section=gaby">Wohnung Gaby</a></h2>
|
||||
<h2 style="float: right;"><a href="index.php?section=amelie">Wohnung Amelie</a></h2>
|
||||
<br class="clear"/>
|
||||
<a href="index.php?section=gaby"><img class="left" src="img/haus/wohn/0.jpg"/></a>
|
||||
<a href="index.php?section=amelie"><img class="right" src="img/haus/wohn/1.jpg"/></a>
|
||||
<div id="rspalte" style="margin-top: 0;">
|
||||
<h2 style="float: left;"><a href="index.php?section=gaby">Wohnung Gaby</a></h2>
|
||||
<h2 style="float: right;"><a href="index.php?section=amelie">Wohnung Amelie</a></h2>
|
||||
<br class="clear"/>
|
||||
<a href="index.php?section=gaby"><img class="left" src="img/haus/wohn/0.jpg?ts=<?php echo time(); ?>"/></a>
|
||||
<a href="index.php?section=amelie"><img class="right" src="img/haus/wohn/1.jpg?ts=<?php echo time(); ?>"/></a>
|
||||
</div>
|
||||
@@ -43,37 +43,16 @@
|
||||
<th colspan="2">Christian Steinle</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">Im Gässele 8</td>
|
||||
<td colspan="2">Nellinger Str.1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">89079 Ulm - Unterweiler</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tel.:</td>
|
||||
<td>+49 7346 307415</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fax:</td>
|
||||
<td>+49 7346 307416</td>
|
||||
<td colspan="2">73312 Geislingen</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>mobil:</td>
|
||||
<td>+49 163 1701781</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>E-Mail:</td>
|
||||
<td><a href="mailto:kontakt@steinle-computer.de">kontakt@steinle-computer.de</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Homepage:</td>
|
||||
<td><a target="_blank" href="https://www.steinle-computer.de">www.steinle-computer.de</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="rspalte">
|
||||
|
||||
<?php
|
||||
include "inhalte/kontakt/haftung.php";
|
||||
?>
|
||||
</div>
|
||||
<div id="rspalte"><?php include __DIR__ . '/haftung.php'; ?></div>
|
||||
|
||||
@@ -79,36 +79,16 @@
|
||||
<th colspan="2">Christian Steinle</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">Im Gässele 8</td>
|
||||
<td colspan="2">Nellinger Str. 1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">89079 Ulm - Unterweiler</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Tel.:</td>
|
||||
<td>+49 7346 307415</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Fax:</td>
|
||||
<td>+49 7346 307416</td>
|
||||
<td colspan="2">73312 Geislingen</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>mobil:</td>
|
||||
<td>+49 163 1701781</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>E-Mail:</td>
|
||||
<td><a href="mailto:kontakt@steinle-computer.de">kontakt@steinle-computer.de</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Homepage:</td>
|
||||
<td><a target="_blank" href="https://www.steinle-computer.de">www.steinle-computer.de</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="rspalte">
|
||||
<?php
|
||||
include "inhalte/kontakt/haftung.php";
|
||||
?>
|
||||
</div>
|
||||
<div id="rspalte"><?php include __DIR__ . '/haftung.php'; ?></div>
|
||||
</div>
|
||||
@@ -7,5 +7,4 @@
|
||||
eine Reiserücktrittversicherung</a> abzuschließen, damit bei einer eventuellen Stornierung für beide
|
||||
Seiten keine finanziellen Nachteile entstehen! Bei Stornierungen erlauben wir uns nach den Bestimmungen des BGB
|
||||
Stornogebühren in Höhe von 90 % bei Ferienwohnungen des vereinbarten Mietpreises zu berechnen.
|
||||
</p>
|
||||
|
||||
</p>
|
||||
@@ -12,9 +12,11 @@ if (isset($_GET['t'])) {
|
||||
$link .= "t=" . $_GET['t'] . "&";
|
||||
}
|
||||
|
||||
$ts = time();
|
||||
if (isset($_GET['f'])) {
|
||||
$pic = $path . $_GET['f'] . ".jpg";
|
||||
echo " <img class=\"gross\" src=$pic />\n";
|
||||
echo "<div>";
|
||||
echo " <img class=\"gross\" src=\"" . $pic . "?ts=" . $ts . "\" />\n";
|
||||
echo "</div>\n";
|
||||
echo "<br class=\"clear\" />\n";
|
||||
echo "<div id=\"thumb\">\n";
|
||||
@@ -22,7 +24,8 @@ if (isset($_GET['f'])) {
|
||||
for ($i = 0; $i < 10; $i++) {
|
||||
$pic = $path . $i . ".jpg";
|
||||
if (file_exists($pic)) {
|
||||
echo " <img class=\"gross\" src=$pic />\n";
|
||||
echo "<div>";
|
||||
echo " <img class=\"gross\" src=\"" . $pic . "?ts=" . $ts . "\" />\n";
|
||||
echo "</div>\n";
|
||||
echo "<br class=\"clear\" />\n";
|
||||
echo "<div id=\"thumb\">\n";
|
||||
@@ -35,8 +38,6 @@ for ($i = 9; $i >= 0; $i--) {
|
||||
$thumb = $path . $i . ".jpg";
|
||||
if (file_exists($thumb)) {
|
||||
$ref = $link . "f=$i";
|
||||
echo " <a href=$ref><img src=$thumb /></a>\n";
|
||||
echo " <a href=\"" , $ref . "\"><img src=\"" .$thumb . "?ts=" . $ts . "\" /></a>\n";
|
||||
}
|
||||
}
|
||||
echo "</div>\n";
|
||||
|
||||
}
|
||||
@@ -12,9 +12,11 @@ if (isset($_GET['t'])) {
|
||||
$link .= "t=" . $_GET['t'] . "&";
|
||||
}
|
||||
|
||||
$ts = time();
|
||||
if (isset($_GET['f'])) {
|
||||
$pic = $path . $_GET['f'] . ".jpg";
|
||||
echo " <img class=\"gross\" src=$pic />\n";
|
||||
echo "<div>";
|
||||
echo " <img class=\"gross\" src=\"" . $pic . "?ts=" . $ts . "\" />\n";
|
||||
echo "</div>\n";
|
||||
echo "<br class=\"clear\" />\n";
|
||||
echo "<div id=\"thumb\">\n";
|
||||
@@ -23,7 +25,8 @@ if (isset($_GET['f'])) {
|
||||
$pic = $path . $j . ".jpg";
|
||||
for ($i = 0; $i < 10; $i++) {
|
||||
if (file_exists($pic)) {
|
||||
echo " <img class=\"gross\" src=$pic />\n";
|
||||
echo "<div>";
|
||||
echo " <img class=\"gross\" src=\"" . $pic . "?ts=" . $ts . "\" />\n";
|
||||
echo "</div>\n";
|
||||
echo "<br class=\"clear\" />\n";
|
||||
echo "<div id=\"thumb\">\n";
|
||||
@@ -36,8 +39,6 @@ for ($i = 9; $i >= 0; $i--) {
|
||||
$thumb = $path . $i . ".jpg";
|
||||
if (file_exists($thumb)) {
|
||||
$ref = $link . "f=$i";
|
||||
echo " <a href=$ref><img src=$thumb /></a>\n";
|
||||
echo " <a href=\"" . $ref . "\"><img src=\"" . $thumb . "?ts=" . $ts . "\" /></a>\n";
|
||||
}
|
||||
}
|
||||
echo "</div>\n";
|
||||
|
||||
}
|
||||
@@ -3,15 +3,13 @@
|
||||
<?php
|
||||
$sql1 = 'SELECT * FROM gb ORDER BY ID';
|
||||
$result1 = $db->query($sql1);
|
||||
$ts = time();
|
||||
|
||||
while ($nt1 = $result1->fetch_assoc()) {
|
||||
$datum = date("d.m.Y", strtotime($nt1['Datum']));
|
||||
echo "<img class=\"left\" src=\"img/umgebung/gb/" . $nt1['ID'] . ".jpg\" />\n";
|
||||
echo "<img class=\"left\" src=\"img/umgebung/gb/" . $nt1['ID'] . ".jpg?ts=" . $ts . "\" />\n";
|
||||
echo "<h3>" . $nt1['Autor'] . " schrieb am " . $datum . ":</h3>\n";
|
||||
echo "<p>" . nl2br($nt1['Text']) . "</p>\n";
|
||||
echo "<br class=\"clear\" />\n";
|
||||
echo "<hr />\n";
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
}
|
||||
@@ -102,5 +102,4 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br class="clear"/>
|
||||
|
||||
<br class="clear"/>
|
||||
@@ -5,11 +5,12 @@
|
||||
$sql2 = 'SELECT ID FROM bilder ORDER BY ID';
|
||||
$result2 = $db->query($sql2);
|
||||
$foto = "";
|
||||
$ts = time();
|
||||
while ($nt2 = $result2->fetch_assoc()) {
|
||||
$file = 'img/umgebung/bilder/' . $nt2['ID'] . '.jpg';
|
||||
if (file_exists($file)) {
|
||||
$foto = $nt2['ID'];
|
||||
echo '<a href="index.php?section=umgebung&f=' . $nt2['ID'] . '"><img src="' . $file . '" /></a>';
|
||||
echo '<a href="index.php?section=umgebung&f=' . $nt2['ID'] . '"><img src="' . $file . '?ts=' . $ts . '" /></a>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
@@ -31,11 +32,10 @@
|
||||
$file = 'img/umgebung/bilder/' . $foto . '.jpg';
|
||||
echo "<h2>Bildergalerie</h2>\n";
|
||||
echo "<h3>$nt1[Head]</h3>\n";
|
||||
echo '<img src="' . $file . '" />';
|
||||
echo '<img src="' . $file . '?ts=' . $ts . '" />';
|
||||
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<br class="clear"/>
|
||||
|
||||
<br class="clear"/>
|
||||
@@ -15,6 +15,4 @@ if (!isset($_GET['t'])) {
|
||||
} else {
|
||||
include "inhalte/kontakt/standard.php";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
}
|
||||
22
public/admin/index.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
error_reporting(E_ALL);
|
||||
// Include required components.
|
||||
$path2root = __DIR__ . '/../..';
|
||||
include $path2root . '/inc/config.php';
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<title>Administrationsbereich Ferienhaus - Wille</title>
|
||||
<link rel="stylesheet" type="text/css" href="/css/admin.css?ts=<?php echo time(); ?>" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root">
|
||||
<div id="header"><?php include $path2root . '/admin/header.php'; ?></div>
|
||||
<div id="links"><?php include $path2root . '/admin/links.php'; ?></div>
|
||||
<div id="inhalt"><?php include $path2root . '/admin/inhalt.php'; ?></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -158,16 +158,16 @@ img {
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
* html img,
|
||||
* html .png {
|
||||
position: relative;
|
||||
behavior: expression((this.runtimeStyle.behavior="none")&&(this.pngSet?this.pngSet=true:(this.nodeName == "IMG" && this.src.toLowerCase().indexOf('.png')>-1?(this.runtimeStyle.backgroundImage = "none",
|
||||
this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",
|
||||
this.src = "img/transparent.gif"):(this.origBg = this.origBg? this.origBg :this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''),
|
||||
this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')",
|
||||
this.runtimeStyle.backgroundImage = "none")),this.pngSet=true)
|
||||
);
|
||||
}
|
||||
/** html img,*/
|
||||
/** html .png {*/
|
||||
/* position: relative;*/
|
||||
/* behavior: expression((this.runtimeStyle.behavior="none")&&(this.pngSet?this.pngSet=true:(this.nodeName == "IMG" && this.src.toLowerCase().indexOf('.png')>-1?(this.runtimeStyle.backgroundImage = "none",*/
|
||||
/*this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",*/
|
||||
/*this.src = "img/transparent.gif"):(this.origBg = this.origBg? this.origBg :this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''),*/
|
||||
/*this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')",*/
|
||||
/*this.runtimeStyle.backgroundImage = "none")),this.pngSet=true)*/
|
||||
/*);*/
|
||||
/*}*/
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
@@ -259,7 +259,7 @@ ul#Navigation li:hover ul {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#clear {
|
||||
.clear {
|
||||
overflow: hidden;
|
||||
clear: left;
|
||||
height: 4px;
|
||||
@@ -268,7 +268,7 @@ ul#Navigation li:hover ul {
|
||||
font-size: 1px;
|
||||
}
|
||||
|
||||
#clear2 {
|
||||
.clear2 {
|
||||
overflow: hidden;
|
||||
clear: left;
|
||||
height: 2px;
|
||||
@@ -277,14 +277,12 @@ ul#Navigation li:hover ul {
|
||||
font-size: 1px;
|
||||
}
|
||||
|
||||
#cleaner {
|
||||
.cleaner {
|
||||
clear: both;
|
||||
margin-top: 0;
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
#inhalt {
|
||||
min-height: 450px;
|
||||
width: 970px;
|
||||
margin: 0 0 0 0;
|
||||
padding: 0;
|
||||
@@ -399,7 +397,7 @@ ul.angebot li {
|
||||
width: 480px;
|
||||
float: right;
|
||||
padding: 0;
|
||||
margin: 12px 0 90px 0;
|
||||
margin: 12px 0 12px 0;
|
||||
}
|
||||
|
||||
#rspalte img.gross {
|
||||
@@ -408,7 +406,7 @@ ul.angebot li {
|
||||
}
|
||||
|
||||
#thumb {
|
||||
margin-top: -60px;
|
||||
margin-top: 12px;
|
||||
margin-right: 3px;
|
||||
padding: 0;
|
||||
float: right;
|
||||
@@ -416,8 +414,8 @@ ul.angebot li {
|
||||
|
||||
#thumb img {
|
||||
float: right;
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
margin: 0 0 0 3px;
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 3.7 MiB After Width: | Height: | Size: 3.7 MiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 162 B After Width: | Height: | Size: 162 B |
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 8.6 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |