From 1e4cd68c09f1de8d751489f9696b35aa69b9f721 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 22 Mar 2005 09:08:36 +0000 Subject: [PATCH] Nouveau fichier --- .../telephonie/sql/llx_telephonie_stats.sql | 31 ++++++++++ htdocs/telephonie/stats/lignes/commande.php | 62 +++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 htdocs/telephonie/sql/llx_telephonie_stats.sql create mode 100644 htdocs/telephonie/stats/lignes/commande.php diff --git a/htdocs/telephonie/sql/llx_telephonie_stats.sql b/htdocs/telephonie/sql/llx_telephonie_stats.sql new file mode 100644 index 00000000000..8efb899ffe8 --- /dev/null +++ b/htdocs/telephonie/sql/llx_telephonie_stats.sql @@ -0,0 +1,31 @@ +-- ======================================================================== +-- Copyright (C) 2005 Rodolphe Quiedeville +-- +-- This program is free software; you can redistribute it and/or modify +-- it under the terms of the GNU General Public License as published by +-- the Free Software Foundation; either version 2 of the License, or +-- (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU General Public License for more details. +-- +-- You should have received a copy of the GNU General Public License +-- along with this program; if not, write to the Free Software +-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +-- +-- $Id$ +-- $Source$ +-- +-- ======================================================================== +-- +-- +create table llx_telephonie_stats ( + rowid integer AUTO_INCREMENT PRIMARY KEY, + type varchar(255), + index varchar(255), + valeur varchar(255) +)type=innodb; + + diff --git a/htdocs/telephonie/stats/lignes/commande.php b/htdocs/telephonie/stats/lignes/commande.php new file mode 100644 index 00000000000..015a9ad609b --- /dev/null +++ b/htdocs/telephonie/stats/lignes/commande.php @@ -0,0 +1,62 @@ + + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * + * $Id$ + * $Source$ + * + */ +require("./pre.inc.php"); + + +$page = $_GET["page"]; +$sortorder = $_GET["sortorder"]; + +if (!$user->rights->telephonie->lire) + accessforbidden(); + +llxHeader('','Telephonie - Statistiques - Lignes'); + +/* + * + * + */ + +include "./onglets.php"; +dolibarr_fiche_head($head, $hselected, "Lignes"); + +print ''; + +print ''; + + +print '
'; + +print 'Commandes de lignes par semaine

'."\n"; + +/* + * + * + */ + +print '
'; + + + +$db->close(); + +llxFooter("Dernière modification $Date$ révision $Revision$"); +?>