<?php

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

}

$predefined = new UPME_predefined();