From 1c768fe97c757cc00b8a67231259d120bb15e4bc Mon Sep 17 00:00:00 2001 From: Guillaume Date: Fri, 20 Mar 2020 14:08:49 +0100 Subject: [PATCH] Test Graphe --- site/graphe.php | 7 ------- 1 file changed, 0 insertions(+), 7 deletions(-) diff --git a/site/graphe.php b/site/graphe.php index 71b6ca7..703499d 100644 --- a/site/graphe.php +++ b/site/graphe.php @@ -3,13 +3,6 @@ require_once ('jpgraph/jpgraph.php'); require_once ('jpgraph/jpgraph_line.php'); require_once('accesBase.php'); -$start = $_POST['start-date']; -$end = $_POST['end-date']; -if(($end == NULL) || ($end < $start)) {$e = date_max(); $end = $e['max'];} -else $end = $end." 23:59:59"; -if($start == NULL) {$s = date_min(); $start = $s['min'];} -else $start = $start." 00:00:00"; - $history1 = getHistory($_REQUEST['nom'], '', '', $_REQUEST['start'], $_REQUEST['end'], $_REQUEST['nombre']); $datay1 = makeArray($history1, "value"); -- libgit2 0.21.2