Modif affcihage de la barre de liste quand la liste est vide
This commit is contained in:
parent
15f7e4590a
commit
5c4944f9e7
@ -81,22 +81,23 @@ if ( $db->query($sql) )
|
|||||||
$num = $db->num_rows();
|
$num = $db->num_rows();
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
||||||
|
print_barre_liste("Demandes de prélèvement", $page, "demandes.php", $urladd, $sortfield, $sortorder, '', $num);
|
||||||
|
|
||||||
|
print '<table class="noborder" width="100%">';
|
||||||
|
print '<tr class="liste_titre">';
|
||||||
|
print '<td>Facture</td><td>Société</td></tr>';
|
||||||
|
|
||||||
|
print '<form action="demandes.php" method="GET">';
|
||||||
|
|
||||||
|
print '<tr class="liste_titre"><td>-</td><td>';
|
||||||
|
print '<input type="text" name="search_societe" size="12" value="'.$GET["search_societe"].'"> ';
|
||||||
|
print '<input type="submit" value="Chercher">';
|
||||||
|
print '</form>';
|
||||||
|
|
||||||
if ($num)
|
if ($num)
|
||||||
{
|
{
|
||||||
print_barre_liste("Demandes de prélèvement", $page, "demandes.php", $urladd, $sortfield, $sortorder, '', $num);
|
|
||||||
|
|
||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
|
||||||
print '<tr class="liste_titre">';
|
|
||||||
print '<td>Facture</td><td>Société</td></tr>';
|
|
||||||
|
|
||||||
print '<form action="demandes.php" method="GET">';
|
|
||||||
|
|
||||||
print '<tr class="liste_titre"><td>-</td><td>';
|
|
||||||
print '<input type="text" name="search_societe" size="12" value="'.$GET["search_societe"].'"> ';
|
|
||||||
print '<input type="submit" value="Chercher">';
|
|
||||||
print '</form>';
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$var = True;
|
$var = True;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user