summaryrefslogtreecommitdiff
path: root/appli_3_alpha_old/sendmail.php~
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 10:05:02 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 10:05:02 +0200
commit71b503f07007346eda3d1da71d4a64f31f13d846 (patch)
tree3d1aaa880857eb05e7e9c1f2d75f309507dd9c07 /appli_3_alpha_old/sendmail.php~
parent756f0fa75c7d8e18188dffdfbdd4416651dca9fe (diff)
download2007-AWOR-71b503f07007346eda3d1da71d4a64f31f13d846.tar.gz
2007-AWOR-71b503f07007346eda3d1da71d4a64f31f13d846.tar.bz2
2007-AWOR-71b503f07007346eda3d1da71d4a64f31f13d846.zip
Prmère version alpha 2007-02-03+09:07:04 - 2007-02-06+12:19:50
Diffstat (limited to 'appli_3_alpha_old/sendmail.php~')
-rw-r--r--appli_3_alpha_old/sendmail.php~47
1 files changed, 47 insertions, 0 deletions
diff --git a/appli_3_alpha_old/sendmail.php~ b/appli_3_alpha_old/sendmail.php~
new file mode 100644
index 0000000..4b5248d
--- /dev/null
+++ b/appli_3_alpha_old/sendmail.php~
@@ -0,0 +1,47 @@
+<?php
+require('include/ludo/session_verify.inc.php');
+require_once('include/ludo/html_elements.inc.php');
+generate_html_doctype_and_head("Envoi de courriel");
+echo "<body>\n";
+generate_html_divs_menu();
+?>
+ <div id="sous_menu">
+ <p class="arbre">
+ &gt; <a href="index.php">Accueil</a>
+ &gt; <a href="index.php">R&eacute;unions</a>
+ &gt; Envoi de courriel
+ </p>
+ </div>
+<?php generate_html_div_help(); ?>
+ <div id="contenu">
+ <pre>
+<?php print_r($_REQUEST); ?>
+ </pre>
+<?php
+ require_once 'include/connect.inc.php';
+ if ($_GET['idL'] != "None")
+ {
+ $req = "SELECT P.idP , P.courrielP , P.nomP , P.prenomP FROM Personne P";
+ if ($_GET['idL'] != "Tous") {$req=$req.",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="'.$row[0].'" onDblClick="addPers(this.form);">';
+ echo $row[2] . " " . $row[3];
+ echo '</option>';
+ }
+ }
+ echo '</select>';
+ }
+?>
+
+
+ </div>
+</body>
+</html>
+