";
$msgB .="
";
$msgB .="Chers administrateurs,
";
$msgB .="Une nouvelle inscription cliente a été effectuée sur votre site " .$_SESSION['nomSiteAff']. ". Voici les informations de contact :
";
$msgB .='
---------------------------------
';
$msgB .="
$clientMsg[81] $civ";
$msgB .="
$clientMsg[88] $nom";
$msgB .="
$clientMsg[10] $prenom
";
require_once ($includePath. "/_fonctions/fonctions.gene.php");
$telAff=formatTelAff($tel);
$msgB .="
$clientMsg[11] $telAff ";
$msgB .="
$clientMsg[8] $idMail";
$msgB .='
---------------------------------
';
$msgB .='
Voir les statistiques
';
try {
// $msgB .=file_get_contents($prodServer. "/Publication/piedDePageMail/ppdp_" .$lg. ".php");
$url=$prodServer. "/Publication/piedDePageMail/pdpMail_" .$lg. ".php";
$ch=curl_init();
$timeout=5;
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_TIMEOUT, $timeout);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);
$result=curl_exec($ch);
curl_close($ch);
$msgB .= $result;
}
catch (Exception $e) {
if (isset($debug[1]) && $debug[1] == '1' ) {echo $e->getMessage();}
}
$msgB=stripslashes($msgB);
if (isset($debug[1]) && $debug[1] == '1' ) { $debugMsg .= monDebug(2, ['message_' => $msgB, 'nbAdmin' => $nbAdmin ], 'client.insc.mailAdmins.php');}
// ---------------------------------------------------
// Pied de page
// ---------------------------------------------------
include ("./admin/mails/pdpAdmin.php");
$msgB .=stripslashes($msgPdp);
$message_business = '