Skip to content

Instantly share code, notes, and snippets.

@vishalbasnet23
Last active August 29, 2015 14:19
Show Gist options
  • Save vishalbasnet23/75db3704e4530128a88a to your computer and use it in GitHub Desktop.
Save vishalbasnet23/75db3704e4530128a88a to your computer and use it in GitHub Desktop.
Country List Drop Down
AF : Afghanistan
AL : Albania
DZ : Algeria
AS : Samoa American
AD : Andorra
AG : Antigua & Barbuda
AI : Anguilla
AR : Argentina
AA : Armenia
AW : Aruba
AU : Australia
AT : Austria
AZ : Azerbaijan
BS : Bahamas
BH : Bahrain
BD : Bangladesh
BB : Barbados
BY : Belarus
BE : Belgium
BZ : Belize
BJ : Benin
BM : Bermuda
BT : Bhutan
BO : Bolivia
BL : Bonaire
BA : Bosnia & Herzegovina
BW : Botswana
BR : Brazil
BC : British Indian Ocean Ter
BN : Brunei
BG : Bulgaria
BF : Burkina Faso
BI : Burundi
KH : Cambodia
CM : Cameroon
CA : Canada
IC : Canary Islands
CV : Cape Verde
KY : Cayman Islands
CF : Central African Republic
TD : Chad
CD : Channel Islands
CL : Chile
CN : China
CI : Christmas Island
CS : Cocos Island
CO : Colombia
CC : Comoros
CG : Congo
CK : Cook Islands
CR : Costa Rica
CT : Cote D'Ivoire
HR : Croatia
CU : Cuba
CB : Curacao
CY : Cyprus
CZ : Czech Republic
DK : Denmark
DJ : Djibouti
DM : Dominica
DO : Dominican Republic
TM : East Timor
EC : Ecuador
EG : Egypt
SV : El Salvador
GQ : Equatorial Guinea
ER : Eritrea
EE : Estonia
ET : Ethiopia
FA : Falkland Islands
FO : Faroe Islands
FJ : Fiji
FI : Finland
FR : France
GF : French Guiana
PF : French Polynesia
FS : French Southern Ter
GA : Gabon
GM : Gambia
GE : Georgia
DE : Germany
GH : Ghana
GI : Gibraltar
GB : United Kingdom
GR : Greece
GL : Greenland
GD : Grenada
GP : Guadeloupe
GU : Guam
GT : Guatemala
GN : Guinea
GY : Guyana
HT : Haiti
HW : Hawaii
HN : Honduras
HK : Hong Kong
HU : Hungary
IS : Iceland
IN : India
ID : Indonesia
IA : Iran
IQ : Iraq
IE : Ireland
IM : Isle of Man
IL : Israel
IT : Italy
JM : Jamaica
JP : Japan
JO : Jordan
KZ : Kazakhstan
KE : Kenya
KI : Kiribati
NK : Korea North
KS : Korea South
KW : Kuwait
KG : Kyrgyzstan
LA : Laos
LV : Latvia
LB : Lebanon
LS : Lesotho
LR : Liberia
LY : Libya
LI : Liechtenstein
LT : Lithuania
LU : Luxembourg
MO : Macau
MK : Macedonia
MG : Madagascar
MY : Malaysia
MW : Malawi
MV : Maldives
ML : Mali
MT : Malta
MH : Marshall Islands
MQ : Martinique
MR : Mauritania
MU : Mauritius
ME : Republic of Montenegro
MX : Mexico
MI : Midway Islands
MD : Moldova
MC : Monaco
MN : Mongolia
MS : Montserrat
MA : Morocco
MZ : Mozambique
MM : Myanmar
NA : Nambia
NU : Nauru
NP : Nepal
AN : Netherland Antilles
NL : Netherlands (Holland, Europe)
NV : Nevis
NC : New Caledonia
NZ : New Zealand
NI : Nicaragua
NE : Niger
NG : Nigeria
NW : Niue
NF : Norfolk Island
NO : Norway
OM : Oman
PK : Pakistan
PW : Palau Island
PS : Palestine
PA : Panama
PG : Papua New Guinea
PY : Paraguay
PE : Peru
PH : Philippines
PO : Pitcairn Island
PL : Poland
PT : Portugal
PR : Puerto Rico
QA : Qatar
RS : Republic of Serbia
RE : Reunion
RO : Romania
RU : Russia
RW : Rwanda
NT : St Barthelemy
EU : St Eustatius
HE : St Helena
KN : St Kitts-Nevis
LC : St Lucia
MB : St Maarten
PM : St Pierre & Miquelon
VC : St Vincent & Grenadines
SP : Saipan
SO : Samoa
SM : San Marino
ST : Sao Tome & Principe
SA : Saudi Arabia
SN : Senegal
SC : Seychelles
SL : Sierra Leone
SG : Singapore
SK : Slovakia
SI : Slovenia
SB : Solomon Islands
OI : Somalia
ZA : South Africa
ES : Spain
LK : Sri Lanka
SD : Sudan
SR : Suriname
SZ : Swaziland
SE : Sweden
CH : Switzerland
SY : Syria
TA : Tahiti
TW : Taiwan
TJ : Tajikistan
TZ : Tanzania
TH : Thailand
TG : Togo
TK : Tokelau
TO : Tonga
TT : Trinidad & Tobago
TN : Tunisia
TR : Turkey
TU : Turkmenistan
TC : Turks & Caicos Is
TV : Tuvalu
UG : Uganda
UA : Ukraine
AE : United Arab Emirates
US : United States of America
UY : Uruguay
UZ : Uzbekistan
VU : Vanuatu
VS : Vatican City State
VE : Venezuela
VN : Vietnam
VB : Virgin Islands (Brit)
VA : Virgin Islands (USA)
WK : Wake Island
WF : Wallis & Futana Is
YE : Yemen
ZR : Zaire
ZM : Zambia
ZW : Zimbabwe
<select name="country" class="form-control">
<option value=""><?php _e('Country', 'country_list');?></option>
<option value="AF"><?php _e("Afghanistan","country_list");?></option>
<option value="AL"><?php _e("Albania","country_list");?></option>
<option value="DZ"><?php _e("Algeria","country_list");?></option>
<option value="AS"><?php _e("American Samoa","country_list");?></option>
<option value="AD"><?php _e("Andorra","country_list");?></option>
<option value="AG"><?php _e("Angola","country_list");?></option>
<option value="AI"><?php _e("Anguilla","country_list");?></option>
<option value="AG"><?php _e("Antigua &amp; Barbuda","country_list");?></option>
<option value="AR"><?php _e("Argentina","country_list");?></option>
<option value="AA"><?php _e("Armenia","country_list");?></option>
<option value="AW"><?php _e("Aruba","country_list");?></option>
<option value="AU"><?php _e("Australia","country_list");?></option>
<option value="AT"><?php _e("Austria","country_list");?></option>
<option value="AZ"><?php _e("Azerbaijan","country_list");?></option>
<option value="BS"><?php _e("Bahamas","country_list");?></option>
<option value="BH"><?php _e("Bahrain","country_list");?></option>
<option value="BD"><?php _e("Bangladesh","country_list");?></option>
<option value="BB"><?php _e("Barbados","country_list");?></option>
<option value="BY"><?php _e("Belarus","country_list");?></option>
<option value="BE"><?php _e("Belgium","country_list");?></option>
<option value="BZ"><?php _e("Belize","country_list");?></option>
<option value="BJ"><?php _e("Benin","country_list");?></option>
<option value="BM"><?php _e("Bermuda","country_list");?></option>
<option value="BT"><?php _e("Bhutan","country_list");?></option>
<option value="BO"><?php _e("Bolivia","country_list");?></option>
<option value="BL"><?php _e("Bonaire","country_list");?></option>
<option value="BA"><?php _e("Bosnia &amp; Herzegovina","country_list");?></option>
<option value="BW"><?php _e("Botswana","country_list");?></option>
<option value="BR"><?php _e("Brazil","country_list");?></option>
<option value="BC"><?php _e("British Indian Ocean Ter","country_list");?></option>
<option value="BN"><?php _e("Brunei","country_list");?></option>
<option value="BG"><?php _e("Bulgaria","country_list");?></option>
<option value="BF"><?php _e("Burkina Faso","country_list");?></option>
<option value="BI"><?php _e("Burundi","country_list");?></option>
<option value="KH"><?php _e("Cambodia","country_list");?></option>
<option value="CM"><?php _e("Cameroon","country_list");?></option>
<option value="CA"><?php _e("Canada","country_list");?></option>
<option value="IC"><?php _e("Canary Islands","country_list");?></option>
<option value="CV"><?php _e("Cape Verde","country_list");?></option>
<option value="KY"><?php _e("Cayman Islands","country_list");?></option>
<option value="CF"><?php _e("Central African Republic","country_list");?></option>
<option value="TD"><?php _e("Chad","country_list");?></option>
<option value="CD"><?php _e("Channel Islands","country_list");?></option>
<option value="CL"><?php _e("Chile","country_list");?></option>
<option value="CN"><?php _e("China","country_list");?></option>
<option value="CI"><?php _e("Christmas Island","country_list");?></option>
<option value="CS"><?php _e("Cocos Island","country_list");?></option>
<option value="CO"><?php _e("Colombia","country_list");?></option>
<option value="CC"><?php _e("Comoros","country_list");?></option>
<option value="CG"><?php _e("Congo","country_list");?></option>
<option value="CK"><?php _e("Cook Islands","country_list");?></option>
<option value="CR"><?php _e("Costa Rica","country_list");?></option>
<option value="CT"><?php _e("Cote D'Ivoire","country_list");?></option>
<option value="HR"><?php _e("Croatia","country_list");?></option>
<option value="CU"><?php _e("Cuba","country_list");?></option>
<option value="CB"><?php _e("Curacao","country_list");?></option>
<option value="CY"><?php _e("Cyprus","country_list");?></option>
<option value="CZ"><?php _e("Czech Republic","country_list");?></option>
<option value="DK"><?php _e("Denmark","country_list");?></option>
<option value="DJ"><?php _e("Djibouti","country_list");?></option>
<option value="DM"><?php _e("Dominica","country_list");?></option>
<option value="DO"><?php _e("Dominican Republic","country_list");?></option>
<option value="TM"><?php _e("East Timor","country_list");?></option>
<option value="EC"><?php _e("Ecuador","country_list");?></option>
<option value="EG"><?php _e("Egypt","country_list");?></option>
<option value="SV"><?php _e("El Salvador","country_list");?></option>
<option value="GQ"><?php _e("Equatorial Guinea","country_list");?></option>
<option value="ER"><?php _e("Eritrea","country_list");?></option>
<option value="EE"><?php _e("Estonia","country_list");?></option>
<option value="ET"><?php _e("Ethiopia","country_list");?></option>
<option value="FA"><?php _e("Falkland Islands","country_list");?></option>
<option value="FO"><?php _e("Faroe Islands","country_list");?></option>
<option value="FJ"><?php _e("Fiji","country_list");?></option>
<option value="FI"><?php _e("Finland","country_list");?></option>
<option value="FR"><?php _e("France","country_list");?></option>
<option value="GF"><?php _e("French Guiana","country_list");?></option>
<option value="PF"><?php _e("French Polynesia","country_list");?></option>
<option value="FS"><?php _e("French Southern Ter","country_list");?></option>
<option value="GA"><?php _e("Gabon","country_list");?></option>
<option value="GM"><?php _e("Gambia","country_list");?></option>
<option value="GE"><?php _e("Georgia","country_list");?></option>
<option value="DE"><?php _e("Germany","country_list");?></option>
<option value="GH"><?php _e("Ghana","country_list");?></option>
<option value="GI"><?php _e("Gibraltar","country_list");?></option>
<option value="GB"><?php _e("Great Britain","country_list");?></option>
<option value="GR"><?php _e("Greece","country_list");?></option>
<option value="GL"><?php _e("Greenland","country_list");?></option>
<option value="GD"><?php _e("Grenada","country_list");?></option>
<option value="GP"><?php _e("Guadeloupe","country_list");?></option>
<option value="GU"><?php _e("Guam","country_list");?></option>
<option value="GT"><?php _e("Guatemala","country_list");?></option>
<option value="GN"><?php _e("Guinea","country_list");?></option>
<option value="GY"><?php _e("Guyana","country_list");?></option>
<option value="HT"><?php _e("Haiti","country_list");?></option>
<option value="HW"><?php _e("Hawaii","country_list");?></option>
<option value="HN"><?php _e("Honduras","country_list");?></option>
<option value="HK"><?php _e("Hong Kong","country_list");?></option>
<option value="HU"><?php _e("Hungary","country_list");?></option>
<option value="IS"><?php _e("Iceland","country_list");?></option>
<option value="IN"><?php _e("India","country_list");?></option>
<option value="ID"><?php _e("Indonesia","country_list");?></option>
<option value="IA"><?php _e("Iran","country_list");?></option>
<option value="IQ"><?php _e("Iraq","country_list");?></option>
<option value="IR"><?php _e("Ireland","country_list");?></option>
<option value="IM"><?php _e("Isle of Man","country_list");?></option>
<option value="IL"><?php _e("Israel","country_list");?></option>
<option value="IT"><?php _e("Italy","country_list");?></option>
<option value="JM"><?php _e("Jamaica","country_list");?></option>
<option value="JP"><?php _e("Japan","country_list");?></option>
<option value="JO"><?php _e("Jordan","country_list");?></option>
<option value="KZ"><?php _e("Kazakhstan","country_list");?></option>
<option value="KE"><?php _e("Kenya","country_list");?></option>
<option value="KI"><?php _e("Kiribati","country_list");?></option>
<option value="NK"><?php _e("Korea North","country_list");?></option>
<option value="KS"><?php _e("Korea South","country_list");?></option>
<option value="KW"><?php _e("Kuwait","country_list");?></option>
<option value="KG"><?php _e("Kyrgyzstan","country_list");?></option>
<option value="LA"><?php _e("Laos","country_list");?></option>
<option value="LV"><?php _e("Latvia","country_list");?></option>
<option value="LB"><?php _e("Lebanon","country_list");?></option>
<option value="LS"><?php _e("Lesotho","country_list");?></option>
<option value="LR"><?php _e("Liberia","country_list");?></option>
<option value="LY"><?php _e("Libya","country_list");?></option>
<option value="LI"><?php _e("Liechtenstein","country_list");?></option>
<option value="LT"><?php _e("Lithuania","country_list");?></option>
<option value="LU"><?php _e("Luxembourg","country_list");?></option>
<option value="MO"><?php _e("Macau","country_list");?></option>
<option value="MK"><?php _e("Macedonia","country_list");?></option>
<option value="MG"><?php _e("Madagascar","country_list");?></option>
<option value="MY"><?php _e("Malaysia","country_list");?></option>
<option value="MW"><?php _e("Malawi","country_list");?></option>
<option value="MV"><?php _e("Maldives","country_list");?></option>
<option value="ML"><?php _e("Mali","country_list");?></option>
<option value="MT"><?php _e("Malta","country_list");?></option>
<option value="MH"><?php _e("Marshall Islands","country_list");?></option>
<option value="MQ"><?php _e("Martinique","country_list");?></option>
<option value="MR"><?php _e("Mauritania","country_list");?></option>
<option value="MU"><?php _e("Mauritius","country_list");?></option>
<option value="ME"><?php _e("Mayotte","country_list");?></option>
<option value="MX"><?php _e("Mexico","country_list");?></option>
<option value="MI"><?php _e("Midway Islands","country_list");?></option>
<option value="MD"><?php _e("Moldova","country_list");?></option>
<option value="MC"><?php _e("Monaco","country_list");?></option>
<option value="MN"><?php _e("Mongolia","country_list");?></option>
<option value="MS"><?php _e("Montserrat","country_list");?></option>
<option value="MA"><?php _e("Morocco","country_list");?></option>
<option value="MZ"><?php _e("Mozambique","country_list");?></option>
<option value="MM"><?php _e("Myanmar","country_list");?></option>
<option value="NA"><?php _e("Nambia","country_list");?></option>
<option value="NU"><?php _e("Nauru","country_list");?></option>
<option value="NP"><?php _e("Nepal","country_list");?></option>
<option value="AN"><?php _e("Netherland Antilles","country_list");?></option>
<option value="NL"><?php _e("Netherlands (Holland, Europe)","country_list");?></option>
<option value="NV"><?php _e("Nevis","country_list");?></option>
<option value="NC"><?php _e("New Caledonia","country_list");?></option>
<option value="NZ"><?php _e("New Zealand","country_list");?></option>
<option value="NI"><?php _e("Nicaragua","country_list");?></option>
<option value="NE"><?php _e("Niger","country_list");?></option>
<option value="NG"><?php _e("Nigeria","country_list");?></option>
<option value="NW"><?php _e("Niue","country_list");?></option>
<option value="NF"><?php _e("Norfolk Island","country_list");?></option>
<option value="NO"><?php _e("Norway","country_list");?></option>
<option value="OM"><?php _e("Oman","country_list");?></option>
<option value="PK"><?php _e("Pakistan","country_list");?></option>
<option value="PW"><?php _e("Palau Island","country_list");?></option>
<option value="PS"><?php _e("Palestine","country_list");?></option>
<option value="PA"><?php _e("Panama","country_list");?></option>
<option value="PG"><?php _e("Papua New Guinea","country_list");?></option>
<option value="PY"><?php _e("Paraguay","country_list");?></option>
<option value="PE"><?php _e("Peru","country_list");?></option>
<option value="PH"><?php _e("Philippines","country_list");?></option>
<option value="PO"><?php _e("Pitcairn Island","country_list");?></option>
<option value="PL"><?php _e("Poland","country_list");?></option>
<option value="PT"><?php _e("Portugal","country_list");?></option>
<option value="PR"><?php _e("Puerto Rico","country_list");?></option>
<option value="QA"><?php _e("Qatar","country_list");?></option>
<option value="ME"><?php _e("Republic of Montenegro","country_list");?></option>
<option value="RS"><?php _e("Republic of Serbia","country_list");?></option>
<option value="RE"><?php _e("Reunion","country_list");?></option>
<option value="RO"><?php _e("Romania","country_list");?></option>
<option value="RU"><?php _e("Russia","country_list");?></option>
<option value="RW"><?php _e("Rwanda","country_list");?></option>
<option value="NT"><?php _e("St Barthelemy","country_list");?></option>
<option value="EU"><?php _e("St Eustatius","country_list");?></option>
<option value="HE"><?php _e("St Helena","country_list");?></option>
<option value="KN"><?php _e("St Kitts-Nevis","country_list");?></option>
<option value="LC"><?php _e("St Lucia","country_list");?></option>
<option value="MB"><?php _e("St Maarten","country_list");?></option>
<option value="PM"><?php _e("St Pierre &amp; Miquelon","country_list");?></option>
<option value="VC"><?php _e("St Vincent &amp; Grenadines","country_list");?></option>
<option value="SP"><?php _e("Saipan","country_list");?></option>
<option value="SO"><?php _e("Samoa","country_list");?></option>
<option value="AS"><?php _e("Samoa American","country_list");?></option>
<option value="SM"><?php _e("San Marino","country_list");?></option>
<option value="ST"><?php _e("Sao Tome &amp; Principe","country_list");?></option>
<option value="SA"><?php _e("Saudi Arabia","country_list");?></option>
<option value="SN"><?php _e("Senegal","country_list");?></option>
<option value="SC"><?php _e("Seychelles","country_list");?></option>
<option value="SL"><?php _e("Sierra Leone","country_list");?></option>
<option value="SG"><?php _e("Singapore","country_list");?></option>
<option value="SK"><?php _e("Slovakia","country_list");?></option>
<option value="SI"><?php _e("Slovenia","country_list");?></option>
<option value="SB"><?php _e("Solomon Islands","country_list");?></option>
<option value="OI"><?php _e("Somalia","country_list");?></option>
<option value="ZA"><?php _e("South Africa","country_list");?></option>
<option value="ES"><?php _e("Spain","country_list");?></option>
<option value="LK"><?php _e("Sri Lanka","country_list");?></option>
<option value="SD"><?php _e("Sudan","country_list");?></option>
<option value="SR"><?php _e("Suriname","country_list");?></option>
<option value="SZ"><?php _e("Swaziland","country_list");?></option>
<option value="SE"><?php _e("Sweden","country_list");?></option>
<option value="CH"><?php _e("Switzerland","country_list");?></option>
<option value="SY"><?php _e("Syria","country_list");?></option>
<option value="TA"><?php _e("Tahiti","country_list");?></option>
<option value="TW"><?php _e("Taiwan","country_list");?></option>
<option value="TJ"><?php _e("Tajikistan","country_list");?></option>
<option value="TZ"><?php _e("Tanzania","country_list");?></option>
<option value="TH"><?php _e("Thailand","country_list");?></option>
<option value="TG"><?php _e("Togo","country_list");?></option>
<option value="TK"><?php _e("Tokelau","country_list");?></option>
<option value="TO"><?php _e("Tonga","country_list");?></option>
<option value="TT"><?php _e("Trinidad &amp; Tobago","country_list");?></option>
<option value="TN"><?php _e("Tunisia","country_list");?></option>
<option value="TR"><?php _e("Turkey","country_list");?></option>
<option value="TU"><?php _e("Turkmenistan","country_list");?></option>
<option value="TC"><?php _e("Turks &amp; Caicos Is","country_list");?></option>
<option value="TV"><?php _e("Tuvalu","country_list");?></option>
<option value="UG"><?php _e("Uganda","country_list");?></option>
<option value="UA"><?php _e("Ukraine","country_list");?></option>
<option value="AE"><?php _e("United Arab Emirates","country_list");?></option>
<option value="GB"><?php _e("United Kingdom","country_list");?></option>
<option value="US"><?php _e("United States of America","country_list");?></option>
<option value="UY"><?php _e("Uruguay","country_list");?></option>
<option value="UZ"><?php _e("Uzbekistan","country_list");?></option>
<option value="VU"><?php _e("Vanuatu","country_list");?></option>
<option value="VS"><?php _e("Vatican City State","country_list");?></option>
<option value="VE"><?php _e("Venezuela","country_list");?></option>
<option value="VN"><?php _e("Vietnam","country_list");?></option>
<option value="VB"><?php _e("Virgin Islands (Brit)","country_list");?></option>
<option value="VA"><?php _e("Virgin Islands (USA)","country_list");?></option>
<option value="WK"><?php _e("Wake Island","country_list");?></option>
<option value="WF"><?php _e("Wallis &amp; Futana Is","country_list");?></option>
<option value="YE"><?php _e("Yemen","country_list");?></option>
<option value="ZR"><?php _e("Zaire","country_list");?></option>
<option value="ZM"><?php _e("Zambia","country_list");?></option>
<option value="ZW"><?php _e("Zimbabwe","country_list");?></option>
</select>
<?php
function country_full_name_gen($country_code) {
if( $country_code == 'AF' ) {
$country_full_name = 'Afghanistan';
}
if( $country_code == 'AL' ) {
$country_full_name = 'Albania';
}
if( $country_code == 'DZ' ) {
$country_full_name = 'Algeria';
}
if( $country_code == 'AS' ) {
$country_full_name = 'American';
}
if( $country_code == 'AD' ) {
$country_full_name = 'Andorra';
}
if( $country_code == 'AG' ) {
$country_full_name = 'Angola';
}
if( $country_code == 'AI' ) {
$country_full_name = 'Anguilla';
}
if( $country_code == 'AG' ) {
$country_full_name = 'Antigua';
}
if( $country_code == 'AR' ) {
$country_full_name = 'Argentina';
}
if( $country_code == 'AA' ) {
$country_full_name = 'Armenia';
}
if( $country_code == 'AW' ) {
$country_full_name = 'Aruba';
}
if( $country_code == 'AU' ) {
$country_full_name = 'Australia';
}
if( $country_code == 'AT' ) {
$country_full_name = 'Austria';
}
if( $country_code == 'AZ' ) {
$country_full_name = 'Azerbaijan';
}
if( $country_code == 'BS' ) {
$country_full_name = 'Bahamas';
}
if( $country_code == 'BH' ) {
$country_full_name = 'Bahrain';
}
if( $country_code == 'BD' ) {
$country_full_name = 'Bangladesh';
}
if( $country_code == 'BB' ) {
$country_full_name = 'Barbados';
}
if( $country_code == 'BY' ) {
$country_full_name = 'Belarus';
}
if( $country_code == 'BE' ) {
$country_full_name = 'Belgium';
}
if( $country_code == 'BZ' ) {
$country_full_name = 'Belize';
}
if( $country_code == 'BJ' ) {
$country_full_name = 'Benin';
}
if( $country_code == 'BM' ) {
$country_full_name = 'Bermuda';
}
if( $country_code == 'BT' ) {
$country_full_name = 'Bhutan';
}
if( $country_code == 'BO' ) {
$country_full_name = 'Bolivia';
}
if( $country_code == 'BL' ) {
$country_full_name = 'Bonaire';
}
if( $country_code == 'BA' ) {
$country_full_name = 'Bosnia';
}
if( $country_code == 'BW' ) {
$country_full_name = 'Botswana';
}
if( $country_code == 'BR' ) {
$country_full_name = 'Brazil';
}
if( $country_code == 'BC' ) {
$country_full_name = 'British Indian Ocean Ter';
}
if( $country_code == 'BN' ) {
$country_full_name = 'Brunei';
}
if( $country_code == 'BG' ) {
$country_full_name = 'Bulgaria';
}
if( $country_code == 'BF' ) {
$country_full_name = 'Burkina Faso';
}
if( $country_code == 'BI' ) {
$country_full_name = 'Burundi';
}
if( $country_code == 'KH' ) {
$country_full_name = 'Cambodia';
}
if( $country_code == 'CM' ) {
$country_full_name = 'Cameroon';
}
if( $country_code == 'CA' ) {
$country_full_name = 'Canada';
}
if( $country_code == 'IC' ) {
$country_full_name = 'Canary Islands';
}
if( $country_code == 'CV' ) {
$country_full_name = 'Cape Verde';
}
if( $country_code == 'KY' ) {
$country_full_name = 'Cayman Islands';
}
if( $country_code == 'CF' ) {
$country_full_name = 'Central African Republic';
}
if( $country_code == 'TD' ) {
$country_full_name = 'Chad';
}
if( $country_code == 'CD' ) {
$country_full_name = 'Channel Islands';
}
if( $country_code == 'CL' ) {
$country_full_name = 'Chile';
}
if( $country_code == 'CN' ) {
$country_full_name = 'China';
}
if( $country_code == 'CI' ) {
$country_full_name = 'Christmas Island';
}
if( $country_code == 'CS' ) {
$country_full_name = 'Cocos Island';
}
if( $country_code == 'CO' ) {
$country_full_name = 'Colombia';
}
if( $country_code == 'CC' ) {
$country_full_name = 'Comoros';
}
if( $country_code == 'CG' ) {
$country_full_name = 'Congo';
}
if( $country_code == 'CK' ) {
$country_full_name = 'Cook Islands';
}
if( $country_code == 'CR' ) {
$country_full_name = 'Costa Rica';
}
if( $country_code == 'CT' ) {
$country_full_name = 'Cote Ivoire';
}
if( $country_code == 'HR' ) {
$country_full_name = 'Croatia';
}
if( $country_code == 'CU' ) {
$country_full_name = 'Cuba';
}
if( $country_code == 'CB' ) {
$country_full_name = 'Curacao';
}
if( $country_code == 'CY' ) {
$country_full_name = 'Cyprus';
}
if( $country_code == 'CZ' ) {
$country_full_name = 'Czech Republic';
}
if( $country_code == 'DK' ) {
$country_full_name = 'Denmark';
}
if( $country_code == 'DJ' ) {
$country_full_name = 'Djibouti';
}
if( $country_code == 'DM' ) {
$country_full_name = 'Dominica';
}
if( $country_code == 'DO' ) {
$country_full_name = 'Dominican Republic';
}
if( $country_code == 'TM' ) {
$country_full_name = 'East Timor';
}
if( $country_code == 'EC' ) {
$country_full_name = 'Ecuador';
}
if( $country_code == 'EG' ) {
$country_full_name = 'Egypt';
}
if( $country_code == 'SV' ) {
$country_full_name = 'El Salvador';
}
if( $country_code == 'GQ' ) {
$country_full_name = 'Equatorial Guinea';
}
if( $country_code == 'ER' ) {
$country_full_name = 'Eritrea';
}
if( $country_code == 'EE' ) {
$country_full_name = 'Estonia';
}
if( $country_code == 'ET' ) {
$country_full_name = 'Ethiopia';
}
if( $country_code == 'FA' ) {
$country_full_name = 'Falkland Islands';
}
if( $country_code == 'FO' ) {
'$country_full_name = Faroe Islands';
}
if( $country_code == 'FJ' ) {
$country_full_name = 'Fiji';
}
if( $country_code == 'FI' ) {
$country_full_name = 'Finland';
}
if( $country_code == 'FR' ) {
$country_full_name = 'France';
}
if( $country_code == 'GF' ) {
$country_full_name = 'French Guiana';
}
if( $country_code == 'PF' ) {
$country_full_name = 'French Polynesia';
}
if( $country_code == 'FS' ) {
$country_full_name = 'French Southern Ter';
}
if( $country_code == 'GA' ) {
$country_full_name = 'Gabon';
}
if( $country_code == 'GM' ) {
$country_full_name = 'Gambia';
}
if( $country_code == 'GE' ) {
$country_full_name = 'Georgia';
}
if( $country_code == 'DE' ) {
$country_full_name = 'Germany';
}
if( $country_code == 'GH' ) {
$country_full_name = 'Ghana';
}
if( $country_code == 'GI' ) {
$country_full_name = 'Gibraltar';
}
if( $country_code == 'GB' ) {
$country_full_name = 'Great Britain';
}
if( $country_code == 'GR' ) {
$country_full_name = 'Greece';
}
if( $country_code == 'GL' ) {
$country_full_name = 'Greenland';
}
if( $country_code == 'GD' ) {
$country_full_name = 'Grenada';
}
if( $country_code == 'GP' ) {
$country_full_name = 'Guadeloupe';
}
if( $country_code == 'GU' ) {
$country_full_name = 'Guam';
}
if( $country_code == 'GT' ) {
$country_full_name = 'Guatemala';
}
if( $country_code == 'GN' ) {
$country_full_name = 'Guinea';
}
if( $country_code == 'GY' ) {
$country_full_name = 'Guyana';
}
if( $country_code == 'HT' ) {
$country_full_name = 'Haiti';
}
if( $country_code == 'HW' ) {
$country_full_name = 'Hawaii';
}
if( $country_code == 'HN' ) {
$country_full_name = 'Honduras';
}
if( $country_code == 'HK' ) {
$country_full_name = 'Hong Kong';
}
if( $country_code == 'HU' ) {
$country_full_name = 'Hungary';
}
if( $country_code == 'IS' ) {
$country_full_name = 'Iceland';
}
if( $country_code == 'IN' ) {
$country_full_name = 'India';
}
if( $country_code == 'ID' ) {
$country_full_name = 'Indonesia';
}
if( $country_code == 'IA' ) {
$country_full_name = 'Iran';
}
if( $country_code == 'IQ' ) {
$country_full_name = 'Iraq';
}
if( $country_code == 'IE' ) {
$country_full_name = 'Ireland';
}
if( $country_code == 'IM' ) {
$country_full_name = 'Isle of Man';
}
if( $country_code == 'IL' ) {
$country_full_name = 'Israel';
}
if( $country_code == 'IT' ) {
$country_full_name = 'Italy';
}
if( $country_code == 'JM' ) {
$country_full_name = 'Jamaica';
}
if( $country_code == 'JP' ) {
$country_full_name = 'Japan';
}
if( $country_code == 'JO' ) {
$country_full_name = 'Jordan';
}
if( $country_code == 'KZ' ) {
$country_full_name = 'Kazakhstan';
}
if( $country_code == 'KE' ) {
$country_full_name = 'Kenya';
}
if( $country_code == 'KI' ) {
$country_full_name = 'Kiribati';
}
if( $country_code == 'NK' ) {
$country_full_name = 'Korea North';
}
if( $country_code == 'KS' ) {
$country_full_name = 'Korea South';
}
if( $country_code == 'KW' ) {
$country_full_name = 'Kuwait';
}
if( $country_code == 'KG' ) {
$country_full_name = 'Kyrgyzstan';
}
if( $country_code == 'LA' ) {
$country_full_name = 'Laos';
}
if( $country_code == 'LV' ) {
$country_full_name = 'Latvia';
}
if( $country_code == 'LB' ) {
$country_full_name = 'Lebanon';
}
if( $country_code == 'LS' ) {
$country_full_name = 'Lesotho';
}
if( $country_code == 'LR' ) {
$country_full_name = 'Liberia';
}
if( $country_code == 'LY' ) {
$country_full_name = 'Libya';
}
if( $country_code == 'LI' ) {
$country_full_name = 'Liechtenstein';
}
if( $country_code == 'LT' ) {
$country_full_name = 'Lithuania';
}
if( $country_code == 'LU' ) {
$country_full_name = 'Luxembourg';
}
if( $country_code == 'MO' ) {
$country_full_name = 'Macau';
}
if( $country_code == 'MK' ) {
$country_full_name = 'Macedonia';
}
if( $country_code == 'MG' ) {
$country_full_name = 'Madagascar';
}
if( $country_code == 'MY' ) {
$country_full_name = 'Malaysia';
}
if( $country_code == 'MW' ) {
$country_full_name = 'Malawi';
}
if( $country_code == 'MV' ) {
$country_full_name = 'Maldives';
}
if( $country_code == 'ML' ) {
$country_full_name = 'Mali';
}
if( $country_code == 'MT' ) {
$country_full_name = 'Malta';
}
if( $country_code == 'MH' ) {
$country_full_name = 'Marshall Islands';
}
if( $country_code == 'MQ' ) {
$country_full_name = 'Martinique';
}
if( $country_code == 'MR' ) {
$country_full_name = 'Mauritania';
}
if( $country_code == 'MU' ) {
$country_full_name = 'Mauritius';
}
if( $country_code == 'ME' ) {
$country_full_name = 'Mayotte';
}
if( $country_code == 'MX' ) {
$country_full_name = 'Mexico';
}
if( $country_code == 'MI' ) {
$country_full_name = 'Midway Islands';
}
if( $country_code == 'MD' ) {
$country_full_name = 'Moldova';
}
if( $country_code == 'MC' ) {
$country_full_name = 'Monaco';
}
if( $country_code == 'MN' ) {
$country_full_name = 'Mongolia';
}
if( $country_code == 'MS' ) {
$country_full_name = 'Montserrat';
}
if( $country_code == 'MA' ) {
$country_full_name = 'Morocco';
}
if( $country_code == 'MZ' ) {
$country_full_name = 'Mozambique';
}
if( $country_code == 'MM' ) {
$country_full_name = 'Myanmar';
}
if( $country_code == 'NA' ) {
$country_full_name = 'Nambia';
}
if( $country_code == 'NU' ) {
$country_full_name = 'Nauru';
}
if( $country_code == 'NP' ) {
$country_full_name = 'Nepal';
}
if( $country_code == 'AN' ) {
$country_full_name = 'Netherland Antilles';
}
if( $country_code == 'NL' ) {
$country_full_name = 'Netherlands (Holland, Europe)';
}
if( $country_code == 'NV' ) {
$country_full_name = 'Nevis';
}
if( $country_code == 'NC' ) {
$country_full_name = 'New Caledonia';
}
if( $country_code == 'NZ' ) {
$country_full_name = 'New Zealand';
}
if( $country_code == 'NI' ) {
$country_full_name = 'Nicaragua';
}
if( $country_code == 'NE' ) {
$country_full_name = 'Niger';
}
if( $country_code == 'NG' ) {
$country_full_name = 'Nigeria';
}
if( $country_code == 'NW' ) {
$country_full_name = 'Niue';
}
if( $country_code == 'NF' ) {
$country_full_name = 'Norfolk Island';
}
if( $country_code == 'NO' ) {
$country_full_name = 'Norway';
}
if( $country_code == 'OM' ) {
$country_full_name = 'Oman';
}
if( $country_code == 'PK' ) {
$country_full_name = 'Pakistan';
}
if( $country_code == 'PW' ) {
$country_full_name = 'Palau Island';
}
if( $country_code == 'PS' ) {
$country_full_name = 'Palestine';
}
if( $country_code == 'PA' ) {
$country_full_name = 'Panama';
}
if( $country_code == 'PG' ) {
$country_full_name = 'Papua New Guinea';
}
if( $country_code == 'PY' ) {
$country_full_name = 'Paraguay';
}
if( $country_code == 'PE' ) {
$country_full_name = 'Peru';
}
if( $country_code == 'PH' ) {
$country_full_name = 'Philippines';
}
if( $country_code == 'PO' ) {
$country_full_name = 'Pitcairn Island';
}
if( $country_code == 'PL' ) {
$country_full_name = 'Poland';
}
if( $country_code == 'PT' ) {
$country_full_name = 'Portugal';
}
if( $country_code == 'PR' ) {
$country_full_name = 'Puerto Rico';
}
if( $country_code == 'QA' ) {
$country_full_name = 'Qatar';
}
if( $country_code == 'ME' ) {
$country_full_name = 'Republic of Montenegro';
}
if( $country_code == 'RS' ) {
$country_full_name = 'Republic of Serbia';
}
if( $country_code == 'RE' ) {
$country_full_name = 'Reunion';
}
if( $country_code == 'RO' ) {
$country_full_name = 'Romania';
}
if( $country_code == 'RU' ) {
$country_full_name = 'Russia';
}
if( $country_code == 'RW' ) {
$country_full_name = 'Rwanda';
}
if( $country_code == 'NT' ) {
$country_full_name = 'St Barthelemy';
}
if( $country_code == 'EU' ) {
$country_full_name = 'St Eustatius';
}
if( $country_code == 'HE' ) {
$country_full_name = 'St Helena';
}
if( $country_code == 'KN' ) {
$country_full_name = 'St Kitts-Nevis';
}
if( $country_code == 'LC' ) {
$country_full_name = 'St Lucia';
}
if( $country_code == 'MB' ) {
$country_full_name = 'St Maarten';
}
if( $country_code == 'PM' ) {
$country_full_name = 'St Pierre Miquelon';
}
if( $country_code == 'VC' ) {
$country_full_name = 'St Vincent Grenadines';
}
if( $country_code == 'SP' ) {
$country_full_name = 'Saipan';
}
if( $country_code == 'SO' ) {
$country_full_name = 'Samoa';
}
if( $country_code == 'AS' ) {
$country_full_name = 'Samoa American';
}
if( $country_code == 'SM' ) {
$country_full_name = 'San Marino';
}
if( $country_code == 'ST' ) {
$country_full_name = 'Sao Tome Principe';
}
if( $country_code == 'SA' ) {
$country_full_name = 'Saudi Arabia';
}
if( $country_code == 'SN' ) {
$country_full_name = 'Senegal';
}
if( $country_code == 'SC' ) {
$country_full_name = 'Seychelles';
}
if( $country_code == 'SL' ) {
$country_full_name = 'Sierra Leone';
}
if( $country_code == 'SG' ) {
$country_full_name = 'Singapore';
}
if( $country_code == 'SK' ) {
$country_full_name = 'Slovakia';
}
if( $country_code == 'SI' ) {
$country_full_name = 'Slovenia';
}
if( $country_code == 'SB' ) {
$country_full_name = 'Solomon Islands';
}
if( $country_code == 'OI' ) {
$country_full_name = 'Somalia';
}
if( $country_code == 'ZA' ) {
$country_full_name = 'South Africa';
}
if( $country_code == 'ES' ) {
$country_full_name = 'Spain';
}
if( $country_code == 'LK' ) {
$country_full_name = 'Sri Lanka';
}
if( $country_code == 'SD' ) {
$country_full_name = 'Sudan';
}
if( $country_code == 'SR' ) {
$country_full_name = 'Suriname';
}
if( $country_code == 'SZ' ) {
$country_full_name = 'Swaziland';
}
if( $country_code == 'SE' ) {
$country_full_name = 'Sweden';
}
if( $country_code == 'CH' ) {
$country_full_name = 'Switzerland';
}
if( $country_code == 'SY' ) {
$country_full_name = 'Syria';
}
if( $country_code == 'TA' ) {
$country_full_name = 'Tahiti';
}
if( $country_code == 'TW' ) {
$country_full_name = 'Taiwan';
}
if( $country_code == 'TJ' ) {
$country_full_name = 'Tajikistan';
}
if( $country_code == 'TZ' ) {
$country_full_name = 'Tanzania';
}
if( $country_code == 'TH' ) {
$country_full_name = 'Thailand';
}
if( $country_code == 'TG' ) {
$country_full_name = 'Togo';
}
if( $country_code == 'TK' ) {
$country_full_name = 'Tokelau';
}
if( $country_code == 'TO' ) {
$country_full_name = 'Tonga';
}
if( $country_code == 'TT' ) {
$country_full_name = 'Trinidad Tobago';
}
if( $country_code == 'TN' ) {
$country_full_name = 'Tunisia';
}
if( $country_code == 'TR' ) {
$country_full_name = 'Turkey';
}
if( $country_code == 'TU' ) {
$country_full_name = 'Turkmenistan';
}
if( $country_code == 'TC' ) {
$country_full_name = 'Turks Caicos Is';
}
if( $country_code == 'TV' ) {
$country_full_name = 'Tuvalu';
}
if( $country_code == 'UG' ) {
$country_full_name = 'Uganda';
}
if( $country_code == 'UA' ) {
$country_full_name = 'Ukraine';
}
if( $country_code == 'AE' ) {
$country_full_name = 'United Arab Emirates';
}
if( $country_code == 'GB' ) {
$country_full_name = 'United Kingdom';
}
if( $country_code == 'US' ) {
$country_full_name = 'United States of America';
}
if( $country_code == 'UY' ) {
$country_full_name = 'Uruguay';
}
if( $country_code == 'UZ' ) {
$country_full_name = 'Uzbekistan';
}
if( $country_code == 'VU' ) {
$country_full_name = 'Vanuatu';
}
if( $country_code == 'VS' ) {
$country_full_name = 'Vatican City State';
}
if( $country_code == 'VE' ) {
$country_full_name = 'Venezuela';
}
if( $country_code == 'VN' ) {
$country_full_name = 'Vietnam';
}
if( $country_code == 'VB' ) {
$country_full_name = 'Virgin Islands (Brit)';
}
if( $country_code == 'VA' ) {
$country_full_name = 'Virgin Islands (USA)';
}
if( $country_code == 'WK' ) {
$country_full_name = 'Wake Island';
}
if( $country_code == 'WF' ) {
$country_full_name = 'Wallis';
}
if( $country_code == 'YE' ) {
$country_full_name = 'Yemen';
}
if( $country_code == 'ZR' ) {
$country_full_name = 'Zaire';
}
if( $country_code == 'ZM' ) {
$country_full_name = 'Zambia';
}
if( $country_code == 'ZW' ) {
$country_full_name = 'Zimbabwe';
}
return $country_full_name;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment