removed public listing of pastes
This commit is contained in:
parent
5b74112066
commit
525279d707
|
@ -1,26 +1,14 @@
|
||||||
|
<?php
|
||||||
<?php
|
if ( strlen($_SERVER['HTTPS']) == 0 && strlen($_SERVER['QUERY_STRING']) == 0 ) {
|
||||||
if ( strlen($_SERVER['HTTPS']) == 0 && strlen($_SERVER['QUERY_STRING']) == 0 ) {
|
echo "<div id=\"sslhinweis\">Benutze doch HTTPS! -> ";
|
||||||
echo "<div id=\"sslhinweis\">Benutze doch HTTPS! -> ";
|
echo "<a href=\"https://{$_SERVER['SERVER_NAME']}/\">https://{$_SERVER['SERVER_NAME']}</a></div>";
|
||||||
echo "<a href=\"https://{$_SERVER['SERVER_NAME']}/\">https://{$_SERVER['SERVER_NAME']}</a></div>";
|
|
||||||
|
}
|
||||||
}
|
|
||||||
|
|
||||||
$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>";
|
</body>
|
||||||
}
|
</html>
|
||||||
|
|
||||||
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/>";
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
|
Loading…
Reference in New Issue