'; 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; } ?> Itinerary - RJM Programming - http://www.rjmprogramming.com.au (Copyright © 2013 rjmprogramming.com.au all rights reserved.) \n"; echo " \n"; echo " \n"; echo "

" . $GETtitle . " Itinerary

\n"; ?>
Another Itinerary? function later() { } <' . '/script>' . "\n "; } if (!isset($_GET['desc'])) { echo '<' . 'script' . '>' . "\n "; ?> Click here to Show Itinerary Timeline when All Filled out Below ...
";' . "\n"; echo ' num = task;' . "\n" . 'while (ict != task) { ' . "\n"; echo ' bits = bits + "";' . "\n"; echo ' ict = ict + 1;' . "\n"; echo ' prev_Takeoff_Time.push("as per time to the left");' . "\n"; echo ' prev_Timezone_From.push("as per timezone to the left");' . "\n"; echo ' prev_Landing_Time.push("as per time to the right");' . "\n"; echo ' prev_Timezone_To.push("as per timezone to the right");' . "\n"; echo ' bits = bits + ("").replace(/zpx/g,ict);' . "\n"; echo ' bits = bits + ""' . "\n"; echo ' bits = bits + ("").replace(/zpx/g,ict);' . "\n"; echo ' bits = bits + "";' . "\n"; //echo ' alert(ict + " -- " + bits);' . "\n"; echo ' } ' . "\n"; echo ' } else { alert("Can only handle 99 or less."); window.location = "./itinerary.php"; }' . "\n"; echo ' bits = bits + "
FromDescriptionTo
&128197;&128231;
' . ourtimezonelist('datestart') . '
Time: or ' . dateselcombo("datestart",date("Ymd:His")) . '
          

' . ourtimezonelist('dateend') . '
Time: or ' . dateselcombo("dateend",date("Ymd:His")) . '
";' . "\n"; //echo ' alert(bits);' . "\n"; echo ' var ct = document.getElementById("calendar_table"); ' . "\n"; echo ' ct.innerHTML = bits;' . "\n"; //echo ' alert(ct.innerHTML);' . "\n"; echo ' if (ict != 0) { ict = 0; ' . "\n"; echo ' while (ict != task) { ' . "\n"; echo ' ict = ict + 1;' . "\n"; echo ' cals1(ict,0);' . "\n"; echo ' } } ' . "\n"; echo ' } ' . "\n checkforclass(); \n" . "\n"; echo "} \n" . '' . "\n"; } ?>