Subversion Repositories Applications.papyrus

Rev

Rev 833 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 833 Rev 933
Line 302... Line 302...
302
        die ($resultat->getMessage().'<br />'.$resultat->getDebugInfo());
302
        die ($resultat->getMessage().'<br />'.$resultat->getDebugInfo());
303
    }
303
    }
304
    $ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC);
304
    $ligne = $resultat->fetchRow(DB_FETCHMODE_ASSOC);
305
    $entete = "From: <".$ligne[INS_CHAMPS_MAIL].">\n";
305
    $entete = "From: <".$ligne[INS_CHAMPS_MAIL].">\n";
Line 306... Line 306...
306
    
306
    
307
    $_POST['corps'] .= ANN_PIED_MESSAGE;
307
    $_POST['corps'] .= INS_PIED_MESSAGE;
308
    $_POST['corps'] = stripslashes($_POST['corps']) ;
308
    $_POST['corps'] = stripslashes($_POST['corps']) ;
309
    $liste = "" ;
309
    $liste = "" ;
310
    $liste_numero = implode (',', $_POST['select']) ;
310
    $liste_numero = implode (',', $_POST['select']) ;
311
    $requete_liste_mail = 'select '.INS_CHAMPS_MAIL.' from '.INS_ANNUAIRE.' where '.INS_CHAMPS_ID.
311
    $requete_liste_mail = 'select '.INS_CHAMPS_MAIL.' from '.INS_ANNUAIRE.' where '.INS_CHAMPS_ID.
Line 316... Line 316...
316
        mail ($ligne_liste_mail[INS_CHAMPS_MAIL], stripslashes($_POST['titre_mail']), $_POST['corps'] , $entete) ;
316
        mail ($ligne_liste_mail[INS_CHAMPS_MAIL], stripslashes($_POST['titre_mail']), $_POST['corps'] , $entete) ;
317
        $liste .= $ligne_liste_mail[INS_CHAMPS_MAIL]."\n" ;
317
        $liste .= $ligne_liste_mail[INS_CHAMPS_MAIL]."\n" ;
318
    }
318
    }
Line 319... Line 319...
319
    
319
    
320
    $_POST['corps'] .= "\n----------------------------------------------------------------------------";
320
    $_POST['corps'] .= "\n----------------------------------------------------------------------------";
Line 321... Line 321...
321
    $_POST['corps'] .= "\n".ANN_MESSAGE_ENVOYE_A." :\n $liste" ;
321
    $_POST['corps'] .= "\n".INS_MESSAGE_ENVOYE_A." :\n $liste" ;
322
    
322
    
323
    mail (INS_MAIL_ADMIN_APRES_INSCRIPTION, stripslashes($_POST['titre_mail']), $_POST['corps'], $entete);
323
    mail (INS_MAIL_ADMIN_APRES_INSCRIPTION, stripslashes($_POST['titre_mail']), $_POST['corps'], $entete);
324
    $_POST['corps'] = '';
324
    $_POST['corps'] = '';
325
    $_POST['titre_mail'] = '';
325
    $_POST['titre_mail'] = '';
Line 326... Line 326...
326
    return '<div>'.ANN_MAIL_ENVOYER.'</div>' ;
326
    return '<div>'.INS_MAIL_ENVOYE.'</div>' ;
327
}
327
}
328
 
328
 
Line 590... Line 590...
590
    $GLOBALS['titre_mail'] = '';
590
    $GLOBALS['titre_mail'] = '';
591
}
591
}
592
//-- Fin du code source    ------------------------------------------------------------
592
//-- Fin du code source    ------------------------------------------------------------
593
/*
593
/*
594
* $Log$
594
* $Log$
-
 
595
* Revision 1.5  2006/04/28 12:44:05  florian
-
 
596
* integration bazar
-
 
597
*
595
* Revision 1.4  2006/04/11 08:39:52  alexandre_tb
598
* Revision 1.4  2006/04/11 08:39:52  alexandre_tb
596
* correction de l'envoie de mail par la carto
599
* correction de l'envoie de mail par la carto
597
*
600
*
598
* Revision 1.3  2006/04/10 14:21:51  florian
601
* Revision 1.3  2006/04/10 14:21:51  florian
599
* correction bug affichage formulaire de mail en double
602
* correction bug affichage formulaire de mail en double