"; $msgB .="" .$mailAlt[19]. "

"; $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 = '' .$sujet. '' .$msgB. '
'; if (isset($debug[1]) && $debug[1] == '1' ) {echo 'message_business=' .$message_business. '
';} // --------------------------------------------------- // Envoi des mails pour chaque admin // --------------------------------------------------- include ($includePath. "/req/15-init.adminMsgList.php"); for ( $ijk=0 ; $ijk<$_SESSION['nbAdmin'] ; $ijk++) { if (isset($debug[1]) && $debug[1] == '1' ) { $debugMsg .= '
tableLibAdmin[' .$ijk. ']=' .$tableLibAdmin[$ijk]. ' | tableAdminSms[' .$ijk. ']=' .$tableAdminSms[$ijk]. '
';} if ($lg=='') {$lg='FRA';} $envMail = mailer(1, '','', 0, $_SESSION['smtpServer123'], $sujet, $message_business, $tableLibAdmin[$ijk], '', '', 0, $navMsg[9], $navMsg[22], '0', '', '', $_SESSION['expediteur_mails123'], $_SESSION['from_mails123'], '', $lg); }//for nb admin ?>