Another " . $itinis . "? "; $itinother="Another Timeline with Dates and Times and Calendar Events? "; $legs="Legs of Itinerary"; function ourtimezonelist($ididea) { // thanks to http://php.net/manual/en/function.timezone-identifiers-list.php global $kcnt; $idi=1; if (strpos($ididea, "end") !== false) { $idi=2; } //else { // $kcnt++; //} $selstuff=''; for ($xoff=-24.0; $xoff<=24.0; $xoff+=0.5) { $selstuff=str_replace("", "", $selstuff); } $zones = timezone_identifiers_list(); foreach ($zones as $zone) { $origzone=$zone; //$ourtz=new DateTimeZone($zone); $zone = explode('/', $zone); // 0 => Continent, 1 => City // Only use "friendly" continent names if ($zone[0] == 'Africa' || $zone[0] == 'America' || $zone[0] == 'Antarctica' || $zone[0] == 'Arctic' || $zone[0] == 'Asia' || $zone[0] == 'Atlantic' || $zone[0] == 'Australia' || $zone[0] == 'Europe' || $zone[0] == 'Indian' || $zone[0] == 'Pacific') { if (isset($zone[1]) != '') { //$locations[$zone[0]][$zone[0]. '/' . $zone[1]] = str_replace('_', ' ', $zone[1]); // Creates array(DateTimeZone => 'Friendly name') //$ourtz=new DateTimeZone(str_replace('_', ' ', $zone[0]. '/' . $zone[1])); //$selstuff=str_replace("", "", $selstuff); $selstuff=str_replace("", "", $selstuff); //$selstuff=str_replace("", "", $selstuff); } } } return $selstuff; } function dateselcombo($parid, $defstr) { global $kcnt; $tati=str_replace("datestart","Takeoff Time: ", str_replace("dateend","Landing Time: ", $parid)); $mths=["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]; $yyyystr=""; $mmstr=""; $ddstr=""; $hhstr=""; $mistr=""; $ssstr=""; //if ($parid == "dateend") $kcnt++; return $yyyystr . $mmstr . $ddstr . "" . $hhstr . $mistr . $ssstr; } function retval($inv) { if (strpos($inv, "E-") !== false) return "0"; return $inv; } ?>
From | Description | To | |
' . ourtimezonelist('datestart') . ' Time: ' . dateselcombo("datestart",date("Ymd:His")) . ' | ").replace(/zpx/g,ict);' . "\n";
if (strlen($tabitis) == 0) {
echo ' bits = bits + ""' . "\n"; } else { echo ' bits = bits + " | "' . "\n"; } echo ' bits = bits + (" | ' . ourtimezonelist('dateend') . ' Time: ' . dateselcombo("dateend",date("Ymd:His")) . ' | ").replace(/zpx/g,ict);' . "\n";
echo ' bits = bits + "