major commit
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
require_once '../session_init.php';
|
||||
require_once 'config.inc.php';
|
||||
require_once 'db.class.php';
|
||||
require_once 'entete.html';
|
||||
require_once 'entete.php';
|
||||
|
||||
$idVotation =$_GET["id"];
|
||||
|
||||
@ -21,7 +21,7 @@ $dolibarr = new dbDolibarr();
|
||||
|
||||
if (empty($idVotation))
|
||||
{
|
||||
choixVotation('/gestionsite/envoiMailing.php') ;
|
||||
choixVotation('./envoiMailing.php') ;
|
||||
}else
|
||||
{
|
||||
//chargement des données de la votation
|
||||
@ -59,6 +59,7 @@ if (empty($idVotation))
|
||||
print '<pre>' . $adherent['email'] . ' ' . $adherent['firstname'] . ' ' . $adherent['lastname'] . EOLH . nl2br($text) . '</pre>';
|
||||
if ( $_GET['status'] == 'Oui')
|
||||
{
|
||||
//print $text;
|
||||
envoiMail($adherent['email'], $sujet, $text, $html=false, $cc='', $bcc='');
|
||||
//envoiMail('dtux@free.fr', $sujet, $text, $html=false, $cc='', $bcc='');
|
||||
}
|
||||
|
Reference in New Issue
Block a user