From 525279d70749d7a710ff9ebed93bf18848d9798d Mon Sep 17 00:00:00 2001 From: lucas Date: Wed, 8 Jul 2020 12:41:23 +0200 Subject: [PATCH] removed public listing of pastes --- include/footer.php | 40 ++++++++++++++-------------------------- 1 file changed, 14 insertions(+), 26 deletions(-) diff --git a/include/footer.php b/include/footer.php index d1fbf12..bcca771 100644 --- a/include/footer.php +++ b/include/footer.php @@ -1,26 +1,14 @@ - -Benutze doch HTTPS! -> "; - echo "https://{$_SERVER['SERVER_NAME']}"; - - } - -$result = $db->query("SELECT * FROM pastebin WHERE pub = 1"); - -if($db->num_rows($result)) -{ - echo "


letzte öffentliche Ascii-Einträge:

"; -} - -while($row = $db->fetch_assoc($result) ) -{ - echo ""; - echo "{$row['id']} von ".date("d.m.Y H:i:s",$row['timest']) . "
"; -} - - -?> - - - +Benutze doch HTTPS! -> "; + echo "https://{$_SERVER['SERVER_NAME']}"; + + } + + + + +?> + + +