From 4f0df31cc153855d099e4c06228a6cf1bf51eeca Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 30 Jun 2018 11:29:21 +0200 Subject: Version beta_old1 (sans la doc) 2007-02-22+15:00 - 2007-03-11+16:41:00 --- beta_old1/app/poppersonne.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'beta_old1/app/poppersonne.php') diff --git a/beta_old1/app/poppersonne.php b/beta_old1/app/poppersonne.php index 3335c6b..e9225ba 100644 --- a/beta_old1/app/poppersonne.php +++ b/beta_old1/app/poppersonne.php @@ -24,8 +24,8 @@ if (!isset($_GET['idL'])) else { echo "dataListe('participants','dataParticipants'));\">"; - if (isset($_GET['idR'])) $req = "SELECT * FROM Liste L,Reunion R WHERE (L.idP_Createur=".$_GET['idP_orga']." OR R.idP_Orga=".$_GET['idP_orga'].") AND R.idL=L.idL"; - else $req = "SELECT * FROM Liste L,Reunion R WHERE L.idL=".$_GET['idL']." AND L.idP_Createur=".$_GET['idP_orga']; + if (isset($_GET['idR'])) $req = "SELECT * FROM AWOR_Liste L,AWOR_Reunion R WHERE (L.idP_Createur=".$_GET['idP_orga']." OR R.idP_Orga=".$_GET['idP_orga'].") AND R.idL=L.idL"; + else $req = "SELECT * FROM AWOR_Liste L,AWOR_Reunion R WHERE L.idL=".$_GET['idL']." AND L.idP_Createur=".$_GET['idP_orga']; $result = mysql_query($req); if (mysql_num_rows($result)>0) { @@ -46,7 +46,7 @@ else ".$_GET['idL']; $req .= " ORDER BY estPrivee"; $result = mysql_query($req); @@ -83,7 +83,7 @@ else 0) { -- cgit v1.2.3