Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php goto iAjoR; kS9KQ: class PDF extends FPDF { protected $B = 0; protected $I = 0; pr..
Decoded Output download
<?php
goto iAjoR; kS9KQ: class PDF extends FPDF { protected $B = 0; protected $I = 0; protected $U = 0; protected $HREF = ''; function WriteHTML($html) { $html = str_replace("
", " ", $html); $a = preg_split("/<(.*)>/U", $html, -1, PREG_SPLIT_DELIM_CAPTURE); foreach ($a as $i => $e) { if ($i % 2 == 0) { if ($this->HREF) { $this->PutLink($this->HREF, $e); } else { $this->Write(5, $e); } } else { if ($e[0] == "/") { $this->CloseTag(strtoupper(substr($e, 1))); } else { $a2 = explode(" ", $e); $tag = strtoupper(array_shift($a2)); $attr = array(); foreach ($a2 as $v) { if (preg_match("/([^=]*)=["']?([^"']*)/", $v, $a3)) { $attr[strtoupper($a3[1])] = $a3[2]; } } $this->OpenTag($tag, $attr); } } } } function OpenTag($tag, $attr) { if ($tag == "B" || $tag == "I" || $tag == "U") { $this->SetStyle($tag, true); } if ($tag == "A") { $this->HREF = $attr["HREF"]; } if ($tag == "BR") { $this->Ln(5); } } function CloseTag($tag) { if ($tag == "B" || $tag == "I" || $tag == "U") { $this->SetStyle($tag, false); } if ($tag == "A") { $this->HREF = ''; } } function SetStyle($tag, $enable) { $this->{$tag} += $enable ? 1 : -1; $style = ''; foreach (array("B", "I", "U") as $s) { if ($this->{$s} > 0) { $style .= $s; } } $this->SetFont('', $style); } function PutLink($URL, $txt) { $this->SetTextColor(0, 0, 255); $this->SetStyle("U", true); $this->Write(5, $txt, $URL); $this->SetStyle("U", false); $this->SetTextColor(0); } } goto S9e6c; S9e6c: function create_pdf($name, $position, $skype, $mobile, $Cname, $email, $others, $url, $exactwording, $specificmeaning, $slogan, $shortdescription, $competitors, $logoswhy, $logosdislike, $doOPtional, $briefdescription, $colors, $fonts, $icons, $logos, $conmanyLogo) { $pdf = new PDF(); $pdf->AddPage("P", "A4"); $marginLeft = 10; $marginRight = 10; $marginTop = 10; $marginBottom = 10; $pageWidth = 200; $marginLeft = 10; $marginRight = $pageWidth - $marginLeft; $pageWidth2 = 210; $marginLeft2 = 10; $marginRight2 = $pageWidth2 - $marginLeft2; $imagePath = "images/sample_image.png"; $imageWidth = $pageWidth; $pdf->Image($imagePath, $marginLeft, $pdf->GetY(), $imageWidth, 0); $marginTop = 100 + $marginTop; $pdf->SetXY($marginLeft, $marginTop); $pdf->SetFont("helvetica", "b", 12); $text = "Note: Make sure you save the file before sending it back."; $cellWidth = 70; $cellHeight = 30; $lineHeight = 6; $lines = explode("
", wordwrap($text, $cellWidth, "
")); foreach ($lines as $line) { $pdf->Write($lineHeight, $line); $pdf->Ln($lineHeight); } $marginTopFields = 10 + $marginTop; $pdf->SetXY($marginLeft2, $marginTopFields); $pdf->SetFont("helvetica", "B", 15); $pdf->SetTextColor(25, 25, 63); $contactInformationText = "Contact Information*"; $pdf->Write($lineHeight, $contactInformationText); $pdf->Ln($lineHeight); $pdf->SetTextColor(0, 0, 0); $inputBoxWidth = 180; $inputBoxHeight = 10; $inputText = "Name"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + 5); $pdf->SetFont("helvetica", "b", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -2); $pdf->SetFillColor(230, 230, 230); $pdf->Cell($inputBoxWidth, $inputBoxHeight, $name, 1, 1, "L", true); $inputBoxWidth = 180; $inputBoxHeight = 10; $inputText = "Company Name"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + 5); $pdf->SetFont("helvetica", "b", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -2); $pdf->SetFillColor(230, 230, 230); $pdf->Cell($inputBoxWidth, $inputBoxHeight, $Cname, 1, 1, "L", true); $inputBoxWidth = 180; $inputBoxHeight = 10; $inputText = "Position"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + 5); $pdf->SetFont("helvetica", "b", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -2); $pdf->SetFillColor(230, 230, 230); $pdf->Cell($inputBoxWidth, $inputBoxHeight, $position, 1, 1, "L", true); $inputBoxWidth = 180; $inputBoxHeight = 10; $inputText = "Skype"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + 5); $pdf->SetFont("helvetica", "b", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -2); $pdf->SetFillColor(230, 230, 230); $pdf->Cell($inputBoxWidth, $inputBoxHeight, $skype, 1, 1, "L", true); $inputBoxWidth = 180; $inputBoxHeight = 10; $inputText = "E-mail:"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + 5); $pdf->SetFont("helvetica", "b", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -2); $pdf->SetFillColor(230, 230, 230); $pdf->Cell($inputBoxWidth, $inputBoxHeight, $email, 1, 1, "L", true); $inputBoxWidth = 180; $inputBoxHeight = 10; $inputText = "Website / URL:"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + 5); $pdf->SetFont("helvetica", "b", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -2); $pdf->SetFillColor(230, 230, 230); $pdf->Cell($inputBoxWidth, $inputBoxHeight, $url, 1, 1, "L", true); $pdf->AddPage("P", "A4"); $pageWidth2 = 210; $marginLeft2 = 12; $marginRight2 = $pageWidth2 - $marginLeft2; $imagePath2 = "images/page2_header.png"; $imageWidth2 = $pageWidth2; $pdf->Image($imagePath2, $marginLeft2, $pdf->GetY(), $imageWidth2, 0); $inputBoxWidth = 180; $inputBoxHeight = 30; $inputText = "Exact wording to be used on the logo *"; $pdf->SetXY($marginLeft2 + 4, $pdf->GetY() + 35); $pdf->SetFont("helvetica", "b", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() - 10); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("
", $exactwording); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $exactwording, "B", "L", true); $inputBoxWidth = 180; $inputBoxHeight = 30; $inputText = "Do the words in your company name have a specific meaning ? *"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() - 8); $pdf->SetFont("helvetica", "b", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() - 10); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("
", $specificmeaning); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $specificmeaning, "B", "L", true); $inputBoxWidth = 180; $inputBoxHeight = 6; $inputText = "Slogan / motto if you want to include"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + 3); $pdf->SetFont("helvetica", "B", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY()); $pdf->SetFillColor(255); $pdf->Cell($inputBoxWidth, $inputBoxHeight, '', "B", 0, "L", true); $inputBoxWidth = 180; $inputBoxHeight = 50; $inputText = "Short description of product / service / organization *"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -8); $pdf->SetFont("helvetica", "b", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -18); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("
", $slogan); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $slogan, "B", "L", true); $inputBoxWidth = 180; $inputBoxHeight = 43; $inputText = "Competitors and similar businuess (optional)"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -15); $pdf->SetFont("helvetica", "b", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -17); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("\xa", $competitors); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $competitors, "B", "L", true); $pdf->AddPage("P", "A4"); $pageWidth2 = 210; $marginLeft2 = 12; $marginRight2 = $pageWidth2 - $marginLeft2; $imagePath2 = "images/page3_header.png"; $imageWidth2 = $pageWidth2; $pdf->Image($imagePath2, $marginLeft2, $pdf->GetY(), $imageWidth2, 0); $inputBoxWidth = 180; $inputBoxHeight = 30; $inputText = "Logos you like and why *"; $pdf->SetXY($marginLeft2 + 4, $pdf->GetY() + 35); $pdf->SetFont("helvetica", "b", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -10); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("\xa", $logoswhy); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $logoswhy, "B", "L", true); $inputBoxWidth = 180; $inputBoxHeight = 30; $inputText = "Logos you dislike and why *"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() - 8); $pdf->SetFont("helvetica", "b", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() - 10); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("
", $logosdislike); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $logosdislike, "B", "L", true); $inputBoxWidth = 180; $inputBoxHeight = 20; $inputText = "Do's (optional)"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() - 5); $pdf->SetFont("helvetica", "B", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -6); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("\xa", $doOPtional); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $doOPtional, "B", "L", true); $inputBoxWidth = 180; $inputBoxHeight = 50; $inputText = "Don'ts (optional)"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -18); $pdf->SetFont("helvetica", "b", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $ExactwordingInLogo = ''; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -20); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("\xa", $ExactwordingInLogo); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $ExactwordingInLogo, "B", "L", true); $inputBoxWidth = 180; $inputBoxHeight = 43; $inputText = "Please supply a brief description of the design you have in mind and any other \xainformation that"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -13); $pdf->SetFont("helvetica", "b", 11); $pdf->Cell(0, $inputBoxHeight - 5, $inputText, 0, 1, "L"); $inputText = "would be useful"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -32); $pdf->SetFont("helvetica", "b", 11); $pdf->Cell(0, $inputBoxHeight - 5, $inputText, 0, 1, "L"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -15); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("\xa", $briefdescription); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $briefdescription, "B", "L", true); $pdf->AddPage("P", "A4"); $pageWidth5 = 210; $marginLeft5 = 4; $marginRight5 = $pageWidth5 - $marginLeft5; $marginTop = 10; $imagePath5 = "images/page4_header.png"; $imageWidth5 = $pageWidth5; $pdf->Image($imagePath5, $marginLeft5, $pdf->GetY(), $imageWidth5, 0); $inputText = "YOUR COMPANY LOOK AND FEEL"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() + 23); $pdf->SetFont("helvetica", "b", 12); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $imagePaths = array("images/Your Company/Artistic.png", "images/Your Company/Minimal.png", "images/Your Company/Sophisticated.png", "images/Your Company/Corporate.png", "images/Your Company/Childish.png"); $imageWidth = 40; $marginLeft = 12; $marginTop = 8; $imagePaths = array("images/Your Company/Web20.png", "images/Your Company/Retro.png", "images/Your Company/Fun.png", "images/Your Company/HiTech.png", "images/Your Company/Feminine.png"); $marginToprow2 = -20; $imageWidth = 40; $marginLeft = 12; foreach ($conmanyLogo as $key => $imagePath) { $temp = "images/Your Company/" . str_replace(",", '', $imagePath) . ".png"; $pdf->Image($temp, $marginLeft, $pdf->GetY() + $marginToprow2, $imageWidth, 30); $marginLeft += $imageWidth; if (($key + 1) % 4 === 0) { $marginLeft = 12; $pdf->SetY($pdf->GetY() + 30); } } $pdf->SetY($pdf->GetY() + 25); $inputText = "Logo Types*"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() - 20); $pdf->SetFont("helvetica", "b", 20); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $inputText = "1 FONT BASED LOGOS"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() - 33); $pdf->SetFont("helvetica", "b", 12); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $inputText = "A text treatment which represents your Company's activity, product or service."; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() - 37); $pdf->SetFont("helvetica", '', 9); $pdf->SetTextColor(128, 128, 128); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $imageWidth = 100; $marginLeft = 12; $marginTop = 8; $maxImagesPerRow = 2; foreach ($logos as $key => $imagePath) { $temp = "images/logos/" . str_replace(",", '', $imagePath) . ".png"; $pdf->Image($temp, $marginLeft, $pdf->GetY() - 12, $imageWidth, 30); $marginLeft += $imageWidth; if (($key + 1) % $maxImagesPerRow === 0) { $marginLeft = 12; $pdf->SetY($pdf->GetY() + 35); } } $pdf->SetY($pdf->GetY() + 20); $pdf->SetY($pdf->GetY() + 50); $pdf->AddPage("P", "A4"); $pageWidth5 = 210; $marginLeft5 = 4; $marginRight5 = $pageWidth5 - $marginLeft5; $marginTop = 10; $imagePath5 = "images/page4_header.png"; $imageWidth5 = $pageWidth5; $pdf->Image($imagePath5, $marginLeft5, $pdf->GetY(), $imageWidth5, 0); $pdf->SetTextColor(0, 0, 0); $inputText = "2 ICON BASED LOGOS"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() + 23); $pdf->SetFont("helvetica", "b", 12); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $inputText = "A graphic/symbol which represents your Company's activity, product or service"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() - 37); $pdf->SetFont("helvetica", '', 9); $pdf->SetTextColor(128, 128, 128); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $imagePaths = array("images/Your Company/row3 Artistic.png", "images/Your Company/row3 Handmade.png", "images/Your Company/row3 Font+Meaning.png", "images/Your Company/row3 Initials.png", "images/Your Company/row3 Emblem.png", "images/Your Company/row3 Initials.png", "images/Your Company/row3 Emblem.png"); $imageWidth = 100; $marginLeft = 12; $marginTop = 8; $maxImagesPerRow = 2; foreach ($icons as $key => $imagePath) { $temp = "images/iconBased/" . str_replace(",", '', $imagePath) . ".png"; $pdf->Image($temp, $marginLeft, $pdf->GetY() - 5, $imageWidth, 30); $marginLeft += $imageWidth; if (($key + 1) % $maxImagesPerRow === 0) { $marginLeft = 12; $pdf->SetY($pdf->GetY() + 50); } } $pdf->SetY($pdf->GetY() + 20); $pdf->AddPage("P", "A4"); $pageWidth6 = 210; $marginLeft6 = 12; $marginRight6 = $pageWidth6 - $marginLeft6; $imagePath6 = "images/page6_header.png"; $imageWidth6 = $pageWidth6; $pdf->Image($imagePath6, $marginLeft6, $pdf->GetY(), $imageWidth6, 0); $pdf->SetTextColor(0, 0, 0); $inputText = "1 FONT STYLE"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() + 23); $pdf->SetFont("helvetica", "b", 12); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $inputText = "Your Selected font style:"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() - 37); $pdf->SetFont("helvetica", '', 9); $pdf->SetTextColor(128, 128, 128); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $marginTop = -20; $allImagePaths = array("images/font-imgs/Artboard13.jpg", "images/font-imgs/Artboard14.jpg", "images/font-imgs/Artboard15.jpg"); $imageWidth = 35; $marginLeft = 15; foreach ($fonts as $key => $imagePath) { $temp = "images/font-imgs/" . str_replace(",", '', $imagePath) . ".jpg"; $pdf->Image($temp, $marginLeft, $pdf->GetY() + $marginTop, $imageWidth, 25); $marginLeft += $imageWidth; if (($key + 1) % 5 === 0) { $marginLeft = 12; $pdf->SetY($pdf->GetY() + 25); } } $pdf->SetY($pdf->GetY() + -25); $pdf->SetTextColor(0, 0, 0); $inputText = "4 COLOR PALETTE"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() + 10); $pdf->SetFont("helvetica", "b", 12); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $inputText = "Your Selected colors:"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() - 36); $pdf->SetFont("helvetica", '', 11); $pdf->SetTextColor(128, 128, 128); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "L"); $colorBoxWidth = 22; $colorBoxHeight = 22; $colorMargin = 2; $colorX = $marginLeft5 + 7; $colorY = $pdf->GetY() - 16; $colorsPerRow = 8; $rowCount = ceil(count($colors) / $colorsPerRow); for ($row = 1; $row <= $rowCount; $row++) { $colorsInRow = array_slice($colors, ($row - 1) * $colorsPerRow, $colorsPerRow); foreach ($colorsInRow as $color) { list($r, $g, $b) = sscanf($color, "#%02x%02x%02x"); $pdf->SetFillColor($r, $g, $b); $pdf->Rect($colorX, $colorY, $colorBoxWidth, $colorBoxHeight, "F"); $colorX += $colorBoxWidth + $colorMargin; } $colorX = $marginLeft5 + 7; $colorY += $colorBoxHeight + $colorMargin; } $pdf->SetY($pdf->GetY() + 20); $pdf->Output("hello_world OF MAXOBIZ.pdf", "D"); } goto fUXMs; iAjoR: require "fpdf/fpdf.php"; goto kS9KQ; fUXMs: ?>
Did this file decode correctly?
Original Code
<?php
goto iAjoR; kS9KQ: class PDF extends FPDF { protected $B = 0; protected $I = 0; protected $U = 0; protected $HREF = ''; function WriteHTML($html) { $html = str_replace("\12", "\x20", $html); $a = preg_split("\x2f\74\x28\x2e\52\x29\76\x2f\x55", $html, -1, PREG_SPLIT_DELIM_CAPTURE); foreach ($a as $i => $e) { if ($i % 2 == 0) { if ($this->HREF) { $this->PutLink($this->HREF, $e); } else { $this->Write(5, $e); } } else { if ($e[0] == "\57") { $this->CloseTag(strtoupper(substr($e, 1))); } else { $a2 = explode("\40", $e); $tag = strtoupper(array_shift($a2)); $attr = array(); foreach ($a2 as $v) { if (preg_match("\57\50\x5b\x5e\75\x5d\52\51\x3d\133\x22\x27\x5d\77\50\133\136\42\x27\x5d\x2a\51\x2f", $v, $a3)) { $attr[strtoupper($a3[1])] = $a3[2]; } } $this->OpenTag($tag, $attr); } } } } function OpenTag($tag, $attr) { if ($tag == "\102" || $tag == "\111" || $tag == "\x55") { $this->SetStyle($tag, true); } if ($tag == "\101") { $this->HREF = $attr["\x48\122\x45\x46"]; } if ($tag == "\102\x52") { $this->Ln(5); } } function CloseTag($tag) { if ($tag == "\102" || $tag == "\x49" || $tag == "\x55") { $this->SetStyle($tag, false); } if ($tag == "\x41") { $this->HREF = ''; } } function SetStyle($tag, $enable) { $this->{$tag} += $enable ? 1 : -1; $style = ''; foreach (array("\102", "\x49", "\125") as $s) { if ($this->{$s} > 0) { $style .= $s; } } $this->SetFont('', $style); } function PutLink($URL, $txt) { $this->SetTextColor(0, 0, 255); $this->SetStyle("\x55", true); $this->Write(5, $txt, $URL); $this->SetStyle("\x55", false); $this->SetTextColor(0); } } goto S9e6c; S9e6c: function create_pdf($name, $position, $skype, $mobile, $Cname, $email, $others, $url, $exactwording, $specificmeaning, $slogan, $shortdescription, $competitors, $logoswhy, $logosdislike, $doOPtional, $briefdescription, $colors, $fonts, $icons, $logos, $conmanyLogo) { $pdf = new PDF(); $pdf->AddPage("\120", "\101\64"); $marginLeft = 10; $marginRight = 10; $marginTop = 10; $marginBottom = 10; $pageWidth = 200; $marginLeft = 10; $marginRight = $pageWidth - $marginLeft; $pageWidth2 = 210; $marginLeft2 = 10; $marginRight2 = $pageWidth2 - $marginLeft2; $imagePath = "\x69\155\141\147\x65\163\57\163\141\155\x70\154\145\x5f\x69\x6d\x61\147\x65\x2e\160\156\x67"; $imageWidth = $pageWidth; $pdf->Image($imagePath, $marginLeft, $pdf->GetY(), $imageWidth, 0); $marginTop = 100 + $marginTop; $pdf->SetXY($marginLeft, $marginTop); $pdf->SetFont("\x68\145\154\166\145\164\151\143\141", "\142", 12); $text = "\x4e\157\164\145\72\x20\x4d\141\x6b\145\40\x73\165\x72\x65\x20\171\157\165\40\163\141\166\145\40\x74\150\x65\40\x66\x69\x6c\x65\x20\x62\145\x66\157\162\145\x20\163\x65\156\144\151\156\x67\40\151\x74\40\142\x61\143\x6b\56"; $cellWidth = 70; $cellHeight = 30; $lineHeight = 6; $lines = explode("\12", wordwrap($text, $cellWidth, "\12")); foreach ($lines as $line) { $pdf->Write($lineHeight, $line); $pdf->Ln($lineHeight); } $marginTopFields = 10 + $marginTop; $pdf->SetXY($marginLeft2, $marginTopFields); $pdf->SetFont("\150\145\154\166\145\164\151\x63\141", "\x42", 15); $pdf->SetTextColor(25, 25, 63); $contactInformationText = "\103\157\156\164\141\143\164\x20\x49\156\146\157\162\155\x61\x74\151\157\x6e\52"; $pdf->Write($lineHeight, $contactInformationText); $pdf->Ln($lineHeight); $pdf->SetTextColor(0, 0, 0); $inputBoxWidth = 180; $inputBoxHeight = 10; $inputText = "\x4e\x61\155\x65"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + 5); $pdf->SetFont("\150\145\x6c\x76\x65\164\151\143\141", "\142", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\114"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -2); $pdf->SetFillColor(230, 230, 230); $pdf->Cell($inputBoxWidth, $inputBoxHeight, $name, 1, 1, "\114", true); $inputBoxWidth = 180; $inputBoxHeight = 10; $inputText = "\103\157\155\x70\141\156\171\40\116\141\155\x65"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + 5); $pdf->SetFont("\x68\145\154\166\x65\164\x69\x63\141", "\142", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -2); $pdf->SetFillColor(230, 230, 230); $pdf->Cell($inputBoxWidth, $inputBoxHeight, $Cname, 1, 1, "\114", true); $inputBoxWidth = 180; $inputBoxHeight = 10; $inputText = "\x50\157\163\x69\164\151\x6f\156"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + 5); $pdf->SetFont("\150\x65\x6c\x76\x65\x74\151\x63\x61", "\142", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -2); $pdf->SetFillColor(230, 230, 230); $pdf->Cell($inputBoxWidth, $inputBoxHeight, $position, 1, 1, "\x4c", true); $inputBoxWidth = 180; $inputBoxHeight = 10; $inputText = "\123\153\x79\x70\x65"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + 5); $pdf->SetFont("\150\x65\x6c\x76\x65\x74\x69\x63\x61", "\142", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -2); $pdf->SetFillColor(230, 230, 230); $pdf->Cell($inputBoxWidth, $inputBoxHeight, $skype, 1, 1, "\114", true); $inputBoxWidth = 180; $inputBoxHeight = 10; $inputText = "\105\x2d\155\x61\x69\x6c\72"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + 5); $pdf->SetFont("\150\145\154\x76\x65\x74\x69\143\141", "\x62", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -2); $pdf->SetFillColor(230, 230, 230); $pdf->Cell($inputBoxWidth, $inputBoxHeight, $email, 1, 1, "\x4c", true); $inputBoxWidth = 180; $inputBoxHeight = 10; $inputText = "\127\x65\x62\163\151\164\145\x20\57\40\125\122\114\72"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + 5); $pdf->SetFont("\x68\145\154\166\145\164\151\143\141", "\x62", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\114"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -2); $pdf->SetFillColor(230, 230, 230); $pdf->Cell($inputBoxWidth, $inputBoxHeight, $url, 1, 1, "\114", true); $pdf->AddPage("\x50", "\101\64"); $pageWidth2 = 210; $marginLeft2 = 12; $marginRight2 = $pageWidth2 - $marginLeft2; $imagePath2 = "\151\155\141\x67\145\x73\x2f\160\141\x67\145\62\x5f\x68\145\141\x64\x65\x72\56\160\156\147"; $imageWidth2 = $pageWidth2; $pdf->Image($imagePath2, $marginLeft2, $pdf->GetY(), $imageWidth2, 0); $inputBoxWidth = 180; $inputBoxHeight = 30; $inputText = "\x45\x78\x61\143\x74\x20\x77\157\x72\x64\151\156\x67\40\x74\157\40\142\x65\x20\x75\163\x65\144\40\x6f\156\40\164\150\x65\x20\x6c\x6f\x67\157\40\52"; $pdf->SetXY($marginLeft2 + 4, $pdf->GetY() + 35); $pdf->SetFont("\150\x65\x6c\x76\145\164\x69\143\x61", "\x62", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\114"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() - 10); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("\12", $exactwording); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $exactwording, "\x42", "\114", true); $inputBoxWidth = 180; $inputBoxHeight = 30; $inputText = "\x44\157\x20\164\150\145\40\167\157\162\x64\163\x20\151\x6e\x20\x79\157\x75\162\x20\x63\157\155\x70\141\x6e\171\x20\156\x61\155\x65\x20\150\141\x76\x65\40\x61\40\163\x70\x65\x63\x69\146\151\143\x20\x6d\x65\141\156\151\x6e\x67\40\x3f\x20\52"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() - 8); $pdf->SetFont("\x68\145\x6c\x76\145\164\x69\143\141", "\142", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() - 10); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("\12", $specificmeaning); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $specificmeaning, "\102", "\x4c", true); $inputBoxWidth = 180; $inputBoxHeight = 6; $inputText = "\123\154\157\147\x61\156\40\40\57\40\x6d\x6f\x74\164\x6f\40\x69\146\40\x79\157\165\x20\167\x61\x6e\x74\x20\x74\157\40\x69\x6e\x63\x6c\x75\x64\x65"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + 3); $pdf->SetFont("\150\x65\154\x76\x65\x74\151\143\141", "\x42", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY()); $pdf->SetFillColor(255); $pdf->Cell($inputBoxWidth, $inputBoxHeight, '', "\102", 0, "\x4c", true); $inputBoxWidth = 180; $inputBoxHeight = 50; $inputText = "\x53\150\x6f\162\x74\40\x64\145\163\x63\x72\151\160\x74\151\x6f\x6e\x20\157\x66\40\x70\162\157\144\165\143\x74\40\x2f\40\163\x65\x72\166\x69\x63\145\x20\57\x20\x6f\x72\147\x61\156\151\x7a\141\x74\151\x6f\x6e\x20\52"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -8); $pdf->SetFont("\x68\145\154\166\145\x74\x69\143\141", "\142", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\114"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -18); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("\12", $slogan); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $slogan, "\102", "\x4c", true); $inputBoxWidth = 180; $inputBoxHeight = 43; $inputText = "\x43\157\155\x70\x65\164\x69\x74\x6f\x72\163\x20\141\x6e\x64\x20\163\151\x6d\x69\154\141\x72\x20\142\165\163\x69\156\x75\145\x73\x73\x20\x28\x6f\160\164\151\x6f\156\141\x6c\x29"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -15); $pdf->SetFont("\x68\145\x6c\166\x65\164\151\x63\141", "\142", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -17); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("\xa", $competitors); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $competitors, "\102", "\x4c", true); $pdf->AddPage("\120", "\x41\64"); $pageWidth2 = 210; $marginLeft2 = 12; $marginRight2 = $pageWidth2 - $marginLeft2; $imagePath2 = "\151\x6d\x61\147\x65\x73\x2f\x70\x61\147\145\63\137\x68\145\141\x64\x65\x72\x2e\x70\x6e\147"; $imageWidth2 = $pageWidth2; $pdf->Image($imagePath2, $marginLeft2, $pdf->GetY(), $imageWidth2, 0); $inputBoxWidth = 180; $inputBoxHeight = 30; $inputText = "\114\x6f\x67\157\163\40\x79\157\x75\40\154\151\x6b\145\40\141\156\x64\x20\x77\x68\x79\x20\52"; $pdf->SetXY($marginLeft2 + 4, $pdf->GetY() + 35); $pdf->SetFont("\150\x65\154\x76\145\x74\151\143\141", "\x62", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -10); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("\xa", $logoswhy); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $logoswhy, "\x42", "\x4c", true); $inputBoxWidth = 180; $inputBoxHeight = 30; $inputText = "\114\x6f\147\x6f\x73\40\171\157\x75\40\x64\151\x73\154\x69\153\145\x20\141\156\x64\40\x77\150\171\x20\52"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() - 8); $pdf->SetFont("\x68\145\x6c\x76\x65\x74\151\143\x61", "\x62", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\114"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() - 10); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("\12", $logosdislike); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $logosdislike, "\102", "\x4c", true); $inputBoxWidth = 180; $inputBoxHeight = 20; $inputText = "\104\157\x27\x73\40\x28\x6f\160\x74\x69\157\x6e\141\154\x29"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() - 5); $pdf->SetFont("\x68\145\x6c\x76\x65\x74\151\143\141", "\102", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -6); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("\xa", $doOPtional); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $doOPtional, "\102", "\x4c", true); $inputBoxWidth = 180; $inputBoxHeight = 50; $inputText = "\x44\157\x6e\47\164\163\x20\50\x6f\x70\x74\151\x6f\x6e\x61\154\x29"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -18); $pdf->SetFont("\150\x65\154\166\x65\164\151\x63\x61", "\x62", 10); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $ExactwordingInLogo = ''; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -20); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("\xa", $ExactwordingInLogo); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $ExactwordingInLogo, "\102", "\x4c", true); $inputBoxWidth = 180; $inputBoxHeight = 43; $inputText = "\x50\154\x65\x61\x73\145\40\x73\x75\x70\160\x6c\x79\40\141\40\142\162\x69\145\146\x20\x64\x65\163\143\162\151\160\x74\151\x6f\x6e\40\x6f\x66\x20\164\150\145\x20\x64\x65\163\x69\x67\x6e\x20\x79\157\x75\40\150\x61\166\x65\40\x69\x6e\x20\155\151\156\x64\x20\x61\x6e\144\40\141\156\171\x20\157\x74\x68\x65\x72\x20\xa\151\x6e\146\x6f\162\x6d\141\164\x69\157\156\40\164\150\x61\x74"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -13); $pdf->SetFont("\x68\x65\154\x76\x65\164\151\x63\141", "\142", 11); $pdf->Cell(0, $inputBoxHeight - 5, $inputText, 0, 1, "\114"); $inputText = "\167\157\x75\x6c\144\40\x62\x65\x20\x75\x73\x65\x66\x75\x6c"; $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -32); $pdf->SetFont("\150\x65\x6c\x76\x65\164\151\143\x61", "\x62", 11); $pdf->Cell(0, $inputBoxHeight - 5, $inputText, 0, 1, "\x4c"); $pdf->SetXY($marginLeft2 + 5, $pdf->GetY() + -15); $pdf->SetFillColor(230, 230, 230); $lineHeight = 5; $lines = explode("\xa", $briefdescription); $multiCellHeight = count($lines) * $lineHeight; $pdf->MultiCell($inputBoxWidth, $multiCellHeight, $briefdescription, "\x42", "\x4c", true); $pdf->AddPage("\x50", "\101\64"); $pageWidth5 = 210; $marginLeft5 = 4; $marginRight5 = $pageWidth5 - $marginLeft5; $marginTop = 10; $imagePath5 = "\151\155\x61\x67\x65\163\x2f\160\141\147\145\64\x5f\150\x65\x61\x64\145\162\x2e\160\156\x67"; $imageWidth5 = $pageWidth5; $pdf->Image($imagePath5, $marginLeft5, $pdf->GetY(), $imageWidth5, 0); $inputText = "\131\117\125\122\x20\x43\x4f\x4d\x50\101\x4e\131\40\114\x4f\117\x4b\x20\x41\x4e\104\40\x46\105\105\114"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() + 23); $pdf->SetFont("\150\x65\x6c\x76\145\164\151\x63\x61", "\142", 12); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $imagePaths = array("\x69\155\x61\x67\x65\x73\x2f\x59\x6f\x75\162\40\x43\157\x6d\160\x61\156\171\x2f\101\x72\164\x69\163\164\151\143\x2e\x70\x6e\x67", "\151\x6d\141\147\145\163\x2f\x59\x6f\165\162\40\x43\x6f\x6d\x70\141\x6e\x79\57\x4d\151\156\151\155\x61\154\x2e\160\x6e\x67", "\x69\155\141\x67\x65\x73\57\131\x6f\x75\162\x20\x43\157\155\160\x61\x6e\x79\x2f\x53\157\x70\150\151\163\164\x69\x63\x61\164\145\x64\x2e\x70\x6e\147", "\151\155\141\x67\x65\x73\57\131\x6f\x75\162\40\103\x6f\x6d\x70\141\x6e\171\x2f\x43\157\162\x70\x6f\162\141\x74\145\56\160\x6e\147", "\x69\x6d\x61\147\145\163\x2f\131\157\165\162\40\103\x6f\x6d\x70\x61\x6e\x79\57\x43\150\151\x6c\144\151\163\x68\x2e\160\156\x67"); $imageWidth = 40; $marginLeft = 12; $marginTop = 8; $imagePaths = array("\x69\x6d\x61\147\145\163\x2f\131\157\165\162\40\103\157\155\160\x61\156\171\x2f\127\145\142\x32\60\x2e\x70\156\x67", "\151\x6d\141\147\x65\163\x2f\131\x6f\x75\x72\x20\103\x6f\x6d\x70\141\x6e\x79\57\x52\x65\164\162\x6f\56\160\156\147", "\151\x6d\x61\147\x65\163\57\131\x6f\x75\162\x20\103\157\x6d\160\x61\x6e\171\x2f\106\x75\x6e\x2e\160\x6e\x67", "\151\155\141\147\145\163\x2f\131\157\x75\x72\x20\103\x6f\155\x70\x61\156\x79\x2f\x48\151\124\x65\143\x68\x2e\160\x6e\x67", "\x69\155\141\147\x65\163\57\x59\x6f\x75\x72\40\x43\x6f\x6d\x70\141\156\171\x2f\106\145\155\151\x6e\151\x6e\x65\x2e\x70\x6e\x67"); $marginToprow2 = -20; $imageWidth = 40; $marginLeft = 12; foreach ($conmanyLogo as $key => $imagePath) { $temp = "\151\155\x61\147\x65\163\57\131\x6f\x75\x72\40\103\157\x6d\160\141\156\171\57" . str_replace("\54", '', $imagePath) . "\x2e\160\x6e\x67"; $pdf->Image($temp, $marginLeft, $pdf->GetY() + $marginToprow2, $imageWidth, 30); $marginLeft += $imageWidth; if (($key + 1) % 4 === 0) { $marginLeft = 12; $pdf->SetY($pdf->GetY() + 30); } } $pdf->SetY($pdf->GetY() + 25); $inputText = "\x4c\157\147\x6f\40\x54\171\x70\x65\163\52"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() - 20); $pdf->SetFont("\x68\145\154\x76\x65\x74\151\x63\x61", "\x62", 20); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $inputText = "\61\40\106\117\x4e\x54\40\x42\x41\123\105\x44\x20\x4c\117\x47\117\123"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() - 33); $pdf->SetFont("\150\145\x6c\x76\x65\x74\151\x63\x61", "\142", 12); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $inputText = "\101\40\164\145\170\164\40\164\x72\x65\x61\x74\x6d\145\156\164\40\167\150\151\143\x68\x20\x72\x65\160\162\x65\x73\145\156\x74\163\40\171\x6f\165\162\x20\103\x6f\x6d\160\141\156\171\x27\163\x20\141\143\x74\151\166\x69\x74\x79\x2c\40\160\162\x6f\x64\165\143\x74\40\x6f\162\40\163\x65\x72\x76\151\143\145\x2e"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() - 37); $pdf->SetFont("\150\x65\154\x76\145\x74\151\x63\x61", '', 9); $pdf->SetTextColor(128, 128, 128); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $imageWidth = 100; $marginLeft = 12; $marginTop = 8; $maxImagesPerRow = 2; foreach ($logos as $key => $imagePath) { $temp = "\151\x6d\x61\147\145\x73\57\154\x6f\147\157\163\x2f" . str_replace("\54", '', $imagePath) . "\56\x70\x6e\x67"; $pdf->Image($temp, $marginLeft, $pdf->GetY() - 12, $imageWidth, 30); $marginLeft += $imageWidth; if (($key + 1) % $maxImagesPerRow === 0) { $marginLeft = 12; $pdf->SetY($pdf->GetY() + 35); } } $pdf->SetY($pdf->GetY() + 20); $pdf->SetY($pdf->GetY() + 50); $pdf->AddPage("\120", "\101\x34"); $pageWidth5 = 210; $marginLeft5 = 4; $marginRight5 = $pageWidth5 - $marginLeft5; $marginTop = 10; $imagePath5 = "\x69\155\x61\x67\x65\x73\57\160\141\x67\145\x34\137\150\x65\141\x64\x65\x72\x2e\160\x6e\x67"; $imageWidth5 = $pageWidth5; $pdf->Image($imagePath5, $marginLeft5, $pdf->GetY(), $imageWidth5, 0); $pdf->SetTextColor(0, 0, 0); $inputText = "\62\40\111\103\117\x4e\40\x42\101\123\105\104\40\114\117\x47\x4f\x53"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() + 23); $pdf->SetFont("\x68\145\x6c\166\145\164\x69\x63\141", "\142", 12); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $inputText = "\x41\x20\147\x72\141\160\x68\151\143\57\x73\171\155\142\157\154\40\167\150\151\x63\150\40\x72\x65\x70\x72\145\x73\145\x6e\164\163\40\x79\157\x75\162\x20\x43\157\155\160\141\156\x79\x27\163\x20\x61\x63\x74\151\x76\x69\x74\x79\54\40\160\x72\x6f\144\x75\143\x74\x20\x6f\x72\x20\163\145\162\x76\151\143\x65"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() - 37); $pdf->SetFont("\150\145\154\166\145\x74\151\x63\x61", '', 9); $pdf->SetTextColor(128, 128, 128); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $imagePaths = array("\151\155\141\147\x65\163\x2f\x59\x6f\165\x72\40\x43\x6f\155\x70\141\156\x79\57\162\x6f\167\x33\40\x41\x72\x74\151\163\164\x69\x63\56\x70\156\x67", "\x69\155\x61\147\x65\x73\57\131\157\165\162\x20\103\157\x6d\160\x61\156\x79\57\162\157\167\x33\x20\110\x61\156\144\x6d\141\144\145\x2e\160\x6e\147", "\151\155\141\147\145\163\x2f\131\157\165\162\x20\x43\x6f\155\160\x61\156\x79\x2f\x72\x6f\167\x33\40\x46\x6f\156\x74\53\x4d\145\141\x6e\151\x6e\x67\56\160\x6e\147", "\151\x6d\x61\x67\x65\163\x2f\131\157\165\162\x20\x43\x6f\155\x70\141\x6e\171\57\162\x6f\x77\x33\x20\111\156\x69\164\x69\x61\x6c\163\56\160\156\147", "\x69\155\141\147\145\163\57\x59\157\x75\x72\40\103\x6f\155\x70\141\156\x79\57\x72\157\167\63\x20\105\x6d\x62\154\x65\x6d\x2e\160\x6e\x67", "\151\x6d\x61\147\145\163\57\x59\157\165\162\40\103\157\155\x70\x61\x6e\171\57\x72\157\167\x33\40\111\x6e\151\164\151\x61\154\163\x2e\x70\x6e\147", "\x69\x6d\x61\147\x65\x73\57\131\157\165\x72\40\103\x6f\x6d\x70\x61\156\171\x2f\162\157\x77\x33\x20\x45\155\x62\154\x65\155\x2e\x70\x6e\x67"); $imageWidth = 100; $marginLeft = 12; $marginTop = 8; $maxImagesPerRow = 2; foreach ($icons as $key => $imagePath) { $temp = "\151\x6d\x61\x67\145\163\x2f\151\x63\157\156\x42\141\x73\145\144\57" . str_replace("\x2c", '', $imagePath) . "\x2e\x70\x6e\147"; $pdf->Image($temp, $marginLeft, $pdf->GetY() - 5, $imageWidth, 30); $marginLeft += $imageWidth; if (($key + 1) % $maxImagesPerRow === 0) { $marginLeft = 12; $pdf->SetY($pdf->GetY() + 50); } } $pdf->SetY($pdf->GetY() + 20); $pdf->AddPage("\120", "\x41\64"); $pageWidth6 = 210; $marginLeft6 = 12; $marginRight6 = $pageWidth6 - $marginLeft6; $imagePath6 = "\151\x6d\x61\x67\x65\x73\x2f\160\141\147\x65\x36\x5f\x68\145\x61\144\x65\x72\x2e\160\156\147"; $imageWidth6 = $pageWidth6; $pdf->Image($imagePath6, $marginLeft6, $pdf->GetY(), $imageWidth6, 0); $pdf->SetTextColor(0, 0, 0); $inputText = "\61\x20\106\x4f\116\124\x20\x53\x54\131\x4c\x45"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() + 23); $pdf->SetFont("\150\145\x6c\x76\145\164\x69\143\141", "\x62", 12); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\x4c"); $inputText = "\x59\157\x75\x72\x20\x53\x65\x6c\x65\x63\x74\x65\x64\x20\146\x6f\x6e\x74\40\163\x74\x79\x6c\145\72"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() - 37); $pdf->SetFont("\150\x65\x6c\166\145\164\151\143\141", '', 9); $pdf->SetTextColor(128, 128, 128); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\114"); $marginTop = -20; $allImagePaths = array("\151\155\x61\x67\x65\x73\57\146\157\156\164\x2d\151\x6d\147\x73\x2f\101\x72\x74\x62\x6f\141\162\144\x31\x33\x2e\152\160\x67", "\151\x6d\x61\147\145\x73\57\146\157\156\164\55\x69\155\x67\163\x2f\101\x72\x74\142\x6f\141\x72\x64\61\x34\x2e\152\x70\x67", "\x69\155\x61\x67\x65\163\57\146\157\x6e\x74\55\151\155\147\163\x2f\101\x72\164\x62\x6f\141\162\144\x31\65\56\x6a\160\147"); $imageWidth = 35; $marginLeft = 15; foreach ($fonts as $key => $imagePath) { $temp = "\151\x6d\141\x67\145\163\57\146\x6f\156\164\x2d\151\x6d\147\163\57" . str_replace("\x2c", '', $imagePath) . "\56\152\x70\x67"; $pdf->Image($temp, $marginLeft, $pdf->GetY() + $marginTop, $imageWidth, 25); $marginLeft += $imageWidth; if (($key + 1) % 5 === 0) { $marginLeft = 12; $pdf->SetY($pdf->GetY() + 25); } } $pdf->SetY($pdf->GetY() + -25); $pdf->SetTextColor(0, 0, 0); $inputText = "\64\40\103\117\114\x4f\x52\x20\120\101\114\x45\124\x54\105"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() + 10); $pdf->SetFont("\x68\145\x6c\166\145\x74\151\143\x61", "\x62", 12); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\114"); $inputText = "\x59\157\x75\x72\40\x53\x65\x6c\x65\143\x74\145\x64\x20\143\157\x6c\157\x72\x73\72"; $pdf->SetXY($marginLeft5 + 7, $pdf->GetY() - 36); $pdf->SetFont("\x68\145\154\x76\x65\x74\151\x63\141", '', 11); $pdf->SetTextColor(128, 128, 128); $pdf->Cell(0, $inputBoxHeight, $inputText, 0, 1, "\114"); $colorBoxWidth = 22; $colorBoxHeight = 22; $colorMargin = 2; $colorX = $marginLeft5 + 7; $colorY = $pdf->GetY() - 16; $colorsPerRow = 8; $rowCount = ceil(count($colors) / $colorsPerRow); for ($row = 1; $row <= $rowCount; $row++) { $colorsInRow = array_slice($colors, ($row - 1) * $colorsPerRow, $colorsPerRow); foreach ($colorsInRow as $color) { list($r, $g, $b) = sscanf($color, "\43\x25\x30\62\x78\x25\x30\62\170\45\x30\62\170"); $pdf->SetFillColor($r, $g, $b); $pdf->Rect($colorX, $colorY, $colorBoxWidth, $colorBoxHeight, "\x46"); $colorX += $colorBoxWidth + $colorMargin; } $colorX = $marginLeft5 + 7; $colorY += $colorBoxHeight + $colorMargin; } $pdf->SetY($pdf->GetY() + 20); $pdf->Output("\x68\x65\154\x6c\x6f\137\167\157\x72\x6c\144\40\x4f\x46\40\115\x41\130\x4f\x42\x49\x5a\x2e\160\144\x66", "\x44"); } goto fUXMs; iAjoR: require "\x66\160\144\146\x2f\146\x70\144\x66\x2e\160\x68\160"; goto kS9KQ; fUXMs: ?>
Function Calls
None |
Stats
MD5 | 5d0430438b70f5c8b026fe5e8ffb0923 |
Eval Count | 0 |
Decode Time | 84 ms |