This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
geoaddress-sample.php
245 lines (244 loc) · 13.9 KB
/
geoaddress-sample.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
<?php
return [
'countries' => [
'Afghanistan' => \Craft::t('site', 'Afghanistan'),
'Albania' => \Craft::t('site', 'Albania'),
'Algeria' => \Craft::t('site', 'Algeria'),
'American Samoa' => \Craft::t('site', 'American Samoa'),
'Andorra' => \Craft::t('site', 'Andorra'),
'Angola' => \Craft::t('site', 'Angola'),
'Anguilla' => \Craft::t('site', 'Anguilla'),
'Antarctica' => \Craft::t('site', 'Antarctica'),
'Antigua and Barbuda' => \Craft::t('site', 'Antigua and Barbuda'),
'Argentina' => \Craft::t('site', 'Argentina'),
'Armenia' => \Craft::t('site', 'Armenia'),
'Aruba' => \Craft::t('site', 'Aruba'),
'Australia' => \Craft::t('site', 'Australia'),
'Austria' => \Craft::t('site', 'Austria'),
'Azerbaijan' => \Craft::t('site', 'Azerbaijan'),
'Bahamas' => \Craft::t('site', 'Bahamas'),
'Bahrain' => \Craft::t('site', 'Bahrain'),
'Bangladesh' => \Craft::t('site', 'Bangladesh'),
'Barbados' => \Craft::t('site', 'Barbados'),
'Belarus' => \Craft::t('site', 'Belarus'),
'Belgium' => \Craft::t('site', 'Belgium'),
'Belize' => \Craft::t('site', 'Belize'),
'Benin' => \Craft::t('site', 'Benin'),
'Bermuda' => \Craft::t('site', 'Bermuda'),
'Bhutan' => \Craft::t('site', 'Bhutan'),
'Bolivia' => \Craft::t('site', 'Bolivia'),
'Bosnia and Herzegowina' => \Craft::t('site', 'Bosnia and Herzegowina'),
'Botswana' => \Craft::t('site', 'Botswana'),
'Bouvet Island' => \Craft::t('site', 'Bouvet Island'),
'Brazil' => \Craft::t('site', 'Brazil'),
'British Indian Ocean Territory' => \Craft::t('site', 'British Indian Ocean Territory'),
'Brunei Darussalam' => \Craft::t('site', 'Brunei Darussalam'),
'Bulgaria' => \Craft::t('site', 'Bulgaria'),
'Burkina Faso' => \Craft::t('site', 'Burkina Faso'),
'Burundi' => \Craft::t('site', 'Burundi'),
'Cambodia' => \Craft::t('site', 'Cambodia'),
'Cameroon' => \Craft::t('site', 'Cameroon'),
'Canada' => \Craft::t('site', 'Canada'),
'Cape Verde' => \Craft::t('site', 'Cape Verde'),
'Cayman Islands' => \Craft::t('site', 'Cayman Islands'),
'Central African Republic' => \Craft::t('site', 'Central African Republic'),
'Chad' => \Craft::t('site', 'Chad'),
'Chile' => \Craft::t('site', 'Chile'),
'China' => \Craft::t('site', 'China'),
'Christmas Island' => \Craft::t('site', 'Christmas Island'),
'Cocos (Keeling) Islands' => \Craft::t('site', 'Cocos (Keeling) Islands'),
'Colombia' => \Craft::t('site', 'Colombia'),
'Comoros' => \Craft::t('site', 'Comoros'),
'Congo' => \Craft::t('site', 'Congo'),
'Congo, the Democratic Republic of the' => \Craft::t('site', 'Congo, the Democratic Republic of the'),
'Cook Islands' => \Craft::t('site', 'Cook Islands'),
'Costa Rica' => \Craft::t('site', 'Costa Rica'),
'Cote d\'Ivoire' => \Craft::t('site', 'Cote d\'Ivoire'),
'Croatia (Hrvatska)' => \Craft::t('site', 'Croatia (Hrvatska)'),
'Cuba' => \Craft::t('site', 'Cuba'),
'Cyprus' => \Craft::t('site', 'Cyprus'),
'Czech Republic' => \Craft::t('site', 'Czech Republic'),
'Denmark' => \Craft::t('site', 'Denmark'),
'Djibouti' => \Craft::t('site', 'Djibouti'),
'Dominica' => \Craft::t('site', 'Dominica'),
'Dominican Republic' => \Craft::t('site', 'Dominican Republic'),
'East Timor' => \Craft::t('site', 'East Timor'),
'Ecuador' => \Craft::t('site', 'Ecuador'),
'Egypt' => \Craft::t('site', 'Egypt'),
'El Salvador' => \Craft::t('site', 'El Salvador'),
'Equatorial Guinea' => \Craft::t('site', 'Equatorial Guinea'),
'Eritrea' => \Craft::t('site', 'Eritrea'),
'Estonia' => \Craft::t('site', 'Estonia'),
'Ethiopia' => \Craft::t('site', 'Ethiopia'),
'Falkland Islands (Malvinas)' => \Craft::t('site', 'Falkland Islands (Malvinas)'),
'Faroe Islands' => \Craft::t('site', 'Faroe Islands'),
'Fiji' => \Craft::t('site', 'Fiji'),
'Finland' => \Craft::t('site', 'Finland'),
'France' => \Craft::t('site', 'France'),
'France Metropolitan' => \Craft::t('site', 'France Metropolitan'),
'French Guiana' => \Craft::t('site', 'French Guiana'),
'French Polynesia' => \Craft::t('site', 'French Polynesia'),
'French Southern Territories' => \Craft::t('site', 'French Southern Territories'),
'Gabon' => \Craft::t('site', 'Gabon'),
'Gambia' => \Craft::t('site', 'Gambia'),
'Georgia' => \Craft::t('site', 'Georgia'),
'Germany' => \Craft::t('site', 'Germany'),
'Ghana' => \Craft::t('site', 'Ghana'),
'Gibraltar' => \Craft::t('site', 'Gibraltar'),
'Greece' => \Craft::t('site', 'Greece'),
'Greenland' => \Craft::t('site', 'Greenland'),
'Grenada' => \Craft::t('site', 'Grenada'),
'Guadeloupe' => \Craft::t('site', 'Guadeloupe'),
'Guam' => \Craft::t('site', 'Guam'),
'Guatemala' => \Craft::t('site', 'Guatemala'),
'Guinea' => \Craft::t('site', 'Guinea'),
'Guinea-Bissau' => \Craft::t('site', 'Guinea-Bissau'),
'Guyana' => \Craft::t('site', 'Guyana'),
'Haiti' => \Craft::t('site', 'Haiti'),
'Heard and Mc Donald Islands' => \Craft::t('site', 'Heard and Mc Donald Islands'),
'Holy See (Vatican City State)' => \Craft::t('site', 'Holy See (Vatican City State)'),
'Honduras' => \Craft::t('site', 'Honduras'),
'Hong Kong' => \Craft::t('site', 'Hong Kong'),
'Hungary' => \Craft::t('site', 'Hungary'),
'Iceland' => \Craft::t('site', 'Iceland'),
'India' => \Craft::t('site', 'India'),
'Indonesia' => \Craft::t('site', 'Indonesia'),
'Iran (Islamic Republic of)' => \Craft::t('site', 'Iran (Islamic Republic of)'),
'Iraq' => \Craft::t('site', 'Iraq'),
'Ireland' => \Craft::t('site', 'Ireland'),
'Israel' => \Craft::t('site', 'Israel'),
'Italy' => \Craft::t('site', 'Italy'),
'Jamaica' => \Craft::t('site', 'Jamaica'),
'Japan' => \Craft::t('site', 'Japan'),
'Jordan' => \Craft::t('site', 'Jordan'),
'Kazakhstan' => \Craft::t('site', 'Kazakhstan'),
'Kenya' => \Craft::t('site', 'Kenya'),
'Kiribati' => \Craft::t('site', 'Kiribati'),
'Korea, Democratic People\'s Republic of' => \Craft::t('site', 'Korea, Democratic People\'s Republic of'),
'Korea, Republic of' => \Craft::t('site', 'Korea, Republic of'),
'Kuwait' => \Craft::t('site', 'Kuwait'),
'Kyrgyzstan' => \Craft::t('site', 'Kyrgyzstan'),
'Lao, People\'s Democratic Republic' => \Craft::t('site', 'Lao, People\'s Democratic Republic'),
'Latvia' => \Craft::t('site', 'Latvia'),
'Lebanon' => \Craft::t('site', 'Lebanon'),
'Lesotho' => \Craft::t('site', 'Lesotho'),
'Liberia' => \Craft::t('site', 'Liberia'),
'Libyan Arab Jamahiriya' => \Craft::t('site', 'Libyan Arab Jamahiriya'),
'Liechtenstein' => \Craft::t('site', 'Liechtenstein'),
'Lithuania' => \Craft::t('site', 'Lithuania'),
'Luxembourg' => \Craft::t('site', 'Luxembourg'),
'Macau' => \Craft::t('site', 'Macau'),
'Macedonia, The Former Yugoslav Republic of' => \Craft::t('site', 'Macedonia, The Former Yugoslav Republic of'),
'Madagascar' => \Craft::t('site', 'Madagascar'),
'Malawi' => \Craft::t('site', 'Malawi'),
'Malaysia' => \Craft::t('site', 'Malaysia'),
'Maldives' => \Craft::t('site', 'Maldives'),
'Mali' => \Craft::t('site', 'Mali'),
'Malta' => \Craft::t('site', 'Malta'),
'Marshall Islands' => \Craft::t('site', 'Marshall Islands'),
'Martinique' => \Craft::t('site', 'Martinique'),
'Mauritania' => \Craft::t('site', 'Mauritania'),
'Mauritius' => \Craft::t('site', 'Mauritius'),
'Mayotte' => \Craft::t('site', 'Mayotte'),
'Mexico' => \Craft::t('site', 'Mexico'),
'Micronesia, Federated States of' => \Craft::t('site', 'Micronesia, Federated States of'),
'Moldova, Republic of' => \Craft::t('site', 'Moldova, Republic of'),
'Monaco' => \Craft::t('site', 'Monaco'),
'Mongolia' => \Craft::t('site', 'Mongolia'),
'Montserrat' => \Craft::t('site', 'Montserrat'),
'Morocco' => \Craft::t('site', 'Morocco'),
'Mozambique' => \Craft::t('site', 'Mozambique'),
'Myanmar' => \Craft::t('site', 'Myanmar'),
'Namibia' => \Craft::t('site', 'Namibia'),
'Nauru' => \Craft::t('site', 'Nauru'),
'Nepal' => \Craft::t('site', 'Nepal'),
'Netherlands' => \Craft::t('site', 'Netherlands'),
'Netherlands Antilles' => \Craft::t('site', 'Netherlands Antilles'),
'New Caledonia' => \Craft::t('site', 'New Caledonia'),
'New Zealand' => \Craft::t('site', 'New Zealand'),
'Nicaragua' => \Craft::t('site', 'Nicaragua'),
'Niger' => \Craft::t('site', 'Niger'),
'Nigeria' => \Craft::t('site', 'Nigeria'),
'Niue' => \Craft::t('site', 'Niue'),
'Norfolk Island' => \Craft::t('site', 'Norfolk Island'),
'Northern Mariana Islands' => \Craft::t('site', 'Northern Mariana Islands'),
'Norway' => \Craft::t('site', 'Norway'),
'Oman' => \Craft::t('site', 'Oman'),
'Pakistan' => \Craft::t('site', 'Pakistan'),
'Palau' => \Craft::t('site', 'Palau'),
'Panama' => \Craft::t('site', 'Panama'),
'Papua New Guinea' => \Craft::t('site', 'Papua New Guinea'),
'Paraguay' => \Craft::t('site', 'Paraguay'),
'Peru' => \Craft::t('site', 'Peru'),
'Philippines' => \Craft::t('site', 'Philippines'),
'Pitcairn' => \Craft::t('site', 'Pitcairn'),
'Poland' => \Craft::t('site', 'Poland'),
'Portugal' => \Craft::t('site', 'Portugal'),
'Puerto Rico' => \Craft::t('site', 'Puerto Rico'),
'Qatar' => \Craft::t('site', 'Qatar'),
'Reunion' => \Craft::t('site', 'Reunion'),
'Romania' => \Craft::t('site', 'Romania'),
'Russian Federation' => \Craft::t('site', 'Russian Federation'),
'Rwanda' => \Craft::t('site', 'Rwanda'),
'Saint Kitts and Nevis' => \Craft::t('site', 'Saint Kitts and Nevis'),
'Saint Lucia' => \Craft::t('site', 'Saint Lucia'),
'Saint Vincent and the Grenadines' => \Craft::t('site', 'Saint Vincent and the Grenadines'),
'Samoa' => \Craft::t('site', 'Samoa'),
'San Marino' => \Craft::t('site', 'San Marino'),
'Sao Tome and Principe' => \Craft::t('site', 'Sao Tome and Principe'),
'Saudi Arabia' => \Craft::t('site', 'Saudi Arabia'),
'Senegal' => \Craft::t('site', 'Senegal'),
'Seychelles' => \Craft::t('site', 'Seychelles'),
'Sierra Leone' => \Craft::t('site', 'Sierra Leone'),
'Singapore' => \Craft::t('site', 'Singapore'),
'Slovakia (Slovak Republic)' => \Craft::t('site', 'Slovakia (Slovak Republic)'),
'Slovenia' => \Craft::t('site', 'Slovenia'),
'Solomon Islands' => \Craft::t('site', 'Solomon Islands'),
'Somalia' => \Craft::t('site', 'Somalia'),
'South Africa' => \Craft::t('site', 'South Africa'),
'South Georgia and the South Sandwich Islands' => \Craft::t('site', 'South Georgia and the South Sandwich Islands'),
'Spain' => \Craft::t('site', 'Spain'),
'Sri Lanka' => \Craft::t('site', 'Sri Lanka'),
'St. Helena' => \Craft::t('site', 'St. Helena'),
'St. Pierre and Miquelon' => \Craft::t('site', 'St. Pierre and Miquelon'),
'Sudan' => \Craft::t('site', 'Sudan'),
'Suriname' => \Craft::t('site', 'Suriname'),
'Svalbard and Jan Mayen Islands' => \Craft::t('site', 'Svalbard and Jan Mayen Islands'),
'Swaziland' => \Craft::t('site', 'Swaziland'),
'Sweden' => \Craft::t('site', 'Sweden'),
'Switzerland' => \Craft::t('site', 'Switzerland'),
'Syrian Arab Republic' => \Craft::t('site', 'Syrian Arab Republic'),
'Taiwan, Province of China' => \Craft::t('site', 'Taiwan, Province of China'),
'Tajikistan' => \Craft::t('site', 'Tajikistan'),
'Tanzania, United Republic of' => \Craft::t('site', 'Tanzania, United Republic of'),
'Thailand' => \Craft::t('site', 'Thailand'),
'Togo' => \Craft::t('site', 'Togo'),
'Tokelau' => \Craft::t('site', 'Tokelau'),
'Tonga' => \Craft::t('site', 'Tonga'),
'Trinidad and Tobago' => \Craft::t('site', 'Trinidad and Tobago'),
'Tunisia' => \Craft::t('site', 'Tunisia'),
'Turkey' => \Craft::t('site', 'Turkey'),
'Turkmenistan' => \Craft::t('site', 'Turkmenistan'),
'Turks and Caicos Islands' => \Craft::t('site', 'Turks and Caicos Islands'),
'Tuvalu' => \Craft::t('site', 'Tuvalu'),
'Uganda' => \Craft::t('site', 'Uganda'),
'Ukraine' => \Craft::t('site', 'Ukraine'),
'United Arab Emirates' => \Craft::t('site', 'United Arab Emirates'),
'United Kingdom' => \Craft::t('site', 'United Kingdom'),
'United States' => \Craft::t('site', 'United States'),
'United States Minor Outlying Islands' => \Craft::t('site', 'United States Minor Outlying Islands'),
'Uruguay' => \Craft::t('site', 'Uruguay'),
'Uzbekistan' => \Craft::t('site', 'Uzbekistan'),
'Vanuatu' => \Craft::t('site', 'Vanuatu'),
'Venezuela' => \Craft::t('site', 'Venezuela'),
'Vietnam' => \Craft::t('site', 'Vietnam'),
'Virgin Islands (British)' => \Craft::t('site', 'Virgin Islands (British)'),
'Virgin Islands (U.S.)' => \Craft::t('site', 'Virgin Islands (U.S.)'),
'Wallis and Futuna Islands' => \Craft::t('site', 'Wallis and Futuna Islands'),
'Western Sahara' => \Craft::t('site', 'Western Sahara'),
'Yemen' => \Craft::t('site', 'Yemen'),
'Yugoslavia' => \Craft::t('site', 'Yugoslavia'),
'Zambia' => \Craft::t('site', 'Zambia'),
'Zimbabwe' => \Craft::t('site', 'Zimbabwe'),
],
];