Doc: Corrections commentaires pour doc doxygen

This commit is contained in:
Laurent Destailleur 2004-08-14 13:17:07 +00:00
parent 36554d72ce
commit 678a8a5b1e
2 changed files with 44 additions and 36 deletions

View File

@ -21,9 +21,13 @@
* *
*/ */
/*! \file htdocs/product/stats/index.php
\brief Page accueil statistiques produits
\version $Revision$
*/
require("./pre.inc.php"); require("./pre.inc.php");
require("../../propal.class.php"); require("../../propal.class.php");
//require("../../graph.class.php");
llxHeader(); llxHeader();
@ -95,37 +99,40 @@ print '</table>';
// Stats des produits en factures, propale, ... // Stats des produits en factures, propale, ...
#print '<br>'; /*
#print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">'; print '<br>';
#print "<tr class=\"liste_titre\">"; print '<table class="noborder" width="100%" cellspacing="0" cellpadding="4">';
#print "<td>Produit/Service</td>"; print "<tr class=\"liste_titre\">";
#print "<td>Qté en facture</td>"; print "<td>Produit/Service</td>";
#print "<td>Qté en propale</td>"; print "<td>Qté en facture</td>";
#print "</tr>\n"; print "<td>Qté en propale</td>";
#$sql = "SELECT p.label, sum(f.qty) as sumf, sum(pr.qty) as sumpr FROM ".MAIN_DB_PREFIX."product as p"; print "</tr>\n";
#$sql.=" left join ".MAIN_DB_PREFIX."facturedet as f on p.rowid = f.fk_product"; $sql = "SELECT p.label, sum(f.qty) as sumf, sum(pr.qty) as sumpr FROM ".MAIN_DB_PREFIX."product as p";
#$sql.=" left join ".MAIN_DB_PREFIX."propaldet as pr on p.rowid = pr.fk_product"; $sql.=" left join ".MAIN_DB_PREFIX."facturedet as f on p.rowid = f.fk_product";
#$sql.=" group by p.label"; $sql.=" left join ".MAIN_DB_PREFIX."propaldet as pr on p.rowid = pr.fk_product";
#if ($db->query($sql)) $sql.=" group by p.label";
#{ if ($db->query($sql))
# $num = $db->num_rows(); {
# $i = 0; $num = $db->num_rows();
# while ($i < $num) $i = 0;
# { while ($i < $num)
# $obj = $db->fetch_object( $i); {
# print "<tr ".$bc[$var].">"; $obj = $db->fetch_object( $i);
# print "<td>".$obj->label."</td>"; print "<tr ".$bc[$var].">";
# print "<td>".$obj->sumf."</td>"; print "<td>".$obj->label."</td>";
# print "<td>".$obj->sumpr."</td>"; print "<td>".$obj->sumf."</td>";
# print '</tr>'; print "<td>".$obj->sumpr."</td>";
# $i++; print '</tr>';
# } $i++;
#} }
#else { }
# print $db->error()." $sql"; else {
#} print $db->error()." $sql";
#print "</table>\n"; }
#$db->free(); print "</table>\n";
$db->free();
*/
$db->close(); $db->close();

View File

@ -1,6 +1,7 @@
<?PHP <?PHP
/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2003 Xavier Dutoit <doli@sydesy.com> * Copyright (C) 2003 Xavier Dutoit <doli@sydesy.com>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
@ -21,10 +22,10 @@
* *
*/ */
/** /*! \file htdocs/user/logout.php
* Pour se déconnecter \brief Fichier de deconnexion
* @package User
*/ */
if (!empty ($_SERVER["REMOTE_USER"])) if (!empty ($_SERVER["REMOTE_USER"]))
die("La d&eacute;connection ne fonctionne actuellement que pour l'authentification par pear"); die("La d&eacute;connection ne fonctionne actuellement que pour l'authentification par pear");