fxGetRow($sqlEvenement); $body = str_replace('%nom_evenement%', fxUnescape($recEvenement['eve_nom_' . $strLangue]), $body); $strMessageEtat = fxShowApprobation($strNoPanier, $strLangue); $body = str_replace('%message_etat%', $strMessageEtat, $body); $body = str_replace('%logo_evenement%', $vDomaine . $vRepertoireFichiers . '/images/evenements/' . $recEvenement['eve_logo_facture_' . $strLangue], $body); $body = str_replace('%web_evenement%', '' . $recEvenement['eve_siteweb'] . '', $body); $body = str_replace('%contact_evenement%', '' . $recEvenement['eve_contact'] . '', $body); $strTrousse = fxShowAdresseMagasin($strNoPanier, $strLangue); $body = str_replace('%trousse%', $strTrousse, $body); $body = str_replace('%to_mail%', $to_mail, $body); $body = str_replace('%subject%', $subject, $body); $body = str_replace('%details%', $details, $body); $body = str_replace('%termes%', fxShowTermesAcceptes($strNoPanier, $strLangue), $body); if ($blnReceipt) { if ($strLangue == 'fr') { $attachment_label = 'Voir le reçu d\'impôts'; } else { $attachment_label = 'See the tax receipt'; } $body = str_replace('%attachment_url%', $attachment_url, $body); $body = str_replace('%attachment_label%', $attachment_label, $body); } // Confirmation commande NEW - END echo fxUpdateLiensInternes($body); } else { if ($strLangue == 'fr') { ?>
La facture est introuvable !
The invoice was not found !