2,6d1 < // column_chart.php < // Google Column Chart supervisor < // RJM Programming < // January, 2016 < // 12,17d6 < if (file_exists("bigemail.php")) { < include "bigemail.php"; < } else if (file_exists("../bigemail.php")) { < include "../bigemail.php"; < } < 39,54d27 < < function fillindata() { < var bed=document.getElementById('bdataval'); < if (bed == null) { < document.getElementById('bitsatend').innerHTML+=''; < } < } < < function filldata() { < var bed=document.getElementById('bedata'); < if (bed != null) { < if (bed.value == '') { < bed.value=encodeURIComponent(paramdata); < } < } < } 115,118c88 < //$GETdata = str_replace("\\'", "'", $_POST['data']); < $GETdata = str_replace("~", "'", str_replace("\\'", "'", urldecode(checkdatadata0('POST',$_POST['data'])))); < //echo "\n pardata = " . '"' . $_POST['data'] . '"; ' . " \n"; < echo "\n paramdata='" . str_replace("'",'~',$GETdata) . "'; \n setTimeout(fillindata, 300); \n setTimeout(filldata, 3000); \n"; // = decodeURIComponent(pardata); " . " \n"; --- > $GETdata = str_replace("\\'", "'", $_POST['data']); 254,264c224 < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/LineChart').replace('column_chart.php', 'line_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/LineChart').replace('column_chart.php', 'line_chart.php'); < } < } else if (ans.substring(0,1).toLowerCase() == 'a') { < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/AreaChart').replace('column_chart.php', 'area_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/AreaChart').replace('column_chart.php', 'area_chart.php'); < } --- > location.href=document.URL.replace('/ColumnChart', '/LineChart').replace('column_chart', 'line_chart').replace('_diff.', '.'); 266,273c226,228 < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/BarChart').replace('column_chart.php', 'bar_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/BarChart').replace('column_chart.php', 'bar_chart.php'); < } < } else if (pardata == '') { < //alert(document.URL + ' ?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(ans)); < location.href=iftoobig('',document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(ans)); --- > location.href=document.URL.replace('/ColumnChart', '/BarChart').replace('column_chart', 'bar_chart'); > } else if (ans.substring(0,1).toLowerCase() == 'a') { > location.href=document.URL.replace('/ColumnChart', '/AreaChart').replace('column_chart', 'area_chart').replace('_diff.', '.'); 275,277c230 < //alert('Pardata=' + pardata); < location.href=iftoobig('',document.URL.replace(pardata, ourencodeURIComponent(ans))); < //location.href=document.URL.replace(pardata0, ourencodeURIComponent(ans)); --- > location.href=document.URL.replace(pardata0, ourencodeURIComponent(ans)); 345,355c298 < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/LineChart').replace('column_chart.php', 'line_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/LineChart').replace('column_chart.php', 'line_chart.php'); < } < } else if (ans.substring(0,1).toLowerCase() == 'a') { < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/AreaChart').replace('column_chart.php', 'area_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/AreaChart').replace('column_chart.php', 'area_chart.php'); < } --- > location.href=document.URL.replace('/ColumnChart', '/LineChart').replace('column_chart', 'line_chart').replace('_diff.', '.'); 357,364c300,302 < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/BarChart').replace('column_chart.php', 'bar_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/BarChart').replace('column_chart.php', 'bar_chart.php'); < } < } else if (pardata == '') { < //alert(document.URL + ' ?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(ans)); < location.href=iftoobig('',document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(ans)); --- > location.href=document.URL.replace('/ColumnChart', '/BarChart').replace('column_chart', 'bar_chart'); > } else if (ans.substring(0,1).toLowerCase() == 'a') { > location.href=document.URL.replace('/ColumnChart', '/AreaChart').replace('column_chart', 'area_chart').replace('_diff.', '.'); 366,368c304 < //alert('pardata=' + pardata); < location.href=iftoobig('',document.URL.replace(pardata, ourencodeURIComponent(ans))); < //location.href=document.URL.replace(pardata0, ourencodeURIComponent(ans)); --- > location.href=document.URL.replace(pardata0, ourencodeURIComponent(ans)); 515,525c451 < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/LineChart').replace('column_chart.php', 'line_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/LineChart').replace('column_chart.php', 'line_chart.php'); < } < } else if (ans.substring(0,1).toLowerCase() == 'a') { < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/AreaChart').replace('column_chart.php', 'area_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/AreaChart').replace('column_chart.php', 'area_chart.php'); < } --- > location.href=document.URL.replace('/ColumnChart', '/LineChart').replace('column_chart', 'line_chart').replace('_diff.', '.'); 527,534c453,455 < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/BarChart').replace('column_chart.php', 'bar_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/BarChart').replace('column_chart.php', 'bar_chart.php'); < } < } else if (pardata == '') { < //alert(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(ans)); < location.href=iftoobig('',document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(ans)); --- > location.href=document.URL.replace('/ColumnChart', '/BarChart').replace('column_chart', 'bar_chart'); > } else if (ans.substring(0,1).toLowerCase() == 'a') { > location.href=document.URL.replace('/ColumnChart', '/AreaChart').replace('column_chart', 'area_chart').replace('_diff.', '.'); 536,538c457 < //alert('pardata=' + pardata); < location.href=iftoobig('',document.URL.replace(pardata, ourencodeURIComponent(ans))); < //location.href=document.URL.replace(pardata, ourencodeURIComponent(ans)); --- > location.href=document.URL.replace(pardata, ourencodeURIComponent(ans)); 606,616c525 < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/LineChart').replace('column_chart.php', 'line_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/LineChart').replace('column_chart.php', 'line_chart.php'); < } < } else if (ans.substring(0,1).toLowerCase() == 'a') { < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/AreaChart').replace('column_chart.php', 'area_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/AreaChart').replace('column_chart.php', 'area_chart.php'); < } --- > location.href=document.URL.replace('/ColumnChart', '/LineChart').replace('column_chart', 'line_chart').replace('_diff.', '.'); 618,625c527,529 < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/BarChart').replace('column_chart.php', 'bar_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/BarChart').replace('column_chart.php', 'bar_chart.php'); < } < } else if (pardata == '') { < //alert(document.URL + ' ?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(ans)); < location.href=iftoobig('',document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(ans)); --- > location.href=document.URL.replace('/ColumnChart', '/BarChart').replace('column_chart', 'bar_chart'); > } else if (ans.substring(0,1).toLowerCase() == 'a') { > location.href=document.URL.replace('/ColumnChart', '/AreaChart').replace('column_chart', 'area_chart').replace('_diff.', '.'); 627,629c531 < //alert('paRdata=' + pardata); < location.href=iftoobig('',document.URL.replace(pardata, ourencodeURIComponent(ans))); < //location.href=document.URL.replace(pardata, ourencodeURIComponent(ans)); --- > location.href=document.URL.replace(pardata, ourencodeURIComponent(ans)); 802,812c704 < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/LineChart').replace('column_chart.php', 'line_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/LineChart').replace('column_chart.php', 'line_chart.php'); < } < } else if (ans.substring(0,1).toLowerCase() == 'a') { < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/AreaChart').replace('column_chart.php', 'area_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/AreaChart').replace('column_chart.php', 'area_chart.php'); < } --- > location.href=document.URL.replace('/ColumnChart', '/LineChart').replace('column_chart', 'line_chart').replace('_diff.', '.'); 814,821c706,708 < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/BarChart').replace('column_chart.php', 'bar_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/BarChart').replace('column_chart.php', 'bar_chart.php'); < } < } else if (pardata == '') { < //alert(document.URL + ' ?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(ans)); < location.href=iftoobig('',document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(ans)); --- > location.href=document.URL.replace('/ColumnChart', '/BarChart').replace('column_chart', 'bar_chart'); > } else if (ans.substring(0,1).toLowerCase() == 'a') { > location.href=document.URL.replace('/ColumnChart', '/AreaChart').replace('column_chart', 'area_chart').replace('_diff.', '.'); 823,825c710 < //alert('PardAta=' + pardata); < location.href=iftoobig('',document.URL.replace(pardata, ourencodeURIComponent(ans))); < //location.href=document.URL.replace(pardata, ourencodeURIComponent(ans)); --- > location.href=document.URL.replace(pardata, ourencodeURIComponent(ans)); 893,903c778 < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/LineChart').replace('column_chart.php', 'line_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/LineChart').replace('column_chart.php', 'line_chart.php'); < } < } else if (ans.substring(0,1).toLowerCase() == 'a') { < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/AreaChart').replace('column_chart.php', 'area_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/AreaChart').replace('column_chart.php', 'area_chart.php'); < } --- > location.href=document.URL.replace('/ColumnChart', '/LineChart').replace('column_chart', 'line_chart').replace('_diff.', '.'); 905,912c780,782 < if (pardata == '') { < location.href=iftoobig('',(document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(paramdata)).replace('/ColumnChart', '/BarChart').replace('column_chart.php', 'bar_chart.php')); < } else { < location.href=document.URL.replace('/ColumnChart', '/BarChart').replace('column_chart.php', 'bar_chart.php'); < } < } else if (pardata == '') { < //alert(document.URL + ' ?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(ans)); < location.href=iftoobig('',document.URL + '?title=" . urlencode(str_replace(",","`",$GETtitle)) . '&label=' . urlencode($GETlabel) . '&onclick=y&value=' . urlencode($GETvalue) . "&data=' + ourencodeURIComponent(ans)); --- > location.href=document.URL.replace('/ColumnChart', '/BarChart').replace('column_chart', 'bar_chart'); > } else if (ans.substring(0,1).toLowerCase() == 'a') { > location.href=document.URL.replace('/ColumnChart', '/AreaChart').replace('column_chart', 'area_chart').replace('_diff.', '.'); 914,916c784 < //alert('PardatA=' + pardata); < location.href=iftoobig('',document.URL.replace(pardata, ourencodeURIComponent(ans))); < //location.href=document.URL.replace(pardata, ourencodeURIComponent(ans)); --- > location.href=document.URL.replace(pardata, ourencodeURIComponent(ans));