From d99c000e49ae2e6529db9dd13ae688f9c1002d18 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 28 Feb 2005 14:18:44 +0000 Subject: [PATCH] Ajout graphique --- htdocs/telephonie/script/graph-statistiques-week.php | 7 +++++++ htdocs/telephonie/stats/lignes/index.php | 2 ++ 2 files changed, 9 insertions(+) diff --git a/htdocs/telephonie/script/graph-statistiques-week.php b/htdocs/telephonie/script/graph-statistiques-week.php index bcfe55d58e2..72ef4267578 100644 --- a/htdocs/telephonie/script/graph-statistiques-week.php +++ b/htdocs/telephonie/script/graph-statistiques-week.php @@ -67,6 +67,13 @@ if ($verbose) print "Graph : Lignes actives$file\n"; $graph = new GraphLignesActives($db, $file); $graph->GraphMakeGraph(); +require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/lignes/statut.class.php"); + +$file = $img_root . "lignes/lignes.statut.png"; +if ($verbose) print "Graph : Lignes statut $file\n"; +$graph = new GraphLignesStatut($db, $file); +$graph->GraphMakeGraph(); + /***********************************************************************/ /* /* Lignes commandes diff --git a/htdocs/telephonie/stats/lignes/index.php b/htdocs/telephonie/stats/lignes/index.php index 11aab4a0c52..67e92b03c2b 100644 --- a/htdocs/telephonie/stats/lignes/index.php +++ b/htdocs/telephonie/stats/lignes/index.php @@ -39,6 +39,8 @@ print ''; print 'Lignes Actives

'."\n"; +print 'Lignes Actives

'."\n"; + print ''; print 'Résiliation de lignes

'."\n";