landen.php
Code (php)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<?
// Nederlandse landenlijst, php/html, up-to-date tot April 2014, gebaseerd op ISO 3166-1
function toon_landen($geselecteerd_land) {
$landen = <<<EOLANDEN
<option value="AF">Afghanistan</option>
<option value="AX">Åland</option>
<option value="AL">Albanië</option>
<option value="DZ">Algerije</option>
<option value="VI">Amerikaanse Maagdeneilanden</option>
<option value="AS">Amerikaans-Samoa</option>
<option value="AD">Andorra</option>
<option value="AO">Angola</option>
<option value="AI">Anguilla</option>
<option value="AQ">Antarctica</option>
<option value="AG">Antigua en Barbuda</option>
<option value="AR">Argentinië</option>
<option value="AM">Armenië</option>
<option value="AW">Aruba</option>
<option value="AU">Australië</option>
<option value="AZ">Azerbeidzjan</option>
<option value="BS">Bahama's</option>
<option value="BH">Bahrein</option>
<option value="BD">Bangladesh</option>
<option value="BB">Barbados</option>
<option value="BE">België</option>
<option value="BZ">Belize</option>
<option value="BJ">Benin</option>
<option value="BM">Bermuda</option>
<option value="BT">Bhutan</option>
<option value="BO">Bolivia</option>
<option value="BQ">Bonaire, Sint Eustatius en Saba</option>
<option value="BA">Bosnië en Herzegovina</option>
<option value="BW">Botswana</option>
<option value="BV">Bouveteiland</option>
<option value="BR">Brazilië</option>
<option value="VG">Britse Maagdeneilanden</option>
<option value="IO">Brits Indische Oceaanterritorium</option>
<option value="BN">Brunei</option>
<option value="BG">Bulgarije</option>
<option value="BF">Burkina Faso</option>
<option value="BI">Burundi</option>
<option value="KH">Cambodja</option>
<option value="CA">Canada</option>
<option value="CF">Centraal-Afrikaanse Republiek</option>
<option value="CL">Chili</option>
<option value="CN">China</option>
<option value="CX">Christmaseiland</option>
<option value="CC">Cocoseilanden</option>
<option value="CO">Colombia</option>
<option value="KM">Comoren</option>
<option value="CG">Congo-Brazzaville</option>
<option value="CD">Congo-Kinshasa</option>
<option value="CK">Cookeilanden</option>
<option value="CR">Costa Rica</option>
<option value="CU">Cuba</option>
<option value="CW">Curaçao</option>
<option value="CY">Cyprus</option>
<option value="DK">Denemarken</option>
<option value="DJ">Djibouti</option>
<option value="DM">Dominica</option>
<option value="DO">Dominicaanse Republiek</option>
<option value="DE">Duitsland</option>
<option value="EC">Ecuador</option>
<option value="EG">Egypte</option>
<option value="SV">El Salvador</option>
<option value="GQ">Equatoriaal-Guinea</option>
<option value="ER">Eritrea</option>
<option value="EE">Estland</option>
<option value="ET">Ethiopië</option>
<option value="FO">Faeröer</option>
<option value="FK">Falklandeilanden</option>
<option value="FJ">Fiji</option>
<option value="PH">Filipijnen</option>
<option value="FI">Finland</option>
<option value="FR">Frankrijk</option>
<option value="TF">Franse Zuidelijke en Antarctische Gebieden</option>
<option value="GF">Frans-Guyana</option>
<option value="PF">Frans-Polynesië</option>
<option value="GA">Gabon</option>
<option value="GM">Gambia</option>
<option value="GE">Georgië</option>
<option value="GH">Ghana</option>
<option value="GI">Gibraltar</option>
<option value="GD">Grenada</option>
<option value="GR">Griekenland</option>
<option value="GL">Groenland</option>
<option value="GP">Guadeloupe</option>
<option value="GU">Guam</option>
<option value="GT">Guatemala</option>
<option value="GG">Guernsey</option>
<option value="GN">Guinee</option>
<option value="GW">Guinee-Bissau</option>
<option value="GY">Guyana</option>
<option value="HT">Haïti</option>
<option value="HM">Heard en McDonaldeilanden</option>
<option value="HN">Honduras</option>
<option value="HU">Hongarije</option>
<option value="HK">Hongkong</option>
<option value="IE">Ierland</option>
<option value="IS">IJsland</option>
<option value="IN">India</option>
<option value="ID">Indonesië</option>
<option value="IQ">Irak</option>
<option value="IR">Iran</option>
<option value="IL">Israël</option>
<option value="IT">Italië</option>
<option value="CI">Ivoorkust</option>
<option value="JM">Jamaica</option>
<option value="JP">Japan</option>
<option value="YE">Jemen</option>
<option value="JE">Jersey</option>
<option value="JO">Jordanië</option>
<option value="KY">Kaaimaneilanden</option>
<option value="CV">Kaapverdië</option>
<option value="CM">Kameroen</option>
<option value="KZ">Kazachstan</option>
<option value="KE">Kenia</option>
<option value="KG">Kirgizië</option>
<option value="KI">Kiribati</option>
<option value="UM">Kleine Pacifische eilanden van de V.S.</option>
<option value="KW">Koeweit</option>
<option value="HR">Kroatië</option>
<option value="LA">Laos</option>
<option value="LS">Lesotho</option>
<option value="LV">Letland</option>
<option value="LB">Libanon</option>
<option value="LR">Liberia</option>
<option value="LY">Libië</option>
<option value="LI">Liechtenstein</option>
<option value="LT">Litouwen</option>
<option value="LU">Luxemburg</option>
<option value="MO">Macau</option>
<option value="MK">Macedonië</option>
<option value="MG">Madagaskar</option>
<option value="MW">Malawi</option>
<option value="MV">Maldiven</option>
<option value="MY">Maleisië</option>
<option value="ML">Mali</option>
<option value="MT">Malta</option>
<option value="IM">Man</option>
<option value="MA">Marokko</option>
<option value="MH">Marshalleilanden</option>
<option value="MQ">Martinique</option>
<option value="MR">Mauritanië</option>
<option value="MU">Mauritius</option>
<option value="YT">Mayotte</option>
<option value="MX">Mexico</option>
<option value="FM">Micronesia</option>
<option value="MD">Moldavië</option>
<option value="MC">Monaco</option>
<option value="MN">Mongolië</option>
<option value="ME">Montenegro</option>
<option value="MS">Montserrat</option>
<option value="MZ">Mozambique</option>
<option value="MM">Myanmar</option>
<option value="NA">Namibië</option>
<option value="NR">Nauru</option>
<option value="NL">Nederland</option>
<option value="NP">Nepal</option>
<option value="NI">Nicaragua</option>
<option value="NC">Nieuw-Caledonië</option>
<option value="NZ">Nieuw-Zeeland</option>
<option value="NE">Niger</option>
<option value="NG">Nigeria</option>
<option value="NU">Niue</option>
<option value="MP">Noordelijke Marianen</option>
<option value="KP">Noord-Korea</option>
<option value="NO">Noorwegen</option>
<option value="NF">Norfolk</option>
<option value="UG">Oeganda</option>
<option value="UA">Oekraïne</option>
<option value="UZ">Oezbekistan</option>
<option value="OM">Oman</option>
<option value="AT">Oostenrijk</option>
<option value="TL">Oost-Timor</option>
<option value="PK">Pakistan</option>
<option value="PW">Palau</option>
<option value="PS">Palestina</option>
<option value="PA">Panama</option>
<option value="PG">Papoea-Nieuw-Guinea</option>
<option value="PY">Paraguay</option>
<option value="PE">Peru</option>
<option value="PN">Pitcairneilanden</option>
<option value="PL">Polen</option>
<option value="PT">Portugal</option>
<option value="PR">Puerto Rico</option>
<option value="QA">Qatar</option>
<option value="RE">Réunion</option>
<option value="RO">Roemenië</option>
<option value="RU">Rusland</option>
<option value="RW">Rwanda</option>
<option value="BL">Saint-Barthélemy</option>
<option value="KN">Saint Kitts en Nevis</option>
<option value="LC">Saint Lucia</option>
<option value="PM">Saint-Pierre en Miquelon</option>
<option value="VC">Saint Vincent en de Grenadines</option>
<option value="SB">Salomonseilanden</option>
<option value="WS">Samoa</option>
<option value="SM">San Marino</option>
<option value="SA">Saoedi-Arabië</option>
<option value="ST">Sao Tomé en Principe</option>
<option value="SN">Senegal</option>
<option value="RS">Servië</option>
<option value="SC">Seychellen</option>
<option value="SL">Sierra Leone</option>
<option value="SG">Singapore</option>
<option value="SH">Sint-Helena, Ascension en Tristan da Cunha</option>
<option value="MF">Sint-Maarten</option>
<option value="SX">Sint Maarten</option>
<option value="SI">Slovenië</option>
<option value="SK">Slowakije</option>
<option value="SD">Soedan</option>
<option value="SO">Somalië</option>
<option value="ES">Spanje</option>
<option value="SJ">Spitsbergen en Jan Mayen</option>
<option value="LK">Sri Lanka</option>
<option value="SR">Suriname</option>
<option value="SZ">Swaziland</option>
<option value="SY">Syrië</option>
<option value="TJ">Tadzjikistan</option>
<option value="TW">Taiwan</option>
<option value="TZ">Tanzania</option>
<option value="TH">Thailand</option>
<option value="TG">Togo</option>
<option value="TK">Tokelau</option>
<option value="TO">Tonga</option>
<option value="TT">Trinidad en Tobago</option>
<option value="TD">Tsjaad</option>
<option value="CZ">Tsjechië</option>
<option value="TN">Tunesië</option>
<option value="TR">Turkije</option>
<option value="TM">Turkmenistan</option>
<option value="TC">Turks- en Caicoseilanden</option>
<option value="TV">Tuvalu</option>
<option value="UY">Uruguay</option>
<option value="VU">Vanuatu</option>
<option value="VA">Vaticaanstad</option>
<option value="VE">Venezuela</option>
<option value="AE">Verenigde Arabische Emiraten</option>
<option value="US">Verenigde Staten</option>
<option value="GB">Verenigd Koninkrijk</option>
<option value="VN">Vietnam</option>
<option value="WF">Wallis en Futuna</option>
<option value="EH">Westelijke Sahara</option>
<option value="BY">Wit-Rusland</option>
<option value="ZM">Zambia</option>
<option value="ZW">Zimbabwe</option>
<option value="ZA">Zuid-Afrika</option>
<option value="GS">Zuid-Georgia en de Zuidelijke Sandwicheilanden</option>
<option value="KR">Zuid-Korea</option>
<option value="SS">Zuid-Soedan</option>
<option value="SE">Zweden</option>
<option value="CH">Zwitserland</option>
EOLANDEN;
return str_replace("\"$geselecteerd_land\">", "\"$geselecteerd_land\" SELECTED>", $landen) ;
}
// Nederlandse landenlijst, php/html, up-to-date tot April 2014, gebaseerd op ISO 3166-1
function toon_landen($geselecteerd_land) {
$landen = <<<EOLANDEN
<option value="AF">Afghanistan</option>
<option value="AX">Åland</option>
<option value="AL">Albanië</option>
<option value="DZ">Algerije</option>
<option value="VI">Amerikaanse Maagdeneilanden</option>
<option value="AS">Amerikaans-Samoa</option>
<option value="AD">Andorra</option>
<option value="AO">Angola</option>
<option value="AI">Anguilla</option>
<option value="AQ">Antarctica</option>
<option value="AG">Antigua en Barbuda</option>
<option value="AR">Argentinië</option>
<option value="AM">Armenië</option>
<option value="AW">Aruba</option>
<option value="AU">Australië</option>
<option value="AZ">Azerbeidzjan</option>
<option value="BS">Bahama's</option>
<option value="BH">Bahrein</option>
<option value="BD">Bangladesh</option>
<option value="BB">Barbados</option>
<option value="BE">België</option>
<option value="BZ">Belize</option>
<option value="BJ">Benin</option>
<option value="BM">Bermuda</option>
<option value="BT">Bhutan</option>
<option value="BO">Bolivia</option>
<option value="BQ">Bonaire, Sint Eustatius en Saba</option>
<option value="BA">Bosnië en Herzegovina</option>
<option value="BW">Botswana</option>
<option value="BV">Bouveteiland</option>
<option value="BR">Brazilië</option>
<option value="VG">Britse Maagdeneilanden</option>
<option value="IO">Brits Indische Oceaanterritorium</option>
<option value="BN">Brunei</option>
<option value="BG">Bulgarije</option>
<option value="BF">Burkina Faso</option>
<option value="BI">Burundi</option>
<option value="KH">Cambodja</option>
<option value="CA">Canada</option>
<option value="CF">Centraal-Afrikaanse Republiek</option>
<option value="CL">Chili</option>
<option value="CN">China</option>
<option value="CX">Christmaseiland</option>
<option value="CC">Cocoseilanden</option>
<option value="CO">Colombia</option>
<option value="KM">Comoren</option>
<option value="CG">Congo-Brazzaville</option>
<option value="CD">Congo-Kinshasa</option>
<option value="CK">Cookeilanden</option>
<option value="CR">Costa Rica</option>
<option value="CU">Cuba</option>
<option value="CW">Curaçao</option>
<option value="CY">Cyprus</option>
<option value="DK">Denemarken</option>
<option value="DJ">Djibouti</option>
<option value="DM">Dominica</option>
<option value="DO">Dominicaanse Republiek</option>
<option value="DE">Duitsland</option>
<option value="EC">Ecuador</option>
<option value="EG">Egypte</option>
<option value="SV">El Salvador</option>
<option value="GQ">Equatoriaal-Guinea</option>
<option value="ER">Eritrea</option>
<option value="EE">Estland</option>
<option value="ET">Ethiopië</option>
<option value="FO">Faeröer</option>
<option value="FK">Falklandeilanden</option>
<option value="FJ">Fiji</option>
<option value="PH">Filipijnen</option>
<option value="FI">Finland</option>
<option value="FR">Frankrijk</option>
<option value="TF">Franse Zuidelijke en Antarctische Gebieden</option>
<option value="GF">Frans-Guyana</option>
<option value="PF">Frans-Polynesië</option>
<option value="GA">Gabon</option>
<option value="GM">Gambia</option>
<option value="GE">Georgië</option>
<option value="GH">Ghana</option>
<option value="GI">Gibraltar</option>
<option value="GD">Grenada</option>
<option value="GR">Griekenland</option>
<option value="GL">Groenland</option>
<option value="GP">Guadeloupe</option>
<option value="GU">Guam</option>
<option value="GT">Guatemala</option>
<option value="GG">Guernsey</option>
<option value="GN">Guinee</option>
<option value="GW">Guinee-Bissau</option>
<option value="GY">Guyana</option>
<option value="HT">Haïti</option>
<option value="HM">Heard en McDonaldeilanden</option>
<option value="HN">Honduras</option>
<option value="HU">Hongarije</option>
<option value="HK">Hongkong</option>
<option value="IE">Ierland</option>
<option value="IS">IJsland</option>
<option value="IN">India</option>
<option value="ID">Indonesië</option>
<option value="IQ">Irak</option>
<option value="IR">Iran</option>
<option value="IL">Israël</option>
<option value="IT">Italië</option>
<option value="CI">Ivoorkust</option>
<option value="JM">Jamaica</option>
<option value="JP">Japan</option>
<option value="YE">Jemen</option>
<option value="JE">Jersey</option>
<option value="JO">Jordanië</option>
<option value="KY">Kaaimaneilanden</option>
<option value="CV">Kaapverdië</option>
<option value="CM">Kameroen</option>
<option value="KZ">Kazachstan</option>
<option value="KE">Kenia</option>
<option value="KG">Kirgizië</option>
<option value="KI">Kiribati</option>
<option value="UM">Kleine Pacifische eilanden van de V.S.</option>
<option value="KW">Koeweit</option>
<option value="HR">Kroatië</option>
<option value="LA">Laos</option>
<option value="LS">Lesotho</option>
<option value="LV">Letland</option>
<option value="LB">Libanon</option>
<option value="LR">Liberia</option>
<option value="LY">Libië</option>
<option value="LI">Liechtenstein</option>
<option value="LT">Litouwen</option>
<option value="LU">Luxemburg</option>
<option value="MO">Macau</option>
<option value="MK">Macedonië</option>
<option value="MG">Madagaskar</option>
<option value="MW">Malawi</option>
<option value="MV">Maldiven</option>
<option value="MY">Maleisië</option>
<option value="ML">Mali</option>
<option value="MT">Malta</option>
<option value="IM">Man</option>
<option value="MA">Marokko</option>
<option value="MH">Marshalleilanden</option>
<option value="MQ">Martinique</option>
<option value="MR">Mauritanië</option>
<option value="MU">Mauritius</option>
<option value="YT">Mayotte</option>
<option value="MX">Mexico</option>
<option value="FM">Micronesia</option>
<option value="MD">Moldavië</option>
<option value="MC">Monaco</option>
<option value="MN">Mongolië</option>
<option value="ME">Montenegro</option>
<option value="MS">Montserrat</option>
<option value="MZ">Mozambique</option>
<option value="MM">Myanmar</option>
<option value="NA">Namibië</option>
<option value="NR">Nauru</option>
<option value="NL">Nederland</option>
<option value="NP">Nepal</option>
<option value="NI">Nicaragua</option>
<option value="NC">Nieuw-Caledonië</option>
<option value="NZ">Nieuw-Zeeland</option>
<option value="NE">Niger</option>
<option value="NG">Nigeria</option>
<option value="NU">Niue</option>
<option value="MP">Noordelijke Marianen</option>
<option value="KP">Noord-Korea</option>
<option value="NO">Noorwegen</option>
<option value="NF">Norfolk</option>
<option value="UG">Oeganda</option>
<option value="UA">Oekraïne</option>
<option value="UZ">Oezbekistan</option>
<option value="OM">Oman</option>
<option value="AT">Oostenrijk</option>
<option value="TL">Oost-Timor</option>
<option value="PK">Pakistan</option>
<option value="PW">Palau</option>
<option value="PS">Palestina</option>
<option value="PA">Panama</option>
<option value="PG">Papoea-Nieuw-Guinea</option>
<option value="PY">Paraguay</option>
<option value="PE">Peru</option>
<option value="PN">Pitcairneilanden</option>
<option value="PL">Polen</option>
<option value="PT">Portugal</option>
<option value="PR">Puerto Rico</option>
<option value="QA">Qatar</option>
<option value="RE">Réunion</option>
<option value="RO">Roemenië</option>
<option value="RU">Rusland</option>
<option value="RW">Rwanda</option>
<option value="BL">Saint-Barthélemy</option>
<option value="KN">Saint Kitts en Nevis</option>
<option value="LC">Saint Lucia</option>
<option value="PM">Saint-Pierre en Miquelon</option>
<option value="VC">Saint Vincent en de Grenadines</option>
<option value="SB">Salomonseilanden</option>
<option value="WS">Samoa</option>
<option value="SM">San Marino</option>
<option value="SA">Saoedi-Arabië</option>
<option value="ST">Sao Tomé en Principe</option>
<option value="SN">Senegal</option>
<option value="RS">Servië</option>
<option value="SC">Seychellen</option>
<option value="SL">Sierra Leone</option>
<option value="SG">Singapore</option>
<option value="SH">Sint-Helena, Ascension en Tristan da Cunha</option>
<option value="MF">Sint-Maarten</option>
<option value="SX">Sint Maarten</option>
<option value="SI">Slovenië</option>
<option value="SK">Slowakije</option>
<option value="SD">Soedan</option>
<option value="SO">Somalië</option>
<option value="ES">Spanje</option>
<option value="SJ">Spitsbergen en Jan Mayen</option>
<option value="LK">Sri Lanka</option>
<option value="SR">Suriname</option>
<option value="SZ">Swaziland</option>
<option value="SY">Syrië</option>
<option value="TJ">Tadzjikistan</option>
<option value="TW">Taiwan</option>
<option value="TZ">Tanzania</option>
<option value="TH">Thailand</option>
<option value="TG">Togo</option>
<option value="TK">Tokelau</option>
<option value="TO">Tonga</option>
<option value="TT">Trinidad en Tobago</option>
<option value="TD">Tsjaad</option>
<option value="CZ">Tsjechië</option>
<option value="TN">Tunesië</option>
<option value="TR">Turkije</option>
<option value="TM">Turkmenistan</option>
<option value="TC">Turks- en Caicoseilanden</option>
<option value="TV">Tuvalu</option>
<option value="UY">Uruguay</option>
<option value="VU">Vanuatu</option>
<option value="VA">Vaticaanstad</option>
<option value="VE">Venezuela</option>
<option value="AE">Verenigde Arabische Emiraten</option>
<option value="US">Verenigde Staten</option>
<option value="GB">Verenigd Koninkrijk</option>
<option value="VN">Vietnam</option>
<option value="WF">Wallis en Futuna</option>
<option value="EH">Westelijke Sahara</option>
<option value="BY">Wit-Rusland</option>
<option value="ZM">Zambia</option>
<option value="ZW">Zimbabwe</option>
<option value="ZA">Zuid-Afrika</option>
<option value="GS">Zuid-Georgia en de Zuidelijke Sandwicheilanden</option>
<option value="KR">Zuid-Korea</option>
<option value="SS">Zuid-Soedan</option>
<option value="SE">Zweden</option>
<option value="CH">Zwitserland</option>
EOLANDEN;
return str_replace("\"$geselecteerd_land\">", "\"$geselecteerd_land\" SELECTED>", $landen) ;
}