removed public listing of pastes
This commit is contained in:
parent
5b74112066
commit
525279d707
|
@ -1,4 +1,3 @@
|
|||
|
||||
<?php
|
||||
if ( strlen($_SERVER['HTTPS']) == 0 && strlen($_SERVER['QUERY_STRING']) == 0 ) {
|
||||
echo "<div id=\"sslhinweis\">Benutze doch HTTPS! -> ";
|
||||
|
@ -6,18 +5,7 @@
|
|||
|
||||
}
|
||||
|
||||
$result = $db->query("SELECT * FROM pastebin WHERE pub = 1");
|
||||
|
||||
if($db->num_rows($result))
|
||||
{
|
||||
echo "<br/><br/><hr/><p>letzte öffentliche Ascii-Einträge:</p>";
|
||||
}
|
||||
|
||||
while($row = $db->fetch_assoc($result) )
|
||||
{
|
||||
echo "<a href=\"/a/{$row['pid']}\" target=\"_blank\">";
|
||||
echo "{$row['id']} von ".date("d.m.Y H:i:s",$row['timest']) . "</a><br/>";
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue