| Current Path : /home/h/a/p/happyrenas/myreco.online/ |
Linux webd005.cluster105.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 |
| Current File : /home/h/a/p/happyrenas/myreco.online/include_myrecoeat.php |
<?
$sujet = utf8_decode("Votre accès privilégié à MyReco Eat");
$message_titre="Bienvenue sur MyReco Eat";
$message_body="Félicitations !<br><br>
Voici votre accès gratuit et immédiat à <br><b>MyReco Eat</b><br>
{lien_myreco_eat}
<br>";
$texte_lien_alternatif="Si le bouton ci-dessus ne s'affiche pas correctement, suivez le lien ci dessous";
if ($langue)
{
$sujet = utf8_decode("Your privileged access to MyReco Eat");
$message_titre="Welcome to MyReco Eat";
$message_body="Congratulations !<br><br>
Here is your free and immediate access to <br><b>MyReco Eat</b><br>
{lien_myreco_eat}
<br>";
$texte_lien_alternatif="If the button above does not display correctly, follow the link below";
}
$destinataire = $saisie_email;
$preheader = $sujet;
$lien_myreco_eat = "https://www.myreco.online/fiche_lite_choix.php";
$bouton="
<table role='presentation' border='0' cellpadding='0' cellspacing='0' style='border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;' width='100%'>
<tr>
<td style='color:#FFF;text-align:center;font-family: sans-serif; font-size: 14px; vertical-align: top;' valign='top' padding-left: 20px; padding-right: 20px;><a href='".$lien_myreco_eat."' class='cta-button' style='display: inline-block;'> Accéder à My Reco Eat</a></td>
</tr>
</table><br>
<small>".$texte_lien_alternatif." :</b><br> ".$lien_myreco_eat;
$message_body = str_replace("{lien_myreco_eat}",$bouton,$message_body);
$mail = new PHPmailer();
$mail->isHTML(true);
$mail->isSMTP();
$mail->Host = 'ssl0.ovh.net';
$mail->SMTPAuth = true;
$mail->Username = 'noreply@my-reco.online';
$mail->Password = 'c#?EzMz!)%JDp6T';
$mail->SMTPSecure = 'STARTTLS';
$mail->Port = 587;
$mail->setFrom('noreply@my-reco.online', 'MyReco');
$mail->addAddress('philippe-jean@outlook.fr');
$mail->addReplyTo('noreply@my-reco.online');
include("matrice/matrice_parrainage.php");
//$mail->addBCC("philippe-jean@outlook.fr");
$mail->Subject=$sujet;
$mail->Body=$message;
$mail->AddEmbeddedImage("img/myreco_eat.png", "signature");
$mail->Send();
unset($mail);
$adresse_ip = $db->escape(getUserIP());
$os = $db->escape(getOS());
$navigateur = $db->escape(getBrowser());
$user_agent = $db->escape($_SERVER['HTTP_USER_AGENT']);
$date_visite = date("Y-m-d H:i");
$scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http";
$host = $_SERVER['HTTP_HOST'];
$uri = $_SERVER['REQUEST_URI'];
$url_capture = $scheme . "://" . $host . $uri;
$requete_insert="INSERT INTO utilisateur_lite(email,adresse_ip,os,navigateur,user_agent,langue,url_capture,date_visite) VALUES('$saisie_email','$adresse_ip','$os','$navigateur','$user_agent','$langue','$url_capture','$date_visite')";
$db->query($requete_insert);
$_SESSION['neplusafficher']="1";
?>