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 /* This file is protected by copyright law and provided under license. Reverse engin..
Decoded Output download
include_once("./functions/stocktaking.php");
include_once("./functions/department.php");
include_once("./functions/employee.php");
if (isset($_GET['Stock_Taking_ID'])) {
$Stock_Taking_ID = $_GET['Stock_Taking_ID'];
}
$htm = "";
if ($Stock_Taking_ID >0) {
$Stock_Taking = Get_Stock_Taking($Stock_Taking_ID);
$Stock_Taking_Location = Get_Sub_Department_Name($Stock_Taking['Sub_Department_ID']);
$Stock_Taking_Officer = Get_Employee($Stock_Taking['Employee_ID'])['Employee_Name'];
$Stock_Taking_List = Get_Stock_Taking_Items($Stock_Taking_ID);
$htm .= "<table width ='100%' height = '30px'>";
$htm .= "<tr> <td> <img src='./branchBanner/branchBanner.png' width=100%> </td> </tr>";
$htm .= "<tr><td> </td></tr>";
$htm .= "<tr> <td style='text-align: center;'><h2>STOCK TAKING NOTE</h2></td> </tr>";
$htm .= "</table>";
$htm .= "<br/>";
$htm .= "<table width=100%>";
$htm .= "<tr>";
$htm .= "<td width=20%><b>Stock Taking Number</b></td>";
$htm .= "<td width=20%> {$Stock_Taking['Stock_Taking_ID']} </td>";
$htm .= "<td width=20%><b>Stock Taking Date</b></td>";
$htm .= "<td> {$Stock_Taking['Stock_Taking_Date']} </td>";
$htm .= "</tr>";
$htm .= "<tr>";
$htm .= "<td width=20%><b>Stock Taking Location</b></td>";
$htm .= "<td width=20%> {$Stock_Taking_Location} </td>";
$htm .= "<td width=20%><b>Stock Taking Officer</b></td>";
$htm .= "<td width=20%> {$Stock_Taking_Officer} </td>";
$htm .= "</tr>";
$htm .= "<tr>";
$htm .= "<td width=20%><b>Stock Taking Description</b></td>";
$htm .= "<td colspan=3> {$Stock_Taking['Stock_Taking_Description']} </td>";
$htm .= "</tr>";
$htm .= "</table>";
$htm .= "<br/><br/><br/><br/>";
$htm .= "<table id='stocktaking_items' style='border-collapse: collapse;' cellspacing=0 cellpadding=0 width='100%'>";
$htm .= "<tr>";
$htm .= "<td width=3%><b>Sn</b></td>";
$htm .= "<td width=60% style='text-align: left;'><b>Item Name</b></td>";
$htm .= "<td width=20% style='text-align: right;'><b>Under Quantity</b></td>";
$htm .= "<td width=20% style='text-align: right;'><b>Over Quantity</b></td>";
$htm .= "<td width=20% style='text-align: left;'><b> Remark</b></td>";
$htm .= "</tr>";
$i = 1;
foreach($Stock_Taking_List as $Stock_Taking) {
$htm .= "<tr>";
$htm .= "<td> {$i} </td>";
$htm .= "<td style='text-align: left;'> {$Stock_Taking['Product_Name']} </td>";
$htm .= "<td style='text-align: right;'> {$Stock_Taking['Under_Quantity']} </td>";
$htm .= "<td style='text-align: right;'> {$Stock_Taking['Over_Quantity']} </td>";
$htm .= "<td style='text-align: left;'> {$Stock_Taking['Item_Remark']} </td>";
$htm .= "</tr>";
$i++;
}
$htm .= "</table>";
$htm .= "<br/><br/><br/><br/><br/><br/><br/><br/>";
$htm .= "<table>";
$htm .= "<tr>";
$htm .= "<td style='text-align:left;width:30%'><b>Stock Taking Officer Sign : </b></td>";
$htm .= "<td style='text-align:left;width:15%'><b>________________________________</b></td>";
$htm .= "<td style='text-align:right;width:10%'></td>";
$htm .= "<td style='text-align:left;width:30%'></td>";
$htm .= "<td style='text-align:left;width:15%'></td>";
$htm .= "</tr>";
$htm .= "<tr>";
$htm .= "<td style='text-align:left;width:30%'><b>Stock Taking Officer : </b></td>";
$htm .= "<td style='text-align:left;width:15%'><b> {$Stock_Taking_Officer} </b></td>";
$htm .= "<td style='text-align:right;width:10%'></td>";
$htm .= "<td style='text-align:left;width:30%'></td>";
$htm .= "<td style='text-align:left;width:15%'></td>";
$htm .= "</tr>";
$htm .= "</table>";
$htm .= "<link rel='stylesheet' href='css/fonts/fonts.css' />";
$htm .= "<style>";
$htm .= "body { font-family: 'Raleway_Medium'; }";
$htm .= "table#stocktaking_items tr td { border: 1px solid #555; }";
$htm .= "</style>";
}
include("./functions/makepdf.php");
Did this file decode correctly?
Original Code
<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$GLOBALS['OOO0000O0']=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5}.$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$GLOBALS['OOO0000O0'].=$GLOBALS['OOO0000O0']{3}.$OOO000000{11}.$OOO000000{12}.$GLOBALS['OOO0000O0']{7}.$OOO000000{5};$GLOBALS['OOO000O00']=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$GLOBALS['O0O000O00']=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$GLOBALS['O0O000O00']=$O0O000O00.$OOO000000{3};$GLOBALS['O0O00OO00']=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$GLOBALS['OOO00000O']=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x1358;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDU4Zik7JE9PMDBPMDBPMD0kR0xPQkFMU1snT09PMDAwME8wJ10oJEdMT0JBTFNbJ09PTzAwMDAwTyddKCRHTE9CQUxTWydPME8wME9PMDAnXSgkTzAwME8wTzAwLDB4MWE4KSwnRW50ZXJ5b3V3a2hSSFlLTldPVVRBYUJiQ2NEZEZmR2dJaUpqTGxNbVBwUXFTc1Z2WHhaejAxMjM0NTY3ODkrLz0nLCdBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEyMzQ1Njc4OSsv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1 |
fread | 3 |
strtr | 2 |
fclose | 1 |
urldecode | 1 |
str_replace | 1 |
base64_decode | 3 |
Stats
MD5 | dddb7cd63cd63aba798c1c9f44007ab4 |
Eval Count | 3 |
Decode Time | 107 ms |