2,25c2,16 < // timeline_chart.php < // Google Timeline Chart supervisor < // RJM Programming < // November, 2015 < // &data=[~x~,newDate(2018,4,16),newDate(2018,4,17)],[~y~,newDate(2018,4,18),newDate(2018,4,19)],[~z~,newDate(2018,4,20),newDate(2018,4,21)] < // < if (file_exists("csv.php")) { < include "csv.php"; < } else if (file_exists("../csv.php")) { < include "../csv.php"; < } < if (file_exists("bigemail.php")) { < include "bigemail.php"; < } else if (file_exists("../bigemail.php")) { < include "../bigemail.php"; < } < < function retval($inv) { < if (strpos($inv, "E-") !== false) return "0"; < return $inv; < } < < $nineh="900"; < $twoh="200"; --- > // timeline_chart.php > // Google Timeline Chart supervisor > // RJM Programming > // November, 2015 > // > if (file_exists("csv.php")) { > include "csv.php"; > } else if (file_exists("../csv.php")) { > include "../csv.php"; > } > if (file_exists("bigemail.php")) { > include "bigemail.php"; > } else if (file_exists("../bigemail.php")) { > include "../bigemail.php"; > } 27,31c18,21 < $burl=""; < $bdivstart=""; < $bdivend=""; < $cdivc="background-color: yellow;"; < $nondefs=""; --- > function retval($inv) { > if (strpos($inv, "E-") !== false) return "0"; > return $inv; > } 33,60c23,24 < $amwv=false; < if ((strpos($_SERVER['HTTP_USER_AGENT'], 'Mobile/') !== false) && (strpos($_SERVER['HTTP_USER_AGENT'], 'Safari/') == false)) { < $amwv=true; < } < < < function tzldates($inwith) { < $inwithtz=urldecode($inwith); < if (strpos("~" . strtolower($inwithtz), "~http") !== false) { // co-ordinates via net < //if (isset($_GET['xx'])) { < // echo str_replace("<","<",str_replace(">",">",file_get_contents(str_replace("HTTPS:","http:",str_replace("Https:","http:",str_replace("https:","http:",$inwithtz)))))); < // exit; < //} < $inwithtz=read_and_date_array(file_get_contents(str_replace("HTTPS:","http:",str_replace("Https:","http:",str_replace("https:","http:",$inwithtz)))), str_replace('timelinechart.php','timeline_chart.php',str_replace('index.php','timeline_chart.php',$_SERVER['REQUEST_URI']))); < } else if (strpos($inwithtz, "[") === false) { // label and dates via clipboard < $inwithtz=str_replace("`","",str_replace("`,","",'`' . read_and_date_array($inwithtz, str_replace('timelinechart.php','timeline_chart.php',str_replace('index.php','timeline_chart.php',$_SERVER['REQUEST_URI']))))); < } else { < return $inwith; < } < echo "\n pardata=\"" . str_replace("+","%20",urlencode("" . $inwithtz)) . "\"; paramdata=decodeURIComponent(pardata); \n var xxpardata=\"" . ("" . $inwithtz) . "\"; \n"; < return urlencode($inwithtz); < } < < // if (isset($_GET['xx'])) { < // echo tzldates($_GET['data']); < // exit; < // } < --- > $nineh="900"; > $twoh="200"; 63c27 < --- > 65,70c29,34 < Timeline Chart - RJM Programming - //www.rjmprogramming.com.au (Copyright © 2013 rjmprogramming.com.au all rights reserved.) < <