[ Index ]
 

Code source de Dolibarr 2.0.1

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/htdocs/telephonie/stats/fournisseurs/ -> index.php (source)

   1  <?PHP
   2  /* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
   3   *
   4   * This program is free software; you can redistribute it and/or modify
   5   * it under the terms of the GNU General Public License as published by
   6   * the Free Software Foundation; either version 2 of the License, or
   7   * (at your option) any later version.
   8   *
   9   * This program is distributed in the hope that it will be useful,
  10   * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12   * GNU General Public License for more details.
  13   *
  14   * You should have received a copy of the GNU General Public License
  15   * along with this program; if not, write to the Free Software
  16   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17   *
  18   * $Id: index.php,v 1.3 2005/10/18 09:30:54 rodolphe Exp $
  19   * $Source: /cvsroot/dolibarr/dolibarr/htdocs/telephonie/stats/fournisseurs/index.php,v $
  20   *
  21   */
  22  require ("./pre.inc.php");
  23  
  24  if (!$user->rights->telephonie->lire) accessforbidden();
  25  if (!$user->rights->telephonie->stats->lire) accessforbidden();
  26  
  27  llxHeader('','Telephonie - Statistiques - Fournisseurs');
  28  /*
  29   * Sécurité accés client
  30   */
  31  if ($user->societe_id > 0) 
  32  {
  33    $action = '';
  34    $socidp = $user->societe_id;
  35  }
  36  
  37  
  38  $h = 0;
  39  
  40  $head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/communications/index.php';
  41  $head[$h][1] = "Global";
  42  $hselected = $h;
  43  $h++;
  44  
  45  
  46  dolibarr_fiche_head($head, $hselected, "Fournisseurs");
  47  
  48  print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">'."\n";
  49  
  50  print '<tr><td width="50%" valign="top">'."\n";
  51  
  52  print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=communications/duree.png" alt="Duree Moyenne"><br /><br />'."\n";
  53  
  54  print '</td></tr>';
  55  
  56  print '</table>';
  57  
  58  print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">'."\n";
  59  
  60  print '<tr><td valign="top">'."\n";
  61  
  62  print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=communications/fourn_natio.png" alt="Communications nationales"><br /><br />'."\n";
  63  
  64  print '</td></tr>';
  65  
  66  print '<tr><td valign="top">'."\n";
  67  
  68  print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=communications/fourn_mobil.png" alt="Communications mobiles"><br /><br />'."\n";
  69  
  70  print '</td></tr>';
  71  print '<tr><td valign="top">'."\n";
  72  
  73  print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=telephoniegraph&file=communications/fourn_inter.png" alt="Communications internationales"><br /><br />'."\n";
  74  
  75  print '</td></tr>';
  76  
  77  print '</table>';
  78  
  79  $db->close();
  80  
  81  llxFooter("<em>Derni&egrave;re modification $Date: 2005/10/18 09:30:54 $ r&eacute;vision $Revision: 1.3 $</em>");
  82  ?>


Généré le : Mon Nov 26 12:29:37 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics