48 lines
1.5 KiB
PHP
Executable File
48 lines
1.5 KiB
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
$civ='';
|
|
$nom='';
|
|
$prenom='';
|
|
$tel='';
|
|
$idMail='';
|
|
$user_agent='';
|
|
$prenom='';
|
|
include_once("mailer.v04.php");
|
|
include_once ($includePath. "/req/14-init.mailMsgList.php");
|
|
$sujet=$mailMsg[0];
|
|
echo "dd".$sujet;
|
|
if (isset($_SESSION['nomSiteAff'])) $test= strpos($sujet, $_SESSION['nomSiteAff']);
|
|
if($test==false) $sujet.=' ' .$_SESSION['nomSiteAff'];
|
|
$test=-1;
|
|
if (isset($_SERVER['REQUEST_URI'])) $test=strpos($_SERVER['REQUEST_URI'],"wbadm");
|
|
if ($test > 0 ) {
|
|
$sujet="en Test --- " .$sujet;
|
|
}
|
|
$msg='';
|
|
$msg .="<br>";
|
|
$msg .="<img src='" .$mailImgPt[18]. "' /><br><br>";
|
|
$msg .="" .$civ;
|
|
$msg .=" " .$nom;
|
|
$msg .=" " .$prenom;
|
|
$msg .=",";
|
|
$mailMsg[1]=str_replace ("''","'",$mailMsg[1] );
|
|
$msg .=$mailMsg[1];
|
|
$msg .="<br>" .$civ;
|
|
$msg .=" " .$nom;
|
|
$msg .=" " .$prenom;
|
|
require_once ($includePath. "/_fonctions/fonctions.gene.php");
|
|
$telAff=formatTelAff($tel);
|
|
$msg .="<br>" .$clientMsg[11].$telAff;
|
|
$msg .="<br>" .$clientMsg[8].$idMail;
|
|
|
|
// ---------------------------------------------------
|
|
// Pied de page
|
|
// ---------------------------------------------------
|
|
if ($lg=='') {$lg="FRA";}
|
|
$url=$prodServer. "/Publication/piedDePageMail/pdpMail_" .$lg. ".php";
|
|
include ('lireContent.php');
|
|
|
|
$msg .=$lire;
|
|
$msg=stripslashes($msg);
|
|
$message_html = '<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>' .$sujet. '</title></head><body>' .$msg. '<br></body></html>';
|
|
?>
|