From 9d5f6e39f8c663611824cb3408355ef0d6ca7f57 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sun, 25 May 2003 16:26:58 +0000 Subject: [PATCH] =?UTF-8?q?Mise=20=E0=20jour=20des=20noms=20de=20tables?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/people.php3 | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/htdocs/comm/people.php3 b/htdocs/comm/people.php3 index 31e1cd61fde..b77a260844a 100644 --- a/htdocs/comm/people.php3 +++ b/htdocs/comm/people.php3 @@ -69,13 +69,14 @@ if ($action == 'update') } } -/* - * - * - */ - llxHeader(); +if ($page == -1) { $page = 0 ; } +$limit = 26; +$offset = $limit * $page ; +$pageprev = $page - 1; +$pagenext = $page + 1; + if ($socid > 0) { @@ -225,7 +226,7 @@ if ($socid > 0) print "FaxEmail"; $sql = "SELECT a.id, ".$db->pdate("a.datea")." as da, c.libelle, u.code, a.propalrowid, a.fk_user_author, fk_contact, u.rowid "; - $sql .= " FROM llx_actioncomm as a, c_actioncomm as c, llx_user as u "; + $sql .= " FROM actioncomm as a, c_actioncomm as c, llx_user as u "; $sql .= " WHERE a.fk_soc = $objsoc->idp "; $sql .= " AND u.rowid = a.fk_user_author"; $sql .= " AND c.id=a.fk_action ";