Mise en forme

This commit is contained in:
Rodolphe Quiedeville 2005-03-23 10:31:40 +00:00
parent b62208423f
commit 9ec6fb5b77

View File

@ -21,10 +21,6 @@
*/ */
require("./pre.inc.php"); require("./pre.inc.php");
$page = $_GET["page"];
$sortorder = $_GET["sortorder"];
$sortfield = $_GET["sortfield"];
llxHeader('','Compta - Export'); llxHeader('','Compta - Export');
/* /*
* Sécurité accés client * Sécurité accés client
@ -35,24 +31,19 @@ if ($user->societe_id > 0)
$socidp = $user->societe_id; $socidp = $user->societe_id;
} }
if ($sortorder == "") {
$sortorder="DESC";
}
if ($sortfield == "") {
$sortfield="ec.date_export";
}
/* /*
* Recherche
* *
* *
*/ */
if ($page == -1) { $page = 0 ; } $page = $_GET["page"];
$sortorder = $_GET["sortorder"];
$sortfield = $_GET["sortfield"];
$offset = $conf->liste_limit * $page ; $offset = $conf->liste_limit * $page ;
$pageprev = $page - 1; if ($sortorder == "") $sortorder="DESC";
$pagenext = $page + 1; if ($sortfield == "") $sortfield="ec.date_export";
/* /*
* Mode Liste * Mode Liste
@ -80,8 +71,6 @@ if ($result)
print_liste_field_titre($langs->trans("Ref"),"liste.php","ec.ref"); print_liste_field_titre($langs->trans("Ref"),"liste.php","ec.ref");
print '<td>Client facturé</td>';
print "</tr>\n"; print "</tr>\n";
$var=True; $var=True;