Upload was a success.

"); } else { echo("

Invalid upload, can only upload GeoLityCity.dat file.

"); } } else if ($_POST["action"] == "Update") { update_option("admin_block_country_method", $_POST["block_country_method"]); echo("

Service Updated

"); } else if ($_POST["action"] == "Block") { update_option("admin_block_country_list", ABCTomM8::get_query_string_value("block_countries")); echo("

Admin Block Was Successful.

"); } foreach(admin_block_country_current_countries_blocked() as $country) { $i=0; foreach(admin_block_country_checkbox_list() as $key => $value) { if (str_replace(" ", "", $key) == str_replace(" ", "", $country)) { $_POST["block_countries_".$i] = $country; } $i++; } } ?>

Admin Block Country is now different. You can now upload a local ip database that Admin Block Country can use. Please download the database from:

http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz

Unzip it on your local computer and then upload the unzipped GeoLiteCity.dat file.

"file")); ?>



Please choose a backup external IP to Country service. If one fails try the other.

"radio"), array("2" => "Use geoplugin.net IP to Country service - http://www.geoplugin.net", "3" => "Use marketingmix IP to Country service - http://ipcountry.marketingmix.com.au", "4" => "Use utrace IP to Country service - http://xml.utrace.de")); ?>

Please choose which countries you wish to exclude from accessing the admin site.

You cannot block your own country, for your own protection. has been taken off the list.

"checkbox"), admin_block_country_checkbox_list()); ?>

"Select All"); $my_country = admin_block_country_get_country_from_ip($_SERVER['REMOTE_ADDR']); $countries = array_merge($first, $geoipcountry); unset($countries[$my_country]); return $countries; } ?>