diff --git a/public_html/ss/ban.php b/public_html/ss/ban.php index dfb3e562..2a7798f2 100644 --- a/public_html/ss/ban.php +++ b/public_html/ss/ban.php @@ -39,7 +39,7 @@ if (isset($img) && $img[0] == "e" && file_exists($file) && !file_exists($ignore_ fclose($fh); } - if ($count > 10) + if ($count > 3) { if (file_exists($_SERVER["DOCUMENT_ROOT"] . "/ss/ip-" . $img)) { rename($_SERVER["DOCUMENT_ROOT"] . "/ss/ip-" . $img, diff --git a/public_html/ss/display.php b/public_html/ss/display.php index 31804799..166cef56 100644 --- a/public_html/ss/display.php +++ b/public_html/ss/display.php @@ -5,7 +5,6 @@ Enlightenment Screenshots - "; + print ""; + print "
\n"; if ($head == $auth || get_ip() == "140.211.167.135") { - print "Remove content\n"; + print "Remove my image\n"; } - print "Report content\n"; + print "This image is inappropriate
\n"; + print "\n"; - print ""; - print ""; - print "\n"; ?> diff --git a/public_html/ss/rmabuse.sh b/public_html/ss/rmabuse.sh new file mode 100755 index 00000000..5f742ed7 --- /dev/null +++ b/public_html/ss/rmabuse.sh @@ -0,0 +1,5 @@ +#!/bin/sh +for I in abuse-e-*; do + ID=`echo $I | sed 's/abuse-e-//g'` + rm *"$ID" +done