$y = 109; $line = array("ETATS" => "ETAT DE LA BASE DU LIT", "OBSERVATIONS" => "{$etatbase}"); $size = $pdf->addLine($y, $line); $y += $size + 12; $line = array("ETATS" => "ETAT DES BARRIERES", "OBSERVATIONS" => "{$etatbarriere}"); $size = $pdf->addLine($y, $line); $y += $size + 12; $line = array("ETATS" => "ETAT DES PANNEAUX", "OBSERVATIONS" => "{$etatpanneaux}"); $size = $pdf->addLine($y, $line); $y += $size + 12; $line = array("ETATS" => "ETAT MOTEUR CENTRAL", "OBSERVATIONS" => "{$etatmoteur}"); $size = $pdf->addLine($y, $line); $y += $size + 12; $line = array("ETATS" => "MOTEUR HAUT.VARIABLE", "OBSERVATIONS" => "{$etatvariable}"); $size = $pdf->addLine($y, $line); $y += $size + 12; $line = array("ETATS" => "MOTEUR RELEVE BUSTE", "OBSERVATIONS" => "{$etatreleve}"); $size = $pdf->addLine($y, $line); $y += $size + 12; $line = array("ETATS" => "ETAT TELECOMMANDE", "OBSERVATIONS" => "{$etattelecommande}"); $size = $pdf->addLine($y, $line); $y += $size + 12; $line = array("ETATS" => "ETAT DU PERROQUET", "OBSERVATIONS" => "{$etatperroquet}"); $size = $pdf->addLine($y, $line); $y += $size + 12; $line = array("ETATS" => "AUTRES ACCESSOIRES", "OBSERVATIONS" => "{$description}"); $size = $pdf->addLine($y, $line); $y += $size + 4; $pdf->addsignature(); //$pdf->Output("$repconstratlit\CL"."$reflit"."_"."$today.pdf",'F'); $pdf->Output();