Mise aux normes

This commit is contained in:
Rodolphe Quiedeville 2003-10-17 17:46:00 +00:00
parent 5076bf98cd
commit 2aa1dc0fa7

View File

@ -65,14 +65,14 @@ $sql .= " ORDER BY $sortfield $sortorder " . $db->plimit( $limit + 1 ,$offset);
if ( $db->query($sql) )
{
$num = $db->num_rows();
print_barre_liste("Liste des fiches d'intervention", $page, $PHP_SELF,"&socid=$socid",$sortfield,$sortorder,'',$num);
print_barre_liste("Liste des fiches d'intervention", $page, $PHP_SELF,"&socid=$socid",$sortfield,$sortorder,'',$num);
$i = 0;
print '<TABLE border="0" width="100%" cellspacing="0" cellpadding="4">';
print "<TR class=\"liste_titre\">";
print_liste_field_titre_new ("Num",$PHP_SELF,"f.ref","","&socid=$socid",'width="15%"',$sortfield);
print_liste_field_titre_new ("Société",$PHP_SELF,"s.nom","","&socid=$socid",'',$sortfield);
print_liste_field_titre_new ("Date",$PHP_SELF,"f.datei","","&socid=$socid",'',$sortfield);
print_liste_field_titre_new ("Num",$PHP_SELF,"f.ref","","&amp;socid=$socid",'width="15%"',$sortfield);
print_liste_field_titre_new ("Société",$PHP_SELF,"s.nom","","&amp;socid=$socid",'',$sortfield);
print_liste_field_titre_new ("Date",$PHP_SELF,"f.datei","","&amp;socid=$socid",'',$sortfield);
print '<TD align="center">Durée</TD>';
print '<TD align="center">Statut</TD><td>&nbsp;</td>';
print "</TR>\n";
@ -92,7 +92,7 @@ if ( $db->query($sql) )
if ($user->societe_id == 0)
{
print '<TD align="center"><a href="fiche.php?socidp='.$objp->idp.'&action=create">[Fiche Inter]</A></td>';
print '<TD align="center"><a href="fiche.php?socidp='.$objp->idp.'&amp;action=create">[Fiche Inter]</A></td>';
}
else
{