Ln(5); $pdf->SetFont('Arial','BI', $tp); if (est_anglophone()) { $pdf->Cell(0,$ht,convertirc("Done at " . $_SESSION['villeSociete'].", on ".dateLang($entetevenant['dateSysteme'])),0,1,'C',false); } else { $pdf->Cell(0,$ht,convertirc("Fait à " . $_SESSION['villeSociete'].", le ".dateLang($entetevenant['dateSysteme'])),0,1,'C',false); } $pdf->Ln(10); $pdf->SetFont('Arial','BU', $tp); $pdf->Cell(0,$ht,convertirc(_("Le Souscripteur")),0,0,'L',false); $pdf->Cell(0,$ht,convertirc(_("Pour l'assureur")),0,0,'R',false); $nomEtatAvenant = $_SESSION['nomEtatAvenant']; // création du fichier $uniqid = uniqid(); $to_upload="Temp/TMP_$nomEtatAvenant"."_"."$uniqid.pdf"; $fichierTemp="Temp/$uniqid.pdf"; $pdf->Output($fichierTemp,"F"); // $fichier = pdf_to_image($fichierTemp, $to_upload, $uniqid, "0"); // => Pour cnvertir en image => eviter la cibversion en Word $fichier = $fichierTemp; $t_html ='
'; $t_html .=' TELECHARGER '; $t_html .='