Suppression de l'accs par premire lettre

This commit is contained in:
Rodolphe Quiedeville 2004-11-16 21:27:14 +00:00
parent 933f6fb265
commit 3c4a2c1d41

View File

@ -76,11 +76,11 @@ if ($socname)
if ($sortorder == "")
{
$sortorder="DESC";
$sortorder="ASC";
}
if ($sortfield == "")
{
$sortfield="s.datec";
$sortfield="s.nom";
}
$sql .= " ORDER BY $sortfield $sortorder " . $db->plimit($conf->liste_limit +1, $offset);
@ -93,27 +93,8 @@ if ($result)
llxHeader();
print_barre_liste("Liste des clients", $page, "clients.php","&begin=$begin",$sortfield,$sortorder,"",$num);
print '<div align="center">';
print "| <A href=\"clients.php?page=$pageprevamp;stcomm=$stcommamp;sortfield=$sortfieldamp;sortorder=$sortorderamp;aclasser=$aclasseramp;coord=$coord&amp;begin=$begin\">*</A>\n| ";
for ($ij = 65 ; $ij < 91; $ij++) {
print "<A href=\"clients.php?begin=" . chr($ij) . "&amp;stcomm=$stcomm\" class=\"T3\">";
if ($begin == chr($ij) )
{
print "<b>&gt;" . chr($ij) . "&lt;</b>" ;
}
else
{
print chr($ij);
}
print "</a> | ";
}
print "</div>";
$i = 0;
$addu = "&amp;page=$page&amp;begin=$begin&amp;search_nom=".$_GET["search_nom"];