diff --git a/htdocs/fourn/index.php b/htdocs/fourn/index.php index 1cee782f5e5..0a2043b9b4e 100644 --- a/htdocs/fourn/index.php +++ b/htdocs/fourn/index.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004 Laurent Destailleur + * Copyright (C) 2004-2005 Laurent Destailleur * * 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 @@ -21,6 +21,13 @@ * */ +/** \file htdocs/fourn/index.php + \ingroup fournisseur + \brief Page accueil de la zone fournisseurs + \version $Revision$ +*/ + + require("./pre.inc.php"); require("../contact.class.php"); @@ -50,13 +57,6 @@ $offset = $conf->liste_limit * $page ; $pageprev = $page - 1; $pagenext = $page + 1; -/* - * Mode Liste - * - * - * - */ - if ($sortorder == "") { $sortorder="ASC"; @@ -66,6 +66,12 @@ if ($sortfield == "") $sortfield="nom"; } + +/* + * Mode Liste + * + */ + $sql = "SELECT s.idp, s.nom, s.ville,".$db->pdate("s.datec")." as datec, ".$db->pdate("s.datea")." as datea, st.libelle as stcomm, s.prefix_comm FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."c_stcomm as st WHERE s.fk_stcomm = st.id AND s.fournisseur=1"; if ($socidp) { @@ -102,14 +108,15 @@ if ($result) print ''; print_liste_field_titre($langs->trans("Company"),"index.php","s.nom","","",'valign="center"'); print ''.$langs->trans("Town").''; + print ' '; print "\n"; print ''; print '
'; print ''; - print ''; - + print ''; + print ''; print '
'; print ''; @@ -124,6 +131,7 @@ if ($result) print ''.img_file().''; print " idp\">$obj->nom\n"; print "".$obj->ville."\n"; + print " \n"; print "\n"; $i++; } diff --git a/htdocs/product/index.php b/htdocs/product/index.php index d5ebf5f3963..743d8295cc1 100644 --- a/htdocs/product/index.php +++ b/htdocs/product/index.php @@ -1,6 +1,6 @@ - * Copyright (C) 20004 Laurent Destailleur + * Copyright (C) 2004-2005 Laurent Destailleur * * 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 @@ -21,8 +21,7 @@ * */ -/*! - \file htdocs/product/index.php +/** \file htdocs/product/index.php \ingroup product \brief Page accueil des produits et services \version $Revision$ @@ -56,9 +55,9 @@ llxHeader("","",$langs->trans("ProductsAndServices")); print '
'; print ''; -print $langs->trans("Ref").':  '; +print $langs->trans("Ref").':  '; print '   '; -print $langs->trans("Label").':  '; +print $langs->trans("Label").':  '; print '
'; print_titre($langs->trans("ProductsAndServices"));