diff --git a/htdocs/fourn/contact.php b/htdocs/fourn/contact.php index 25c59c78221..60c5ccfa163 100644 --- a/htdocs/fourn/contact.php +++ b/htdocs/fourn/contact.php @@ -35,6 +35,10 @@ if ($user->societe_id > 0) $socid = $user->societe_id; } +$page=$_GET["page"]; +$sortorder=$_GET["sortorder"]; +$sortfield=$_GET["sortfield"]; + if ($sortorder == "") { $sortorder="ASC"; @@ -85,27 +89,7 @@ if ($result) { $num = $db->num_rows(); print_barre_liste("Liste des contacts fournisseurs",$page, "contact.php", "",$sortfield,$sortorder,"",$num); - - print "
"; - - print "| *\n| "; - for ($i = 65 ; $i < 91; $i++) { - print ""; - if ($begin == chr($i) ) { - print "->" . chr($i) . "<-" ; - } else { - print chr($i) ; - } - print " | "; - } - print "
"; - - if ($sortorder == "DESC") { - $sortorder="ASC"; - } else { - $sortorder="DESC"; - } print ''; print ""; print_liste_field_titre($langs->trans("Lastname"),"contact.php","lower(p.name)", $begin);