<?php 
$_SESSION['etabchoix']=@$_COOKIE['LOGGED_ETAB']; 
require_once(dirname(__DIR__, 2) . '/config.php');
require_once(BASE_PATH . '/db/idl_connect.php');
	if(isset($_SESSION['isav'])) { // pour gérer les zones (remise à zéro, si besoin, quand on change de zone)
		$_SESSION['isav'] = 2;
	}
	echo "<div class='box'><select name='fuseau' id='fuseau'>";
	if(isset($_POST["idAuteur"])){
		$basezone = $_POST["idAuteur"];
		if($basezone== "Africa") {
			echo '<option></option><option>Abidjan</option><option>Accra</option><option>Addis_Ababa</option><option>Algiers</option><option>Asmara</option><option>Asmera</option><option>Bamako</option><option>Bangui</option><option>Banjul</option><option>Bissau</option><option>Blantyre</option><option>Brazzaville</option><option>Bujumbura</option><option>Cairo</option><option>Casablanca</option><option>Ceuta</option><option>Conakry</option><option>Dakar</option><option>Dar_es_Salaam</option><option>Djibouti</option><option>Douala</option><option>El_Aaiun</option><option>Freetown</option><option>Gaborone</option><option>Harare</option><option>Johannesburg</option><option>Juba</option><option>Kampala</option><option>Khartoum</option><option>Kigali</option><option>Kinshasa</option><option>Lagos</option><option>Libreville</option><option>Lome</option><option>Luanda</option><option>Lubumbashi</option><option>Lusaka</option><option>Malabo</option><option>Maputo</option><option>Maseru</option><option>Mbabane</option><option>Mogadishu</option><option>Monrovia</option><option>Nairobi</option><option>Ndjamena</option><option>Niamey</option><option>Nouakchott</option><option>Ouagadougou</option><option>Porto-Novo</option><option>Sao_Tome</option><option>Timbuktu</option><option>Tripoli</option><option>Tunis</option><option>Windhoek</option>';
		}
		else if($basezone=="America") {
			echo '<option></option><option>Adak</option><option>Anchorage</option><option>Anguilla</option><option>Antigua</option><option>Araguaina</option><option>Argentina/Buenos_Aires</option><option>Argentina/Catamarca</option><option>Argentina/ComodRivadavia</option><option>Argentina/Cordoba</option><option>Argentina/Jujuy</option><option>Argentina/La_Rioja</option><option>Argentina/Mendoza</option><option>Argentina/Rio_Gallegos</option><option>Argentina/Salta</option><option>Argentina/San_Juan</option><option>Argentina/San_Luis</option><option>Argentina/Tucuman</option><option>Argentina/Ushuaia</option><option>Aruba</option><option>Asuncion</option><option>Atikokan</option><option>Atka</option><option>Bahia</option><option>Bahia_Banderas</option><option>Barbados</option><option>Belem</option><option>Belize</option><option>Blanc-Sablon</option><option>Boa_Vista</option><option>Bogota</option><option>Boise</option><option>Buenos_Aires</option><option>Cambridge_Bay</option><option>Campo_Grande</option><option>Cancun</option><option>Caracas</option><option>Catamarca</option><option>Cayenne</option><option>Cayman</option><option>Chicago</option><option>Chihuahua</option><option>Coral_Harbour</option><option>Cordoba</option><option>Costa_Rica</option><option>Creston</option><option>Cuiaba</option><option>Curacao</option><option>Danmarkshavn</option><option>Dawson</option><option>Dawson_Creek</option><option>Denver</option><option>Detroit</option><option>Dominica</option><option>Edmonton</option><option>Eirunepe</option><option>El_Salvador</option><option>Ensenada</option><option>Fort_Wayne</option><option>Fortaleza</option><option>Glace_Bay</option><option>Godthab</option><option>Goose_Bay</option><option>Grand_Turk</option><option>Grenada</option><option>Guadeloupe</option><option>Guatemala</option><option>Guayaquil</option><option>Guyana</option><option>Halifax</option><option>Havana</option><option>Hermosillo</option><option>Indiana/Indianapolis</option><option>Indiana/Knox</option><option>Indiana/Marengo</option><option>Indiana/Petersburg</option><option>Indiana/Tell_City</option><option>Indiana/Vevay</option><option>Indiana/Vincennes</option><option>Indiana/Winamac</option><option>Indianapolis</option><option>Inuvik</option><option>Iqaluit</option><option>Jamaica</option><option>Jujuy</option><option>Juneau</option><option>Kentucky/Louisville</option><option>Kentucky/Monticello</option><option>Knox_IN</option><option>Kralendijk</option><option>La_Paz</option><option>Lima</option><option>Los_Angeles</option><option>Louisville</option><option>Lower_Princes</option><option>Maceio</option><option>Managua</option><option>Manaus</option><option>Marigot</option><option>Martinique</option><option>Matamoros</option><option>Mazatlan</option><option>Mendoza</option><option>Menominee</option><option>Merida</option><option>Metlakatla</option><option>Mexico_City</option><option>Miquelon</option><option>Moncton</option><option>Monterrey</option><option>Montevideo</option><option>Montreal</option><option>Montserrat</option><option>Nassau</option><option>New_York</option><option>Nipigon</option><option>Nome</option><option>Noronha</option><option>North_Dakota/Beulah</option><option>North_Dakota/Center</option><option>North_Dakota/New_Salem</option><option>Ojinaga</option><option>Panama</option><option>Pangnirtung</option><option>Paramaribo</option><option>Phoenix</option><option>Port-au-Prince</option><option>Port_of_Spain</option><option>Porto_Acre</option><option>Porto_Velho</option><option>Puerto_Rico</option><option>Rainy_River</option><option>Rankin_Inlet</option><option>Recife</option><option>Regina</option><option>Resolute</option><option>Rio_Branco</option><option>Rosario</option><option>Santa_Isabel</option><option>Santarem</option><option>Santiago</option><option>Santo_Domingo</option><option>Sao_Paulo</option><option>Scoresbysund</option><option>Shiprock</option><option>Sitka</option><option>St_Barthelemy</option><option>St_Johns</option><option>St_Kitts</option><option>St_Lucia</option><option>St_Thomas</option><option>St_Vincent</option><option>Swift_Current</option><option>Tegucigalpa</option><option>Thule</option><option>Thunder_Bay</option><option>Tijuana</option><option>Toronto</option><option>Tortola</option><option>Vancouver</option><option>Virgin</option><option>Whitehorse</option><option>Winnipeg</option><option>Yakutat</option><option>Yellowknife</option>';
		}
		else if($basezone=="Antarctica") {
			echo '<option></option></option>Casey</option><option>Davis</option><option>DumontDUrville</option><option>Macquarie</option><option>Mawson</option><option>McMurdo</option><option>Palmer</option><option>Rothera</option><option>South_Pole</option><option>Syowa</option><option>Troll</option><option>Vostok</option>';
		}
		else if($basezone=="Arctica") {
			echo '<option>Longyearbyen</option>';
		}
		else if($basezone=="Asia") {
			echo '<option></option><option>Aden</option><option>Almaty</option><option>Amman</option><option>Anadyr</option><option>Aqtau</option><option>Aqtobe</option><option>Ashgabat</option><option>Ashkhabad</option><option>Baghdad</option><option>Bahrain</option><option>Baku</option><option>Bangkok</option><option>Beirut</option><option>Bishkek</option><option>Brunei</option><option>Calcutta</option><option>Chita</option><option>Choibalsan</option><option>Chongqing</option><option>Chungking</option><option>Colombo</option><option>Dacca</option><option>Damascus</option><option>Dhaka</option><option>Dili</option><option>Dubai</option><option>Dushanbe</option><option>Gaza</option><option>Harbin</option><option>Hebron</option><option>Ho_Chi_Minh</option><option>Hong_Kong</option><option>Hovd</option><option>Irkutsk</option><option>Istanbul</option><option>Jakarta</option><option>Jayapura</option><option>Jerusalem</option><option>Kabul</option><option>Kamchatka</option><option>Karachi</option><option>Kashgar</option><option>Kathmandu</option><option>Katmandu</option><option>Khandyga</option><option>Kolkata</option><option>Krasnoyarsk</option><option>Kuala_Lumpur</option><option>Kuching</option><option>Kuwait</option><option>Macao</option><option>Macau</option><option>Magadan</option><option>Makassar</option><option>Manila</option><option>Muscat</option><option>Nicosia</option><option>Novokuznetsk</option><option>Novosibirsk</option><option>Omsk</option><option>Oral</option><option>Phnom_Penh</option><option>Pontianak</option><option>Pyongyang</option><option>Qatar</option><option>Qyzylorda</option><option>Rangoon</option><option>Riyadh</option><option>Saigon</option><option>Sakhalin</option><option>Samarkand</option><option>Seoul</option><option>Shanghai</option><option>Singapore</option><option>Srednekolymsk</option><option>Taipei</option><option>Tashkent</option><option>Tbilisi</option><option>Tehran</option><option>Tel_Aviv</option><option>Thimbu</option><option>Thimphu</option><option>Tokyo</option><option>Ujung_Pandang</option><option>Ulaanbaatar</option><option>Ulan_Bator</option><option>Urumqi</option><option>Ust-Nera</option><option>Vientiane</option><option>Vladivostok</option><option>Yakutsk</option><option>Yekaterinburg</option><option>Yerevan</option>';
		}
		else if($basezone=="Atlantic") {
			echo '<option></option><option>Azores</option><option>Bermuda</option><option>Canary</option><option>Cape_Verde</option><option>Faeroe</option><option>Faroe</option><option>Jan_Mayen</option><option>Madeira</option><option>Reykjavik</option><option>South_Georgia</option><option>St_Helena</option><option>Stanley</option>';
		}
		else if($basezone=="Australia") {
			echo '<option></option><option>ACT</option><option>Adelaide</option><option>Brisbane</option><option>Broken_Hill</option><option>Canberra</option><option>Currie</option><option>Darwin</option><option>Eucla</option><option>Hobart</option><option>LHI</option><option>Lindeman</option><option>Lord_Howe</option><option>Melbourne</option><option>North</option><option>NSW</option><option>Perth</option><option>Queensland</option><option>South</option><option>Sydney</option><option>Tasmania</option><option>Victoria</option><option>West</option><option>Yancowinna</option>';
		}
		else if($basezone=="Europe") {
			echo '<option></option><option>Amsterdam</option><option>Andorra</option><option>Athens</option><option>Belfast</option><option>Belgrade</option><option>Berlin</option><option>Bratislava</option><option>Brussels</option><option>Bucharest</option><option>Budapest</option><option>Busingen</option><option>Chisinau</option><option>Copenhagen</option><option>Dublin</option><option>Gibraltar</option><option>Guernsey</option><option>Helsinki</option><option>Isle_of_Man</option><option>Istanbul</option><option>Jersey</option><option>Kaliningrad</option><option>Kiev</option><option>Lisbon</option><option>Ljubljana</option><option>London</option><option>Luxembourg</option><option>Madrid</option><option>Malta</option><option>Mariehamn</option><option>Minsk</option><option>Monaco</option><option>Moscow</option><option>Nicosia</option><option>Oslo</option><option>Paris</option><option>Podgorica</option><option>Prague</option><option>Riga</option><option>Rome</option><option>Samara</option><option>San_Marino</option><option>Sarajevo</option><option>Simferopol</option><option>Skopje</option><option>Sofia</option><option>Stockholm</option><option>Tallinn</option><option>Tirane</option><option>Tiraspol</option><option>Uzhgorod</option><option>Vaduz</option><option>Vatican</option><option>Vienna</option><option>Vilnius</option><option>Volgograd</option><option>Warsaw</option><option>Zagreb</option><option>Zaporozhye</option><option>Zurich</option>';
		}
		else if($basezone=="Indian") {
			echo '<option></option><option>Antananarivo</option><option>Chagos</option><option>Christmas</option><option>Cocos</option><option>Comoro</option><option>Kerguelen</option><option>Mahe</option><option>Maldives</option><option>Mauritius</option><option>Mayotte</option><option>Reunion</option>';
		}
		else if($basezone=="Pacific") {
			echo '<option></option><option>Apia</option><option>Auckland</option><option>Bougainville</option><option>Chatham</option><option>Chuuk</option><option>Easter</option><option>Efate</option><option>Enderbury</option><option>Fakaofo</option><option>Fiji</option><option>Funafuti</option><option>Galapagos</option><option>Gambier</option><option>Guadalcanal</option><option>Guam</option><option>Honolulu</option><option>Johnston</option><option>Kiritimati</option><option>Kosrae</option><option>Kwajalein</option><option>Majuro</option><option>Marquesas</option><option>Midway</option><option>Nauru</option><option>Niue</option><option>Norfolk</option><option>Noumea</option><option>Pago_Pago</option><option>Palau</option><option>Pitcairn</option><option>Pohnpei</option><option>Ponape</option><option>Port_Moresby</option><option>Rarotonga</option><option>Saipan</option><option>Samoa</option><option>Tahiti</option><option>Tarawa</option><option>Tongatapu</option><option>Truk</option><option>Wake</option><option>Wallis</option><option>Yap</option>';
		}
	}
	echo "</select></div>";
?>
