Commit 1c768fe97c757cc00b8a67231259d120bb15e4bc

Authored by Guillaume
1 parent 6b916214

Test Graphe

Showing 1 changed file with 0 additions and 7 deletions   Show diff stats
@@ -3,13 +3,6 @@ require_once ('jpgraph/jpgraph.php'); @@ -3,13 +3,6 @@ require_once ('jpgraph/jpgraph.php');
3 require_once ('jpgraph/jpgraph_line.php'); 3 require_once ('jpgraph/jpgraph_line.php');
4 require_once('accesBase.php'); 4 require_once('accesBase.php');
5 5
6 -$start = $_POST['start-date'];  
7 -$end = $_POST['end-date'];  
8 -if(($end == NULL) || ($end < $start)) {$e = date_max(); $end = $e['max'];}  
9 -else $end = $end." 23:59:59";  
10 -if($start == NULL) {$s = date_min(); $start = $s['min'];}  
11 -else $start = $start." 00:00:00";  
12 -  
13 $history1 = getHistory($_REQUEST['nom'], '', '', $_REQUEST['start'], $_REQUEST['end'], $_REQUEST['nombre']); 6 $history1 = getHistory($_REQUEST['nom'], '', '', $_REQUEST['start'], $_REQUEST['end'], $_REQUEST['nombre']);
14 $datay1 = makeArray($history1, "value"); 7 $datay1 = makeArray($history1, "value");
15 8