kopia lustrzana https://github.com/magicbug/Cloudlog
Create cloudlog_data_lists.php
Converting Primary Administrative Subdivision Enumeration list into PHP arrays to use in dropdowns http://www.adif.org/310/ADIF_310.htm#Primary_Administrative_Subdivisionpull/317/head
rodzic
8b3d5cf1bb
commit
c013d66568
|
@ -0,0 +1,91 @@
|
|||
<?php
|
||||
defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
|
||||
$config['usa_states_list'] = array(
|
||||
'AL'=>'Alabama',
|
||||
'AK'=>'Alaska',
|
||||
'AZ'=>'Arizona',
|
||||
'AR'=>'Arkansas',
|
||||
'CA'=>'California',
|
||||
'CO'=>'Colorado',
|
||||
'CT'=>'Connecticut',
|
||||
'DE'=>'Delaware',
|
||||
'DC'=>'District of Columbia',
|
||||
'FL'=>'Florida',
|
||||
'GA'=>'Georgia',
|
||||
'HI'=>'Hawaii',
|
||||
'ID'=>'Idaho',
|
||||
'IL'=>'Illinois',
|
||||
'IN'=>'Indiana',
|
||||
'IA'=>'Iowa',
|
||||
'KS'=>'Kansas',
|
||||
'KY'=>'Kentucky',
|
||||
'LA'=>'Louisiana',
|
||||
'ME'=>'Maine',
|
||||
'MD'=>'Maryland',
|
||||
'MA'=>'Massachusetts',
|
||||
'MI'=>'Michigan',
|
||||
'MN'=>'Minnesota',
|
||||
'MS'=>'Mississippi',
|
||||
'MO'=>'Missouri',
|
||||
'MT'=>'Montana',
|
||||
'NE'=>'Nebraska',
|
||||
'NV'=>'Nevada',
|
||||
'NH'=>'New Hampshire',
|
||||
'NJ'=>'New Jersey',
|
||||
'NM'=>'New Mexico',
|
||||
'NY'=>'New York',
|
||||
'NC'=>'North Carolina',
|
||||
'ND'=>'North Dakota',
|
||||
'OH'=>'Ohio',
|
||||
'OK'=>'Oklahoma',
|
||||
'OR'=>'Oregon',
|
||||
'PA'=>'Pennsylvania',
|
||||
'RI'=>'Rhode Island',
|
||||
'SC'=>'South Carolina',
|
||||
'SD'=>'South Dakota',
|
||||
'TN'=>'Tennessee',
|
||||
'TX'=>'Texas',
|
||||
'UT'=>'Utah',
|
||||
'VT'=>'Vermont',
|
||||
'VA'=>'Virginia',
|
||||
'WA'=>'Washington',
|
||||
'WV'=>'West Virginia',
|
||||
'WI'=>'Wisconsin',
|
||||
'WY'=>'Wyoming',
|
||||
);
|
||||
|
||||
$config['canada_provs_list'] = array(
|
||||
'NS'=>'Nova Scotia',
|
||||
'QC'=>'Québec',
|
||||
'ON'=>'Ontario',
|
||||
'MB'=>'Manitoba',
|
||||
'SK'=>'Saskatchewan',
|
||||
'AB'=>'Alberta',
|
||||
'BC'=>'British Columbia',
|
||||
'NT'=>'Northwest Territories',
|
||||
'NB'=>'New Brunswick',
|
||||
'NL'=>'Newfoundland and Labrador',
|
||||
'YT'=>'Yukon',
|
||||
'PE'=>'Prince Edward Island',
|
||||
'NU'=>'Nunavut'
|
||||
);
|
||||
|
||||
$config['aland_is_provs_list'] = array(
|
||||
'001'=>'Brändö',
|
||||
'002'=>'Eckerö',
|
||||
'003'=>'Finström',
|
||||
'004'=>'Föglö',
|
||||
'005'=>'Geta',
|
||||
'006'=>'Hammarland',
|
||||
'007'=>'Jomala',
|
||||
'008'=>'Kumlinge',
|
||||
'009'=>'Kökar',
|
||||
'010'=>'Lemland',
|
||||
'011'=>'Lumparland',
|
||||
'012'=>'Maarianhamina',
|
||||
'013'=>'Saltvik',
|
||||
'014'=>'Sottunga',
|
||||
'015'=>'Sund',
|
||||
'016'=>'Vårdö'
|
||||
);
|
Ładowanie…
Reference in New Issue