©
本文檔使用 php中文網手册 發布
Africa/Abidjan | Africa/Accra | Africa/Addis_Ababa | Africa/Algiers |
Africa/Asmara | Africa/Asmera | Africa/Bamako | Africa/Bangui |
Africa/Banjul | Africa/Bissau | Africa/Blantyre | Africa/Brazzaville |
Africa/Bujumbura | Africa/Cairo | Africa/Casablanca | Africa/Ceuta |
Africa/Conakry | Africa/Dakar | Africa/Dar_es_Salaam | Africa/Djibouti |
Africa/Douala | Africa/El_Aaiun | Africa/Freetown | Africa/Gaborone |
Africa/Harare | Africa/Johannesburg | Africa/Juba | Africa/Kampala |
Africa/Khartoum | Africa/Kigali | Africa/Kinshasa | Africa/Lagos |
Africa/Libreville | Africa/Lome | Africa/Luanda | Africa/Lubumbashi |
Africa/Lusaka | Africa/Malabo | Africa/Maputo | Africa/Maseru |
Africa/Mbabane | Africa/Mogadishu | Africa/Monrovia | Africa/Nairobi |
Africa/Ndjamena | Africa/Niamey | Africa/Nouakchott | Africa/Ouagadougou |
Africa/Porto-Novo | Africa/Sao_Tome | Africa/Timbuktu | Africa/Tripoli |
Africa/Tunis | Africa/Windhoek |
[#1] abc at ed48 dot com [2014-05-26 14:04:36]
<?php
// $lang = 'pt';
$lang = 'en';
if (function_exists("timezone_identifiers_list"))
{
$arr_timez_id_lst3 = DateTimeZone::listIdentifiers();
$pt = 'Lista dos identificadores: <br><br>';
$en = 'Timezone identifiers list: <br><br>';
echo $$lang;
echo '<form id="form3" name="form3" method="post" action=""><select name="select">';
foreach( $arr_timez_id_lst3 as $timz3)
{
echo '<option value="' . $timz3 . '">' . $timz3 . '</option>';
}
echo '</select></form>';
}
else
{
$en = 'FUNCTION NOT IMPLEMENTED ON THIS PLATFORM!';
$pt = 'FUN??O N?O DEFINIDA PARA ESTE AMBIENTE!';
echo '<span style="color:#039;font-size:18px;">' . $$lang . '</span>';
}
?>