Before you can use Admin Block Country, please install/activate the following plugin:

Service Updated

"); } if ($_POST["action"] == "Block") { update_option("admin_block_country_list", tom_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++; } } ?>
"radio"), array("1" => "Use who.is IP to Country service - http://who.is", "2" => "Use geoplugin.net IP to Country service - http://www.geoplugin.net", "3" => "Use marketingmix IP to Country service - http://ipcountry.marketingmix.com.au")); ?>

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

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; } ?>