summaryrefslogtreecommitdiff
path: root/beta_old1/app/sendmail.php
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:29:21 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-06-30 11:29:21 +0200
commit4f0df31cc153855d099e4c06228a6cf1bf51eeca (patch)
tree0c93c6b44d7b7025935d822d4209172ef0eef2b8 /beta_old1/app/sendmail.php
parent19cdd5e2fde57d53f05570cd50f5ffd223182566 (diff)
download2007-AWOR-4f0df31cc153855d099e4c06228a6cf1bf51eeca.tar.gz
2007-AWOR-4f0df31cc153855d099e4c06228a6cf1bf51eeca.tar.bz2
2007-AWOR-4f0df31cc153855d099e4c06228a6cf1bf51eeca.zip
Version beta_old1 (sans la doc) 2007-02-22+15:00 - 2007-03-11+16:41:00
Diffstat (limited to 'beta_old1/app/sendmail.php')
-rw-r--r--beta_old1/app/sendmail.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/beta_old1/app/sendmail.php b/beta_old1/app/sendmail.php
index e62a4a5..6969701 100644
--- a/beta_old1/app/sendmail.php
+++ b/beta_old1/app/sendmail.php
@@ -48,7 +48,7 @@ if( isset($_POST['envoi']) )
else
{
// Potentiellement dangereux...
- $query='SELECT nomP, prenomP, courrielP FROM Personne WHERE idP=\'' . implode("' OR idP='", $_POST['dataParticipants']) . "'";
+ $query='SELECT nomP, prenomP, courrielP FROM AWOR_Personne WHERE idP=\'' . implode("' OR idP='", $_POST['dataParticipants']) . "'";
//~ echo " DEBUG : QUERY : $query\n";
$result = mysql_query($query);
if ( ! $result )
@@ -65,7 +65,7 @@ if( isset($_POST['envoi']) )
$to=implode(', ',$to);
- if ( ! mail ( $to, urldecode($_POST['msgObject']), wordwrap(urldecode($_POST['msgText']),70), 'From: ' . $CONFIG['automatedMail'] . "\r\n" ) )
+ if ( ! mail ( $to, $_POST['msgObject'], wordwrap($_POST['msgText'],70), 'From: ' . $CONFIG['automatedMail'] . "\r\n" ) )
{
$errmsg = "Erreur lors de l'émission de l'email : Erreur inconnue";
}
@@ -86,7 +86,7 @@ if( isset($_POST['envoi']) )
}
-$result = mysql_query("SELECT idL FROM Reunion WHERE idR='$idR'");
+$result = mysql_query("SELECT idL FROM AWOR_Reunion WHERE idR='$idR'");
if (mysql_num_rows($result)===1)
{
list($idL) = mysql_fetch_array($result);
@@ -119,7 +119,7 @@ else
<select name="contactDispo" size="10" id="contactDispo">
<?php
$personnes = array();
- $req = 'SELECT P.idP , P.courrielP , P.nomP , P.prenomP FROM Personne P, Appartenir A WHERE P.idP=A.idP AND A.idL=' . $idL;
+ $req = 'SELECT P.idP , P.courrielP , P.nomP , P.prenomP FROM AWOR_Personne P, AWOR_Appartenir A WHERE P.idP=A.idP AND A.idL=' . $idL;
$result = mysql_query($req) ;
if (mysql_num_rows($result)>0)