SHARE
TWEET

Untitled

a guest Mar 26th, 2020 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. function premenuj($country){
  3.     switch ($country){
  4.         case "Congo (Brazzaville)":
  5.             $country="Congo";
  6.             break;
  7.         case"Ivory Coast":
  8.         case"Cote d'Ivoire":
  9.             $country="Côte d'Ivoire";
  10.             break;
  11.         case "Republic of Ireland":
  12.         case"North Ireland":
  13.             $country="Ireland";
  14.             break;
  15.         case" Azerbaijan":
  16.             $country="Azerbaijan";
  17.             break;
  18.         case "Congo (Kinshasa)":
  19.         case"Republic of the Congo":
  20.             $country="DR Congo";
  21.             break;
  22.         case "Czechia":
  23.         case "Czech Republic":
  24.             $country="Czech Republic (Czechia)";
  25.             break;
  26.  
  27.         case "Iran (Islamic Republic of)":
  28.             $country="Iran";
  29.             break;
  30.         case "Republic of Korea":
  31.         case "Korea, South":
  32.             $country="South Korea";
  33.             break;
  34.         case "Macau":
  35.         case "Macao SAR":
  36.             $country="Macao";
  37.             break;
  38.         case"Vatican City":
  39.             $country="Holy See";
  40.             break;
  41.         case "Hong Kong SAR":
  42.         case "Mainland China":
  43.             $country="China";
  44.             break;
  45.         case "Others":
  46.             $country="Cruise Ship";
  47.             break;
  48.         case "Taipei and environs":
  49.         case "Taiwan*":
  50.             $country="Taiwan";
  51.             break;
  52.         case "Guernsey":
  53.         case "UK":
  54.             $country="United Kingdom";
  55.             break;
  56.         case "Jersey":
  57.         case "US":
  58.             $country="United States";
  59.             break;
  60.         case "Viet Nam":
  61.             $country="Vietnam";
  62.             break;
  63.         case "Russian Federation":
  64.             $country="Russia";
  65.             break;
  66.         case "Republic of Moldova":
  67.             $country="Moldova";
  68.             break;
  69.         case "The Bahamas":
  70.         case "\"Bahamas":
  71.         case "Bahamas, The":
  72.             $country="Bahamas";
  73.             break;
  74.         case "Faroe Islands":
  75.             $country="Denmark";
  76.             break;
  77.         case "occupied Palestinian territory":
  78.         case "State of Palestine":
  79.         case "Palestine":
  80.             $country="Israel";
  81.             break;
  82.         case "St. Martin":
  83.             $country="France";
  84.             break;
  85.         case "Kosovo":
  86.             $country="Serbia";
  87.             break;
  88.  
  89.         case "Saint Vincent and the Grenadines":
  90.             $country="St. Vincent & Grenadines";
  91.             break;
  92.         case "Gambia, The":
  93.         case "\"Gambia":
  94.         case "The Gambia":
  95.             $country="Gambia";
  96.             break;
  97.  
  98.         case "Cape Verde":
  99.             $country="Cabo Verde";
  100.             break;
  101.         case "East Timor":
  102.             $country="Timor-Leste";
  103.             break;
  104.  
  105.     }
  106.     return $country;
  107. }
  108. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top