Suppression de l'accés par première lettre
This commit is contained in:
parent
933f6fb265
commit
3c4a2c1d41
@ -76,11 +76,11 @@ if ($socname)
|
|||||||
|
|
||||||
if ($sortorder == "")
|
if ($sortorder == "")
|
||||||
{
|
{
|
||||||
$sortorder="DESC";
|
$sortorder="ASC";
|
||||||
}
|
}
|
||||||
if ($sortfield == "")
|
if ($sortfield == "")
|
||||||
{
|
{
|
||||||
$sortfield="s.datec";
|
$sortfield="s.nom";
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql .= " ORDER BY $sortfield $sortorder " . $db->plimit($conf->liste_limit +1, $offset);
|
$sql .= " ORDER BY $sortfield $sortorder " . $db->plimit($conf->liste_limit +1, $offset);
|
||||||
@ -93,27 +93,8 @@ if ($result)
|
|||||||
|
|
||||||
llxHeader();
|
llxHeader();
|
||||||
|
|
||||||
|
|
||||||
print_barre_liste("Liste des clients", $page, "clients.php","&begin=$begin",$sortfield,$sortorder,"",$num);
|
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&begin=$begin\">*</A>\n| ";
|
|
||||||
for ($ij = 65 ; $ij < 91; $ij++) {
|
|
||||||
print "<A href=\"clients.php?begin=" . chr($ij) . "&stcomm=$stcomm\" class=\"T3\">";
|
|
||||||
|
|
||||||
if ($begin == chr($ij) )
|
|
||||||
{
|
|
||||||
print "<b>>" . chr($ij) . "<</b>" ;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
print chr($ij);
|
|
||||||
}
|
|
||||||
print "</a> | ";
|
|
||||||
}
|
|
||||||
print "</div>";
|
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
||||||
$addu = "&page=$page&begin=$begin&search_nom=".$_GET["search_nom"];
|
$addu = "&page=$page&begin=$begin&search_nom=".$_GET["search_nom"];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user