<?php // $Revision: 2.2.2.8 $

/************************************************************************/
/* phpAdsNew 2                                                          */
/* ===========                                                          */
/*                                                                      */
/* Copyright (c) 2000-2006 by the phpAdsNew developers                  */
/* For more information visit: http://www.phpadsnew.com                 */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/


// This is by no means a complete list of all iso3166 codes, but rather
// an unofficial list used by most browsers. If you have corrections or
// additions to this list, please send them to developers AT phpadsnew.com

$phpAds_ISO3166['AF'] = "Afghanistan";
$phpAds_ISO3166['AL'] = "Albania";
$phpAds_ISO3166['DZ'] = "Algeria";
$phpAds_ISO3166['AS'] = "American Samoa";
$phpAds_ISO3166['AD'] = "Andorra";
$phpAds_ISO3166['AO'] = "Angola";
$phpAds_ISO3166['AI'] = "Anguilla";
$phpAds_ISO3166['AQ'] = "Antarctica"; 
$phpAds_ISO3166['AG'] = "Antigua and Barbuda"; 
$phpAds_ISO3166['AR'] = "Argentina";
$phpAds_ISO3166['AP'] = "ARIPO (African Regional...)";
$phpAds_ISO3166['AM'] = "Armenia";
$phpAds_ISO3166['AW'] = "Aruba";
$phpAds_ISO3166['AU'] = "Australia";
$phpAds_ISO3166['AT'] = "Austria";
$phpAds_ISO3166['AZ'] = "Azerbaijan";
$phpAds_ISO3166['BS'] = "Bahamas";
$phpAds_ISO3166['BH'] = "Bahrain";
$phpAds_ISO3166['BD'] = "Bangladesh";
$phpAds_ISO3166['BB'] = "Barbados";
$phpAds_ISO3166['BY'] = "Belarus";
$phpAds_ISO3166['BE'] = "Belgium";
$phpAds_ISO3166['BZ'] = "Belize";
$phpAds_ISO3166['BJ'] = "Benin"; 
$phpAds_ISO3166['BM'] = "Bermuda";
$phpAds_ISO3166['BT'] = "Bhutan";
$phpAds_ISO3166['BO'] = "Bolivia";
$phpAds_ISO3166['BA'] = "Bosnia and Herzegovina";
$phpAds_ISO3166['BW'] = "Botswana";
$phpAds_ISO3166['BV'] = "Bouvet Island"; 
$phpAds_ISO3166['BR'] = "Brazil";
$phpAds_ISO3166['IO'] = "British Indian Ocean Territory"; 
$phpAds_ISO3166['BN'] = "Brunei Darussalam";
$phpAds_ISO3166['BG'] = "Bulgaria";
$phpAds_ISO3166['BF'] = "Burkina Faso"; 
$phpAds_ISO3166['BI'] = "Burundi";
$phpAds_ISO3166['KH'] = "Cambodia";
$phpAds_ISO3166['CM'] = "Cameroon"; 
$phpAds_ISO3166['CA'] = "Canada";
$phpAds_ISO3166['CV'] = "Cape Verde"; 
$phpAds_ISO3166['KY'] = "Cayman Islands";
$phpAds_ISO3166['CF'] = "Central African Republic";
$phpAds_ISO3166['TD'] = "Chad"; 
$phpAds_ISO3166['CL'] = "Chile";
$phpAds_ISO3166['CN'] = "China";
$phpAds_ISO3166['CX'] = "Christmas Island"; 
$phpAds_ISO3166['CC'] = "Cocos (Keeling) Islands"; 
$phpAds_ISO3166['CO'] = "Colombia";
$phpAds_ISO3166['KM'] = "Comoros";
$phpAds_ISO3166['CG'] = "Congo"; 
$phpAds_ISO3166['CD'] = "Congo, The Democratic Republic of the"; 
$phpAds_ISO3166['CK'] = "Cook Islands"; 
$phpAds_ISO3166['CR'] = "Costa Rica";
$phpAds_ISO3166['CI'] = "Cote D'Ivoire"; 
$phpAds_ISO3166['HR'] = "Croatia";
$phpAds_ISO3166['CU'] = "Cuba";
$phpAds_ISO3166['CY'] = "Cyprus";
$phpAds_ISO3166['CZ'] = "Czech Republic";
$phpAds_ISO3166['DK'] = "Denmark";
$phpAds_ISO3166['DJ'] = "Djibouti";
$phpAds_ISO3166['DM'] = "Dominica"; 
$phpAds_ISO3166['DO'] = "Dominican Republic";
$phpAds_ISO3166['TP'] = "East Timor"; 
$phpAds_ISO3166['EC'] = "Ecuador";
$phpAds_ISO3166['EG'] = "Egypt";
$phpAds_ISO3166['SV'] = "El Salvador";
$phpAds_ISO3166['GQ'] = "Equatorial Guinea"; 
$phpAds_ISO3166['ER'] = "Eritrea";
$phpAds_ISO3166['EE'] = "Estonia";
$phpAds_ISO3166['ET'] = "Ethiopia";
$phpAds_ISO3166['EU'] = "European Union";
$phpAds_ISO3166['FK'] = "Falkland Islands";
$phpAds_ISO3166['FO'] = "Faroe Islands"; 
$phpAds_ISO3166['FJ'] = "Fiji";
$phpAds_ISO3166['FI'] = "Finland";
$phpAds_ISO3166['FR'] = "France";
$phpAds_ISO3166['FX'] = "France, Metropolitan"; 
$phpAds_ISO3166['GF'] = "French Guiana"; 
$phpAds_ISO3166['PF'] = "French Polynesia"; 
$phpAds_ISO3166['TF'] = "French Southern Territories"; 
$phpAds_ISO3166['GA'] = "Gabon"; 
$phpAds_ISO3166['GM'] = "Gambia";
$phpAds_ISO3166['GE'] = "Georgia";
$phpAds_ISO3166['DE'] = "Germany";
$phpAds_ISO3166['GH'] = "Ghana";
$phpAds_ISO3166['GI'] = "Gibraltar";
$phpAds_ISO3166['GR'] = "Greece";
$phpAds_ISO3166['GL'] = "Greenland"; 
$phpAds_ISO3166['GD'] = "Grenada"; 
$phpAds_ISO3166['GP'] = "Guadeloupe"; 
$phpAds_ISO3166['GU'] = "Guam"; 
$phpAds_ISO3166['GT'] = "Guatemala";
$phpAds_ISO3166['GN'] = "Guinea"; 
$phpAds_ISO3166['GW'] = "Guinea-Bissau"; 
$phpAds_ISO3166['GY'] = "Guyana";
$phpAds_ISO3166['HT'] = "Haiti";
$phpAds_ISO3166['HM'] = "Heard and Mc Donald Islands"; 
$phpAds_ISO3166['VA'] = "Holy See (Vatican city state)"; 
$phpAds_ISO3166['HN'] = "Honduras";
$phpAds_ISO3166['HK'] = "Hong Kong";
$phpAds_ISO3166['HU'] = "Hungary";
$phpAds_ISO3166['IS'] = "Iceland"; 
$phpAds_ISO3166['IN'] = "India";
$phpAds_ISO3166['ID'] = "Indonesia";
$phpAds_ISO3166['IR'] = "Iran, Islamic Republic of";
$phpAds_ISO3166['IQ'] = "Iraq";
$phpAds_ISO3166['IE'] = "Ireland";
$phpAds_ISO3166['IL'] = "Israel";
$phpAds_ISO3166['IT'] = "Italy";
$phpAds_ISO3166['JM'] = "Jamaica";
$phpAds_ISO3166['JP'] = "Japan";
$phpAds_ISO3166['JO'] = "Jordan";
$phpAds_ISO3166['KZ'] = "Kazakhstan";
$phpAds_ISO3166['KE'] = "Kenya";
$phpAds_ISO3166['KI'] = "Kiribati"; 
$phpAds_ISO3166['KP'] = "Korea, Democratic People's Republic of"; 
$phpAds_ISO3166['KR'] = "Korea, Republic of"; 
$phpAds_ISO3166['KW'] = "Kuwait";
$phpAds_ISO3166['KG'] = "Kyrgyzstan"; 
$phpAds_ISO3166['LA'] = "Lao";
$phpAds_ISO3166['LV'] = "Latvia";
$phpAds_ISO3166['LB'] = "Lebanon";
$phpAds_ISO3166['LS'] = "Lesotho";
$phpAds_ISO3166['LR'] = "Liberia";
$phpAds_ISO3166['LY'] = "Libya";
$phpAds_ISO3166['LI'] = "Liechtenstein"; 
$phpAds_ISO3166['LT'] = "Lithuania"; 
$phpAds_ISO3166['LU'] = "Luxembourg";
$phpAds_ISO3166['MO'] = "Macau";
$phpAds_ISO3166['MK'] = "Macedonia";
$phpAds_ISO3166['MG'] = "Madagascar"; 
$phpAds_ISO3166['MW'] = "Malawi";
$phpAds_ISO3166['MY'] = "Malaysia";
$phpAds_ISO3166['MV'] = "Maldives";
$phpAds_ISO3166['ML'] = "Mali"; 
$phpAds_ISO3166['MT'] = "Malta";
$phpAds_ISO3166['MH'] = "Marshall Islands"; 
$phpAds_ISO3166['MQ'] = "Martinique"; 
$phpAds_ISO3166['MR'] = "Mauritania";
$phpAds_ISO3166['MU'] = "Mauritius";
$phpAds_ISO3166['YT'] = "Mayotte"; 
$phpAds_ISO3166['MX'] = "Mexico";
$phpAds_ISO3166['FM'] = "Micronesia, Federated states of"; 
$phpAds_ISO3166['MD'] = "Moldova, Republic of";
$phpAds_ISO3166['MC'] = "Monaco";
$phpAds_ISO3166['MN'] = "Mongolia";
$phpAds_ISO3166['MS'] = "Montserrat"; 
$phpAds_ISO3166['MA'] = "Morocco";
$phpAds_ISO3166['MZ'] = "Mozambique";
$phpAds_ISO3166['MM'] = "Myanmar";
$phpAds_ISO3166['NA'] = "Namibia";
$phpAds_ISO3166['NR'] = "Nauru"; 
$phpAds_ISO3166['NP'] = "Nepal";
$phpAds_ISO3166['NL'] = "Netherlands";
$phpAds_ISO3166['AN'] = "Netherlands Antilles";
$phpAds_ISO3166['NC'] = "New Caledonia"; 
$phpAds_ISO3166['NZ'] = "New Zealand";
$phpAds_ISO3166['NI'] = "Nicaragua";
$phpAds_ISO3166['NE'] = "Niger"; 
$phpAds_ISO3166['NG'] = "Nigeria";
$phpAds_ISO3166['NU'] = "Niue"; 
$phpAds_ISO3166['NF'] = "Norfolk Island"; 
$phpAds_ISO3166['MP'] = "Northern Mariana Islands"; 
$phpAds_ISO3166['NO'] = "Norway";
$phpAds_ISO3166['OM'] = "Oman";
$phpAds_ISO3166['PK'] = "Pakistan";
$phpAds_ISO3166['PW'] = "Palau"; 
$phpAds_ISO3166['PA'] = "Panama";
$phpAds_ISO3166['PG'] = "Papua New Guinea";
$phpAds_ISO3166['PY'] = "Paraguay";
$phpAds_ISO3166['PE'] = "Peru";
$phpAds_ISO3166['PH'] = "Philippines";
$phpAds_ISO3166['PN'] = "Pitcairn"; 
$phpAds_ISO3166['PL'] = "Poland";
$phpAds_ISO3166['PS'] = "Palestinian Territory, Occupied";
$phpAds_ISO3166['PT'] = "Portugal";
$phpAds_ISO3166['PR'] = "Puerto Rico"; 
$phpAds_ISO3166['QA'] = "Qatar";
$phpAds_ISO3166['RE'] = "Reunion"; 
$phpAds_ISO3166['RO'] = "Romania";
$phpAds_ISO3166['RU'] = "Russian Federation";
$phpAds_ISO3166['RW'] = "Rwanda";
$phpAds_ISO3166['KN'] = "Saint Kitts and Nevis"; 
$phpAds_ISO3166['LC'] = "Saint Lucia"; 
$phpAds_ISO3166['VC'] = "Saint Vincent and the Grenadines"; 
$phpAds_ISO3166['WS'] = "Samoa";
$phpAds_ISO3166['SM'] = "San Marino";
$phpAds_ISO3166['ST'] = "Sao Tome and Principe"; 
$phpAds_ISO3166['SA'] = "Saudia-Arabia";
$phpAds_ISO3166['SN'] = "Senegal"; 
$phpAds_ISO3166['SC'] = "Seychelles";
$phpAds_ISO3166['SL'] = "Sierra Leone";
$phpAds_ISO3166['SG'] = "Singapore";
$phpAds_ISO3166['SK'] = "Slovakia";
$phpAds_ISO3166['SI'] = "Slovenia";
$phpAds_ISO3166['SO'] = "Somalia";
$phpAds_ISO3166['SB'] = "Solomon Islands"; 
$phpAds_ISO3166['ZA'] = "South Africa";
$phpAds_ISO3166['GS'] = "South Georgia and the South Sandwich Islands"; 
$phpAds_ISO3166['ES'] = "Spain";
$phpAds_ISO3166['LK'] = "Sri Lanka";
$phpAds_ISO3166['SH'] = "St. Helena"; 
$phpAds_ISO3166['PM'] = "St. Pierre and Miquelon"; 
$phpAds_ISO3166['SD'] = "Sudan";
$phpAds_ISO3166['SR'] = "Suriname";
$phpAds_ISO3166['SJ'] = "Svalbard and Jan Mayen Islands"; 
$phpAds_ISO3166['SZ'] = "Swaziland";
$phpAds_ISO3166['SE'] = "Sweden";
$phpAds_ISO3166['CH'] = "Switzerland";
$phpAds_ISO3166['SY'] = "Syrian Arab Republic";
$phpAds_ISO3166['TW'] = "Taiwan, Province of China";
$phpAds_ISO3166['TJ'] = "Tajikistan";
$phpAds_ISO3166['TZ'] = "Tanzania, United Republic of";
$phpAds_ISO3166['TH'] = "Thailand";
$phpAds_ISO3166['TG'] = "Togo"; 
$phpAds_ISO3166['TK'] = "Tokelau"; 
$phpAds_ISO3166['TO'] = "Tonga";
$phpAds_ISO3166['TT'] = "Trinidad and Tobago";
$phpAds_ISO3166['TN'] = "Tunisia";
$phpAds_ISO3166['TR'] = "Turkey";
$phpAds_ISO3166['TM'] = "Turkmenistan";
$phpAds_ISO3166['TC'] = "Turks and Caicos Islands"; 
$phpAds_ISO3166['TV'] = "Tuvalu"; 
$phpAds_ISO3166['UG'] = "Uganda";
$phpAds_ISO3166['UA'] = "Ukraine";
$phpAds_ISO3166['AE'] = "United Arab Emirates"; 
$phpAds_ISO3166['GB'] = "United Kingdom"; 
$phpAds_ISO3166['US'] = "United States";
$phpAds_ISO3166['UM'] = "United States Minor Outlying Islands"; 
$phpAds_ISO3166['UY'] = "Uruguay";
$phpAds_ISO3166['UZ'] = "Uzbekistan";
$phpAds_ISO3166['VU'] = "Vanuatu";
$phpAds_ISO3166['VE'] = "Venezuela";
$phpAds_ISO3166['VN'] = "Vietnam";
$phpAds_ISO3166['VG'] = "Virgin Islands, British"; 
$phpAds_ISO3166['VI'] = "Virgin Islands, U.S."; 
$phpAds_ISO3166['WF'] = "Wallis and Futuna Islands"; 
$phpAds_ISO3166['EH'] = "Western Sahara"; 
$phpAds_ISO3166['YE'] = "Yemen";
$phpAds_ISO3166['YU'] = "Yugoslavia";
$phpAds_ISO3166['ZM'] = "Zambia";
$phpAds_ISO3166['ZR'] = "Zaire";
$phpAds_ISO3166['ZW'] = "Zimbabwe";


// MaxMind Geo-IP special codes
$phpAds_ISO3166['A1'] = "Anonymous Proxy";
$phpAds_ISO3166['A2'] = "Satellite Provider";
$phpAds_ISO3166['O1'] = "Other";



// Load localized strings
if (file_exists(phpAds_path.'/language/'.$phpAds_config['language'].'/res-iso3166.lang.php'))
	@include(phpAds_path.'/language/'.$phpAds_config['language'].'/res-iso3166.lang.php');


phpAds_ISO3166_sort();



// Private function

function phpAds_ISO3166_sort()
{
	global $phpAds_ISO3166;
	
	asort($phpAds_ISO3166);
	
	foreach (array('A1', 'A2', 'O1') as $k)
	{
		$tmp = $phpAds_ISO3166[$k];
		unset($phpAds_ISO3166[$k]);
		$phpAds_ISO3166[$k] = $tmp;
	}
}

?>