Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (!empty($_POST['submit']))
- {
- $client=$_POST['client'];
- $lightning=$_POST['lightning'];
- $power=$_POST['power'];
- $adv=$_POST['adv'];
- $setup=$_POST['setup'];
- $adds=$_POST['adds'];
- $production=$_POST['production'];
- $setupppl=$_POST['setupppl'];
- $foil=$_POST['foil'];
- $dibond=$_POST['dibond'];
- $pcv=$_POST['pcv'];
- $color=$_POST['color'];
- $styrodur=$_POST['styrodur'];
- $alu=$_POST['alu'];
- $plexi=$_POST['plexi'];
- $painting=$_POST['painting'];
- $other=$_POST['other'];
- $filler=$_POST['filler'];
- require 'fpdf181/fpdf.php';
- $pdf=new FPDF();
- $pdf->AddPage();
- $pdf->SetFont("Arial","B",16);
- $pdf->Cell(0,10,"Karta opisowa zlecenia MEDIAINDUSTRY",1,1,'C');
- $pdf->Cell(50,10,"Klient:",1,0);
- $pdf->Cell(65,10,"$client",1,1);
- $pdf->Cell(50,10,"Forma reklamy:",1,0);
- $pdf->Cell(65,10,"$adv",1,1);
- $pdf->Cell(50,10,"Oswietlenie:",1,0);
- $pdf->Cell(65,10,"$lightning",1,1);
- $pdf->Cell(50,10,"Zasilacz:",1,0);
- $pdf->Cell(65,10,"$power",1,1);
- $pdf->Cell(50,10,"Montaz:",1,0);
- $pdf->Cell(65,10,"$setup",1,1);
- $pdf->Cell(50,10,"Uwagi:",1,0);
- $pdf->MultiCell(65,10,"$adds",1,1);
- $pdf->Cell(50,10,"Produkcja:",1,0);
- $pdf->Cell(65,10,"$production",1,1);
- $pdf->Cell(50,10,"Montaz:",1,0);
- $pdf->Cell(65,10,"$setupppl",1,1);
- $pdf->Cell(50,10,"Folia:",1,0);
- $pdf->Cell(65,10,"$foil",1,1);
- $pdf->Cell(50,10,"Dibond:",1,0);
- $pdf->Cell(65,10,"$dibond",1,1);
- $pdf->Cell(50,10,"PCV:",1,0);
- $pdf->Cell(65,10,"$pcv",1,1);
- $pdf->Cell(50,10,"Kolor blach:",1,0);
- $pdf->Cell(65,10,"$color",1,1);
- $pdf->Cell(50,10,"Styrodur:",1,0);
- $pdf->Cell(65,10,"$styrodur",1,1);
- $pdf->Cell(50,10,"Profile Alu:",1,0);
- $pdf->Cell(65,10,"$alu",1,1);
- $pdf->Cell(50,10,"Plexi:",1,0);
- $pdf->Cell(65,10,"$plexi",1,1);
- $pdf->Cell(50,10,"Malowanie:",1,0);
- $pdf->Cell(65,10,"$painting",1,1);
- $pdf->Cell(50,10,"Inne:",1,0);
- $pdf->Cell(65,10,"$other",1,1);
- $pdf->Cell(50,10,"Rozpisal:",1,0);
- $pdf->Cell(65,10,"$filler",1,1);
- $pdf->AddPage();
- $pdf->SetFont("Arial","B",16);
- $pdf->Cell(0,10,"Zasilanie (rysunek/szkice)",1,1,'C');
- $attachment=$_POST['attachment'];
- $pdf->Image("$attachment");
- $pdf->Output();
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement