summaryrefslogtreecommitdiff
path: root/final/app/poppersonneliste.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-05 00:25:51 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-05 00:25:51 +0200
commitac54f5224d4470de9d8ae088e1338dea52668c9d (patch)
tree7f77b2a8176343e6632fbd99ff431c21974ef482 /final/app/poppersonneliste.php
parent9738017972a6d4fea655926525b3c67dd85740cf (diff)
download2007-AWOR-ac54f5224d4470de9d8ae088e1338dea52668c9d.tar.gz
2007-AWOR-ac54f5224d4470de9d8ae088e1338dea52668c9d.tar.bz2
2007-AWOR-ac54f5224d4470de9d8ae088e1338dea52668c9d.zip
Renommage beta_accents -> final pour diffs
Diffstat (limited to 'final/app/poppersonneliste.php')
-rw-r--r--final/app/poppersonneliste.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/final/app/poppersonneliste.php b/final/app/poppersonneliste.php
new file mode 100644
index 0000000..af3a896
--- /dev/null
+++ b/final/app/poppersonneliste.php
@@ -0,0 +1,27 @@
+<?php
+ require_once 'include/connect.inc.php';
+ if ($_GET['idL'] != "None")
+ {
+ $req = "SELECT P.idP , P.courrielP , P.nomP , P.prenomP FROM AWOR_Personne P";
+ if ($_GET['idL'] != "Tous") {$req=$req.",AWOR_Appartenir A WHERE P.idP=A.idP AND A.idL=".$_GET['idL'];}
+ $result = mysql_query($req) ;
+ echo '<select name="contactDispo" size="10" id="contactDispo">';
+
+ if (mysql_num_rows($result)>0)
+ {
+ for($i=0;$i<mysql_num_rows($result);$i++)
+ {
+ $row = mysql_fetch_array($result);
+ echo '<option value="'.htmlentities($row[0], ENT_QUOTES).'" onDblClick="addPers(this.form);">';
+ echo htmlentities($row[2], ENT_QUOTES) . " " . htmlentities($row[3], ENT_QUOTES);;
+ echo '</option>';
+ }
+ }
+ echo '</select>';
+ }
+ else
+ {
+ echo "&nbsp;";
+ }
+
+?>