Look: Modif esthtique mineur
This commit is contained in:
parent
b022a72a69
commit
1c16de4200
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* 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 '<tr class="liste_titre">';
|
||||
print_liste_field_titre($langs->trans("Company"),"index.php","s.nom","","",'valign="center"');
|
||||
print '<td>'.$langs->trans("Town").'</td>';
|
||||
print '<td> </td>';
|
||||
print "</tr>\n";
|
||||
|
||||
|
||||
print '<tr class="liste_titre">';
|
||||
print '<form action="index.php" method="GET">';
|
||||
print '<td><input type="text" name="search_nom" value="'.$_GET["search_nom"].'"></td>';
|
||||
print '<td><input type="text" name="search_ville" value="'.$_GET["search_ville"].'"><input type="submit"></td>';
|
||||
|
||||
print '<td><input type="text" name="search_ville" value="'.$_GET["search_ville"].'"></td>';
|
||||
print '<td><input class="button" type="submit" value="'.$langs->trans("Search").'"></td>';
|
||||
print '</form>';
|
||||
print '</tr>';
|
||||
|
||||
@ -124,6 +131,7 @@ if ($result)
|
||||
print '<td><a href="fiche.php?socid='.$obj->idp.'">'.img_file().'</a>';
|
||||
print " <a href=\"fiche.php?socid=$obj->idp\">$obj->nom</a></td>\n";
|
||||
print "<td>".$obj->ville."</td>\n";
|
||||
print "<td> </td>\n";
|
||||
print "</tr>\n";
|
||||
$i++;
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/* Copyright (C) 2001-2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 20004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* 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 '<div class="formsearch"><form action="liste.php" method="post">';
|
||||
print '<input type="hidden" name="type" value="'.$product->type.'">';
|
||||
print $langs->trans("Ref").': <input class="flat" type="text" size="10" name="sref"> <input class="flat" type="submit" value="'.$langs->trans("Go").'">';
|
||||
print $langs->trans("Ref").': <input class="flat" type="text" size="10" name="sref"> <input class="button" type="submit" value="'.$langs->trans("Go").'">';
|
||||
print ' ';
|
||||
print $langs->trans("Label").': <input class="flat" type="text" size="20" name="snom"> <input class="flat" type="submit" value="'.$langs->trans("Go").'">';
|
||||
print $langs->trans("Label").': <input class="flat" type="text" size="20" name="snom"> <input class="button" type="submit" value="'.$langs->trans("Go").'">';
|
||||
print '</form></div>';
|
||||
|
||||
print_titre($langs->trans("ProductsAndServices"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user