===[$setno]==
\n"; ### $infostr=""; ### foreach ($_SESSION as $x => $y ) { ### # print "== $x: $y
\n"; ### $infostr .= "[$x:" . strlen($y) . "] "; ### } $retval=""; ini_set('display_errors','on'); require('inc/chart.php'); #$dset1=$_GET[ds1]; $dset2=$_GET[ds2]; #$dset1=$_SESSION[dset1]; $dset2=$_SESSION[dset2]; #print "-- dset1: $dset1
\n"; #print "-- dset2: $dset2
\n"; $data1=explode("-",$dset1); $data2=explode("-",$dset2); #$data3=explode("-",$dset3); # Put a red bar on today's date $data3[]=$dset3; $data3b[]=0; $data3[]=$dset3; $data3b[]=max($data2); $chart = new chart(300, 200); $chart->set_expired(1); #$chart->plot($data1,false, "blue","gradient","blue",8); $chart->plot($data1,false, "green","gradient","blue",8); $chart->add_legend("Actual", "blue"); $chart->plot($data2, false, "green"); $chart->add_legend("Projected", "green"); $chart->plot($data3b, $data3, "red"); #$chart->add_legend("Today", "red"); #$chart->add_legend("Net"); $chart->stroke(); if ( 1 > 2 ) { $image=ImageCreate(2920,110); if ( $color == 1 ) { $fcolor = imagecolorallocate ($image, 187, 187, 187); #BBBBBB } else { $fcolor = imagecolorallocate ($image, 204, 204, 255); # CCCCFF } $bcolor = imagecolorallocate ($image, 0, 0, 153); ImageString($image,10,1,2,"SN: $setno", $bcolor); ImageString($image,10,1,14,"DSet1: $dset1", $bcolor); ImageString($image,10,1,28,"Dset2: $dset2", $bcolor); ImageString($image,10,1,42,"Time: " . time(), $bcolor); ImageString($image,10,1,56,"Info: $infostr", $bcolor); $retval .= header('Content-type: image/png'); $retval .= ImagePNG($image); } return($retval); } ?> Health.Jinkle.Com: Hun100dred

Login
Password 
  Tuesday, September 25th 2018    11:07 AM EDT 
 
 
Free online tools for tracking your exercise goals
 
Another BETA project
from your friends at DCRE Labs...