Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

goto tjULq; mYOhX: if ($_POST) { $phpWord = new \PhpOffice\PhpWord\PhpWord(); $sectionStyl..

Decoded Output download

<?  goto tjULq; mYOhX: if ($_POST) { $phpWord = new \PhpOffice\PhpWord\PhpWord(); $sectionStyle = array("orientation" => "landscape", "marginLeft" => 600, "headerHeight" => 710, "marginRight" => 600, "borderBottomColor" => "ffffff"); $section = $phpWord->addSection($sectionStyle); $fontStyle = array("name" => "Times New Roman", "size" => 14, "bold" => TRUE); $parStyle = array("align" => "center", "spaceBefore" => 0, "spaceAfter" => 0); $section->addText("   ", $fontStyle, $parStyle); $section->addText("   ", $fontStyle, $parStyle); $section->addText('', $fontStyle, array("align" => "center")); $section->addText($_POST["name_form"], $fontStyle, array("align" => "center")); $header = array("name" => "Times New Roman", "size" => 12, "align" => "center"); $parStyle = array("align" => "left", "spaceBefore" => 0, "spaceAfter" => "auto", "lineHeight" => 1); $section->addText("     ,          ,   .", $header, $parStyle); $sumk = false; $sumch = false; $row10 = array(" ", " ", "  , /", " , /"); $row11 = array("0150", " ", 0, 0); $row12 = array("0322", " ", 0, 0); $row0 = array("", "", " ", "   (Q,   )", " , q, /(*)", "    (a)", "    (n')", "     (m, )", "", "  ,
/", " , /"); $all_row = array(); array_push($all_row, $row0); for ($p = 1; $p <= count($_POST) / 7; $p++) { $max_release = $_POST["type_{$p}"] * floatval(str_replace(",", ".", $_POST["capacity_Q_{$p}"])) * $_POST["quantity_charge_{$p}"] * pow(10, -9) * 0.9 * pow(10, 6) / ($_POST["while_{$p}"] * 3600); $gross_release = $_POST["type_{$p}"] * $_POST["capacity_a_{$p}"] * floatval(str_replace(",", ".", $_POST["capacity_Q_{$p}"])) * pow(10, -9) * 0.9; if ($_POST["type_{$p}"] == "1") { $type = ""; if ($sumk === true) { if ($_POST["radioitem_{$p}"] == "") { $row12 = array("0322", " ", $row12[2] + $max_release, $row12[3] + $gross_release); } else { $row12 = array("0322", " ", $row12[2], $row12[3] + $gross_release); } } else { if ($_POST["radioitem_{$p}"] == "") { if ($_POST["radioitem_" . ($p - 1)] == "") { $row12[2] = 0; } $sumk = true; $row12 = array("0322", " ", $row12[2] + $max_release, $row12[3] + $gross_release); } else { if ($max_release > $row12[2]) { $row12 = array("0322", " ", $max_release, $row12[3] + $gross_release); } else { $row12 = array("0322", " ", $row12[2], $row12[3] + $gross_release); } } } } else { $type = ""; if ($sumch === TRUE) { if ($_POST["radioitem_{$p}"] == "") { $row11 = array("0150", " ", $row11[2] + $max_release, $row11[3] + $gross_release); } else { $row11 = array("0150", " ", $row11[2], $row11[3] + $gross_release); } } else { if ($_POST["radioitem_{$p}"] == "") { if ($_POST["radioitem_#{i-1}"] == "") { $row11[2] = 0; } $sumch = true; $row11 = array("0150", " ", $row11[2] + $max_release, $row11[3] + $gross_release); } else { if ($max_release > $row11[2]) { $row11 = array("0150", " ", $max_release, $row11[3] + $gross_release); } else { $row11 = array("0150", " ", $row11[2], $row11[3] + $gross_release); } } } } $max_release = cut_number($max_release, 7); $gross_release = cut_number($gross_release, 6); array_push($all_row, array($p, $_POST["name_{$p}"], $type, floatval(str_replace(",", ".", $_POST["capacity_Q_{$p}"])), $_POST["type_{$p}"], $_POST["capacity_a_{$p}"], $_POST["quantity_charge_{$p}"], $_POST["while_{$p}"], $_POST["radioitem_{$p}"], $max_release, $gross_release)); } $tableStyle = array("borderSize" => 6, "borderColor" => "000000", "align" => "center"); $phpWord->addTableStyle("myTable", $tableStyle); $styleCell = array("valign" => "center"); $table = $section->addTable("myTable"); $table->addRow(); $table->addCell(1250, $styleCell)->addText($row10[0], array("name" => "Times New Roman", "size" => 12, "bold" => true, "align" => "center")); $table->addCell(2800, $styleCell)->addText($row10[1], array("name" => "Times New Roman", "size" => 12, "bold" => true, "align" => "center")); $table->addCell(6000, $styleCell)->addText($row10[2], array("name" => "Times New Roman", "size" => 12, "bold" => true, "align" => "center")); $table->addCell(5000, $styleCell)->addText($row10[3], array("name" => "Times New Roman", "size" => 12, "bold" => true, "align" => "center")); $pTextStyle = array("name" => "Times New Roman", "size" => 12, "align" => "center"); if ($row11[2] != 0) { $table->addRow(); $table->addCell(1250, $styleCell)->addText($row11[0], $pTextStyle); $table->addCell(2800, $styleCell)->addText($row11[1], $pTextStyle); $table->addCell(6000, $styleCell)->addText(cut_number($row11[2], 7), $pTextStyle); $table->addCell(5000, $styleCell)->addText(cut_number($row11[3], 6), $pTextStyle); } if ($row12[2] != 0) { $table->addRow(); $table->addCell(1250, $styleCell)->addText($row12[0], $pTextStyle); $table->addCell(2800, $styleCell)->addText($row12[1], $pTextStyle); $table->addCell(6000, $styleCell)->addText(cut_number($row12[2], 7), $pTextStyle); $table->addCell(5000, $styleCell)->addText(cut_number($row12[3], 6), $pTextStyle); } $parStyle = array("align" => "left", "spaceBefore" => 160, "spaceAfter" => 160); $section->addText("      :", $header, $parStyle); $phpWord->addTableStyle($spanTableStyleName, $fancyTableStyle); $table = $section->addTable("myTable"); $table->addRow(); $table->addCell(400)->addText($all_row[0][0], array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText($all_row[0][1], array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText($all_row[0][2], array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText($all_row[0][3], array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText($all_row[0][4], array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText($all_row[0][5], array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText($all_row[0][6], array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText($all_row[0][7], array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText($all_row[0][8], array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText($all_row[0][9], array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText($all_row[0][10], array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addRow(); $table->addCell(400)->addText("1", array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText("2", array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText("3", array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText("4", array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText("5", array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText("6", array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText("7", array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText("8", array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText("9", array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText("10", array("name" => "Times New Roman", "size" => 12, "bold" => true)); $table->addCell(1505)->addText("11", array("name" => "Times New Roman", "size" => 12, "bold" => true)); for ($r = 1; $r < count($all_row); $r++) { $table->addRow(); for ($c = 0; $c <= 10; $c++) { $table->addCell(1505)->addText($all_row[$r][$c], array("name" => "Times New Roman", "size" => 12)); } } require_once $_SERVER["DOCUMENT_ROOT"] . "/wp-load.php"; global $current_user; update_user_meta($current_user->ID, "air_form_download", intval(get_user_meta($current_user->ID, "air_form_download", true)) + 1); $name = "_____" . date("h-i-s_j-m-Y") . ".docx"; $saveName = dirname(__FILE__) . "/download/" . $name; $objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, "Word2007"); $objWriter->save($saveName); echo "/wp-content/themes/caer/forms/1/download/" . $name; } goto YJ1Km; RU0tF: ini_set("display_startup_errors", 0); goto jeoyU; akXXs: ini_set("display_errors", 0); goto RU0tF; tjULq: ini_set("error_reporting", false); goto akXXs; YJ1Km: function cut_number($val, $precision) { if (stripos($val, "E") != false) { $explode = explode("E-", $val); $explode = $explode[1]; if ($explode < $precision) { $res = number_format($val, $precision); } else { $res = number_format($val, $explode); } } else { $res = number_format($val, $precision); } return $res; } goto lxLwa; jeoyU: require "vendor/autoload.php"; goto mYOhX; lxLwa:  ?>

Did this file decode correctly?

Original Code

goto tjULq; mYOhX: if ($_POST) { $phpWord = new \PhpOffice\PhpWord\PhpWord(); $sectionStyle = array("\157\162\x69\145\x6e\x74\x61\x74\x69\x6f\x6e" => "\154\x61\x6e\144\163\143\x61\160\x65", "\155\141\x72\x67\x69\x6e\x4c\x65\x66\164" => 600, "\150\145\141\x64\145\x72\x48\145\x69\147\150\164" => 710, "\x6d\141\x72\147\151\156\122\151\147\150\x74" => 600, "\x62\x6f\x72\x64\x65\x72\x42\x6f\x74\x74\157\155\x43\157\x6c\x6f\x72" => "\x66\146\x66\146\x66\146"); $section = $phpWord->addSection($sectionStyle); $fontStyle = array("\156\x61\x6d\145" => "\124\x69\x6d\x65\x73\x20\x4e\145\167\40\122\x6f\155\x61\156", "\x73\151\172\145" => 14, "\x62\157\x6c\x64" => TRUE); $parStyle = array("\141\x6c\x69\x67\x6e" => "\143\x65\x6e\164\x65\x72", "\163\x70\x61\143\x65\102\x65\x66\x6f\162\145" => 0, "\163\x70\x61\x63\x65\x41\x66\x74\x65\x72" => 0); $section->addText("\320\240\xd0\xb0\xd1\x81\321\x87\320\265\xd1\202\x20\320\262\321\213\320\261\321\x80\xd0\276\xd1\x81\320\xbe\xd0\xb2\x20\320\267\xd0\xb0\xd0\xb3\xd1\x80\xd1\217\xd0\267\xd0\275\321\217\xd1\x8e\321\x89\320\270\xd1\x85\40\320\262\320\265\xd1\x89\320\xb5\xd1\201\321\202\xd0\262", $fontStyle, $parStyle); $section->addText("\320\xbf\xd1\x80\xd0\270\40\320\xb7\320\xb0\xd1\200\321\x8f\xd0\xb4\xd0\272\320\265\x20\320\260\320\xba\xd0\xba\xd1\203\xd0\274\xd1\203\320\xbb\xd1\217\xd1\202\xd0\276\321\x80\xd0\275\321\x8b\xd1\x85\40\320\xb1\xd0\xb0\321\202\320\260\xd1\200\xd0\xb5\320\xb9", $fontStyle, $parStyle); $section->addText('', $fontStyle, array("\141\x6c\151\147\156" => "\x63\145\x6e\164\x65\162")); $section->addText($_POST["\156\x61\x6d\x65\137\146\x6f\x72\155"], $fontStyle, array("\x61\154\x69\x67\x6e" => "\x63\x65\156\164\145\x72")); $header = array("\x6e\x61\x6d\x65" => "\124\151\155\145\163\40\x4e\145\167\x20\122\x6f\x6d\x61\156", "\x73\151\172\145" => 12, "\x61\154\x69\x67\x6e" => "\x63\x65\156\x74\x65\162"); $parStyle = array("\x61\154\x69\147\x6e" => "\x6c\145\x66\x74", "\163\160\x61\143\145\102\x65\x66\157\x72\x65" => 0, "\163\160\141\x63\145\101\x66\164\145\162" => "\141\x75\x74\157", "\154\151\x6e\145\x48\x65\151\147\150\164" => 1); $section->addText("\xd0\232\320\276\320\273\320\xb8\321\207\320\265\321\x81\321\202\xd0\xb2\320\265\320\xbd\xd0\275\320\xb0\321\217\x20\320\270\x20\320\272\xd0\xb0\xd1\x87\xd0\265\321\201\321\x82\320\xb2\320\xb5\xd0\xbd\xd0\xbd\320\xb0\xd1\x8f\40\xd1\205\320\xb0\xd1\200\xd0\xb0\320\272\xd1\x82\320\xb5\321\x80\xd0\270\321\201\321\x82\xd0\270\320\xba\xd0\xb0\40\xd0\267\xd0\260\xd0\xb3\321\200\321\217\xd0\xb7\xd0\xbd\xd1\217\xd1\x8e\xd1\211\xd0\270\xd1\205\40\320\xb2\320\xb5\xd1\211\320\xb5\321\201\321\202\xd0\262\x2c\x20\320\xb2\xd1\x8b\320\xb4\xd0\265\xd0\273\321\x8f\321\216\321\211\xd0\xb8\321\x85\xd1\x81\321\x8f\40\xd0\xb2\40\320\260\321\202\xd0\274\320\276\xd1\201\xd1\204\xd0\xb5\321\x80\321\203\x20\xd0\277\321\200\320\270\40\xd0\277\xd1\200\320\276\320\262\xd0\265\320\xb4\xd0\xb5\xd0\275\320\270\xd0\270\40\320\xbe\xd0\277\320\265\xd1\200\320\xb0\xd1\206\320\xb8\320\xb9\x20\xd0\xbf\xd0\276\x20\320\276\320\261\xd1\201\320\273\321\203\xd0\266\320\270\xd0\262\320\xb0\320\275\320\xb8\321\x8e\x20\320\xb0\xd0\xba\xd0\272\xd1\203\320\274\xd1\x83\320\273\321\217\xd1\202\xd0\276\xd1\x80\320\275\321\213\xd1\205\40\320\xb1\320\xb0\321\x82\xd0\260\xd1\x80\320\xb5\xd0\xb9\x2c\x20\xd0\277\xd1\200\xd0\xb8\320\xb2\xd0\xb5\xd0\xb4\xd0\xb5\xd0\275\320\xb0\x20\xd0\262\40\xd1\202\xd0\xb0\320\261\xd0\273\320\xb8\321\x86\xd0\265\x2e", $header, $parStyle); $sumk = false; $sumch = false; $row10 = array("\320\232\xd0\276\xd0\264\x20\320\x97\xd0\222", "\320\235\320\260\xd0\xb8\xd0\xbc\320\265\xd0\xbd\xd0\276\xd0\262\320\xb0\320\275\xd0\xb8\xd0\xb5\40\320\x97\xd0\x92", "\320\x9c\xd0\xb0\320\272\321\201\xd0\270\xd0\274\320\260\320\273\321\214\xd0\xbd\xd0\276\x20\321\x80\320\260\xd0\xb7\320\xbe\320\262\321\x8b\320\xb9\x20\320\262\xd1\213\320\xb1\xd1\200\xd0\xbe\xd1\x81\54\x20\320\263\x2f\321\x81", "\xd0\x93\320\xbe\xd0\264\xd0\xbe\xd0\xb2\320\xbe\320\xb9\40\320\xb2\xd1\x8b\xd0\xb1\xd1\x80\320\276\321\x81\x2c\x20\321\202\57\xd0\263\320\276\320\xb4"); $row11 = array("\x30\61\x35\60", "\xd0\x9d\320\260\xd1\x82\321\200\xd0\xb8\xd0\xb9\40\320\xb3\320\270\xd0\xb4\xd1\x80\320\xbe\xd0\xbe\320\xba\321\201\320\270\320\xb4", 0, 0); $row12 = array("\x30\63\x32\x32", "\320\xa1\320\xb5\xd1\x80\xd0\xbd\xd0\xb0\321\217\40\320\272\320\270\321\x81\320\273\320\xbe\321\x82\xd0\xb0", 0, 0); $row0 = array("\xe2\204\x96", "\xd0\x9d\xd0\260\320\270\xd0\274\320\265\320\275\xd0\xbe\320\262\xd0\xb0\xd0\275\320\xb8\xd0\xb5", "\xd0\xa2\xd0\xb8\xd0\277\x20\320\220\320\x9a\xd0\x91", "\320\225\320\xbc\xd0\xba\xd0\xbe\321\201\321\202\xd1\x8c\40\320\xb0\xd0\xba\320\xba\xd1\203\320\xbc\321\x83\xd0\273\xd1\x8f\xd1\x82\xd0\xbe\321\200\320\xbd\xd0\276\320\xb9\x20\xd0\xb1\320\xb0\xd1\202\xd0\xb0\321\x80\xd0\265\xd0\270\x20\50\121\54\40\320\x90\40\xc3\227\40\xd1\x87\x29", "\xd0\243\xd0\xb4\xd0\xb5\xd0\273\xd1\x8c\320\275\320\276\xd0\xb5\40\320\262\xd1\x8b\xd0\264\320\265\xd0\273\320\265\320\275\320\xb8\320\xb5\x2c\40\161\54\x20\320\xbc\xd0\263\x2f\50\320\x90\52\xd1\207\x29", "\xd0\232\320\276\xd0\273\320\270\xd1\x87\xd0\xb5\321\201\xd1\x82\xd0\262\xd0\xbe\x20\320\267\320\xb0\xd1\200\321\x8f\320\264\xd0\xbe\xd0\xba\40\xd0\xb2\x20\xd0\xb3\320\276\xd0\264\40\x28\141\x29", "\xd0\x9a\320\xbe\320\xbb\320\270\321\x87\xd0\265\321\201\321\202\xd0\xb2\320\276\40\320\xbe\320\264\xd0\xbd\320\xbe\xd0\262\321\x80\xd0\265\320\274\320\xb5\xd0\xbd\xd0\275\320\xbe\x20\xd0\xb7\320\xb0\xd1\x80\321\217\xd0\266\320\260\320\xb5\xd0\274\321\213\xd1\x85\40\320\260\xd0\xba\320\272\321\x83\320\xbc\xd1\x83\xd0\273\xd1\x8f\321\x82\320\xbe\321\x80\320\xbe\320\262\x20\x28\156\47\x29", "\320\xa6\320\270\320\xba\xd0\xbb\40\320\277\xd1\200\320\xbe\xd0\xb2\xd0\265\xd0\xb4\320\xb5\320\275\320\270\321\217\40\320\xb7\320\xb0\321\x80\321\x8f\xd0\264\320\272\320\270\40\320\xb2\40\xd0\xb4\320\xb5\320\275\xd1\x8c\x20\50\155\54\x20\xd1\x87\xd0\260\321\x81\51", "\xd0\236\320\264\xd0\xbd\xd0\276\320\262\xd1\200\xd0\xb5\320\xbc\320\265\xd0\xbd\xd0\xbd\320\xbe\xd1\201\xd1\x82\321\x8c", "\320\x9c\xd0\xb0\xd0\xba\321\x81\320\270\xd0\xbc\xd0\260\xd0\xbb\321\214\320\275\320\xbe\40\321\200\320\260\xd0\267\320\276\320\xb2\321\x8b\xd0\271\x20\320\262\xd1\x8b\320\xb1\321\200\320\xbe\xd1\201\x2c\12\xd0\263\57\321\x81", "\xd0\222\320\xb0\320\xbb\320\xbe\320\262\321\x8b\320\xb9\x20\320\xb2\321\213\320\xb1\xd1\x80\320\276\321\x81\54\40\321\x82\x2f\320\263"); $all_row = array(); array_push($all_row, $row0); for ($p = 1; $p <= count($_POST) / 7; $p++) { $max_release = $_POST["\164\171\x70\145\137{$p}"] * floatval(str_replace("\x2c", "\x2e", $_POST["\143\x61\160\141\x63\x69\x74\x79\x5f\121\137{$p}"])) * $_POST["\161\x75\x61\156\164\151\x74\171\x5f\143\150\141\x72\147\x65\x5f{$p}"] * pow(10, -9) * 0.9 * pow(10, 6) / ($_POST["\167\150\151\154\x65\137{$p}"] * 3600); $gross_release = $_POST["\x74\171\x70\x65\x5f{$p}"] * $_POST["\x63\x61\160\x61\x63\x69\164\x79\x5f\x61\x5f{$p}"] * floatval(str_replace("\x2c", "\x2e", $_POST["\x63\141\x70\141\143\151\x74\x79\137\121\x5f{$p}"])) * pow(10, -9) * 0.9; if ($_POST["\x74\171\160\145\x5f{$p}"] == "\61") { $type = "\320\x9a\xd0\270\321\x81\xd0\xbb\xd0\276\xd1\x82\xd0\275\xd1\213\320\271"; if ($sumk === true) { if ($_POST["\x72\141\144\x69\157\151\164\145\x6d\x5f{$p}"] == "\320\224\xd0\260") { $row12 = array("\60\x33\62\62", "\xd0\241\320\xb5\xd1\x80\320\xbd\xd0\260\xd1\x8f\40\xd0\xba\xd0\270\xd1\x81\xd0\273\320\276\xd1\202\320\xb0", $row12[2] + $max_release, $row12[3] + $gross_release); } else { $row12 = array("\x30\63\62\x32", "\xd0\xa1\320\265\321\x80\320\275\320\xb0\321\x8f\x20\xd0\xba\xd0\270\xd1\201\320\xbb\xd0\xbe\xd1\202\xd0\xb0", $row12[2], $row12[3] + $gross_release); } } else { if ($_POST["\162\x61\x64\x69\x6f\151\x74\145\x6d\x5f{$p}"] == "\320\x94\xd0\260") { if ($_POST["\x72\x61\x64\x69\157\151\164\145\155\137" . ($p - 1)] == "\xd0\235\320\265\321\202") { $row12[2] = 0; } $sumk = true; $row12 = array("\x30\63\62\62", "\320\241\xd0\xb5\xd1\200\xd0\xbd\xd0\xb0\321\217\40\320\xba\320\270\321\201\xd0\273\320\276\321\x82\xd0\260", $row12[2] + $max_release, $row12[3] + $gross_release); } else { if ($max_release > $row12[2]) { $row12 = array("\60\63\x32\x32", "\320\xa1\xd0\xb5\xd1\x80\xd0\xbd\320\xb0\321\217\x20\xd0\xba\320\270\321\x81\xd0\xbb\320\xbe\xd1\x82\320\xb0", $max_release, $row12[3] + $gross_release); } else { $row12 = array("\60\63\62\x32", "\xd0\241\320\xb5\xd1\x80\320\xbd\xd0\260\321\x8f\x20\320\272\320\xb8\321\201\320\xbb\320\276\xd1\202\320\xb0", $row12[2], $row12[3] + $gross_release); } } } } else { $type = "\xd0\xa9\320\xb5\xd0\xbb\320\xbe\xd1\x87\xd0\275\xd0\xbe\xd0\271"; if ($sumch === TRUE) { if ($_POST["\x72\141\144\151\x6f\x69\x74\145\x6d\137{$p}"] == "\320\x94\320\260") { $row11 = array("\x30\x31\x35\x30", "\xd0\x9d\320\xb0\xd1\x82\321\x80\320\270\xd0\271\x20\320\263\320\xb8\320\264\321\x80\320\276\320\xbe\xd0\272\321\201\xd0\270\320\xb4", $row11[2] + $max_release, $row11[3] + $gross_release); } else { $row11 = array("\x30\61\x35\60", "\320\x9d\320\260\321\202\xd1\200\320\xb8\320\271\40\xd0\263\320\270\xd0\xb4\xd1\200\xd0\276\xd0\xbe\xd0\272\xd1\201\320\270\xd0\264", $row11[2], $row11[3] + $gross_release); } } else { if ($_POST["\162\x61\x64\151\x6f\151\164\x65\155\137{$p}"] == "\xd0\x94\xd0\260") { if ($_POST["\162\141\x64\151\x6f\151\164\145\x6d\137\x23\173\x69\55\x31\175"] == "\xd0\x9d\320\xb5\321\x82") { $row11[2] = 0; } $sumch = true; $row11 = array("\x30\x31\65\60", "\xd0\235\320\xb0\xd1\x82\321\x80\320\270\320\xb9\40\320\xb3\xd0\270\xd0\xb4\321\200\xd0\xbe\320\276\xd0\272\321\x81\xd0\270\320\264", $row11[2] + $max_release, $row11[3] + $gross_release); } else { if ($max_release > $row11[2]) { $row11 = array("\x30\61\65\60", "\xd0\235\xd0\xb0\321\x82\xd1\200\xd0\270\xd0\271\40\320\263\320\xb8\320\264\321\x80\xd0\276\xd0\xbe\xd0\xba\321\201\320\xb8\xd0\xb4", $max_release, $row11[3] + $gross_release); } else { $row11 = array("\x30\61\x35\x30", "\320\x9d\xd0\260\321\202\321\200\xd0\xb8\xd0\271\40\xd0\263\xd0\270\320\xb4\xd1\x80\xd0\276\xd0\276\320\xba\xd1\x81\320\270\320\xb4", $row11[2], $row11[3] + $gross_release); } } } } $max_release = cut_number($max_release, 7); $gross_release = cut_number($gross_release, 6); array_push($all_row, array($p, $_POST["\156\141\155\145\137{$p}"], $type, floatval(str_replace("\x2c", "\x2e", $_POST["\x63\141\x70\x61\x63\151\x74\x79\137\x51\137{$p}"])), $_POST["\164\x79\x70\x65\x5f{$p}"], $_POST["\143\141\160\x61\x63\x69\x74\x79\x5f\x61\x5f{$p}"], $_POST["\161\165\141\x6e\x74\x69\164\x79\137\143\x68\x61\x72\x67\145\x5f{$p}"], $_POST["\167\150\x69\154\145\x5f{$p}"], $_POST["\162\141\144\x69\x6f\x69\x74\145\x6d\x5f{$p}"], $max_release, $gross_release)); } $tableStyle = array("\142\x6f\x72\144\x65\162\123\151\x7a\145" => 6, "\142\157\162\x64\x65\x72\x43\x6f\x6c\x6f\x72" => "\60\60\60\60\60\x30", "\x61\154\151\x67\156" => "\143\x65\156\164\145\x72"); $phpWord->addTableStyle("\155\171\124\141\x62\x6c\x65", $tableStyle); $styleCell = array("\x76\141\x6c\151\147\156" => "\x63\x65\156\x74\145\x72"); $table = $section->addTable("\x6d\x79\124\x61\x62\x6c\x65"); $table->addRow(); $table->addCell(1250, $styleCell)->addText($row10[0], array("\156\x61\x6d\145" => "\x54\x69\155\145\x73\40\116\x65\167\40\x52\157\x6d\x61\156", "\163\x69\x7a\145" => 12, "\142\x6f\154\x64" => true, "\x61\x6c\151\147\x6e" => "\x63\145\156\x74\145\x72")); $table->addCell(2800, $styleCell)->addText($row10[1], array("\x6e\141\x6d\x65" => "\124\151\155\x65\163\x20\116\145\167\x20\x52\x6f\155\x61\156", "\x73\x69\172\145" => 12, "\142\157\154\x64" => true, "\141\x6c\151\147\x6e" => "\x63\145\156\164\x65\162")); $table->addCell(6000, $styleCell)->addText($row10[2], array("\x6e\141\x6d\x65" => "\x54\x69\155\x65\163\x20\116\145\167\x20\x52\x6f\x6d\141\x6e", "\163\x69\172\145" => 12, "\x62\x6f\154\x64" => true, "\x61\x6c\x69\x67\x6e" => "\x63\x65\x6e\164\145\x72")); $table->addCell(5000, $styleCell)->addText($row10[3], array("\156\141\x6d\145" => "\124\151\x6d\145\x73\40\x4e\145\167\40\x52\x6f\155\x61\156", "\x73\151\172\145" => 12, "\x62\157\x6c\144" => true, "\141\154\x69\147\156" => "\143\x65\x6e\x74\145\162")); $pTextStyle = array("\x6e\141\x6d\145" => "\124\151\155\x65\163\40\116\145\x77\40\x52\157\x6d\141\156", "\163\x69\172\x65" => 12, "\141\154\x69\147\x6e" => "\143\x65\x6e\x74\x65\x72"); if ($row11[2] != 0) { $table->addRow(); $table->addCell(1250, $styleCell)->addText($row11[0], $pTextStyle); $table->addCell(2800, $styleCell)->addText($row11[1], $pTextStyle); $table->addCell(6000, $styleCell)->addText(cut_number($row11[2], 7), $pTextStyle); $table->addCell(5000, $styleCell)->addText(cut_number($row11[3], 6), $pTextStyle); } if ($row12[2] != 0) { $table->addRow(); $table->addCell(1250, $styleCell)->addText($row12[0], $pTextStyle); $table->addCell(2800, $styleCell)->addText($row12[1], $pTextStyle); $table->addCell(6000, $styleCell)->addText(cut_number($row12[2], 7), $pTextStyle); $table->addCell(5000, $styleCell)->addText(cut_number($row12[3], 6), $pTextStyle); } $parStyle = array("\x61\154\x69\147\x6e" => "\x6c\145\x66\x74", "\163\160\x61\x63\x65\102\x65\146\157\x72\x65" => 160, "\163\160\141\143\x65\x41\x66\x74\145\162" => 160); $section->addText("\xd0\230\321\201\321\205\xd0\276\xd0\xb4\xd0\xbd\321\213\xd0\xb5\40\320\xb4\320\xb0\xd0\275\xd0\275\xd1\x8b\xd0\265\40\320\270\40\321\x80\xd0\260\xd1\201\321\x87\320\xb5\321\202\40\xd0\277\321\200\xd0\xb8\320\xb2\320\xb5\320\264\xd0\265\xd0\xbd\xd1\x8b\x20\320\xb2\x20\xd1\x82\320\260\320\261\320\xbb\xd0\270\321\206\320\265\72", $header, $parStyle); $phpWord->addTableStyle($spanTableStyleName, $fancyTableStyle); $table = $section->addTable("\155\x79\124\x61\x62\154\x65"); $table->addRow(); $table->addCell(400)->addText($all_row[0][0], array("\x6e\x61\x6d\145" => "\124\x69\155\145\163\x20\x4e\x65\x77\x20\x52\x6f\155\141\x6e", "\x73\151\x7a\x65" => 12, "\x62\x6f\154\144" => true)); $table->addCell(1505)->addText($all_row[0][1], array("\156\141\x6d\145" => "\124\151\155\x65\163\40\116\x65\167\40\x52\x6f\155\141\156", "\x73\151\x7a\x65" => 12, "\x62\x6f\x6c\x64" => true)); $table->addCell(1505)->addText($all_row[0][2], array("\156\x61\x6d\145" => "\x54\151\155\x65\x73\40\x4e\145\x77\40\x52\157\x6d\141\156", "\163\x69\172\145" => 12, "\x62\157\x6c\144" => true)); $table->addCell(1505)->addText($all_row[0][3], array("\156\141\x6d\x65" => "\x54\x69\155\x65\163\40\x4e\145\x77\40\x52\157\155\141\x6e", "\x73\151\172\145" => 12, "\x62\x6f\154\144" => true)); $table->addCell(1505)->addText($all_row[0][4], array("\x6e\141\x6d\145" => "\124\x69\155\145\x73\40\x4e\x65\167\40\x52\157\x6d\141\156", "\163\151\x7a\x65" => 12, "\142\157\154\x64" => true)); $table->addCell(1505)->addText($all_row[0][5], array("\x6e\x61\x6d\145" => "\124\151\x6d\145\163\40\116\x65\167\x20\122\157\155\141\x6e", "\x73\151\172\x65" => 12, "\x62\x6f\x6c\144" => true)); $table->addCell(1505)->addText($all_row[0][6], array("\x6e\141\155\x65" => "\x54\151\155\145\163\40\116\145\x77\40\x52\x6f\155\x61\156", "\x73\151\172\145" => 12, "\x62\x6f\154\144" => true)); $table->addCell(1505)->addText($all_row[0][7], array("\156\141\155\145" => "\124\x69\155\x65\163\x20\116\x65\x77\x20\x52\x6f\x6d\141\156", "\163\x69\172\145" => 12, "\142\157\x6c\144" => true)); $table->addCell(1505)->addText($all_row[0][8], array("\156\141\x6d\145" => "\x54\x69\x6d\x65\x73\40\x4e\x65\x77\40\122\x6f\x6d\x61\x6e", "\163\151\172\x65" => 12, "\142\157\154\x64" => true)); $table->addCell(1505)->addText($all_row[0][9], array("\156\141\155\x65" => "\124\x69\155\145\x73\40\116\x65\167\x20\x52\157\x6d\x61\x6e", "\x73\x69\x7a\145" => 12, "\x62\x6f\x6c\x64" => true)); $table->addCell(1505)->addText($all_row[0][10], array("\x6e\x61\155\x65" => "\x54\151\x6d\145\x73\x20\x4e\145\x77\40\122\x6f\x6d\x61\156", "\x73\x69\172\145" => 12, "\x62\x6f\x6c\x64" => true)); $table->addRow(); $table->addCell(400)->addText("\61", array("\x6e\141\x6d\x65" => "\x54\151\x6d\145\163\x20\116\x65\167\40\x52\157\x6d\x61\156", "\163\x69\x7a\145" => 12, "\142\157\154\x64" => true)); $table->addCell(1505)->addText("\x32", array("\156\141\155\x65" => "\x54\x69\155\145\163\40\x4e\x65\x77\40\x52\x6f\x6d\x61\x6e", "\x73\x69\x7a\145" => 12, "\x62\x6f\154\x64" => true)); $table->addCell(1505)->addText("\63", array("\156\x61\155\x65" => "\124\151\x6d\145\x73\x20\x4e\145\x77\x20\x52\x6f\x6d\x61\156", "\163\x69\172\145" => 12, "\142\x6f\154\x64" => true)); $table->addCell(1505)->addText("\x34", array("\156\141\155\x65" => "\x54\x69\x6d\x65\x73\40\116\145\167\40\122\157\155\141\156", "\163\151\172\145" => 12, "\x62\x6f\x6c\144" => true)); $table->addCell(1505)->addText("\65", array("\156\141\x6d\145" => "\x54\x69\155\x65\163\x20\116\145\167\x20\x52\157\x6d\141\156", "\163\151\172\145" => 12, "\142\157\154\144" => true)); $table->addCell(1505)->addText("\66", array("\156\x61\155\145" => "\124\x69\155\145\x73\x20\116\145\167\40\x52\x6f\x6d\x61\x6e", "\x73\151\x7a\x65" => 12, "\x62\x6f\154\144" => true)); $table->addCell(1505)->addText("\67", array("\x6e\141\x6d\x65" => "\124\x69\x6d\145\163\40\x4e\x65\x77\40\x52\x6f\x6d\x61\156", "\x73\151\172\x65" => 12, "\x62\157\x6c\144" => true)); $table->addCell(1505)->addText("\70", array("\156\x61\x6d\145" => "\x54\151\155\145\x73\40\x4e\145\167\x20\x52\x6f\155\x61\156", "\163\151\x7a\145" => 12, "\142\x6f\154\x64" => true)); $table->addCell(1505)->addText("\71", array("\156\x61\x6d\145" => "\124\151\x6d\145\x73\40\116\x65\x77\40\x52\157\x6d\141\x6e", "\x73\x69\x7a\x65" => 12, "\142\x6f\x6c\144" => true)); $table->addCell(1505)->addText("\61\x30", array("\x6e\x61\155\x65" => "\x54\151\x6d\x65\163\x20\x4e\145\167\40\x52\157\155\x61\156", "\x73\x69\x7a\x65" => 12, "\x62\x6f\x6c\x64" => true)); $table->addCell(1505)->addText("\61\x31", array("\156\141\x6d\145" => "\124\x69\155\145\x73\40\116\145\167\x20\122\157\155\x61\x6e", "\163\x69\x7a\x65" => 12, "\142\x6f\x6c\144" => true)); for ($r = 1; $r < count($all_row); $r++) { $table->addRow(); for ($c = 0; $c <= 10; $c++) { $table->addCell(1505)->addText($all_row[$r][$c], array("\156\141\155\145" => "\x54\151\x6d\x65\163\40\x4e\145\167\40\x52\x6f\155\x61\x6e", "\x73\x69\172\145" => 12)); } } require_once $_SERVER["\104\x4f\103\x55\x4d\105\116\124\137\122\117\x4f\x54"] . "\57\x77\x70\x2d\x6c\157\141\x64\x2e\160\x68\160"; global $current_user; update_user_meta($current_user->ID, "\x61\151\x72\x5f\146\157\162\x6d\137\144\157\167\x6e\154\x6f\x61\x64", intval(get_user_meta($current_user->ID, "\x61\151\x72\x5f\x66\157\162\155\x5f\144\x6f\167\156\x6c\x6f\141\x64", true)) + 1); $name = "\xd0\xa2\320\xb0\xd0\261\320\273\320\xb8\321\x86\xd0\xb0\x5f\xd1\x80\320\xb0\xd1\x81\xd1\207\320\xb5\321\202\320\276\320\xb2\137\xd0\277\xd0\276\137\xd0\274\320\260\321\200\320\xba\320\260\xd0\xbc\x5f\320\xb0\xd0\xba\320\xba\xd1\x83\xd0\274\xd1\203\xd0\xbb\321\217\321\x82\xd0\xbe\xd1\200\320\276\320\262\x5f" . date("\150\55\151\55\163\137\152\55\x6d\x2d\131") . "\56\144\x6f\143\170"; $saveName = dirname(__FILE__) . "\x2f\144\157\x77\156\x6c\157\141\144\57" . $name; $objWriter = \PhpOffice\PhpWord\IOFactory::createWriter($phpWord, "\x57\x6f\x72\144\62\60\60\67"); $objWriter->save($saveName); echo "\x2f\167\160\x2d\143\x6f\156\164\145\156\x74\57\164\150\145\155\x65\163\x2f\143\x61\x65\x72\57\146\x6f\x72\x6d\x73\57\61\x2f\x64\x6f\x77\x6e\154\x6f\141\x64\x2f" . $name; } goto YJ1Km; RU0tF: ini_set("\x64\x69\163\x70\154\141\171\137\163\164\141\x72\x74\x75\160\x5f\x65\x72\x72\157\162\163", 0); goto jeoyU; akXXs: ini_set("\144\x69\x73\x70\x6c\141\171\x5f\x65\x72\x72\x6f\x72\163", 0); goto RU0tF; tjULq: ini_set("\145\x72\162\x6f\x72\137\x72\145\160\157\x72\164\151\156\x67", false); goto akXXs; YJ1Km: function cut_number($val, $precision) { if (stripos($val, "\105") != false) { $explode = explode("\x45\x2d", $val); $explode = $explode[1]; if ($explode < $precision) { $res = number_format($val, $precision); } else { $res = number_format($val, $explode); } } else { $res = number_format($val, $precision); } return $res; } goto lxLwa; jeoyU: require "\166\x65\x6e\x64\x6f\x72\57\x61\165\164\x6f\154\x6f\x61\x64\x2e\160\x68\160"; goto mYOhX; lxLwa: 

Function Calls

None

Variables

None

Stats

MD5 3970e472e1aac727f3c313211329873a
Eval Count 0
Decode Time 52 ms