diff --git a/admin/inhalte/angebote/edit.php b/admin/inhalte/angebote/edit.php index a009872..5039884 100644 --- a/admin/inhalte/angebote/edit.php +++ b/admin/inhalte/angebote/edit.php @@ -2,7 +2,8 @@
"; + $ts = time(); + echo "
"; $sql1 = 'SELECT * FROM Angebot WHERE ID = "' . $_POST['Titel'] . '"'; $result1 = $db->query($sql1); $nt1 = $result1->fetch_assoc(); diff --git a/admin/inhalte/fotos/10er.php b/admin/inhalte/fotos/10er.php index d126c3a..68d3005 100644 --- a/admin/inhalte/fotos/10er.php +++ b/admin/inhalte/fotos/10er.php @@ -27,6 +27,7 @@ if ('will' == $_GET['t']) { $ref = "index.php?section=fotos&t=" . $_GET['t']; if (!isset($_GET['action'])) { + $ts = time(); echo "

Auf ein vorhandenes Bild klicken um es zu löschen
"; echo "Auf einen Platzhalter klicken um ein neues Bild hochzuladen

"; for ($i = 0; $i < 10; $i++) { @@ -34,7 +35,7 @@ if (!isset($_GET['action'])) { if (file_exists($pic)) { $link = $ref . "&action=del&pic=" . $i; echo ""; - echo ""; + echo ""; } else { $link = $ref . "&action=add&pic=" . $i; echo ""; diff --git a/admin/inhalte/fotos/bilder/del.php b/admin/inhalte/fotos/bilder/del.php index 3ae32b2..cbbefae 100644 --- a/admin/inhalte/fotos/bilder/del.php +++ b/admin/inhalte/fotos/bilder/del.php @@ -2,7 +2,9 @@ if (!isset($_POST['Speichern'])) { echo "

Dieses Bild löschen?

\n"; - $file = "../img/umgebung/bilder/" . $_POST['Titel'] . ".jpg"; + + $ts = time(); + $file = "../img/umgebung/bilder/" . $_POST['Titel'] . ".jpg?ts=" . $ts; echo "
\n"; $sql1 = 'SELECT * FROM bilder WHERE ID = "' . $_POST['Titel'] . '"'; $result1 = $db->query($sql1); diff --git a/admin/inhalte/fotos/bilder/edit.php b/admin/inhalte/fotos/bilder/edit.php index b46aea2..9e17e0a 100644 --- a/admin/inhalte/fotos/bilder/edit.php +++ b/admin/inhalte/fotos/bilder/edit.php @@ -3,7 +3,8 @@
"; + $ts = time(); + echo "
"; $sql1 = 'SELECT Head FROM bilder WHERE ID = "' . $_POST['Titel'] . '"'; $result1 = $db->query($sql1); $nt1 = $result1->fetch_assoc(); diff --git a/admin/inhalte/fotos/wohn.php b/admin/inhalte/fotos/wohn.php index a84fc10..0282822 100644 --- a/admin/inhalte/fotos/wohn.php +++ b/admin/inhalte/fotos/wohn.php @@ -5,6 +5,7 @@ $ref = "index.php?section=fotos&t=" . $_GET['t']; if (!isset($_GET['action'])) { echo "

Auf ein Bild klicken um es zu ersetzen
"; + $ts = time(); for ($i = 0; $i < 2; $i++) { $pic = $path . $i . ".jpg"; @@ -16,7 +17,7 @@ if (!isset($_GET['action'])) { echo "

Wohnung Amelie:

\n"; } echo "
"; - echo ""; + echo ""; echo "\n"; echo "
 "; } else { diff --git a/admin/inhalte/gb/edit.php b/admin/inhalte/gb/edit.php index 31e9872..6ed8cbe 100644 --- a/admin/inhalte/gb/edit.php +++ b/admin/inhalte/gb/edit.php @@ -2,7 +2,8 @@
"; + $ts = time(); + echo "
"; $sql1 = 'SELECT Autor, Text, Datum FROM gb WHERE ID = "' . $_POST['Titel'] . '"'; $result1 = $db->query($sql1); $nt1 = $result1->fetch_assoc(); diff --git a/inhalte/haus/wohn.php b/inhalte/haus/wohn.php index 4ffe7e5..6231b27 100644 --- a/inhalte/haus/wohn.php +++ b/inhalte/haus/wohn.php @@ -25,6 +25,6 @@

Wohnung Gaby

Wohnung Amelie


- - + + \ No newline at end of file diff --git a/inhalte/rfoto.php b/inhalte/rfoto.php index d9fdc44..a09a475 100644 --- a/inhalte/rfoto.php +++ b/inhalte/rfoto.php @@ -12,10 +12,11 @@ if (isset($_GET['t'])) { $link .= "t=" . $_GET['t'] . "&"; } +$ts = time(); if (isset($_GET['f'])) { $pic = $path . $_GET['f'] . ".jpg"; echo "
"; - echo " \n"; + echo " \n"; echo "
\n"; echo "
\n"; echo "
\n"; @@ -24,7 +25,7 @@ if (isset($_GET['f'])) { $pic = $path . $i . ".jpg"; if (file_exists($pic)) { echo "
"; - echo " \n"; + echo " \n"; echo "
\n"; echo "
\n"; echo "
\n"; @@ -37,6 +38,6 @@ for ($i = 9; $i >= 0; $i--) { $thumb = $path . $i . ".jpg"; if (file_exists($thumb)) { $ref = $link . "f=$i"; - echo " \n"; + echo " \n"; } } \ No newline at end of file diff --git a/inhalte/rfotorand.php b/inhalte/rfotorand.php index e706cae..1f17b65 100644 --- a/inhalte/rfotorand.php +++ b/inhalte/rfotorand.php @@ -12,10 +12,11 @@ if (isset($_GET['t'])) { $link .= "t=" . $_GET['t'] . "&"; } +$ts = time(); if (isset($_GET['f'])) { $pic = $path . $_GET['f'] . ".jpg"; echo "
"; - echo " \n"; + echo " \n"; echo "
\n"; echo "
\n"; echo "
\n"; @@ -25,7 +26,7 @@ if (isset($_GET['f'])) { for ($i = 0; $i < 10; $i++) { if (file_exists($pic)) { echo "
"; - echo " \n"; + echo " \n"; echo "
\n"; echo "
\n"; echo "
\n"; @@ -38,6 +39,6 @@ for ($i = 9; $i >= 0; $i--) { $thumb = $path . $i . ".jpg"; if (file_exists($thumb)) { $ref = $link . "f=$i"; - echo " \n"; + echo " \n"; } } \ No newline at end of file diff --git a/inhalte/umgebung/gb.php b/inhalte/umgebung/gb.php index 0e3e00b..7e906eb 100644 --- a/inhalte/umgebung/gb.php +++ b/inhalte/umgebung/gb.php @@ -3,10 +3,11 @@ query($sql1); +$ts = time(); while ($nt1 = $result1->fetch_assoc()) { $datum = date("d.m.Y", strtotime($nt1['Datum'])); - echo "\n"; + echo "\n"; echo "

" . $nt1['Autor'] . " schrieb am " . $datum . ":

\n"; echo "

" . nl2br($nt1['Text']) . "

\n"; echo "
\n"; diff --git a/inhalte/umgebung/standard.php b/inhalte/umgebung/standard.php index 82bc8ff..9fafa54 100644 --- a/inhalte/umgebung/standard.php +++ b/inhalte/umgebung/standard.php @@ -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 ''; + echo ''; } } ?> @@ -31,7 +32,7 @@ $file = 'img/umgebung/bilder/' . $foto . '.jpg'; echo "

Bildergalerie

\n"; echo "

$nt1[Head]

\n"; - echo ''; + echo ''; ?>