Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function premenuj($country){
- switch ($country){
- case "Congo (Brazzaville)":
- $country="Congo";
- break;
- case"Ivory Coast":
- case"Cote d'Ivoire":
- $country="Côte d'Ivoire";
- break;
- case "Republic of Ireland":
- case"North Ireland":
- $country="Ireland";
- break;
- case" Azerbaijan":
- $country="Azerbaijan";
- break;
- case "Congo (Kinshasa)":
- case"Republic of the Congo":
- $country="DR Congo";
- break;
- case "Czechia":
- case "Czech Republic":
- $country="Czech Republic (Czechia)";
- break;
- case "Iran (Islamic Republic of)":
- $country="Iran";
- break;
- case "Republic of Korea":
- case "Korea, South":
- $country="South Korea";
- break;
- case "Macau":
- case "Macao SAR":
- $country="Macao";
- break;
- case"Vatican City":
- $country="Holy See";
- break;
- case "Hong Kong SAR":
- case "Mainland China":
- $country="China";
- break;
- case "Others":
- $country="Cruise Ship";
- break;
- case "Taipei and environs":
- case "Taiwan*":
- $country="Taiwan";
- break;
- case "Guernsey":
- case "UK":
- $country="United Kingdom";
- break;
- case "Jersey":
- case "US":
- $country="United States";
- break;
- case "Viet Nam":
- $country="Vietnam";
- break;
- case "Russian Federation":
- $country="Russia";
- break;
- case "Republic of Moldova":
- $country="Moldova";
- break;
- case "The Bahamas":
- case "\"Bahamas":
- case "Bahamas, The":
- $country="Bahamas";
- break;
- case "Faroe Islands":
- $country="Denmark";
- break;
- case "occupied Palestinian territory":
- case "State of Palestine":
- case "Palestine":
- $country="Israel";
- break;
- case "St. Martin":
- $country="France";
- break;
- case "Kosovo":
- $country="Serbia";
- break;
- case "Saint Vincent and the Grenadines":
- $country="St. Vincent & Grenadines";
- break;
- case "Gambia, The":
- case "\"Gambia":
- case "The Gambia":
- $country="Gambia";
- break;
- case "Cape Verde":
- $country="Cabo Verde";
- break;
- case "East Timor":
- $country="Timor-Leste";
- break;
- }
- return $country;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement