$states['Sweden'] = construct_array("Blekinge,Bohuslän,Dalarna,Dalsland,Lappland,Gotland,Gästrikland,Halland,Hälsingland,Jämtland,Närke,Medelpad,Norrbotten,Härjedalen,Skåne,Södermanland,Småland,Stockholm,Uppland,Värmland,Västerbotten,Västernorrland,Västmanland,Västergötland,Ångermanland,Öland,Östergötland");
<?php
/*-------------------------------------------------------+
| PHPFusion Content Management System Version 7 & 8
| Copyright (C) 2002 - 2013 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Project File: Satellite Project of Geo Location
| Filename: geomap.inc.php
| Author: PHPFusion 8 Development Team
| Coded by : Frederick MC Chan
+--------------------------------------------------------+
| With Codes from PHPFusion Communities Authors
+--------------------------------------------------------+
| Registered in php-fusion.co.uk under the username of:
|
| Domi (Scandinavia), Basti (Germany), Thomas-SVK (Slovakia),
| afoster (USA), Kamillo (Poland), Dimki (Greece),
| Creatium (Lithuania), douwe_yntema (Netherlands),
| JoiNNN (Romania), EphyxHU (Hungary), afaaro (Somalia),
| Jikaka (Russia)
+--------------------------------------------------------+
| Version : 8.1.1 (please update every commit)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
$states['Taiwan,Province-of-China'] = array();
$states['Tajikistan'] = array();
$states['Tanzania,United-Republic-of'] = array();
$states['Thailand'] = construct_array("Amnat Charoen,Ang Thong,Bangkok Metropolis,Bueng Kan,Buri Ram,Chachoengsao,Chai Nat,Chaiyaphum,Chanthaburi,Chiang Mai,Chiang Rai,Chon Buri,Chumphon,Kalasin,Kamphaeng Phet,Kanchanaburi,Khon Kaen,Krabi,Lampang,Lamphun,Loei,Lop Buri,Mae Hong Son,Maha Sarakham,Mukdahan,Nakhon Nayok,Nakhon Pathom,Nakhon Phanom,Nakhon Ratchasima,Nakhon Sawan,Nakhon Si Thammarat,Nan,Narathiwat,Nong Bua Lam Phu,Nong Khai,Nonthaburi,Pathum Thani,Pattani,Phangnga,Phantthalung,Phayao,Phetchabun,Phetchaburi,Phichit,Phitsanulok,Phrae,Phra Nakhon Si Ayutthaya,Phuket,Prachin Buri,Prachuap Khiri Khan,Ranong,Ratchaburi,Rayong,Roi Et,Sa Kaeo,Sakon Nakhon,Samut Prakan,Samut Sakhon,Samut Songkhram,Saraburi,Satun,Sing Buri,Si Sa Ket,Songkhla,Sukhothai,Suphan Buri,Surat Thani,Surin,Tak,Trang,Trat,Ubon Ratchathani,Udon Thani,Uthai Thani,Uttaradit,Yala,Yasothon");
$states['Togo'] = array();
$states['Tokelau'] = array();
$states['Tonga'] = array();
$states['Trinidad-and-Tobago'] = array();
$states['Tunisia'] = array();
$states['Turkey'] = array();
$states['Turkmenistan'] = array();
$states['Turks-and-Caicos-Islands'] = array();
$states['Tuvalu'] = array();
$states['Uganda'] = array();
$states['Ukraine'] = array();
$states['United-Arab-Emirates'] = array();
$states['United-Kingdom'] = construct_array("Aberdeen,Aberdeenshire,Anglesey,Angus,Antrim,Ards,Argyll and Bute,Armagh,Ballymena,Ballymoney,Bambridge,Barnsley,Bath and North East Somerset,Bedford,Belfast,Birmingham,Blackburn with Darwen,Blackpool,Blaenau Gwent,Bolton,Bourmemouth,Bracknell Forest,Bradford,Bridgend,Brighton and Hove,Bristol,Buckinghamshire,Bury,Caerphilly,Calderdale,Cambridgeshire,Cardiff,Carmarthenshire,Carrickfergus,Castlereah,Central Bedfordshire,Ceredigion,Cheshire East,Cheshire West and Chester,Clackmannanshire,Coleraine,Conwy,Cookstown,COmwall,Conventry,Craigavon,Cumbria,Darlington,Denbighshire,Derby,Derbyshire,Derry,Devon,Doncaster,Dorset,Down,Dudley,Dumfries and Galloway,Dundee,Dungannon,Durham,East Ayrshire,East Dunbartonshire,East Lothian,East Renfrewshire,East Riding of Yorkshire,East Sussex,Edinburgh,Eilean Siar,Essex,Falkirk,Fermanagh,Fife,Flintshire,Gateshead,Glasgow,Gloucestershire,Greater London,Gwynedd,Halton,Hampshire,Hartlepool,Herefordshire,Hertfordshire,Highland,Inverclyde,Isle of Wight,Isles of Scilly,Kent,Kingston upon Hull,Kirklees,Knowsley,Lancashire,Larne,Leeds,Leicester,Leicestershire,Limavady,Lincolnshire,Lisburn,Liverpool,Luton,Magherafelt,Manchester,Medway,Merthyr Tydfil,Middlesbrough,Midlothian,Milton Keynes,Monmouthshire,Moray,Moyle,Neath Port Talbot,Newcastle upon Tyne,Newport,Newry and Mourne,Newtownabbey,Norfolk,Northamptonshire,North Ayrshire,North Down,North East Licolnshire,North Lanarkshire,North Lincolnshire,North Somerset,North Tyneside,Northumberland,North Yorkshire,Nottingham,Nottinghamshire,Oldham,Omagh,Orkney Islands,Oxfordshire,Pembrokeshire,Perthshire and Kinross,Peterborough,Plymouth,Poole,Portsmouth,Powys,Reading,Redcar and Cleveland,Renfrewshire,Rhondda Cynon Taff,Rochdale,Rotherham,Rutland,Saint Helens,Salford,Sandwell,Scottish Borders,Sefton,Sheffield,Shetland Islands,Shropshire,Slough,Solihull,Somerset,Southampton,South Ayrshire,Southend-on-Sea,South Gloucestershire,South Lanarkshire,South Tyneside,Staffordshire,Stirling,Stockport,Stockton-on-Tees,Stoke-on-Trent,Strabane,Suffolk,Sunderland,Surrey,Swansea,Swindon,Tameside,Telford and Wrekin,Thurrock,Torbay,Torfaen,Trafford,Vale of Glamorgan,Wakefield,Walsall,Warrington,Warwickshire,West Berkshire,West Dunbartonshire,West Lothian,West Sussex,Wigan,Wiltshire,Windsor and Maidenhead,Wirral,Wokingham,Wolverchampton,Worcestershire,Wrexham,York");
$states['United-States'] = construct_array("Alabama,Alaska,Arizona,Arkansas,California,Colorado,Connecticut,Delaware,Florida,Georgia,Hawaii,Idaho,Illinois,Indiana,Iowa,Kansas,Kentucky,Louisiana,Maine,Maryland,Massachusetts,Michigan,Minnesota,Mississippi,Missouri,Montana,Nebraska,Nevada,New Hampshire,New Jersey,New Mexico,New York,North Carolina,North Dakota,Ohio,Oklahoma,Oregon,Pennsylvania,Rhode Island,South Carolina,South Dakota,Tennessee,Texas,Utah,Vermont,Virginia,Washington,West Virginia,Wisconsin,Wyoming");
$states['United-States-Minor-Outlying-Islands'] = array();
$states['Uruguay'] = array();
$states['Uzbekistan'] = array();
$states['Vanuatu'] = array();
$states['Venezuela'] = array();
$states['Vietnam'] = array();
$states['Virgin-Islands-(British)'] = array();
$states['Virgin-Islands-(U.S.)'] = array();
$states['Wallis-and-Futuna-Islands'] = array();
$states['Western-Sahara'] = array();
$states['Yemen'] = construct_array("Sanaa,Taizz,Al Hudaydah,Aden,Ibb,Dhamar,al-Mukalla,Zinjibar,Sayyan,Ash Shihr,Sahar,Zabid,Hajjah,Badschil,Dhi as-Sufal,Rida,Socotra,Bait al-Faqih,al-Marawi'a,Al Bayda',Lahij,Marib,Mocha");
$states['Yugoslavia'] = array();
$states['Zambia'] = construct_array("Chadiza,Chama,Chavuma,Chibombo,Chiengi,Chililabombwe,Chilubi,Chingola,Chinsali,Chipata,Choma,Chongwe,Gwembe,Isoka,Itezhi Tezhi,Kabompo,Kabwe,Kafue,Kalabo,Kalomo,Kalulushi,Kaoma,Kapiri Mposhi,Kaputa,Kasama,Kasempa,Katete,Kawambwa,Kazungula,Kitwe,Livingstone,Luangwa,Luanshya,Lufwanyama,Lukulu,Lundazi,Lusaka,Luwingu,Mambwe,Mansa,Masaiti,Mazabuka,Mbala,Milenge,Mkushi,Mongu,Monze,Mpika,Mpongwe,Mporokoso,Mpulungu,Mufulira,Mufumbwe,Mumbwa,Mungwi,Mwense,Mwinilunga,Nakonde,Namwala,Nchelenge,Ndola,Nyimba,Petauke,Samfya,Senanga,Serenje,Sesheke,Shangombo,Siavonga,Sinazongwe,Solwezi,Zambezi");
$states['Zimbabwe'] = construct_array("Beitbridge,Bikita,Bindura,Binga,Bubi,Buhera,Bulawayo,Bulilima,Centenary,Chegutu,Chikomba,Chimanimani,Chipinge,Chiredzi,Chirumhanzu,Chitungwiza,Chivi,Epworth,Gokwe North,Gokwe South,Goromonzi,Guruve,Gutu,Gwanda,Gweru,Harare Rural,Harare Urban,Hurungwe,Hwange,Insiza,Kadoma,Kariba,Kwekwe,Lupane,Makonde,Makoni,Mangwe (South),Marondera,Masvingo,Matobo,Mazowe,Mberengwa,Mount Darwin,Mudzi,Murehwa,Mutare,Mutasa,Mutoko,Mwenezi,Nkayi,Nyanga,Rushinga,Seke,Shamva,Shurugwi,Tsholotsho,Umguza,UMP,Umzingwane,Wedza,Zaka,Zvimba,Zvishavane");
$state['Russia'] = ksort(construct_array("Buryat Autonomous district,Republic of Adygea,Altay krai,Amur region,Arkhangelsk region,Astrakhan region,Republic of Bashkortostan,Belgorod region,Bryansk region,Republic of Buryatia,Vladimir region,Volgograd region,Vologda region,Voronezh region,Republic of Altai,Republic of Dagestan,Jewish Autonomous region,Ivanovo region,Republic of Ingush,Irkutsk region,Kabardino-Balkaria,Kaliningrad region,Republic of Kalmykia,Kaluga region,Kamchatka,Republic of Karachay-Cherkess,Republic of Karelia,Kemerovo region,Kirov region,Republic of Komi,Komi-Perm Autonomous district,Koryak Autonomous district,Kostroma region,Krasnoyarsk krai,Kurgan region,Kursk region,Leningrad region,Lipetsk region,Magadan region,Republic of Mari El,Republic of Mordovia,Moscow,Moscow region,Murmansk region,Nenets Autonomous district,Nizhny Novgorod region,Novgorod region,Novosibirsk region,Omsk region,Orenburg region,Orel region,Penza region,Perm region,Primorsky Krai,Pskov region,Rostov region,Ryazan region,Samara region,Saint Petersburg,Saratov region,Republic of Sakha (Yakutia),Sakhalin region,Sverdlovsk region,Republic of North Ossetia,Smolensk region,Stavropol region,Taimyr (Dolgan-Nenets) Autonomous district,Tambov region,Republic of Tatarstan,Tver region,Tomsk region,Republic of Tuva (Tyva),Tula region,Tyumen region,Udmurtia region,Ulyanovsk region,Ust-Orda Buryat Autonomous district,Khabarovsk krai,Republic of Khakassia,Khanty Mansiysk Autonomous district,Chelyabinsk region,Republic of Chechen,Chita region,Republic of Chuvash,Chukotka Autonomous district,Evenki Autonomous district,Yamal-Nenets Autonomous district,Yaroslavl region");
Quote
hien wrote:
Creatium, have a look at the code this:
First post:
$state['Lithuania'] = construct_array("Alytaus apskritis,Kauno apskritis,Klaipėdos apskritis,Marijampolės apskritis,Panevėžio apskritis,Šiaulių apskritis,Tauragės apskritis,Telšių apskritis,Utenos apskritis,Vilniaus apskritis");
Second:
$state['Lithuania'] = construct_array("Alytaus apskritis,Kauno apskritis,Klaipedos apskritis,Marijampoles apskritis,Panevežio apskritis,Šiauliu apskritis,Taurages apskritis,Telšiu apskritis,Utenos apskritis,Vilniaus apskritis");
I used the second one.
$state['Somalia'] = construct_array("Somaliland, Puntland, Galmudug, Zelia & Lughaya State, Awdalland, Himan and Heeb, Khatumo State, Jubaland");
$state['Yemen'] = construct_array("Sanaa,Taizz,Al Hudaydah,Aden,Ibb,Dhamar,al-Mukalla,Zinjibar,Sayyan,Ash Shihr,Sahar,Zabid,Hajjah,Badschil,Dhi as-Sufal,Rida,Socotra,Bait al-Faqih,al-Marawi'a,Al Bayda',Lahij,Marib,Mocha");
$state['Hungary'] = ksort(construct_array("Bács-Kiskun,Baranya,Békés,Borsod-Abaúj-Zemplén,Csongrád,Fejér,Győr-Moson-Sopron,Hajdú-Bihar,Heves,Jász-Nagykun-Szolnok,Komárom-Esztergom,Nógrád,Pest,Somogy,Szabolcs-Szatmár-Bereg,Tolna,Vas,Veszprém,Zala");
$state['Switzerland'] = ksort(construct_array("Aargau,Appenzell Ausser-Rhoden,Appenzell Inner-Rhoden,Basel-Landschaft,Basel-Stadt,Bern,Fribourg,Geneve,Glarus,Graubunden,Jura,Luzern,Neuchatel,Nidwalden,Obwalden,Sankt Gallen,Schaffhausen,Schwyz,Solothurn,Thurgau,Ticino,Uri,Valais,Vaud,Zug,Zurich");
$state['France'] = ksort(construct_array("Alsace,Aquitaine,Auvergne,Basse-Normandie,Bourgogne,Bretagne,Centre,Champagne-Ardenne,Corse,Franche-Comte,Haute-Normandie,Ile-de-France,Languedoc-Roussillon,Limousin,Lorraine,Midi-Pyrenees,Nord-Pas-de-Calais,Pays de la Loire,Picardie,Poitou-Charentes,Provence-Alpes-Cote d'Azur,Rhone-Alpes");
$state['Romania'] = ksort(construct_array("Alba,Arad,Arges,Bacau,Bihor,Bistrita-Nasaud,Botosani,Brasov,Braila,Bucuresti,Buzau,Calarasi,Caras-Severin,Cluj,Constanta,Covasna,Dambovita,Dolj,Galati,Giurgiu,Gorj,Harghita,Hunedoara,Ialomita,Iasi,Ilfov,Maramures,Mehedinti,Mures,Neamt,Olt,Prahova,Satu Mare,Salaj,Sibiu,Suceava,Teleorman,Timis,Tulcea,Vaslui,Valcea,Vrancea"));
$state['Netherlands'] = ksort(construct_array("Groningen,Friesland,Drenthe,Overijssel,Flevoland,Gelderland,Utrecht,Noord-Holland,Zuid-Holland,Zeeland,Noord-Brabant,Limburg");
Category Forum
General DiscussionLabels
None yet
Statistics
14 participants
Notifications
You are not receiving notifications from this thread.
Related Questions