From ae0d47554b5a8a0c0c5d8bab70e4334840edae89 Mon Sep 17 00:00:00 2001 From: Tom Schaefer Date: Sun, 21 Nov 2010 11:03:19 -0500 Subject: IP-Blocklist 3.0 fix for BETA2.0 and 1.2.3 --- config/ipblocklist/whitelist.tmp | 241 ++++++++++++++++++++++++++++----------- 1 file changed, 175 insertions(+), 66 deletions(-) mode change 100755 => 100644 config/ipblocklist/whitelist.tmp (limited to 'config/ipblocklist/whitelist.tmp') diff --git a/config/ipblocklist/whitelist.tmp b/config/ipblocklist/whitelist.tmp old mode 100755 new mode 100644 index 17cae247..e45cf2dd --- a/config/ipblocklist/whitelist.tmp +++ b/config/ipblocklist/whitelist.tmp @@ -1,66 +1,175 @@ - - - - -Manual - -White lists - The lists added here will be added to a whitelist -
Add List URL: -
- - -
- - 1) { - fwrite($fh, "\n"); - } else { - -} -fclose($fh); - - -//echo (filesize($myFile)); -if (filesize($myFile) > 1) { - //$fh = fopen($myFile, 'r'); - //$theData = fread($fh, filesize($myFile)); - //fclose($fh); - echo "
Current List(s):
"; - // Get the whole file into a single string - $fileContents = file_get_contents($myFile); - - // Explode the file contents string by each line - $lines = explode(PHP_EOL, $fileContents); // Replace PHP_EOL with "\r\n" or "\n" or "\r" if you like - - // Iterate through each line and do what you need with it - - foreach ($lines as $line) { - $i++; - echo ""; - echo " "; - echo $line; - //echo ""; - // echo $i; - echo "
"; - - } - - - - - -} -echo "

"; - - - - -?> \ No newline at end of file + + + + +

+ + + + +

+ + + + + +
+ +
+
+ + + + + + + + + + + + + +
Whitelist
+ + + + +White lists - The lists added here will be added to a whitelist +
Add List URL: + +

+ + +Purge All + + + + + 1) { + fwrite($fh, "\n"); + } else { +} +fclose($fh); + + +//echo (filesize($myFile)); +if (filesize($myFile) > 1) { + //$fh = fopen($myFile, 'r'); + //$theData = fread($fh, filesize($myFile)); + //fclose($fh); + echo "
Current List(s):
"; + // Get the whole file into a single string + $fileContents = file_get_contents($myFile); + + // Explode the file contents string by each line + $lines = explode(PHP_EOL, $fileContents); // Replace PHP_EOL with "\r\n" or "\n" or "\r" if you like + + // Iterate through each line and do what you need with it + + foreach ($lines as $line) { + $i++; + echo ""; + echo " "; + echo $line; + //echo ""; + // echo $i; + echo "
"; + + } + + + //echo $theData; + + +} +echo "

"; + + + + +?>

+ + + + + + + + + + +
+
+ +
+

Usage +
+ Add direct link to list and press + (Example: + Level1, + Level2, + Level3) +
+ Compressed lists should have .gz extention and follows PeerBlock syntax
+
+

+
+ +

+ +

+

+
+ + + + + -- cgit v1.2.3