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 g1WdN; e3yDi: function __getRupiah($nilai, $rnd = 2, $isflor = false) { $rp =..
Decoded Output download
<?php
goto g1WdN; e3yDi: function __getRupiah($nilai, $rnd = 2, $isflor = false) { $rp = 0; $dg = 1000000000000000000; $ret = ''; $nilai = strval($nilai); if ($nilai >= $dg) { $rp = round($nilai / $dg, $rnd); if ($isflor == true) { $rp = floor($nilai / $dg); } $ret = __formatMoney($rp, true) . " T"; return str_replace(".00", '', $ret); } $dg = 1000000000; if ($nilai >= $dg) { $rp = round($nilai / $dg, $rnd); if ($isflor == true) { $rp = floor($nilai / $dg); } $ret = __formatMoney($rp, true) . " M"; return str_replace(".00", '', $ret); } $dg = 1000000; if ($nilai >= $dg) { $rp = round($nilai / $dg, $rnd); if ($isflor == true) { $rp = floor($nilai / $dg); } $ret = __formatMoney($rp, true) . " Juta"; return str_replace(".00", '', $ret); } $dg = 1000; if ($nilai >= $dg) { $rp = round($nilai / $dg, $rnd); if ($isflor == true) { $rp = floor($nilai / $dg); } $ret = __formatMoney($rp, true) . " Ribu"; return str_replace(".00", '', $ret); } $dg = 100; if ($nilai >= $dg) { $rp = round($nilai / $dg, $rnd); if ($isflor == true) { $rp = floor($nilai / $dg); } $ret = __formatMoney($rp, true) . " Ratus"; return str_replace(".00", '', $ret); } $dg = 1; if ($nilai >= $dg) { $rp = round($nilai / $dg, $rnd); if ($isflor == true) { $rp = floor($nilai / $dg); } $ret = __formatMoney($rp, true) . " Rupiah"; return str_replace(".00", '', $ret); } } goto x7dz1; ibJyg: function __strSQL2($value, $type) { $ret = $value; if ($type == "D" && empty($value) === false) { $value = str_replace("-", "/", $value); date_default_timezone_set("Asia/Jakarta"); list($day, $month, $year) = sscanf($value, "%04d/%02d/%02d"); $dt = new DateTime("{$year}-{$month}-{$day}"); $ret = $dt->format("d-m-Y"); } return $ret; } goto ABckz; sG0it: function _polistoken($r) { return $r["product"]; } goto D__aq; MXBac: function echoFile($file) { if (strpos($file, ".pdf") !== false) { ?>
<object data="<?php echo $file; ?>
"height="650px"type="application/pdf"width="980px">This browser does not support PDFs. Please download the PDF to view it: <a href="<?php echo $file; ?>
">Download PDF</a></object><?php } else { echo "\xa\x9\x9 <img src="" . $file . "" alt="" style="width:90%;height:90%;">
\x9 \x9"; } } goto KNBzQ; zYLCO: function left($str, $length) { return substr($str, 0, $length); } goto vI5Bg; drWQ6: function __getClientIP() { if (isset($_SERVER)) { if (isset($_SERVER["HTTP_X_FORWARDED_FOR"])) { return $_SERVER["HTTP_X_FORWARDED_FOR"]; } if (isset($_SERVER["HTTP_CLIENT_IP"])) { return $_SERVER["HTTP_CLIENT_IP"]; } return $_SERVER["REMOTE_ADDR"]; } if (getenv("HTTP_X_FORWARDED_FOR")) { return getenv("HTTP_X_FORWARDED_FOR"); } if (getenv("HTTP_CLIENT_IP")) { return getenv("HTTP_CLIENT_IP"); } return getenv("REMOTE_ADDR"); } goto ZBq80; tp0DQ: function right($string, $chars) { $vright = substr($string, strlen($string) - $chars, $chars); return $vright; } goto zYLCO; BVwXa: function __ceklogin($user, $pass) { $r = __login($user, $pass); $password = md5($user . "+" . $pass); if (empty($r) || count($r) <= 0) { return false; } if ($r["email"] != $user || $r["password"] != $password) { return false; } return true; } goto drWQ6; Dk1ir: function _getdirId($bag = '') { $res = __dbrow("select
`wff_no` AS `no`,\xa\x9`wff_ket`,
`wff_tipe`,
`wff_folder` AS `dir`,
`wff_aktif`,
`wff_server`
\xa\x9from web_conf.web_file_folder where wff_no='{$bag}'"); if (empty($res)) { $res = __dbrow("select
\x9 `wff_no` AS `no`,
`wff_ket`,
\x9`wff_tipe`,\xa\x9\x9`wff_folder` AS `dir`,\xa\x9\x9`wff_aktif`,\xa\x9\x9`wff_server`
\x9 from web_conf.web_file_folder where wff_tipe='ALL' and wff_aktif=1"); } return $res; } goto OZ1FH; O2BXD: function sval($xnil = 0) { $xnil = str_replace(",", '', $xnil); $xnil = strval($xnil); return $xnil; } goto er1wr; eBfk4: function errordie($err) { $response["res"] = 0; $response["msg"] = $err; die(json_encode($response)); } goto YRR9V; Zo2HJ: function goLog() { $ip = get_iplocal(); $cmd = "\xa\x9INSERT INTO `web_trs`.`web_log_login`
(\xa `wlg_date`,\xa `wlg_user`,
`wlg_ip`)\xaVALUES (\xa now(),\xa '" . get_User() . "',
'" . $ip . "');
\x9"; __dbrow($cmd); } goto wyJmo; WKJA6: function __getMonth() { $ret = ''; $cmd = " select right(concat('00',month(curdate())),2) pk"; $r = __dbRow($cmd); $ret = $r["pk"]; return $ret; } goto jbDlT; O9avf: function __dbAllX($query, $id = 1, $key = '') { $dbvr = getDBVARS($id); $ip = $dbvr["hostname"]; $db = $dbvr["db_name"]; $user = $dbvr["username"]; $pass = $dbvr["password"]; $port = $dbvr["port"]; $q = __dbQueryServer($query, $ip, $db, $user, $pass, $port); $results = array(); while ($r = $q->fetch(PDO::FETCH_ASSOC)) { $results[] = $r; } if (!$key) { return $results; } $arr = array(); foreach ($results as $r) { $arr[$r[$key]] = $r; } return $arr; } goto uDWYo; LQam4: function setSessionYear($year) { $_SESSION["userdata"]["curyear"] = $year; return $year; } goto WCzEr; NrG2C: ini_set("memory_limit", "200000000M"); goto QEIkG; WCzEr: function __getYear() { $ret = ''; $cmd = " select year(curdate()) pk"; $r = __dbRow($cmd); $ret = $r["pk"]; return $ret; } goto qcLnw; H8JSA: function __getNoPst2($jns) { $ret = ''; if (empty($jns)) { $jns = ''; } $cmd = " SELECT epst.`F_GETNOPST`('" . $jns . "') pk"; $r = __dbRow($cmd); $ret = $r["pk"]; return $ret; } goto MXBac; zPt19: ini_set("session.gc_probability", 1); goto tG3DY; VvrVH: function ifNullArray($arr, $key, $val = '') { $vret = $val; if (array_key_exists($key, $arr)) { $vret = $arr[$key]; } return $vret; } goto PKLB8; mPnK4: function ____getFoto() { $fto = $_SESSION["userdata"]["img_foto"]; if (trim($fto) == '') { $fto = "/live/ww.image/any.jpg"; } else { $fto = "/live/ww.upload/file/fotoprofile/" . $fto; } return $fto; } goto e3yDi; OuPsU: function get_User() { return $_SESSION["userdata"]["email"]; } goto v61IL; tG3DY: ini_set("session.gc_divisor", 1); goto NrG2C; Zs_pz: function getDBVARS($id = 1) { global $DBVARS; if ($id == 2) { return $DBVARS[2]; } if ($id == 3) { return $DBVARS[3]; } if ($id == 4) { return $DBVARS[4]; } if ($id == 5) { return $DBVARS[5]; } if ($id == 6) { return $DBVARS[6]; } if ($id == 7) { return $DBVARS[7]; } return $DBVARS[1]; } goto O9avf; v6TN_: function __dbRow($query) { $q = __dbQuery($query); return $q->fetch(PDO::FETCH_ASSOC); } goto OrREp; PxaL5: function __getPk() { $ret = getPKUser(); return $ret; } goto bdb2B; WU0JU: function getPKUserAnd($user) { $ret = ''; $cmd = " select web_conf.f_get_pk_user('" . $user . "') pk"; $r = __dbRow($cmd); $ret = $r["pk"]; return $ret; } goto PebOQ; LnpiM: function __login($user, $pass) { $password = md5($user . "+" . $pass); $cmd = "\xa\x9\x9SELECT ws.*,ac.*,YEAR(CURDATE()) curyear,MONTH(CURDATE()) curmonth,DAY(CURDATE()) curday,DATE_FORMAT(CURDATE(),"%d-%m-%Y") cur_date,IFNULL(mrkn_nama,"") mrkn_nama , IFNULL(`mrkn_nama_lain`,"") mrkn_nama_lain FROM user_accounts ac\xa \x9LEFT JOIN emst.`mst_rekanan` rkn ON mrkn_kode_induk=rkn.mrkn_kode AND IFNULL(mrkn_kode_induk,"")!=""\xa \x9,web_setup ws
\x9where\xa\x9email="" . addslashes($user) . "" and\xa password="" . $password . "" and active limit 1"; $r = __dbRow($cmd); return $r; } goto vaBpD; ejsyM: function __isHak($hak, $usr) { if ($usr != "#") { if (trim($_SESSION["userdata"]["email"]) == trim($usr)) { return true; } } for ($i = 0; $i < count($hak); $i++) { if ($_SESSION["userdata"][$hak[$i]] == "1") { return true; } } return false; } goto L15AI; InpHo: require SCRIPTBASE . ".private/config.php"; goto ORzb2; L15AI: function __sqlSafe($nilai) { return addslashes(str_replace(""", "'", $nilai)); } goto LnpiM; SQdDN: function __dbAll($query, $key = '') { $q = __dbQuery($query); $results = array(); while ($r = $q->fetch(PDO::FETCH_ASSOC)) { $results[] = $r; } if (!$key) { return $results; } $arr = array(); foreach ($results as $r) { $arr[$r[$key]] = $r; } return $arr; } goto QJt33; l99gC: function __dbRowX($query, $id) { $q = __dbQueryX($query, $id); return $q->fetch(PDO::FETCH_ASSOC); } goto RNXfd; xyBkn: function __dbQueryServer($query, $ip, $db, $user, $pass, $port) { $db = __dbInitServer($ip, $db, $user, $pass, $port); $q = null; try { $q = $db->query($query); $db->num_queries++; } catch (PDOException $ex) { echo $ex; } return $q; } goto v6TN_; TDvfI: function __formatMoney($number, $fractional = false) { if ($fractional) { $number = sprintf("%.2f", $number); } while (true) { $replaced = preg_replace("/(-?\d+)(\d\d\d)/", "$1,$2", $number); if ($replaced != $number) { $number = $replaced; } else { break; } } return $number; } goto E86jm; PebOQ: function __getNoPst($db, $jns) { $ret = ''; if (empty($jns)) { $jns = ''; } $cmd = " SELECT " . $db . ".f_get_no('{$jns}', '',CURDATE(), 'NOPESERTA','' ) pk"; $r = __dbRow($cmd); $ret = $r["pk"]; return $ret; } goto H8JSA; n92nM: function dirToArray($dir) { $result = array(); $cdir = scandir($dir); foreach ($cdir as $key => $value) { if (!in_array($value, array(".", ".."))) { if (is_dir($dir . DIRECTORY_SEPARATOR . $value)) { $result[$value] = dirToArray($dir . DIRECTORY_SEPARATOR . $value); } else { $result[] = $value; } } } return $result; } goto ULm3z; OrREp: function __dbLiRow($query) { global $DBVARS; $mysqli = new mysqli($DBVARS["hostname"], $DBVARS["username"], $DBVARS["password"], $DBVARS["db_name"]); if (mysqli_connect_errno()) { printf("Connect failed: %s
", mysqli_connect_error()); die; } $result = $mysqli->query($query); } goto DHZq6; j4wRL: function __getPk2($jns) { $ret = ''; $cmd = " select f_get_pkw('" . $jns . "') pk"; $r = __dbRow($cmd); $ret = $r["pk"]; return $ret; } goto fSKrF; Q448B: if (!function_exists("__autoload")) { function __autoload($name) { if (file_exists($name . ".php")) { require $name . ".php"; } } } goto BhA16; HA0pV: function _isvalidtoken($r) { if (empty($r) || count($r) <= 0) { return false; } return true; } goto ka09S; x7dz1: function __colRow($cmdx, $colsx, $tipex, $clas = '', $tambah = '') { $cols = explode(",", $colsx); $array = __dbRow($cmdx); if (!empty($array)) { $arkey = array(); $arkeycol = array(); $json_data = ''; $ss = ''; $i = 0; foreach ($array as $key => $value) { $mykey = $key; $arkey[$i] = $mykey; $keyval = $mykey; if ($i < count($cols) && $colsx != '') { $keyval = $cols[$i]; } $arkeycol[$i] = $keyval; $ss .= "'{$keyval}' as `" . $mykey . "`,"; $i++; } if ($ss != '') { $ss .= "##"; $ss = " select " . str_replace(",##", '', $ss); $arcol = __dbRow($ss); if ($tipex == "json") { $json_col = json_encode($arcol); $json_data = json_encode($array); $json_data = "[" . $json_col . "," . $json_data . "]"; return $json_data; } if ($tipex == "jsonnumkey") { $json_col = json_encode($arcol); $json_data = json_encode($array); $json_data = "[" . $json_col . "," . $json_data . "]"; for ($i = 0; $i < count($arkey); $i++) { $json_data = str_replace(""" . $arkey[$i] . """, """ . $i . """, $json_data); } return $json_data; } if ($tipex == "array") { $arcol_1 = array(); $arcol_2 = array(); for ($s = 0; $s < count($arcol); $s++) { array_push($arcol_1, $arkey[$s]); array_push($arcol_2, $array[$arkey[$s]]); } $json_data = array($arcol_1, $arcol_2); return $json_data; } if ($tipex == "table") { $tr = ''; $td = ''; $tb = ''; for ($i = 0; $i < count($arkey); $i++) { $tr = ''; $td = ''; $ky = $arkey[$i]; $td .= "<td>" . $arkeycol[$i] . "<td>"; $td .= "<td>" . $array[$ky] . "<td>"; $tr .= "<tr>" . $td . "<tr>"; $tb .= $tr; } $tb = "<table class='{$clas}' {$tambah} ><tr><td width='50%' nowrap>DESCRIPTION</td> <td width='50%' >VALUE</td> </tr>" . $tb . "</table>"; return $tb; } } } return ''; } goto ao5eh; a1Wbd: function __dbLastInsertId() { return __dbOne("select last_insert_id() as id", "id"); } goto TUQv0; ZBq80: function __addLogIP($ip, $wpin, $asal) { $cmd = ''; if ($wpin == '') { $wpin = "web+andro"; } if ($ip == "unknown" || $ip == '') { $ip = "local"; } $cmd = "\xaINSERT IGNORE INTO `web_opr`.`web_log_ip`\xa (\xa `ip`,
`tipe`,
`wpin`)\xaVALUES (\xa '{$ip}',\xa '{$asal}',
'{$wpin}');"; __dbRow($cmd); $cmd = " update `web_opr`.`web_log_ip` set `date`=now() where `ip`='{$ip}' and `wpin`='{$wpin}';"; __dbRow($cmd); } goto q8rAU; gGgQz: function create_zip($files = array(), $destination = '', $overwrite = false, $info = false) { if (file_exists($destination) && !$overwrite) { return false; } $valid_files = array(); if (is_array($files)) { foreach ($files as $file) { if (file_exists($file)) { $valid_files[] = $file; } else { if ($info) { echo $file . " not found</br>"; } } } } if (count($valid_files)) { $zip = new ZipArchive(); if ($zip->open($destination, $overwrite ? ZIPARCHIVE::OVERWRITE : ZIPARCHIVE::CREATE) !== true) { echo " error create </br>"; return false; } foreach ($valid_files as $file) { $zip->addFile($file, $file); if ($info) { echo $file . " sukses </br>"; } } $zip->close(); return file_exists($destination); } else { if ($info) { echo "error count valid file"; } return false; } } goto XdxL0; KNBzQ: function __toSQL($table, $field, $type, $clause = '', $lexec = false, $except = '') { $scr = ''; $val = ''; $cmd = ''; if ($type === "I") { for ($i = 0; $i < count($field); $i++) { $k = key($field); $scr .= $k . ","; $tval = __sqlSafe($field[$k]); if (right($tval, 2) == "()") { $val .= '' . $tval . ","; } else { $val .= "'" . $tval . "',"; } next($field); } $scr = substr($scr, 0, strlen($scr) - 1); $val = substr($val, 0, strlen($val) - 1); $cmd = " INSERT INTO " . $table . " (" . $scr . ") VALUES (" . $val . ") "; if ($lexec === true) { $r = __dbQuery($cmd); } return $cmd; } if ($type === "U") { for ($i = 0; $i < count($field); $i++) { $k = key($field); $tval = __sqlSafe($field[$k]); if (right($tval, 2) == "()") { $val = '' . $tval . ''; } else { $val = "'" . $tval . "'"; } $scr .= $k . "=" . $val . ","; next($field); } if (strripos(strtoupper($clause), "WHERE") < 0 && empty($clause) === false) { $clause = " WHERE " . $clause; } $scr = substr($scr, 0, strlen($scr) - 1); $cmd = " UPDATE " . $table . " SET " . $scr . " " . $clause; if ($lexec === true) { $r = __dbQuery($cmd); } return $cmd; } if ($type === "D") { $cmd = " DELETE FROM " . $table . " " . $clause; if ($lexec === true) { $r = __dbQuery($cmd); } return $cmd; } } goto tp0DQ; jGzcF: function __newpass($user, $pass) { $password = __getpass($user, $pass); $cmd = " update user_account set `password`=" . $password . " where email='" . $user . "'"; $r = __dbRow($cmd); } goto BVwXa; XKgTt: function addtask_email($emailuser, $email_cc = '', $subject, $body_of_your_email = "Test", $file = '', $frommail = "[email protected]", $frompass = "notif999", $fromname = "Notifikasi AL AMIN", $replayto = "[email protected]", $replayname = "FAQ AL Amin", $bodyhtml = '', $server = 5) { if (empty($frommail)) { $frommail = "[email protected]"; } if (empty($frompass)) { $frompass = "notif999"; } if (empty($fromname)) { $fromname = "Notifikasi AL AMIN"; } if (empty($replayto)) { $frommail = "[email protected]"; } if (empty($replayname)) { $replayname = "FAQ AL Amin"; } $cmd = "INSERT INTO `mui_trs`.`mlog_email`
( \xa `mlge_emailuser`,\xa `mlge_emailcc`,
`mlge_subject`,\xa `mlge_body`,
mlge_files,\xa `mlge_frommail`,
`mlge_frompass`,
`mlge_fromname`,\xa `mlge_replayto`,\xa `mlge_replayname`,
`mlge_bodyhtml`,\xa `mlge_status`,
`mlge_crud_i`,
`mlge_crud_s`)\xaVALUES (
'" . $emailuser . "',\xa '" . $email_cc . "',\xa '" . $subject . "',\xa '" . $body_of_your_email . "',
'" . $file . "',
'" . $frommail . "',\xa '" . $frompass . "',
'" . $fromname . "',\xa '" . $replayto . "',\xa '" . $replayname . "',
'" . $bodyhtml . "',\xa '0',
NOW(),
'1881-01-01'
);\xa "; __dbrowx($cmd, $server); } goto xLZMj; MOaa9: function __cellBGColor($cells, $color, $objPHPEx) { $objPHPEx->getActiveSheet()->getStyle($cells)->getFill()->applyFromArray(array("type" => PHPExcel_Style_Fill::FILL_SOLID, "startcolor" => array("rgb" => $color))); } goto ksdl3; DHZq6: function __sqlError($query) { global $DBVARS; $ret = ''; $link = mysql_connect($DBVARS["hostname"], $DBVARS["username"], $DBVARS["password"]); mysql_select_db($DBVARS["db_name"], $link); mysql_set_charset("UTF-8", $link); $result = mysql_query($query, $link) or $ret = mysql_error($link); return $ret; } goto TDvfI; jbDlT: function __getDate() { $ret = ''; $cmd = " select curdate() pk"; $r = __dbRow($cmd); $ret = $r["pk"]; return $ret; } goto Y4KSv; HMhwH: function getHakUserForm($tipe = '') { $rz = __dbrow("SELECT * FROM web_conf.`web_user_menu` WHERE 1=1 AND wu_email='" . get_User() . "' AND wu_tipe='" . $tipe . "'"); if ($rz["wu_email"] == get_User()) { return true; } return false; } goto OuPsU; E86jm: function __getKey($ky, $array) { $ret = array(); $i = 0; $ss = left($ky, 1); foreach ($array as $value) { $k = key($array); if ($ss == "#") { $cx = "#" . trim($k); $cs = strpos($ky, $cx); if (trim($cs) == '') { $ret[$k] = $array[$k]; $i++; } } else { if (substr($k, 0, strlen($ky)) == $ky) { $ret[$k] = $array[$k]; $i++; } } next($array); } return $ret; } goto dUkub; g1WdN: ini_set("session.gc_maxlifetime", 54000); goto zPt19; RNXfd: function __dbInitServer($ip, $db, $user, $pass, $port = "3306") { global $DBVARS; if (trim($user) == '') { $user = $DBVARS["username"]; } if (trim($pass) == '') { $pass = $DBVARS["password"]; } try { $db = new PDO("mysql:host=" . $ip . ";port=" . $port . ";dbname=" . $db, $user, $pass); } catch (PDOException $e) { die("error" . $e->getMessage()); die; } $db->query("SET NAMES utf8"); $db->num_queries = 0; return $db; } goto Aaay6; ULm3z: function arow2col($res, $xkode, $xnilai) { $arr = array(); $arr = array("key x" => "val x"); for ($i = 0; $i < count($res); $i++) { $kode = $res[$i][$xkode]; $arr[$kode] = $res[$i][$xnilai]; } return $arr; } goto O2BXD; dUkub: function __isset($vr, $ky) { $ret = ''; if (isset($vr[$ky])) { $ret = $vr[$ky]; } return $ret; } goto t0J36; er1wr: function numformat($nil = 0, $dig = "2", $rpl = false) { $vret = number_format(sval($nil), $dig, ".", ","); if ($rpl == true) { $vret = str_replace(".00", '', $vret); } return $vret; } goto Zo2HJ; pRvwB: set_include_path(SCRIPTBASE . "ww.php_classes" . PATH_SEPARATOR . get_include_path()); goto T8Dia; U9g_f: function __cellAutoSizeCol($mulai, $akhir, $objPHPEx) { foreach (range($mulai, $akhir) as $columnID) { $objPHPExcel->getActiveSheet()->getColumnDimension($columnID)->setAutoSize(true); } } goto MOaa9; MfQes: function __dbInit() { $dbvr = getDBVARS(0); if (isset($GLOBALS["db"])) { return $GLOBALS["db"]; } try { $db = new PDO("mysql:host=" . $dbvr["hostname"] . ";port=" . $dbvr["port"] . ";dbname=" . $dbvr["db_name"], $dbvr["username"], $dbvr["password"]); } catch (PDOException $e) { die("error" . $e->getMessage()); die; } $db->query("SET NAMES utf8"); $db->num_queries = 0; $GLOBALS["db"] = $db; return $db; } goto Zs_pz; ka09S: function _grouptoken($r) { return $r["groups"]; } goto sG0it; Cay_w: function get_iplocal() { $ip = $_SESSION["userdata"]["iplocal"]; if (empty($ip)) { $ip = __getClientIP(); if ($ip == "unknown" || $ip == '') { $ip = "local"; } $_SESSION["userdata"]["iplocal"] = $ip; } return $ip; } goto HMhwH; M8cA6: function __config_rewrite() { global $DBVARS; $tmparr = $DBVARS; $tmparr2 = array(); foreach ($tmparr as $name => $val) { $tmparr2[] = "'" . addslashes($name) . "'=>'" . addslashes($val) . "'"; } $config = "<?php
$DBVARS=array(\xa " . join(",
\x9", $tmparr2) . "
);"; file_put_contents(CONFIG_FILE, $config); } goto SQdDN; UDSO7: function _delstrline($pk, $frm = ",", $wth = "','") { $pk = str_replace("\xd
", '', $pk); $pk = trim(preg_replace("/\s\s+/", " ", $pk)); $pk = str_replace($frm, $wth, $pk); return $pk; } goto XKgTt; XdxL0: function _isValidFileExt($filenameupd) { $jpg = array("tif", "jpg", "png", "gif", "jpeg", "bmp", "pdf", "doc", "xls", "docx", "txt", "xlsx"); $ext = strtolower(pathinfo($filenameupd, PATHINFO_EXTENSION)); $cek = array_search($ext, $jpg); if (strval($cek) >= 0) { return $ext; } return false; } goto H3vpb; gLrDG: function get_Name() { return $_SESSION["userdata"]["name"]; } goto gGgQz; QEIkG: session_start(); goto Q448B; OZ1FH: function __getKeyArray($array) { $arrt = array(); foreach ($array as $value) { $k = key($array); array_push($arrt, $k); next($array); } return $arrt; } goto U9g_f; uDWYo: function __dbQueryX($query, $id) { $dbvr = getDBVARS($id); $ip = $dbvr["hostname"]; $db = $dbvr["db_name"]; $user = $dbvr["username"]; $pass = $dbvr["password"]; $db = __dbInitServer($ip, $db, $user, $pass); $q = null; try { $q = $db->query($query); $db->num_queries++; } catch (PDOException $ex) { echo $ex; } return $q; } goto l99gC; v61IL: function get_Mail() { return $_SESSION["userdata"]["email_user"]; } goto kSwBd; Aaay6: function __dbOne($query, $field = '') { $r = __dbRow($query); return $r[$field]; } goto a1Wbd; ORzb2: if (!defined("CONFIG_FILE")) { define("CONFIG_FILE", SCRIPTBASE . ".private/config.php"); } goto pRvwB; t0J36: function __getNo($cabang, $modul, $tgl, $jenis, $tambah) { $ret = ''; if (right($tgl, 2) == "()") { } else { $tgl = "'" . $tgl . "'"; } $cmd = " SELECT eset.`f_get_no`('{$cabang}','{$modul}',{$tgl},'{$jenis}','{$tambah}' ) pk"; $r = __dbRow($cmd); $ret = $r["pk"]; return $ret; } goto PxaL5; nv7E0: function ____getGroup() { return $group = $_SESSION["userdata"]["groupuser"]; } goto SGGBW; PKLB8: function saveBase64Image($postbase64, $dirsave, $filename) { if (empty($postbase64)) { return ''; } $folderPath = $dirsave; $image_parts = explode(";base64,", $postbase64); $image_type_aux = explode("image/", $image_parts[0]); $image_type = $image_type_aux[1]; $image_base64 = base64_decode($image_parts[1]); $namefile = $filename . "." . $image_type; $file = $folderPath . $namefile; file_put_contents($file, $image_base64); if (file_exists($file)) { return $namefile; } return ''; } goto zpVM7; ksdl3: function __getHakLokasi($id, $tipe = 0) { $cmd = " select * from web_conf.web_menu_lokasi where wml_menu_id='" . $id . "' and wml_mlok_kode='" . __getGlobalValue("lokasi") . "'"; $res = __dbrow($cmd); if ($tipe == 0) { if (empty($res)) { return "0"; } else { return "1"; } } if ($tipe == 1) { if (empty($res)) { return ''; } else { return $res["wml_mrkn_kode"]; } } return $res; } goto n92nM; AsusC: define("SCRIPTBASE", $_SESSION["DIR"]); goto yUaHR; TUQv0: function __dbQuery($query) { $db = __dbInit(); $q = null; try { $q = $db->query($query); $db->num_queries++; } catch (PDOException $ex) { echo $ex; } return $q; } goto xyBkn; vaBpD: function __getGlobalValue($field) { if (isset($_SESSION["userdata"][$field])) { return $group = $_SESSION["userdata"][$field]; } return ''; } goto nv7E0; ao5eh: function _getdir($bag = '') { $res = __dbrow("select
\x9 `wff_no` AS `no`,
`wff_ket`,\xa `wff_tipe`,
`wff_folder` AS `dir`,
`wff_aktif`,\xa `wff_server`
\x9from web_conf.web_file_folder where wff_tipe='{$bag}' and wff_aktif=1"); if (empty($res)) { $res = __dbrow("select \xa\x9 `wff_no` AS `no`,
\x9\x9`wff_ket`,\xa\x9 `wff_tipe`,
\x9 `wff_folder` AS `dir`,\xa\x9 `wff_aktif`,
\x9 `wff_server`
from web_conf.web_file_folder where wff_tipe='ALL' and wff_aktif=1"); } return $res; } goto Dk1ir; jvDX0: function __getDay() { $ret = ''; $cmd = " select right(concat('00',day(curdate())),2) pk"; $r = __dbRow($cmd); $ret = $r["pk"]; return $ret; } goto WKJA6; YRR9V: function _gettoken($user) { $cmd = "select * from user_token where\xa\x9trim(`token`)=trim("" . addslashes($user) . "") "; $r = __dbRow($cmd); return $r; } goto HA0pV; T8Dia: function __rptSave($wrtpk, $wrtwr_kode, $wrtwhere, $wrthdr1, $wrthdr2, $wrthdr3, $wrtorder, $wrtuser = '', $wrtype = '') { $cmd = "INSERT INTO web_trs.web_trs_report
(wrt_pk,\xa wrt_wr_kode,\xa wrt_where,\xa wrt_hdr1,
wrt_hdr2,\xa wrt_hdr3,wrt_order,wrt_user,wrt_type) \xaVALUES ('{$wrtpk}',
'{$wrtwr_kode}',\xa '" . __sqlSafe($wrtwhere) . "',\xa '" . __sqlSafe($wrthdr1) . "',\xa '" . __sqlSafe($wrthdr2) . "',\xa '" . __sqlSafe($wrthdr3) . "','{$wrtorder}','{$wrtuser}','{$wrtype}');"; __dbRow($cmd); $cmd = "SELECT `wr_kode`,`wr_rpt`,wr_name,`wrt_pk`,wrt_hdr1,wrt_hdr2,wrt_hdr3,wrt_where FROM web_trs.`web_trs_report`,web_trs.`web_report` WHERE wr_kode=`wrt_wr_kode` AND `wrt_pk`='{$wrtpk}' limit 1"; $res = __dbRow($cmd); return $res; } goto ejsyM; wyJmo: function updLog() { $ip = get_iplocal(); $cmd = "CALL `web_trs`.`P_LOGUPDATE`('" . get_User() . "','" . $ip . "')"; __dbrow($cmd); } goto Cay_w; H3vpb: function addTaskProses($pk, $mtprkode, $judul, $sqltam, $tiperpt, $koderpt, $tipexport, $user, $jabatan, $kuncijab, $schedule, $kodescedule, $param1 = '', $param2 = '', $param3 = '', $param4 = '', $param5 = '', $arrpost = array()) { $server = 0; $usermail = ''; $userwa = ''; $jsc = json_encode($arrpost); $cmd = "SELECT * FROM `web_conf`.`user_accounts` WHERE `email`='" . $user . "'"; $res = __dbrow($cmd); if (!empty($res)) { $usermail = $res["email_user"]; $userwa = $res["no_hp"]; } $cmd = "select count(*) tt from `mui_task`.`trs_task_report`\xaWHERE ttr_user='" . $user . "' and ttr_status=0\xaand date(ttr_start)=curdate()\xa"; $res = __dbrowX($cmd, 2); $tt = 15; if (!empty($res)) { if (strval($res["tt"]) > $tt) { $msg = "<b>TASK DENIED ! </b>Waiting Task Anda Melebihi <b>{$tt}</b> Proses . "; return $msg; } } $cmd = "\xaINSERT INTO `mui_task`.`trs_task_report`\xa (`ttr_pk`,\xa `ttr_mtpr_kode`,
`ttr_user`,\xa `ttr_user_email`,\xa `ttr_user_wa`,
`ttr_judul`,\xa `ttr_sql`,
`ttr_start`,\xa `ttr_end`,
`ttr_status`,\xa `ttr_info`,
`ttr_rpt_tipe`,
`ttr_rpt_kode`,
`ttr_rpt_export`,\xa `ttr_file`,
`ttr_sjab_kode`,
`ttr_sjab_kunci`,
`ttr_schedule`,\xa `ttr_schedule_kode`,\xa \x9\x9 `ttr_rpt_param1`,
\x9\x9 `ttr_rpt_param2`,
\x9 `ttr_rpt_param3`,
\x9 \x9 `ttr_rpt_param4`,\xa\x9 \x9 `ttr_rpt_param5`,
\x9 \x9 ttr_json\xa \x9\x9 )
VALUES ('" . $pk . "',\xa '" . $mtprkode . "',
'" . $user . "',\xa '" . $usermail . "',\xa '" . $userwa . "',
'" . $judul . "',\xa '" . __sqlSafe($sqltam) . "',\xa now(),
ADDTIME(CURTIME(), '0:4:00'),\xa '0',
'',
'" . $tiperpt . "',
'" . $koderpt . "',\xa '" . $tipexport . "',
'',\xa '" . $jabatan . "',\xa '" . $kuncijab . "',
'" . $schedule . "',
'" . $kodescedule . "',
'" . $param1 . "',
\x9 '" . $param2 . "',\xa '" . $param3 . "', \xa\x9 '" . $param4 . "',
\x9'" . $param5 . "',
'" . $jsc . "'\xa\x9\x9);\xa\x9 \xa"; $msg = ''; __dbrowX($cmd, 2); $cmd = "SELECT time(ttr_end) tmen from `mui_task`.`trs_task_report` WHERE `ttr_pk`='" . $pk . "'"; $res = __dbrowX($cmd, 2); if (!empty($res)) { $msg = "<b>TASK SAVED !</b> ESTIMASI FINAL PROSES :<b> " . $res["tmen"] ." " .$pk. "</b>"; } if ($schedule == "1") { $pk = $user . $kodescedule . $mtprkode . $koderpt . $param1 . $param2; $pk = strtoupper($pk); $pk = str_replace("_", '', $pk); $cmd = " DELETE FROM `mui_task`.`trs_task_report_sch` WHERE ttr_pk='" . $pk . "'"; __dbrowX($cmd, 2); $cmd = "
INSERT INTO `mui_task`.`trs_task_report_sch`
(`ttr_pk`,
`ttr_mtpr_kode`,
`ttr_user`,\xa `ttr_user_email`,\xa `ttr_user_wa`,\xa `ttr_judul`,
`ttr_sql`,\xa `ttr_start`,
`ttr_end`,
`ttr_status`,
`ttr_info`,
`ttr_rpt_tipe`,\xa `ttr_rpt_kode`,\xa `ttr_rpt_export`,
`ttr_file`,\xa `ttr_sjab_kode`,\xa `ttr_sjab_kunci`,
`ttr_schedule`,\xa `ttr_schedule_kode`,
`ttr_rpt_param1`,
\x9 `ttr_rpt_param2`,
\x9 `ttr_rpt_param3`,
\x9 \x9 `ttr_rpt_param4`,\xa `ttr_rpt_param5`,
\x9\x9 ttr_json
\x9\x9 )\xaVALUES ('" . $pk . "',\xa '" . $mtprkode . "',
'" . $user . "',\xa '" . $usermail . "',
'" . $userwa . "',
'RUTIN " . $judul . "',
'" . __sqlSafe($sqltam) . "',
now(),\xa '1881-01-01',\xa '0',\xa '',\xa '" . $tiperpt . "',
'" . $koderpt . "',\xa '" . $tipexport . "',\xa '',
'" . $jabatan . "',\xa '" . $kuncijab . "',
'" . $schedule . "',\xa '" . $kodescedule . "',\xa\x9\x9'" . $param1 . "',
\x9 '" . $param2 . "',
'" . $param3 . "',
\x9'" . $param4 . "', \xa\x9\x9'" . $param5 . "',\xa '" . $jsc . "'
\x9);\xa \x9\xa"; __dbRowX($cmd, 2); } return $msg; } goto nKUJh; yUaHR: $_SESSION["UU"] = "10"; goto InpHo; vI5Bg: function __str2SQL($value, $type) { $value = trim($value); $ret = $value; if ($type == "D" && empty($value) === false) { $value = str_replace("-", "/", $value); date_default_timezone_set("Asia/Jakarta"); list($day, $month, $year) = sscanf($value, "%02d/%02d/%04d"); $dt = new DateTime("{$year}-{$month}-{$day}"); $ret = $dt->format("Y/m/d"); } if ($type == "N") { $value = str_replace(",", '', $value); $ret = $value; } return $ret; } goto ibJyg; kSwBd: function get_NoHP() { return $_SESSION["userdata"]["no_hp"]; } goto gLrDG; q8rAU: function __str2date($dy, $my, $yr) { $ret = ''; $cmd = " SELECT STR_TO_DATE('" . $dy . " " . $my . " " . $yr . "', '%d %m %Y') pk"; $r = __dbRow($cmd); $ret = $r["pk"]; return $ret; } goto jvDX0; SGGBW: function ___getUserAccount($user) { $cmd = "select * from user_accounts where\xa `email`="" . addslashes($user) . "" "; $r = __dbRow($cmd); return $r; } goto eBfk4; QJt33: function __dbAllServer($query, $ip, $db, $user, $pass, $key = '') { $q = __dbQueryServer($query, $ip, $db, $user, $pass); $results = array(); while ($r = $q->fetch(PDO::FETCH_ASSOC)) { $results[] = $r; } if (!$key) { return $results; } $arr = array(); foreach ($results as $r) { $arr[$r[$key]] = $r; } return $arr; } goto MfQes; bdb2B: function __get_no($cabang, $modul, $tgl, $jenis, $tambah) { $ret = ''; if (right($tgl, 2) == "()") { } else { $tgl = "'" . $tgl . "'"; } $cmd = " SELECT eset.`f_get_no`('{$cabang}','{$modul}',{$tgl},'{$jenis}','{$tambah}' ) pk"; $r = __dbRow($cmd); $ret = $r["pk"]; return $ret; } goto j4wRL; xLZMj: function addtask_wa($nowa = '', $pesan = '', $files = '', $tipe = 0, $server = 5) { $to = ''; $tos = explode(",", $nowa); for ($i = 0; $i < count($tos); $i++) { $to = $tos[$i]; if (!empty($to)) { $cmd = "
INSERT INTO `mui_trs`.`mlog_wa`\xa (`mlw_tipe`,
`mlw_nomor`,\xa `mlw_pesan`,\xa `mlw_files`,\xa `mlw_status`,
`mlw_crud_i`,\xa `mlw_crud_s`)
VALUES ('" . $tipe . "',
'" . $to . "',\xa '" . $pesan . "',
'" . $files . "',\xa '0',\xa now(),
'1881-01-01'); \xa "; __dbrowx($cmd, $server); } } } goto GJxZg; fSKrF: function getPKUser() { $ret = ''; $cmd = " select web_conf.f_get_pk_user('" . $_SESSION["userdata"]["email"] . "') pk"; $r = __dbRow($cmd); $ret = $r["pk"]; return $ret; } goto WU0JU; GJxZg: function addtask_sertifpdf($pkpst = '', $rptkode = '', $email = '', $wa = '', $tipepst = 0, $tipeproses = 0, $isemail = 0, $iswa = 0, $server = 5) { if (!empty($email)) { $isemail = "1"; } if (!empty($wa)) { $iswa = "1"; } $cmd = "INSERT INTO `mui_trs`.`mlog_sertif_pdf`\xa (`mspd_tipe_pst`,
`mspd_tipe_pros`,
`mspd_tipe_kode`,\xa `mspd_pk_pst`,
`mspd_email`,\xa `mspd_wa`,
`mspd_isemail`,\xa `mspd_iswa`,
`mspd_file`,\xa `mspd_file_id`,\xa `mspd_status`,
`mspd_crud_i`,\xa `mspd_crud_s`,\xa `mspd_idai`)\xaVALUES ('" . $tipepst . "',\xa '" . $tipeproses . "',\xa '" . $rptkode . "',\xa '" . $pkpst . "',
'" . $email . "',
'" . $wa . "',
'" . $isemail . "',\xa '" . $iswa . "',\xa '',
'',\xa '0',\xa now(),\xa '1881-01-01',\xa '');
"; __dbrowx($cmd, $server); } goto VvrVH; okFlr: function addTaskInfo($pk, $judul, $user, $jabatan, $kuncijab, $dir = '', $file = '', $tipexport = "pdf", $param1 = '', $param2 = '', $param3 = '', $param4 = '', $param5 = '') { $mtprkode = $pk; $sqltam = ''; $tiperpt = ''; $koderpt = ''; $schedule = ''; $kodescedule = ''; $server = 0; $usermail = ''; $userwa = ''; $cmd = "SELECT * FROM `web_conf`.`user_accounts` WHERE `email`='" . $user . "'"; $res = __dbrow($cmd); if (!empty($res)) { $usermail = $res["email_user"]; $userwa = $res["no_hp"]; } $cmd = "
INSERT INTO `mui_task`.`trs_task_report_info`\xa (`ttr_pk`,\xa `ttr_mtpr_kode`,\xa `ttr_user`,
`ttr_user_email`,
`ttr_user_wa`,\xa `ttr_judul`,\xa `ttr_sql`,
`ttr_start`,\xa `ttr_end`,\xa `ttr_status`,
`ttr_info`,\xa `ttr_rpt_tipe`,\xa `ttr_rpt_kode`,
`ttr_rpt_export`,
\x9\x9\x9 ttr_file_dir,
`ttr_file`,\xa `ttr_sjab_kode`,\xa `ttr_sjab_kunci`,
`ttr_schedule`,
`ttr_schedule_kode`)\xaVALUES ('" . $pk . "',\xa '" . $mtprkode . "',
'" . $user . "',
'" . $usermail . "',\xa '" . $userwa . "',\xa '" . $judul . "',
'" . __sqlSafe($sqltam) . "',
now(),
now(),\xa '0',\xa '',\xa '" . $tiperpt . "',
'" . $koderpt . "',\xa '" . $tipexport . "',
'" . $dir . "',\xa \x9'" . $file . "',
'" . $jabatan . "',\xa '" . $kuncijab . "',\xa '" . $schedule . "',\xa '" . $kodescedule . "');
\x9\xa"; __dbrowX($cmd, 2); } goto UDSO7; nKUJh: function addMobNotif($tit, $msg, $user) { $cmd = "
\x9INSERT INTO `mui_stat`.`mst_notif`
\x9(\xa `msn_user`,\xa `msn_tit`,
`msn_msg`,\xa `msn_status`,
`msn_date`)
VALUES (\xa '" . $user . "',
'" . $tit . "',\xa '" . $msg . "',\xa '0',
curdate());"; __dbRowX($cmd, 1); } goto okFlr; ABckz: $_SESSION["DIR"] = "/var/www/html/live/"; goto AsusC; BhA16: function __cache_clear($type) { if (!is_dir(SCRIPTBASE . "/ww.cache/" . $type)) { return; } $d = new DirectoryIterator(SCRIPTBASE . "/ww.cache/" . $type); foreach ($d as $f) { $f = $f->getFilename(); if ($f == "." || $f == "..") { continue; } unlink(SCRIPTBASE . "/ww.cache/" . $type . "/" . $f); } } goto M8cA6; D__aq: function __getpass($user, $pass) { return $password = md5($user . "+" . $pass); } goto jGzcF; qcLnw: function errorON() { error_reporting(E_ALL); } goto mPnK4; Y4KSv: function __getSessionYear() { $year = $_SESSION["userdata"]["curyear"]; return $year; } goto LQam4; zpVM7: ?>
Did this file decode correctly?
Original Code
<?php
goto g1WdN; e3yDi: function __getRupiah($nilai, $rnd = 2, $isflor = false) { $rp = 0; $dg = 1000000000000000000; $ret = ''; $nilai = strval($nilai); if ($nilai >= $dg) { $rp = round($nilai / $dg, $rnd); if ($isflor == true) { $rp = floor($nilai / $dg); } $ret = __formatMoney($rp, true) . "\40\124"; return str_replace("\x2e\60\x30", '', $ret); } $dg = 1000000000; if ($nilai >= $dg) { $rp = round($nilai / $dg, $rnd); if ($isflor == true) { $rp = floor($nilai / $dg); } $ret = __formatMoney($rp, true) . "\x20\x4d"; return str_replace("\x2e\60\60", '', $ret); } $dg = 1000000; if ($nilai >= $dg) { $rp = round($nilai / $dg, $rnd); if ($isflor == true) { $rp = floor($nilai / $dg); } $ret = __formatMoney($rp, true) . "\x20\x4a\x75\164\141"; return str_replace("\56\60\60", '', $ret); } $dg = 1000; if ($nilai >= $dg) { $rp = round($nilai / $dg, $rnd); if ($isflor == true) { $rp = floor($nilai / $dg); } $ret = __formatMoney($rp, true) . "\x20\122\151\142\165"; return str_replace("\x2e\60\60", '', $ret); } $dg = 100; if ($nilai >= $dg) { $rp = round($nilai / $dg, $rnd); if ($isflor == true) { $rp = floor($nilai / $dg); } $ret = __formatMoney($rp, true) . "\x20\x52\141\164\x75\163"; return str_replace("\56\x30\60", '', $ret); } $dg = 1; if ($nilai >= $dg) { $rp = round($nilai / $dg, $rnd); if ($isflor == true) { $rp = floor($nilai / $dg); } $ret = __formatMoney($rp, true) . "\x20\x52\165\160\151\x61\150"; return str_replace("\x2e\60\x30", '', $ret); } } goto x7dz1; ibJyg: function __strSQL2($value, $type) { $ret = $value; if ($type == "\104" && empty($value) === false) { $value = str_replace("\55", "\57", $value); date_default_timezone_set("\101\x73\x69\x61\57\112\x61\153\141\x72\164\141"); list($day, $month, $year) = sscanf($value, "\x25\60\64\x64\x2f\45\x30\x32\x64\x2f\x25\60\62\144"); $dt = new DateTime("{$year}\55{$month}\x2d{$day}"); $ret = $dt->format("\144\x2d\155\55\131"); } return $ret; } goto ABckz; sG0it: function _polistoken($r) { return $r["\x70\x72\157\144\165\143\x74"]; } goto D__aq; MXBac: function echoFile($file) { if (strpos($file, "\56\160\x64\x66") !== false) { ?>
<object data="<?php echo $file; ?>
"height="650px"type="application/pdf"width="980px">This browser does not support PDFs. Please download the PDF to view it: <a href="<?php echo $file; ?>
">Download PDF</a></object><?php } else { echo "\xa\x9\x9\11\x3c\151\155\x67\40\x73\162\143\75\x22" . $file . "\42\x20\141\x6c\x74\x3d\42\42\40\163\x74\x79\x6c\x65\x3d\42\x77\x69\x64\x74\x68\72\71\x30\x25\x3b\150\145\x69\147\x68\164\x3a\71\x30\45\x3b\x22\76\12\x9\11\x9"; } } goto KNBzQ; zYLCO: function left($str, $length) { return substr($str, 0, $length); } goto vI5Bg; drWQ6: function __getClientIP() { if (isset($_SERVER)) { if (isset($_SERVER["\x48\124\124\120\137\x58\x5f\x46\x4f\x52\127\101\x52\104\105\104\137\106\x4f\x52"])) { return $_SERVER["\x48\x54\124\120\x5f\130\x5f\x46\x4f\122\x57\101\122\x44\x45\x44\137\x46\117\122"]; } if (isset($_SERVER["\110\124\124\120\x5f\x43\114\111\x45\x4e\x54\x5f\111\120"])) { return $_SERVER["\x48\x54\x54\x50\137\x43\x4c\x49\x45\116\124\137\x49\x50"]; } return $_SERVER["\x52\105\x4d\117\x54\105\x5f\x41\x44\x44\122"]; } if (getenv("\x48\124\x54\120\x5f\130\137\106\117\122\127\x41\x52\x44\105\104\137\106\117\x52")) { return getenv("\x48\124\124\x50\137\x58\137\x46\117\122\127\x41\122\x44\105\104\137\x46\x4f\x52"); } if (getenv("\110\x54\124\x50\x5f\103\114\x49\105\116\x54\137\111\120")) { return getenv("\110\x54\x54\x50\x5f\x43\x4c\111\x45\116\x54\x5f\x49\x50"); } return getenv("\x52\105\x4d\117\124\x45\137\101\104\x44\122"); } goto ZBq80; tp0DQ: function right($string, $chars) { $vright = substr($string, strlen($string) - $chars, $chars); return $vright; } goto zYLCO; BVwXa: function __ceklogin($user, $pass) { $r = __login($user, $pass); $password = md5($user . "\53" . $pass); if (empty($r) || count($r) <= 0) { return false; } if ($r["\x65\x6d\141\151\154"] != $user || $r["\x70\141\163\163\167\157\162\x64"] != $password) { return false; } return true; } goto drWQ6; Dk1ir: function _getdirId($bag = '') { $res = __dbrow("\x73\x65\x6c\145\143\164\x20\12\11\x20\40\x60\167\x66\x66\x5f\x6e\x6f\140\40\x41\123\40\140\156\157\140\54\xa\x9\140\x77\x66\x66\x5f\x6b\145\164\140\54\12\40\40\x60\167\146\x66\137\x74\x69\160\x65\x60\54\12\40\40\140\167\x66\x66\137\x66\157\154\x64\x65\162\x60\40\101\x53\40\140\144\x69\x72\140\54\12\40\40\140\167\x66\146\137\x61\153\x74\x69\x66\140\54\12\x20\40\x60\x77\146\x66\x5f\163\145\x72\166\x65\x72\x60\12\40\40\xa\x9\x66\162\157\x6d\x20\167\x65\x62\137\143\x6f\156\146\x2e\x77\x65\x62\137\146\151\x6c\x65\x5f\146\x6f\154\144\x65\x72\x20\167\150\x65\x72\145\x20\167\146\146\137\x6e\x6f\75\47{$bag}\x27"); if (empty($res)) { $res = __dbrow("\163\145\x6c\145\143\x74\40\12\x9\11\140\167\x66\x66\x5f\x6e\157\x60\x20\101\x53\x20\x60\x6e\157\x60\x2c\12\11\11\140\x77\146\146\137\153\145\164\140\54\12\11\x9\x60\167\146\146\137\164\151\x70\x65\x60\54\xa\x9\x9\140\167\x66\146\137\146\157\x6c\144\145\162\140\40\x41\x53\x20\x60\144\151\x72\140\x2c\xa\x9\x9\140\167\x66\x66\137\141\153\164\151\x66\140\x2c\xa\x9\x9\140\167\x66\x66\137\x73\145\x72\166\145\162\x60\12\x9\11\146\162\157\x6d\x20\167\x65\142\137\143\x6f\156\x66\56\x77\x65\142\137\146\x69\x6c\x65\137\146\157\154\144\x65\x72\40\167\150\145\162\x65\x20\x77\x66\146\137\x74\x69\160\x65\x3d\x27\x41\114\x4c\47\x20\x61\156\x64\x20\x77\146\146\x5f\141\x6b\x74\151\x66\75\61"); } return $res; } goto OZ1FH; O2BXD: function sval($xnil = 0) { $xnil = str_replace("\x2c", '', $xnil); $xnil = strval($xnil); return $xnil; } goto er1wr; eBfk4: function errordie($err) { $response["\x72\145\163"] = 0; $response["\155\163\x67"] = $err; die(json_encode($response)); } goto YRR9V; Zo2HJ: function goLog() { $ip = get_iplocal(); $cmd = "\xa\x9\x49\116\123\x45\122\124\x20\111\116\x54\117\40\140\x77\x65\x62\137\x74\x72\x73\140\56\x60\167\145\x62\137\154\x6f\x67\x5f\154\157\x67\151\156\140\12\40\x20\x20\40\40\40\40\x20\x20\x20\x20\40\50\xa\x20\40\x20\40\40\40\x20\40\x20\40\x20\x20\x20\140\x77\x6c\x67\137\144\141\x74\x65\x60\54\xa\x20\40\40\x20\x20\40\40\40\40\40\40\40\x20\140\167\x6c\147\x5f\165\163\x65\x72\140\54\12\40\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\40\140\167\154\x67\x5f\x69\x70\x60\51\xa\x56\x41\114\125\105\123\40\50\xa\x20\x20\40\x20\x20\40\x20\40\156\x6f\167\50\x29\x2c\xa\40\x20\x20\40\x20\40\40\x20\x27" . get_User() . "\x27\54\12\x20\40\40\x20\x20\x20\40\x20\47" . $ip . "\47\x29\x3b\12\11\x9"; __dbrow($cmd); } goto wyJmo; WKJA6: function __getMonth() { $ret = ''; $cmd = "\x20\x73\x65\154\x65\143\164\40\162\x69\x67\x68\164\x28\143\x6f\156\x63\x61\x74\50\x27\60\x30\47\54\155\x6f\x6e\x74\150\50\143\165\x72\144\x61\164\145\x28\51\51\51\54\x32\x29\40\x70\153"; $r = __dbRow($cmd); $ret = $r["\x70\x6b"]; return $ret; } goto jbDlT; O9avf: function __dbAllX($query, $id = 1, $key = '') { $dbvr = getDBVARS($id); $ip = $dbvr["\x68\x6f\163\164\x6e\141\155\x65"]; $db = $dbvr["\144\x62\x5f\x6e\x61\155\x65"]; $user = $dbvr["\x75\x73\x65\x72\x6e\141\155\145"]; $pass = $dbvr["\x70\141\163\163\167\x6f\x72\x64"]; $port = $dbvr["\x70\x6f\x72\164"]; $q = __dbQueryServer($query, $ip, $db, $user, $pass, $port); $results = array(); while ($r = $q->fetch(PDO::FETCH_ASSOC)) { $results[] = $r; } if (!$key) { return $results; } $arr = array(); foreach ($results as $r) { $arr[$r[$key]] = $r; } return $arr; } goto uDWYo; LQam4: function setSessionYear($year) { $_SESSION["\165\x73\x65\162\x64\x61\164\x61"]["\x63\x75\x72\171\x65\x61\x72"] = $year; return $year; } goto WCzEr; NrG2C: ini_set("\x6d\145\155\157\162\x79\137\x6c\x69\x6d\x69\x74", "\x32\x30\60\x30\x30\60\x30\60\60\115"); goto QEIkG; WCzEr: function __getYear() { $ret = ''; $cmd = "\x20\163\145\x6c\145\143\164\40\171\x65\141\x72\x28\x63\x75\162\x64\x61\x74\145\50\51\x29\40\160\x6b"; $r = __dbRow($cmd); $ret = $r["\160\x6b"]; return $ret; } goto qcLnw; H8JSA: function __getNoPst2($jns) { $ret = ''; if (empty($jns)) { $jns = ''; } $cmd = "\x20\x53\105\114\105\103\x54\x20\x65\160\163\x74\56\140\106\137\107\105\x54\116\x4f\120\123\x54\x60\50\47" . $jns . "\47\x29\x20\x70\153"; $r = __dbRow($cmd); $ret = $r["\160\153"]; return $ret; } goto MXBac; zPt19: ini_set("\x73\145\x73\x73\x69\157\x6e\x2e\147\x63\137\x70\162\157\x62\x61\142\x69\x6c\x69\164\x79", 1); goto tG3DY; VvrVH: function ifNullArray($arr, $key, $val = '') { $vret = $val; if (array_key_exists($key, $arr)) { $vret = $arr[$key]; } return $vret; } goto PKLB8; mPnK4: function ____getFoto() { $fto = $_SESSION["\165\163\x65\162\144\x61\x74\x61"]["\x69\155\x67\x5f\146\157\164\157"]; if (trim($fto) == '') { $fto = "\57\x6c\x69\x76\145\x2f\x77\167\56\x69\x6d\141\x67\145\57\x61\156\171\56\152\160\147"; } else { $fto = "\57\154\x69\x76\145\57\167\167\x2e\165\x70\x6c\x6f\141\x64\x2f\146\151\154\x65\57\x66\x6f\x74\x6f\x70\x72\x6f\146\151\154\x65\57" . $fto; } return $fto; } goto e3yDi; OuPsU: function get_User() { return $_SESSION["\x75\x73\145\x72\144\141\x74\141"]["\x65\155\141\x69\x6c"]; } goto v61IL; tG3DY: ini_set("\163\x65\x73\x73\x69\157\x6e\56\147\143\x5f\144\151\166\151\x73\x6f\x72", 1); goto NrG2C; Zs_pz: function getDBVARS($id = 1) { global $DBVARS; if ($id == 2) { return $DBVARS[2]; } if ($id == 3) { return $DBVARS[3]; } if ($id == 4) { return $DBVARS[4]; } if ($id == 5) { return $DBVARS[5]; } if ($id == 6) { return $DBVARS[6]; } if ($id == 7) { return $DBVARS[7]; } return $DBVARS[1]; } goto O9avf; v6TN_: function __dbRow($query) { $q = __dbQuery($query); return $q->fetch(PDO::FETCH_ASSOC); } goto OrREp; PxaL5: function __getPk() { $ret = getPKUser(); return $ret; } goto bdb2B; WU0JU: function getPKUserAnd($user) { $ret = ''; $cmd = "\x20\163\x65\x6c\x65\x63\164\40\x77\x65\x62\x5f\x63\x6f\x6e\x66\56\x66\x5f\147\145\x74\x5f\x70\153\137\x75\x73\x65\x72\50\47" . $user . "\47\51\x20\160\x6b"; $r = __dbRow($cmd); $ret = $r["\160\153"]; return $ret; } goto PebOQ; LnpiM: function __login($user, $pass) { $password = md5($user . "\53" . $pass); $cmd = "\xa\x9\x9\x53\x45\x4c\x45\x43\124\x20\x77\x73\56\x2a\x2c\141\143\x2e\x2a\x2c\131\x45\101\122\x28\103\125\x52\x44\x41\x54\x45\50\x29\x29\x20\x63\x75\x72\x79\x65\x61\162\x2c\x4d\117\x4e\x54\110\50\103\125\122\104\101\124\x45\50\x29\51\40\143\x75\162\155\x6f\x6e\164\150\54\104\x41\x59\x28\x43\x55\122\x44\101\x54\105\50\51\51\40\143\x75\x72\x64\141\x79\x2c\104\101\x54\105\x5f\x46\117\x52\115\x41\124\50\x43\125\x52\104\x41\124\105\50\x29\x2c\42\x25\144\x2d\45\x6d\x2d\45\x59\42\51\x20\x20\x63\165\162\x5f\x64\141\x74\145\54\x49\x46\x4e\125\114\114\50\155\x72\153\x6e\x5f\x6e\141\155\x61\x2c\x22\x22\51\x20\x6d\162\153\156\x5f\x6e\x61\x6d\141\40\54\x20\x49\x46\116\125\x4c\x4c\50\140\155\x72\x6b\156\137\156\141\x6d\x61\x5f\154\x61\151\x6e\x60\54\x22\x22\x29\x20\x6d\162\153\156\137\156\x61\155\141\137\154\141\x69\156\40\x46\x52\117\x4d\x20\x75\x73\145\x72\137\x61\143\143\157\x75\x6e\164\163\x20\x61\143\xa\11\x9\114\x45\x46\124\40\x4a\x4f\x49\x4e\x20\145\155\163\x74\56\x60\155\x73\164\x5f\162\x65\153\141\156\141\x6e\140\40\162\x6b\156\x20\117\116\x20\155\162\153\156\x5f\153\157\144\x65\137\x69\x6e\144\x75\153\x3d\x72\x6b\x6e\x2e\155\162\x6b\156\137\153\x6f\144\145\x20\x41\x4e\104\40\x49\106\x4e\x55\114\x4c\x28\155\162\153\156\x5f\x6b\x6f\x64\145\x5f\151\x6e\144\165\x6b\54\42\42\x29\41\75\42\x22\xa\11\x9\x2c\167\x65\142\137\163\145\x74\x75\x70\40\x77\x73\12\x20\11\x9\167\150\145\162\x65\xa\x9\x65\x6d\x61\x69\154\x3d\42" . addslashes($user) . "\x22\x20\141\156\x64\xa\11\160\x61\163\x73\167\x6f\x72\x64\75\x22" . $password . "\x22\x20\141\156\x64\40\x61\143\164\151\x76\x65\x20\154\151\x6d\151\164\40\61"; $r = __dbRow($cmd); return $r; } goto vaBpD; ejsyM: function __isHak($hak, $usr) { if ($usr != "\x23") { if (trim($_SESSION["\165\x73\x65\x72\144\x61\x74\141"]["\145\x6d\x61\x69\154"]) == trim($usr)) { return true; } } for ($i = 0; $i < count($hak); $i++) { if ($_SESSION["\x75\163\145\162\x64\141\x74\x61"][$hak[$i]] == "\x31") { return true; } } return false; } goto L15AI; InpHo: require SCRIPTBASE . "\x2e\x70\x72\x69\x76\141\164\145\x2f\x63\157\x6e\146\151\147\x2e\160\150\x70"; goto ORzb2; L15AI: function __sqlSafe($nilai) { return addslashes(str_replace("\42", "\x27", $nilai)); } goto LnpiM; SQdDN: function __dbAll($query, $key = '') { $q = __dbQuery($query); $results = array(); while ($r = $q->fetch(PDO::FETCH_ASSOC)) { $results[] = $r; } if (!$key) { return $results; } $arr = array(); foreach ($results as $r) { $arr[$r[$key]] = $r; } return $arr; } goto QJt33; l99gC: function __dbRowX($query, $id) { $q = __dbQueryX($query, $id); return $q->fetch(PDO::FETCH_ASSOC); } goto RNXfd; xyBkn: function __dbQueryServer($query, $ip, $db, $user, $pass, $port) { $db = __dbInitServer($ip, $db, $user, $pass, $port); $q = null; try { $q = $db->query($query); $db->num_queries++; } catch (PDOException $ex) { echo $ex; } return $q; } goto v6TN_; TDvfI: function __formatMoney($number, $fractional = false) { if ($fractional) { $number = sprintf("\x25\x2e\x32\146", $number); } while (true) { $replaced = preg_replace("\57\x28\x2d\x3f\134\x64\x2b\51\x28\134\144\x5c\x64\x5c\x64\51\57", "\x24\61\54\x24\62", $number); if ($replaced != $number) { $number = $replaced; } else { break; } } return $number; } goto E86jm; PebOQ: function __getNoPst($db, $jns) { $ret = ''; if (empty($jns)) { $jns = ''; } $cmd = "\40\123\105\x4c\x45\x43\124\40" . $db . "\x2e\146\x5f\147\145\x74\137\x6e\x6f\50\x27{$jns}\47\x2c\40\x27\47\54\103\x55\122\x44\101\124\x45\50\x29\54\x20\x27\116\117\120\105\123\105\x52\124\x41\x27\54\47\47\x20\x29\40\x70\153"; $r = __dbRow($cmd); $ret = $r["\160\x6b"]; return $ret; } goto H8JSA; n92nM: function dirToArray($dir) { $result = array(); $cdir = scandir($dir); foreach ($cdir as $key => $value) { if (!in_array($value, array("\x2e", "\56\x2e"))) { if (is_dir($dir . DIRECTORY_SEPARATOR . $value)) { $result[$value] = dirToArray($dir . DIRECTORY_SEPARATOR . $value); } else { $result[] = $value; } } } return $result; } goto ULm3z; OrREp: function __dbLiRow($query) { global $DBVARS; $mysqli = new mysqli($DBVARS["\x68\x6f\163\164\x6e\x61\x6d\145"], $DBVARS["\165\163\145\162\x6e\141\x6d\x65"], $DBVARS["\x70\x61\x73\x73\167\157\x72\x64"], $DBVARS["\144\x62\137\x6e\141\x6d\145"]); if (mysqli_connect_errno()) { printf("\103\x6f\x6e\156\x65\x63\x74\40\x66\141\151\154\145\144\x3a\40\45\x73\12", mysqli_connect_error()); die; } $result = $mysqli->query($query); } goto DHZq6; j4wRL: function __getPk2($jns) { $ret = ''; $cmd = "\40\x73\145\x6c\x65\x63\x74\x20\146\x5f\147\145\x74\x5f\x70\x6b\167\x28\47" . $jns . "\x27\x29\40\160\x6b"; $r = __dbRow($cmd); $ret = $r["\160\153"]; return $ret; } goto fSKrF; Q448B: if (!function_exists("\137\137\141\x75\164\x6f\x6c\x6f\141\144")) { function __autoload($name) { if (file_exists($name . "\56\160\x68\x70")) { require $name . "\x2e\160\x68\x70"; } } } goto BhA16; HA0pV: function _isvalidtoken($r) { if (empty($r) || count($r) <= 0) { return false; } return true; } goto ka09S; x7dz1: function __colRow($cmdx, $colsx, $tipex, $clas = '', $tambah = '') { $cols = explode("\x2c", $colsx); $array = __dbRow($cmdx); if (!empty($array)) { $arkey = array(); $arkeycol = array(); $json_data = ''; $ss = ''; $i = 0; foreach ($array as $key => $value) { $mykey = $key; $arkey[$i] = $mykey; $keyval = $mykey; if ($i < count($cols) && $colsx != '') { $keyval = $cols[$i]; } $arkeycol[$i] = $keyval; $ss .= "\47{$keyval}\47\x20\x61\163\40\x60" . $mykey . "\140\x2c"; $i++; } if ($ss != '') { $ss .= "\43\x23"; $ss = "\40\x73\x65\x6c\x65\x63\164\40" . str_replace("\54\43\43", '', $ss); $arcol = __dbRow($ss); if ($tipex == "\x6a\163\x6f\156") { $json_col = json_encode($arcol); $json_data = json_encode($array); $json_data = "\133" . $json_col . "\54" . $json_data . "\135"; return $json_data; } if ($tipex == "\x6a\x73\x6f\156\x6e\165\x6d\153\x65\x79") { $json_col = json_encode($arcol); $json_data = json_encode($array); $json_data = "\133" . $json_col . "\x2c" . $json_data . "\x5d"; for ($i = 0; $i < count($arkey); $i++) { $json_data = str_replace("\x22" . $arkey[$i] . "\42", "\x22" . $i . "\42", $json_data); } return $json_data; } if ($tipex == "\141\162\162\141\171") { $arcol_1 = array(); $arcol_2 = array(); for ($s = 0; $s < count($arcol); $s++) { array_push($arcol_1, $arkey[$s]); array_push($arcol_2, $array[$arkey[$s]]); } $json_data = array($arcol_1, $arcol_2); return $json_data; } if ($tipex == "\164\x61\142\154\145") { $tr = ''; $td = ''; $tb = ''; for ($i = 0; $i < count($arkey); $i++) { $tr = ''; $td = ''; $ky = $arkey[$i]; $td .= "\74\164\x64\x3e" . $arkeycol[$i] . "\74\164\x64\x3e"; $td .= "\x3c\x74\x64\76" . $array[$ky] . "\x3c\x74\144\x3e"; $tr .= "\74\x74\162\x3e" . $td . "\x3c\164\x72\x3e"; $tb .= $tr; } $tb = "\x3c\164\x61\142\x6c\145\x20\143\154\x61\163\x73\x3d\47{$clas}\x27\40{$tambah}\x20\x3e\74\x74\x72\x3e\74\x74\x64\x20\x77\151\x64\164\x68\x3d\x27\x35\60\x25\47\x20\x6e\157\167\x72\x61\160\x3e\104\105\x53\103\x52\x49\120\124\x49\x4f\116\x3c\x2f\x74\x64\76\40\x3c\x74\144\40\x77\x69\144\164\x68\x3d\47\65\x30\45\x27\40\x3e\x56\101\114\x55\x45\x3c\x2f\x74\144\76\x20\74\57\164\162\x3e" . $tb . "\74\x2f\164\141\142\x6c\x65\x3e"; return $tb; } } } return ''; } goto ao5eh; a1Wbd: function __dbLastInsertId() { return __dbOne("\163\145\154\145\143\164\40\x6c\x61\163\x74\137\151\x6e\x73\145\x72\164\x5f\151\144\x28\51\x20\x61\x73\x20\x69\x64", "\x69\144"); } goto TUQv0; ZBq80: function __addLogIP($ip, $wpin, $asal) { $cmd = ''; if ($wpin == '') { $wpin = "\167\145\x62\53\x61\156\x64\162\x6f"; } if ($ip == "\165\156\153\156\157\x77\156" || $ip == '') { $ip = "\154\x6f\x63\141\x6c"; } $cmd = "\xa\x49\x4e\x53\105\x52\x54\x20\x49\107\x4e\x4f\122\105\40\111\x4e\124\117\40\x60\x77\x65\142\x5f\157\x70\162\140\56\x60\167\x65\x62\x5f\154\157\x67\137\x69\160\x60\xa\40\40\x20\40\x20\x20\40\x20\x20\x20\40\x20\x28\xa\40\x20\40\x20\x20\40\x20\40\40\40\40\40\40\140\x69\160\x60\x2c\12\x20\x20\40\x20\40\40\40\x20\40\x20\40\x20\40\x60\164\x69\160\145\140\x2c\12\40\x20\40\x20\x20\40\40\x20\40\40\40\40\x20\x60\x77\160\x69\156\x60\51\xa\x56\101\x4c\125\x45\x53\40\50\xa\x20\x20\40\x20\x20\x20\40\40\x27{$ip}\47\54\xa\x20\x20\40\x20\x20\x20\40\40\47{$asal}\x27\x2c\12\40\40\x20\x20\x20\40\40\x20\47{$wpin}\x27\51\73"; __dbRow($cmd); $cmd = "\40\165\x70\x64\141\164\x65\x20\140\x77\145\x62\137\x6f\160\x72\x60\x2e\x60\x77\x65\142\137\x6c\157\147\137\151\x70\140\40\163\145\x74\40\x60\x64\x61\164\x65\140\75\156\x6f\167\x28\51\40\167\x68\145\x72\145\40\140\x69\160\140\75\47{$ip}\x27\40\141\156\x64\40\140\x77\x70\151\x6e\x60\x3d\47{$wpin}\47\x3b"; __dbRow($cmd); } goto q8rAU; gGgQz: function create_zip($files = array(), $destination = '', $overwrite = false, $info = false) { if (file_exists($destination) && !$overwrite) { return false; } $valid_files = array(); if (is_array($files)) { foreach ($files as $file) { if (file_exists($file)) { $valid_files[] = $file; } else { if ($info) { echo $file . "\40\x6e\x6f\164\40\146\x6f\165\156\144\x3c\x2f\142\x72\x3e"; } } } } if (count($valid_files)) { $zip = new ZipArchive(); if ($zip->open($destination, $overwrite ? ZIPARCHIVE::OVERWRITE : ZIPARCHIVE::CREATE) !== true) { echo "\40\x65\x72\162\x6f\x72\x20\143\x72\x65\x61\x74\145\40\x3c\57\x62\x72\76"; return false; } foreach ($valid_files as $file) { $zip->addFile($file, $file); if ($info) { echo $file . "\x20\163\x75\x6b\x73\x65\163\40\x3c\x2f\142\162\76"; } } $zip->close(); return file_exists($destination); } else { if ($info) { echo "\145\x72\162\157\x72\40\x63\157\165\x6e\x74\x20\166\141\x6c\151\x64\40\146\151\x6c\x65"; } return false; } } goto XdxL0; KNBzQ: function __toSQL($table, $field, $type, $clause = '', $lexec = false, $except = '') { $scr = ''; $val = ''; $cmd = ''; if ($type === "\x49") { for ($i = 0; $i < count($field); $i++) { $k = key($field); $scr .= $k . "\54"; $tval = __sqlSafe($field[$k]); if (right($tval, 2) == "\x28\51") { $val .= '' . $tval . "\54"; } else { $val .= "\47" . $tval . "\47\x2c"; } next($field); } $scr = substr($scr, 0, strlen($scr) - 1); $val = substr($val, 0, strlen($val) - 1); $cmd = "\x20\x49\116\123\105\122\124\40\111\x4e\x54\117\x20" . $table . "\40\x28" . $scr . "\51\40\126\101\114\x55\105\x53\40\x28" . $val . "\51\x20"; if ($lexec === true) { $r = __dbQuery($cmd); } return $cmd; } if ($type === "\125") { for ($i = 0; $i < count($field); $i++) { $k = key($field); $tval = __sqlSafe($field[$k]); if (right($tval, 2) == "\50\51") { $val = '' . $tval . ''; } else { $val = "\47" . $tval . "\x27"; } $scr .= $k . "\x3d" . $val . "\54"; next($field); } if (strripos(strtoupper($clause), "\x57\110\x45\x52\x45") < 0 && empty($clause) === false) { $clause = "\40\127\110\x45\x52\105\40" . $clause; } $scr = substr($scr, 0, strlen($scr) - 1); $cmd = "\40\125\x50\x44\101\x54\x45\x20" . $table . "\40\x53\105\x54\40" . $scr . "\x20" . $clause; if ($lexec === true) { $r = __dbQuery($cmd); } return $cmd; } if ($type === "\104") { $cmd = "\x20\x44\x45\x4c\105\x54\x45\x20\40\x46\122\117\115\40" . $table . "\40" . $clause; if ($lexec === true) { $r = __dbQuery($cmd); } return $cmd; } } goto tp0DQ; jGzcF: function __newpass($user, $pass) { $password = __getpass($user, $pass); $cmd = "\40\x75\x70\144\141\164\145\x20\x75\163\145\162\x5f\x61\143\143\157\165\x6e\164\x20\x73\145\x74\40\140\x70\141\163\x73\167\x6f\x72\144\140\x3d" . $password . "\40\167\x68\145\x72\x65\x20\x65\x6d\141\151\x6c\75\x27" . $user . "\x27"; $r = __dbRow($cmd); } goto BVwXa; XKgTt: function addtask_email($emailuser, $email_cc = '', $subject, $body_of_your_email = "\124\x65\x73\x74", $file = '', $frommail = "\x6e\x6f\164\x69\x66\x69\143\x61\164\151\x6f\156\100\141\x6c\x61\155\x69\156\56\x63\157\56\151\144", $frompass = "\156\157\x74\151\146\x39\71\x39", $fromname = "\116\x6f\x74\151\x66\151\153\141\x73\151\40\101\x4c\x20\101\x4d\x49\x4e", $replayto = "\x74\141\x6e\x79\141\100\141\154\141\x6d\x69\x6e\x2e\143\x6f\56\x69\144", $replayname = "\x46\x41\121\x20\101\114\40\101\x6d\x69\x6e", $bodyhtml = '', $server = 5) { if (empty($frommail)) { $frommail = "\156\x6f\164\151\x66\151\143\141\164\x69\x6f\x6e\x40\141\154\141\155\x69\156\x2e\x63\x6f\x2e\151\x64"; } if (empty($frompass)) { $frompass = "\x6e\157\x74\151\146\x39\71\71"; } if (empty($fromname)) { $fromname = "\x4e\x6f\x74\151\x66\x69\x6b\x61\x73\151\x20\x41\114\40\101\x4d\111\x4e"; } if (empty($replayto)) { $frommail = "\x74\141\156\x79\141\x40\x61\154\141\155\151\x6e\56\x63\157\x2e\x69\x64"; } if (empty($replayname)) { $replayname = "\x46\101\121\40\101\114\x20\101\x6d\151\x6e"; } $cmd = "\x49\116\x53\x45\x52\124\x20\111\116\x54\x4f\x20\140\155\x75\151\137\x74\162\x73\140\56\x60\x6d\154\x6f\x67\x5f\x65\x6d\141\151\x6c\140\12\40\x20\x20\x20\40\x20\x20\40\x20\x20\40\x20\50\40\40\x20\x20\40\40\x20\x20\x20\x20\40\x20\xa\40\40\x20\40\x20\x20\40\x20\40\40\x20\x20\x20\140\x6d\154\x67\x65\137\x65\155\x61\151\x6c\165\x73\x65\162\x60\54\xa\40\x20\40\40\x20\x20\40\40\x20\x20\40\x20\40\x60\x6d\x6c\147\145\x5f\145\x6d\x61\x69\154\143\143\x60\x2c\12\40\x20\40\40\40\40\x20\x20\x20\40\40\x20\40\140\155\154\147\x65\x5f\163\165\142\x6a\145\x63\x74\140\x2c\xa\x20\40\40\40\x20\40\40\40\x20\x20\40\x20\40\140\x6d\154\x67\x65\137\x62\157\x64\171\140\x2c\12\x20\x20\x20\40\40\x20\40\x20\40\x20\40\40\40\x20\x6d\x6c\147\x65\x5f\146\151\x6c\145\163\x2c\xa\x20\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\40\140\x6d\154\x67\x65\137\146\162\x6f\x6d\155\141\151\154\140\x2c\12\40\x20\x20\40\x20\x20\40\x20\40\x20\x20\40\40\x60\x6d\x6c\147\x65\137\x66\x72\157\155\160\141\x73\x73\x60\54\12\x20\40\40\40\x20\40\40\x20\x20\x20\x20\x20\40\x60\x6d\154\x67\x65\x5f\146\x72\157\155\156\x61\155\x65\x60\x2c\xa\40\x20\40\40\x20\x20\40\x20\40\x20\40\x20\x20\x60\155\x6c\147\145\x5f\162\145\160\x6c\141\171\x74\157\x60\x2c\xa\40\x20\x20\x20\x20\x20\40\40\40\40\40\x20\x20\140\155\154\x67\145\137\x72\x65\160\x6c\x61\x79\156\141\x6d\x65\140\54\12\x20\40\40\x20\x20\40\40\40\40\x20\x20\40\40\x60\x6d\154\x67\x65\x5f\x62\x6f\x64\171\x68\x74\x6d\154\x60\x2c\xa\x20\40\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\x60\x6d\x6c\147\145\x5f\x73\x74\x61\164\x75\163\x60\x2c\12\40\x20\x20\40\40\40\40\x20\x20\40\x20\40\40\140\155\154\147\x65\137\x63\x72\x75\144\137\x69\140\54\12\x20\40\x20\40\x20\x20\x20\40\40\40\x20\x20\40\x60\155\154\147\x65\137\x63\x72\x75\144\x5f\x73\x60\x29\xa\x56\x41\114\x55\x45\x53\x20\50\x20\40\40\x20\40\40\x20\x20\12\40\40\x20\x20\40\x20\40\x20\x27" . $emailuser . "\47\54\xa\40\x20\x20\x20\x20\x20\x20\x20\47" . $email_cc . "\47\x2c\xa\x20\x20\x20\x20\40\40\x20\x20\x27" . $subject . "\47\54\xa\40\x20\x20\40\40\40\40\40\47" . $body_of_your_email . "\47\x2c\12\40\x20\40\x20\x20\40\40\40\x27" . $file . "\x27\x2c\12\40\40\x20\40\x20\40\x20\40\x27" . $frommail . "\x27\x2c\xa\x20\x20\40\40\x20\40\40\x20\x27" . $frompass . "\x27\54\12\40\x20\40\40\40\40\x20\x20\x27" . $fromname . "\47\54\xa\40\40\40\40\40\40\40\x20\47" . $replayto . "\x27\x2c\xa\40\40\40\40\x20\40\40\40\x27" . $replayname . "\x27\x2c\12\40\40\x20\x20\x20\40\x20\x20\47" . $bodyhtml . "\x27\x2c\xa\40\x20\40\40\x20\40\40\x20\47\60\47\54\12\x20\40\40\x20\40\x20\40\40\116\117\127\50\x29\54\12\x20\x20\x20\40\40\x20\x20\40\x27\x31\70\70\61\55\x30\61\x2d\x30\61\47\12\x20\x20\40\40\x20\40\x20\40\x29\x3b\xa\40\40\x20\40\40\x20\x20\x20"; __dbrowx($cmd, $server); } goto xLZMj; MOaa9: function __cellBGColor($cells, $color, $objPHPEx) { $objPHPEx->getActiveSheet()->getStyle($cells)->getFill()->applyFromArray(array("\164\171\x70\145" => PHPExcel_Style_Fill::FILL_SOLID, "\163\164\141\x72\x74\143\x6f\154\x6f\x72" => array("\x72\147\142" => $color))); } goto ksdl3; DHZq6: function __sqlError($query) { global $DBVARS; $ret = ''; $link = mysql_connect($DBVARS["\x68\x6f\163\164\x6e\141\155\x65"], $DBVARS["\x75\x73\x65\x72\x6e\141\155\145"], $DBVARS["\160\x61\163\x73\167\x6f\162\144"]); mysql_select_db($DBVARS["\144\142\x5f\x6e\x61\x6d\x65"], $link); mysql_set_charset("\x55\x54\x46\x2d\x38", $link); $result = mysql_query($query, $link) or $ret = mysql_error($link); return $ret; } goto TDvfI; jbDlT: function __getDate() { $ret = ''; $cmd = "\x20\x73\x65\154\x65\x63\x74\40\143\x75\x72\144\141\164\145\50\51\x20\160\x6b"; $r = __dbRow($cmd); $ret = $r["\160\153"]; return $ret; } goto Y4KSv; HMhwH: function getHakUserForm($tipe = '') { $rz = __dbrow("\123\105\114\105\103\124\40\x2a\40\106\122\117\x4d\40\167\x65\x62\137\x63\157\156\146\x2e\140\167\145\x62\137\x75\163\145\162\137\155\145\x6e\x75\x60\x20\x57\110\105\x52\x45\x20\61\75\61\40\x41\116\104\40\x77\x75\x5f\145\x6d\x61\151\154\75\x27" . get_User() . "\47\40\x41\116\104\x20\x77\165\137\164\151\160\x65\x3d\x27" . $tipe . "\47"); if ($rz["\x77\165\x5f\145\155\x61\x69\x6c"] == get_User()) { return true; } return false; } goto OuPsU; E86jm: function __getKey($ky, $array) { $ret = array(); $i = 0; $ss = left($ky, 1); foreach ($array as $value) { $k = key($array); if ($ss == "\x23") { $cx = "\x23" . trim($k); $cs = strpos($ky, $cx); if (trim($cs) == '') { $ret[$k] = $array[$k]; $i++; } } else { if (substr($k, 0, strlen($ky)) == $ky) { $ret[$k] = $array[$k]; $i++; } } next($array); } return $ret; } goto dUkub; g1WdN: ini_set("\x73\145\163\x73\x69\x6f\x6e\x2e\147\x63\137\x6d\141\x78\154\x69\146\145\x74\x69\x6d\145", 54000); goto zPt19; RNXfd: function __dbInitServer($ip, $db, $user, $pass, $port = "\63\63\x30\66") { global $DBVARS; if (trim($user) == '') { $user = $DBVARS["\x75\163\x65\x72\x6e\x61\155\x65"]; } if (trim($pass) == '') { $pass = $DBVARS["\x70\141\163\163\167\157\x72\x64"]; } try { $db = new PDO("\x6d\x79\163\x71\154\72\150\157\163\x74\75" . $ip . "\x3b\x70\x6f\x72\164\x3d" . $port . "\73\x64\142\x6e\141\x6d\145\75" . $db, $user, $pass); } catch (PDOException $e) { die("\145\x72\162\x6f\x72" . $e->getMessage()); die; } $db->query("\x53\x45\x54\x20\116\x41\x4d\x45\x53\x20\x75\164\146\70"); $db->num_queries = 0; return $db; } goto Aaay6; ULm3z: function arow2col($res, $xkode, $xnilai) { $arr = array(); $arr = array("\153\x65\x79\x20\x78" => "\x76\141\x6c\x20\x78"); for ($i = 0; $i < count($res); $i++) { $kode = $res[$i][$xkode]; $arr[$kode] = $res[$i][$xnilai]; } return $arr; } goto O2BXD; dUkub: function __isset($vr, $ky) { $ret = ''; if (isset($vr[$ky])) { $ret = $vr[$ky]; } return $ret; } goto t0J36; er1wr: function numformat($nil = 0, $dig = "\62", $rpl = false) { $vret = number_format(sval($nil), $dig, "\56", "\54"); if ($rpl == true) { $vret = str_replace("\56\60\x30", '', $vret); } return $vret; } goto Zo2HJ; pRvwB: set_include_path(SCRIPTBASE . "\167\x77\x2e\160\150\x70\x5f\x63\154\141\163\163\145\x73" . PATH_SEPARATOR . get_include_path()); goto T8Dia; U9g_f: function __cellAutoSizeCol($mulai, $akhir, $objPHPEx) { foreach (range($mulai, $akhir) as $columnID) { $objPHPExcel->getActiveSheet()->getColumnDimension($columnID)->setAutoSize(true); } } goto MOaa9; MfQes: function __dbInit() { $dbvr = getDBVARS(0); if (isset($GLOBALS["\x64\142"])) { return $GLOBALS["\x64\x62"]; } try { $db = new PDO("\x6d\171\163\x71\x6c\x3a\150\x6f\163\x74\75" . $dbvr["\x68\x6f\x73\x74\x6e\141\x6d\x65"] . "\73\160\157\162\164\75" . $dbvr["\160\x6f\x72\x74"] . "\73\144\142\x6e\x61\155\145\75" . $dbvr["\144\x62\x5f\x6e\141\x6d\x65"], $dbvr["\x75\163\x65\x72\156\x61\155\145"], $dbvr["\160\x61\163\163\x77\x6f\162\x64"]); } catch (PDOException $e) { die("\x65\x72\x72\157\x72" . $e->getMessage()); die; } $db->query("\x53\x45\124\x20\116\x41\x4d\x45\x53\40\165\164\146\70"); $db->num_queries = 0; $GLOBALS["\x64\x62"] = $db; return $db; } goto Zs_pz; ka09S: function _grouptoken($r) { return $r["\147\162\x6f\x75\160\x73"]; } goto sG0it; Cay_w: function get_iplocal() { $ip = $_SESSION["\165\x73\x65\162\x64\x61\164\x61"]["\x69\x70\x6c\x6f\143\x61\154"]; if (empty($ip)) { $ip = __getClientIP(); if ($ip == "\x75\156\153\x6e\x6f\167\156" || $ip == '') { $ip = "\154\x6f\143\x61\x6c"; } $_SESSION["\x75\163\145\162\144\x61\164\x61"]["\x69\x70\x6c\x6f\x63\141\x6c"] = $ip; } return $ip; } goto HMhwH; M8cA6: function __config_rewrite() { global $DBVARS; $tmparr = $DBVARS; $tmparr2 = array(); foreach ($tmparr as $name => $val) { $tmparr2[] = "\47" . addslashes($name) . "\x27\75\x3e\47" . addslashes($val) . "\47"; } $config = "\x3c\77\160\x68\x70\12\44\x44\102\126\x41\x52\123\75\x61\x72\x72\141\x79\50\xa\11" . join("\x2c\12\x9", $tmparr2) . "\12\x29\73"; file_put_contents(CONFIG_FILE, $config); } goto SQdDN; UDSO7: function _delstrline($pk, $frm = "\x2c", $wth = "\x27\x2c\x27") { $pk = str_replace("\xd\12", '', $pk); $pk = trim(preg_replace("\x2f\134\163\x5c\x73\53\x2f", "\x20", $pk)); $pk = str_replace($frm, $wth, $pk); return $pk; } goto XKgTt; XdxL0: function _isValidFileExt($filenameupd) { $jpg = array("\164\151\146", "\152\x70\x67", "\x70\156\x67", "\x67\x69\146", "\x6a\160\145\x67", "\x62\155\160", "\x70\x64\x66", "\x64\157\143", "\170\154\163", "\x64\157\143\170", "\164\170\x74", "\170\x6c\163\170"); $ext = strtolower(pathinfo($filenameupd, PATHINFO_EXTENSION)); $cek = array_search($ext, $jpg); if (strval($cek) >= 0) { return $ext; } return false; } goto H3vpb; gLrDG: function get_Name() { return $_SESSION["\165\163\145\162\144\141\164\x61"]["\156\x61\155\145"]; } goto gGgQz; QEIkG: session_start(); goto Q448B; OZ1FH: function __getKeyArray($array) { $arrt = array(); foreach ($array as $value) { $k = key($array); array_push($arrt, $k); next($array); } return $arrt; } goto U9g_f; uDWYo: function __dbQueryX($query, $id) { $dbvr = getDBVARS($id); $ip = $dbvr["\x68\157\x73\164\x6e\x61\x6d\x65"]; $db = $dbvr["\144\x62\x5f\x6e\x61\155\145"]; $user = $dbvr["\x75\163\x65\x72\156\141\x6d\x65"]; $pass = $dbvr["\160\x61\163\x73\x77\x6f\162\144"]; $db = __dbInitServer($ip, $db, $user, $pass); $q = null; try { $q = $db->query($query); $db->num_queries++; } catch (PDOException $ex) { echo $ex; } return $q; } goto l99gC; v61IL: function get_Mail() { return $_SESSION["\165\163\145\x72\x64\x61\x74\x61"]["\x65\155\x61\151\154\x5f\165\x73\145\x72"]; } goto kSwBd; Aaay6: function __dbOne($query, $field = '') { $r = __dbRow($query); return $r[$field]; } goto a1Wbd; ORzb2: if (!defined("\103\117\116\106\111\x47\137\x46\x49\114\x45")) { define("\x43\x4f\116\106\111\x47\x5f\x46\x49\x4c\105", SCRIPTBASE . "\56\x70\162\151\166\141\164\145\x2f\143\157\156\x66\151\147\56\x70\x68\160"); } goto pRvwB; t0J36: function __getNo($cabang, $modul, $tgl, $jenis, $tambah) { $ret = ''; if (right($tgl, 2) == "\x28\51") { } else { $tgl = "\x27" . $tgl . "\47"; } $cmd = "\40\123\105\x4c\105\103\124\40\145\x73\145\164\x2e\x60\x66\137\147\145\164\137\x6e\157\140\x28\47{$cabang}\47\54\x27{$modul}\47\x2c{$tgl}\54\47{$jenis}\47\x2c\47{$tambah}\x27\x20\x29\40\x20\x70\x6b"; $r = __dbRow($cmd); $ret = $r["\x70\153"]; return $ret; } goto PxaL5; nv7E0: function ____getGroup() { return $group = $_SESSION["\x75\163\x65\162\144\141\x74\141"]["\x67\x72\157\165\x70\165\163\145\x72"]; } goto SGGBW; PKLB8: function saveBase64Image($postbase64, $dirsave, $filename) { if (empty($postbase64)) { return ''; } $folderPath = $dirsave; $image_parts = explode("\x3b\x62\x61\x73\145\66\x34\54", $postbase64); $image_type_aux = explode("\x69\x6d\x61\147\x65\x2f", $image_parts[0]); $image_type = $image_type_aux[1]; $image_base64 = base64_decode($image_parts[1]); $namefile = $filename . "\x2e" . $image_type; $file = $folderPath . $namefile; file_put_contents($file, $image_base64); if (file_exists($file)) { return $namefile; } return ''; } goto zpVM7; ksdl3: function __getHakLokasi($id, $tipe = 0) { $cmd = "\40\163\x65\154\145\143\x74\40\x2a\x20\146\x72\157\155\x20\167\x65\142\x5f\143\157\x6e\146\x2e\x77\x65\x62\x5f\x6d\145\156\x75\137\x6c\157\153\141\163\x69\40\x77\150\x65\x72\x65\x20\167\155\154\x5f\x6d\145\x6e\x75\137\x69\144\x3d\47" . $id . "\47\x20\141\x6e\x64\40\x20\x77\x6d\154\137\x6d\154\x6f\x6b\137\x6b\x6f\144\x65\75\x27" . __getGlobalValue("\154\157\153\x61\163\151") . "\47"; $res = __dbrow($cmd); if ($tipe == 0) { if (empty($res)) { return "\x30"; } else { return "\x31"; } } if ($tipe == 1) { if (empty($res)) { return ''; } else { return $res["\167\x6d\154\x5f\x6d\x72\x6b\x6e\137\153\157\144\x65"]; } } return $res; } goto n92nM; AsusC: define("\123\x43\122\111\120\124\102\x41\x53\x45", $_SESSION["\104\111\x52"]); goto yUaHR; TUQv0: function __dbQuery($query) { $db = __dbInit(); $q = null; try { $q = $db->query($query); $db->num_queries++; } catch (PDOException $ex) { echo $ex; } return $q; } goto xyBkn; vaBpD: function __getGlobalValue($field) { if (isset($_SESSION["\165\163\145\x72\144\x61\x74\x61"][$field])) { return $group = $_SESSION["\165\x73\145\x72\x64\141\x74\x61"][$field]; } return ''; } goto nv7E0; ao5eh: function _getdir($bag = '') { $res = __dbrow("\x73\x65\x6c\145\x63\x74\40\12\x9\x20\40\x60\x77\x66\x66\x5f\156\x6f\x60\40\x41\123\40\140\156\x6f\x60\x2c\12\11\x60\167\146\146\x5f\x6b\145\x74\140\x2c\xa\x20\x20\140\x77\146\x66\x5f\x74\151\160\145\140\54\12\40\40\140\x77\146\x66\137\146\x6f\x6c\144\145\x72\x60\40\101\123\x20\x60\x64\x69\162\140\x2c\12\x20\x20\140\x77\x66\x66\x5f\x61\153\x74\151\146\140\54\xa\40\40\x60\167\146\x66\x5f\163\145\162\166\x65\x72\140\12\40\40\12\x9\x66\x72\157\155\x20\x77\x65\142\137\x63\157\156\x66\x2e\x77\x65\x62\x5f\x66\x69\x6c\145\x5f\x66\157\x6c\144\145\x72\x20\x77\150\145\x72\145\x20\167\x66\146\x5f\x74\151\x70\x65\x3d\47{$bag}\x27\x20\x61\156\144\40\x77\146\x66\x5f\141\x6b\x74\151\146\75\61"); if (empty($res)) { $res = __dbrow("\x73\145\x6c\145\x63\x74\x20\xa\x9\11\140\167\x66\146\x5f\x6e\x6f\140\x20\101\123\40\x60\x6e\x6f\140\x2c\12\x9\x9\x60\x77\x66\x66\137\153\145\x74\x60\54\xa\x9\11\x60\x77\146\146\x5f\x74\151\x70\145\x60\x2c\12\x9\11\x60\x77\146\x66\137\146\157\x6c\144\x65\162\140\40\x41\123\x20\x60\x64\x69\162\140\x2c\xa\x9\11\140\167\146\x66\137\x61\x6b\x74\x69\146\x60\54\12\x9\11\x60\x77\x66\x66\x5f\163\x65\x72\166\x65\x72\140\12\11\11\146\x72\157\155\x20\x77\x65\142\x5f\143\x6f\156\146\56\x77\145\142\137\146\x69\x6c\x65\137\146\157\x6c\x64\x65\162\40\167\x68\145\x72\145\40\x77\146\x66\137\164\x69\160\x65\x3d\47\x41\x4c\114\x27\x20\x61\x6e\144\x20\x77\x66\x66\x5f\x61\153\x74\151\x66\x3d\61"); } return $res; } goto Dk1ir; jvDX0: function __getDay() { $ret = ''; $cmd = "\x20\x73\x65\x6c\145\143\x74\40\x72\x69\147\150\x74\50\143\x6f\x6e\143\141\164\x28\47\60\x30\x27\54\x64\141\x79\x28\x63\165\162\x64\141\164\x65\50\x29\51\x29\x2c\62\51\x20\x70\x6b"; $r = __dbRow($cmd); $ret = $r["\x70\153"]; return $ret; } goto WKJA6; YRR9V: function _gettoken($user) { $cmd = "\163\145\x6c\x65\x63\x74\x20\x2a\x20\x66\162\157\155\x20\165\163\x65\162\137\164\x6f\x6b\x65\x6e\40\167\150\x65\162\145\xa\x9\x74\x72\x69\155\50\140\x74\157\x6b\x65\x6e\140\x29\75\x74\162\151\155\x28\x22" . addslashes($user) . "\x22\51\40"; $r = __dbRow($cmd); return $r; } goto HA0pV; T8Dia: function __rptSave($wrtpk, $wrtwr_kode, $wrtwhere, $wrthdr1, $wrthdr2, $wrthdr3, $wrtorder, $wrtuser = '', $wrtype = '') { $cmd = "\111\x4e\123\105\x52\x54\40\x49\x4e\x54\117\x20\x77\145\x62\x5f\164\162\163\56\x77\x65\x62\x5f\164\x72\163\137\162\145\160\157\162\x74\x20\x20\40\x20\12\11\40\40\x28\167\162\x74\x5f\160\x6b\54\xa\40\40\x20\x20\40\x20\40\x20\40\x20\40\x20\40\167\x72\164\137\x77\162\137\153\157\144\145\x2c\xa\40\x20\x20\40\x20\40\40\x20\40\40\40\x20\40\167\x72\164\x5f\167\x68\145\x72\x65\x2c\xa\40\x20\x20\x20\x20\40\40\x20\40\40\40\x20\x20\167\162\164\x5f\x68\144\162\x31\54\12\40\40\40\x20\40\40\x20\x20\x20\40\x20\x20\40\x77\x72\164\137\x68\x64\x72\x32\x2c\xa\x20\x20\40\x20\40\x20\x20\40\x20\40\40\x20\40\x77\x72\164\x5f\x68\144\162\63\54\x77\x72\x74\137\x6f\x72\144\x65\x72\54\167\162\164\137\x75\x73\145\x72\x2c\x77\x72\164\x5f\x74\x79\x70\145\x29\x20\40\40\40\40\40\x20\40\xa\126\x41\114\125\105\123\x20\50\x27{$wrtpk}\47\54\12\x20\40\x20\40\40\x20\x20\x20\x27{$wrtwr_kode}\47\x2c\xa\x20\x20\40\x20\40\40\x20\x20\x27" . __sqlSafe($wrtwhere) . "\x27\54\xa\x20\40\40\40\x20\40\40\x20\47" . __sqlSafe($wrthdr1) . "\x27\x2c\xa\x20\40\40\40\x20\x20\40\x20\x27" . __sqlSafe($wrthdr2) . "\x27\x2c\xa\x20\x20\x20\40\x20\x20\40\40\x27" . __sqlSafe($wrthdr3) . "\47\x2c\47{$wrtorder}\47\54\x27{$wrtuser}\47\x2c\x27{$wrtype}\x27\x29\x3b"; __dbRow($cmd); $cmd = "\x53\x45\x4c\105\103\124\x20\x20\x60\x77\x72\x5f\153\x6f\x64\145\140\x2c\x60\x77\x72\137\162\160\164\140\54\x77\162\137\156\141\x6d\145\54\x60\167\162\164\x5f\x70\x6b\x60\x2c\x77\162\x74\x5f\150\x64\162\x31\x2c\167\162\x74\x5f\x68\144\x72\62\54\167\162\164\x5f\150\144\162\x33\54\x77\x72\164\x5f\167\x68\x65\x72\145\x20\x46\x52\x4f\x4d\40\167\145\142\x5f\164\162\x73\x2e\140\x77\145\142\137\164\x72\163\137\162\145\160\x6f\162\x74\140\54\x77\145\x62\x5f\164\x72\x73\56\140\x77\x65\x62\137\x72\145\x70\157\162\164\x60\x20\127\x48\x45\x52\x45\40\167\162\137\153\x6f\x64\x65\x3d\x60\x77\162\x74\137\x77\x72\x5f\x6b\x6f\144\x65\140\40\40\101\x4e\104\40\140\167\x72\x74\x5f\x70\153\x60\x3d\47{$wrtpk}\x27\40\x6c\x69\x6d\151\x74\x20\x31"; $res = __dbRow($cmd); return $res; } goto ejsyM; wyJmo: function updLog() { $ip = get_iplocal(); $cmd = "\x43\101\x4c\x4c\40\40\140\167\x65\x62\137\164\162\163\x60\x2e\x60\x50\137\114\x4f\107\125\x50\x44\101\124\105\x60\x28\47" . get_User() . "\47\x2c\x27" . $ip . "\x27\51"; __dbrow($cmd); } goto Cay_w; H3vpb: function addTaskProses($pk, $mtprkode, $judul, $sqltam, $tiperpt, $koderpt, $tipexport, $user, $jabatan, $kuncijab, $schedule, $kodescedule, $param1 = '', $param2 = '', $param3 = '', $param4 = '', $param5 = '', $arrpost = array()) { $server = 0; $usermail = ''; $userwa = ''; $jsc = json_encode($arrpost); $cmd = "\x53\x45\x4c\x45\103\x54\x20\52\x20\x46\122\x4f\x4d\40\140\x77\x65\142\137\143\x6f\x6e\146\140\x2e\x60\165\x73\x65\162\137\x61\143\143\x6f\x75\x6e\164\x73\x60\40\x57\x48\x45\122\105\40\x60\145\x6d\141\x69\154\140\x3d\47" . $user . "\x27"; $res = __dbrow($cmd); if (!empty($res)) { $usermail = $res["\145\x6d\x61\151\x6c\x5f\165\x73\x65\162"]; $userwa = $res["\x6e\157\137\150\x70"]; } $cmd = "\x73\145\x6c\x65\143\164\x20\143\x6f\165\x6e\x74\50\52\51\x20\x74\164\40\x66\x72\157\155\40\140\x6d\x75\151\137\164\x61\163\153\140\56\x60\x74\x72\163\x5f\x74\141\x73\x6b\x5f\162\x65\x70\x6f\x72\x74\x60\xa\x57\x48\105\x52\x45\x20\164\164\162\x5f\x75\163\145\162\x3d\47" . $user . "\x27\40\x61\x6e\x64\40\x74\x74\162\137\163\x74\141\164\x75\x73\75\60\xa\141\156\144\x20\x64\141\x74\145\50\164\x74\162\137\x73\164\x61\162\x74\51\x3d\143\x75\162\x64\x61\x74\x65\x28\51\xa"; $res = __dbrowX($cmd, 2); $tt = 15; if (!empty($res)) { if (strval($res["\x74\164"]) > $tt) { $msg = "\x3c\x62\76\x54\101\x53\x4b\40\104\105\x4e\111\105\104\x20\x20\x21\x20\x20\x3c\57\142\76\x57\x61\x69\x74\x69\x6e\x67\x20\124\141\x73\153\40\101\x6e\x64\141\40\x4d\x65\154\x65\x62\151\x68\151\x20\74\x62\x3e{$tt}\74\x2f\142\x3e\x20\120\162\x6f\163\x65\x73\x20\56\40"; return $msg; } } $cmd = "\xa\x49\116\x53\x45\x52\124\40\x49\x4e\124\117\x20\x60\x6d\x75\151\x5f\164\x61\163\153\140\x2e\140\x74\162\x73\x5f\164\x61\163\153\x5f\x72\x65\160\x6f\162\164\x60\xa\40\x20\40\x20\40\x20\x20\40\x20\x20\40\x20\50\140\164\164\x72\137\160\153\x60\x2c\xa\x20\40\40\x20\40\x20\x20\40\40\40\x20\x20\40\140\x74\x74\162\x5f\155\164\x70\x72\137\153\157\144\145\x60\x2c\12\x20\40\x20\40\x20\x20\x20\x20\x20\40\40\40\40\140\164\164\162\x5f\x75\163\145\x72\x60\x2c\xa\40\x20\x20\40\x20\x20\40\x20\x20\40\x20\x20\40\x60\x74\x74\x72\137\x75\163\x65\162\137\145\155\x61\151\x6c\x60\54\xa\x20\x20\x20\x20\x20\x20\40\40\x20\x20\x20\40\40\x60\x74\164\x72\137\165\163\x65\x72\x5f\167\141\x60\x2c\12\40\40\40\40\40\40\40\40\40\x20\x20\40\x20\x60\x74\164\162\x5f\x6a\x75\144\165\x6c\x60\54\xa\x20\x20\x20\40\40\40\x20\x20\40\40\x20\40\x20\140\x74\x74\x72\x5f\163\161\x6c\140\54\12\40\x20\x20\x20\x20\40\40\x20\40\x20\40\40\40\x60\164\x74\162\x5f\x73\x74\141\x72\164\140\54\xa\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\40\40\140\x74\x74\162\x5f\145\x6e\144\140\54\12\40\40\40\x20\x20\x20\40\x20\40\40\x20\x20\40\140\x74\x74\x72\x5f\163\164\x61\164\x75\x73\140\x2c\xa\x20\x20\x20\x20\40\40\x20\x20\40\x20\40\x20\40\x60\x74\164\x72\137\151\156\x66\157\x60\x2c\12\x20\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\140\x74\164\x72\x5f\162\x70\164\137\x74\151\160\x65\140\54\12\x20\x20\40\x20\x20\x20\40\40\x20\x20\x20\40\x20\140\164\164\x72\137\x72\x70\x74\x5f\153\x6f\144\x65\x60\x2c\12\x20\40\40\40\40\x20\40\40\x20\40\x20\x20\x20\x60\164\x74\x72\137\162\160\x74\137\145\170\160\157\162\x74\140\x2c\xa\x20\40\40\40\x20\x20\x20\40\40\x20\x20\x20\x20\x60\164\x74\162\137\146\x69\x6c\x65\x60\54\12\40\40\40\x20\x20\40\40\x20\40\x20\x20\40\x20\140\x74\x74\162\x5f\x73\x6a\x61\x62\137\x6b\x6f\x64\145\140\x2c\12\40\x20\x20\x20\40\x20\40\40\x20\x20\x20\40\x20\140\164\x74\162\137\x73\x6a\x61\x62\137\153\165\x6e\x63\151\140\x2c\12\40\40\x20\x20\40\40\x20\x20\x20\40\40\x20\40\140\164\x74\x72\137\163\x63\150\145\x64\165\x6c\145\x60\54\xa\40\x20\40\x20\40\40\40\40\40\x20\40\x20\x20\140\x74\x74\x72\x5f\163\x63\x68\145\144\165\x6c\145\x5f\153\157\x64\145\140\54\xa\11\x9\x9\x20\x60\164\164\x72\x5f\x72\160\164\x5f\x70\141\x72\141\155\x31\140\x2c\12\x9\x9\11\40\140\x74\164\x72\x5f\162\x70\164\137\x70\x61\x72\141\155\x32\140\54\12\11\x9\11\40\x60\164\164\x72\137\x72\x70\164\137\160\141\x72\141\x6d\63\140\x2c\12\x9\11\x9\40\x60\164\x74\x72\137\x72\160\164\x5f\160\141\x72\x61\155\64\140\x2c\xa\x9\11\x9\x20\140\x74\164\162\x5f\x72\x70\164\137\160\141\162\141\155\x35\140\x2c\12\x9\11\x9\40\x20\x74\x74\x72\137\x6a\x73\x6f\x6e\xa\11\x9\x9\x20\x29\12\126\x41\x4c\x55\105\x53\40\x28\47" . $pk . "\47\54\xa\x20\40\40\x20\x20\x20\40\40\47" . $mtprkode . "\47\x2c\12\x20\40\x20\x20\40\x20\40\x20\x27" . $user . "\47\x2c\xa\40\x20\x20\x20\x20\40\x20\40\47" . $usermail . "\47\54\xa\40\x20\40\40\40\x20\40\x20\x27" . $userwa . "\x27\54\12\40\x20\x20\40\x20\x20\x20\x20\x27" . $judul . "\47\54\xa\x20\40\x20\40\40\x20\x20\x20\47" . __sqlSafe($sqltam) . "\x27\54\xa\40\40\x20\x20\x20\40\x20\x20\156\x6f\167\50\x29\x2c\12\40\40\40\40\40\x20\40\101\104\104\124\111\x4d\105\50\103\125\122\124\111\115\x45\50\51\54\x20\47\60\72\64\72\x30\60\47\x29\54\xa\x20\x20\x20\40\x20\x20\40\40\47\60\47\54\12\40\x20\x20\40\40\40\x20\x20\47\x27\54\12\x20\40\40\x20\40\40\x20\x20\47" . $tiperpt . "\47\x2c\12\40\x20\x20\x20\x20\40\x20\40\47" . $koderpt . "\47\x2c\xa\x20\x20\x20\x20\40\40\40\x20\47" . $tipexport . "\x27\x2c\12\40\x20\40\40\40\40\40\x20\47\x27\54\xa\40\40\40\40\x20\x20\40\x20\x27" . $jabatan . "\x27\54\xa\40\x20\40\40\40\x20\40\x20\47" . $kuncijab . "\47\54\12\x20\x20\40\40\x20\x20\40\40\47" . $schedule . "\47\54\12\x20\40\x20\x20\x20\x20\x20\x20\x27" . $kodescedule . "\47\x2c\12\11\11\x27" . $param1 . "\47\54\12\x9\11\x27" . $param2 . "\47\x2c\xa\11\11\x27" . $param3 . "\x27\54\40\xa\x9\11\47" . $param4 . "\47\54\x20\12\11\x9\47" . $param5 . "\x27\54\12\11\11\x27" . $jsc . "\47\xa\x9\x9\x29\73\xa\x9\11\xa"; $msg = ''; __dbrowX($cmd, 2); $cmd = "\123\105\114\105\x43\124\x20\x74\x69\x6d\x65\50\164\x74\x72\x5f\x65\x6e\x64\x29\40\164\155\145\x6e\40\146\x72\157\x6d\40\140\155\165\x69\137\x74\x61\163\153\140\x2e\x60\164\162\x73\x5f\x74\141\x73\153\137\x72\145\x70\x6f\162\x74\140\40\x57\110\105\122\105\40\x60\164\164\x72\137\160\153\140\75\x27" . $pk . "\47"; $res = __dbrowX($cmd, 2); if (!empty($res)) { $msg = "\x3c\142\x3e\x54\101\123\113\x20\123\x41\x56\x45\x44\40\41\74\x2f\x62\76\40\40\105\x53\124\x49\115\x41\123\111\x20\x46\111\116\x41\x4c\40\x50\122\x4f\x53\x45\x53\x20\72\x3c\142\x3e\40" . $res["\x74\155\x65\156"] ." " .$pk. "\x3c\57\x62\x3e"; } if ($schedule == "\61") { $pk = $user . $kodescedule . $mtprkode . $koderpt . $param1 . $param2; $pk = strtoupper($pk); $pk = str_replace("\x5f", '', $pk); $cmd = "\x20\104\x45\114\x45\x54\105\40\x46\122\117\115\x20\x60\155\x75\151\x5f\164\x61\163\x6b\x60\56\x60\164\x72\x73\x5f\x74\x61\163\x6b\137\x72\145\x70\x6f\162\164\137\163\143\x68\140\40\127\x48\105\122\x45\x20\x74\x74\x72\x5f\x70\153\75\47" . $pk . "\x27"; __dbrowX($cmd, 2); $cmd = "\12\111\x4e\123\x45\122\x54\x20\111\116\x54\117\40\140\x6d\x75\x69\137\x74\141\163\x6b\140\x2e\140\164\x72\x73\137\164\141\x73\153\137\162\145\160\157\162\x74\137\x73\143\150\x60\12\40\x20\x20\x20\40\x20\x20\x20\x20\x20\40\40\50\140\x74\x74\x72\x5f\x70\x6b\140\54\12\x20\x20\40\40\40\40\40\40\40\40\40\x20\40\140\164\x74\x72\x5f\155\x74\160\162\137\153\157\x64\145\x60\x2c\12\40\40\x20\40\x20\x20\40\x20\40\x20\40\40\x20\x60\164\164\162\137\x75\163\x65\x72\x60\54\xa\x20\x20\40\40\x20\x20\x20\x20\x20\x20\40\40\40\x60\x74\164\x72\x5f\165\x73\145\162\x5f\145\x6d\141\151\154\x60\x2c\xa\x20\x20\40\40\40\x20\40\x20\40\x20\40\x20\40\140\164\x74\x72\x5f\165\x73\x65\x72\x5f\167\x61\x60\x2c\xa\x20\x20\x20\x20\40\x20\40\40\x20\x20\x20\x20\40\x60\164\164\x72\x5f\x6a\x75\x64\165\x6c\140\x2c\12\40\40\x20\40\40\40\x20\x20\x20\40\40\x20\40\x60\164\x74\162\x5f\x73\161\x6c\x60\54\xa\x20\x20\x20\x20\40\x20\x20\40\40\x20\x20\x20\40\140\164\164\x72\137\x73\164\x61\162\164\140\x2c\12\40\x20\x20\x20\x20\40\40\40\x20\x20\x20\40\x20\140\x74\x74\x72\x5f\x65\x6e\144\140\x2c\12\40\40\40\40\x20\40\x20\x20\x20\40\40\x20\40\x60\164\164\162\x5f\x73\x74\141\x74\x75\163\140\x2c\12\x20\x20\x20\x20\40\40\x20\x20\40\40\x20\40\x20\140\x74\164\x72\x5f\151\156\146\x6f\140\54\12\40\40\x20\40\x20\x20\40\40\40\x20\x20\40\40\140\x74\x74\x72\137\162\160\x74\137\164\x69\x70\145\140\54\xa\x20\40\40\40\x20\x20\x20\40\40\x20\40\40\x20\140\164\x74\x72\x5f\162\x70\x74\137\153\x6f\x64\145\x60\x2c\xa\40\x20\40\40\40\x20\40\40\x20\x20\40\40\x20\140\164\164\x72\x5f\x72\x70\x74\x5f\145\170\x70\157\162\x74\x60\x2c\12\40\x20\40\x20\40\40\x20\x20\x20\x20\x20\40\x20\140\164\164\162\137\146\151\154\x65\x60\x2c\xa\40\40\40\x20\x20\x20\40\40\40\x20\x20\40\x20\140\x74\x74\x72\137\x73\152\x61\x62\137\153\157\x64\x65\x60\54\xa\x20\40\x20\40\40\x20\x20\x20\40\40\x20\x20\x20\140\x74\x74\162\x5f\163\x6a\141\x62\x5f\153\x75\156\x63\x69\x60\x2c\12\40\x20\x20\40\40\x20\x20\x20\40\x20\x20\x20\40\140\164\x74\x72\137\163\x63\x68\x65\x64\165\x6c\x65\x60\54\xa\x20\40\40\x20\x20\40\x20\x20\x20\40\40\40\40\x60\x74\x74\162\x5f\x73\x63\x68\145\x64\165\154\x65\137\153\157\x64\145\140\54\12\11\11\11\x20\140\x74\x74\162\x5f\x72\160\x74\x5f\x70\x61\x72\141\155\x31\140\x2c\12\11\x9\11\x20\x60\x74\x74\x72\x5f\162\160\164\x5f\x70\x61\162\141\x6d\62\x60\54\12\11\11\x9\x20\140\x74\x74\162\137\x72\x70\164\x5f\x70\x61\162\x61\x6d\63\x60\x2c\12\x9\11\x9\x20\140\164\x74\162\137\x72\160\x74\137\x70\141\x72\x61\x6d\x34\x60\x2c\xa\11\11\11\x20\140\164\164\162\137\162\x70\x74\137\x70\141\162\x61\155\x35\x60\x2c\12\11\x9\x9\x20\x74\x74\162\137\x6a\x73\157\x6e\12\x9\x9\11\x20\x29\xa\126\101\114\x55\x45\123\40\50\47" . $pk . "\47\x2c\xa\x20\x20\40\x20\x20\x20\40\40\x27" . $mtprkode . "\x27\54\12\x20\40\x20\x20\x20\40\40\x20\x27" . $user . "\x27\54\xa\40\x20\x20\x20\x20\x20\40\x20\x27" . $usermail . "\x27\x2c\12\x20\40\x20\x20\40\x20\40\x20\47" . $userwa . "\x27\54\12\x20\x20\40\x20\40\40\40\x20\x27\x52\x55\x54\x49\116\x20" . $judul . "\x27\x2c\12\40\40\40\40\40\x20\40\47" . __sqlSafe($sqltam) . "\x27\54\12\40\40\x20\40\40\40\x20\x20\156\157\x77\x28\51\x2c\xa\x20\x20\x20\40\40\x20\x20\x20\x27\61\70\70\61\x2d\60\61\55\x30\61\47\54\xa\40\x20\x20\40\x20\40\40\40\47\x30\47\x2c\xa\x20\x20\x20\x20\x20\40\x20\x20\x27\47\54\xa\x20\x20\x20\x20\40\40\x20\40\x27" . $tiperpt . "\x27\x2c\12\x20\40\x20\40\x20\x20\x20\40\47" . $koderpt . "\x27\x2c\xa\x20\x20\x20\40\x20\x20\x20\40\x27" . $tipexport . "\x27\54\xa\40\x20\40\x20\x20\x20\x20\40\x27\47\x2c\12\40\x20\x20\40\40\40\40\40\47" . $jabatan . "\x27\x2c\xa\40\40\40\40\40\x20\40\40\47" . $kuncijab . "\x27\54\12\x20\x20\40\x20\40\40\40\40\x27" . $schedule . "\x27\54\xa\x20\x20\x20\x20\x20\40\40\40\47" . $kodescedule . "\47\x2c\xa\x9\x9\x27" . $param1 . "\47\54\12\x9\11\x27" . $param2 . "\47\54\12\11\11\47" . $param3 . "\47\54\40\12\11\x9\x27" . $param4 . "\47\54\40\xa\x9\x9\x27" . $param5 . "\47\x2c\xa\11\11\47" . $jsc . "\x27\12\x9\x29\x3b\xa\11\x9\xa"; __dbRowX($cmd, 2); } return $msg; } goto nKUJh; yUaHR: $_SESSION["\125\x55"] = "\x31\x30"; goto InpHo; vI5Bg: function __str2SQL($value, $type) { $value = trim($value); $ret = $value; if ($type == "\x44" && empty($value) === false) { $value = str_replace("\55", "\x2f", $value); date_default_timezone_set("\x41\x73\x69\141\57\112\x61\153\141\x72\x74\141"); list($day, $month, $year) = sscanf($value, "\45\x30\x32\144\x2f\45\60\62\144\x2f\45\x30\x34\144"); $dt = new DateTime("{$year}\x2d{$month}\x2d{$day}"); $ret = $dt->format("\131\57\155\57\144"); } if ($type == "\116") { $value = str_replace("\x2c", '', $value); $ret = $value; } return $ret; } goto ibJyg; kSwBd: function get_NoHP() { return $_SESSION["\165\163\x65\x72\x64\x61\x74\x61"]["\156\x6f\x5f\x68\x70"]; } goto gLrDG; q8rAU: function __str2date($dy, $my, $yr) { $ret = ''; $cmd = "\40\123\105\x4c\x45\103\x54\40\123\x54\122\137\124\117\137\104\101\x54\105\50\47" . $dy . "\40" . $my . "\x20" . $yr . "\x27\x2c\40\x27\45\x64\x20\x25\155\40\45\131\x27\51\40\40\160\153"; $r = __dbRow($cmd); $ret = $r["\160\153"]; return $ret; } goto jvDX0; SGGBW: function ___getUserAccount($user) { $cmd = "\163\x65\154\145\143\x74\x20\x2a\x20\x66\x72\x6f\155\x20\165\x73\145\162\137\141\x63\x63\x6f\165\x6e\164\163\x20\x77\x68\x65\162\x65\xa\11\x60\145\x6d\141\151\x6c\x60\x3d\42" . addslashes($user) . "\42\x20"; $r = __dbRow($cmd); return $r; } goto eBfk4; QJt33: function __dbAllServer($query, $ip, $db, $user, $pass, $key = '') { $q = __dbQueryServer($query, $ip, $db, $user, $pass); $results = array(); while ($r = $q->fetch(PDO::FETCH_ASSOC)) { $results[] = $r; } if (!$key) { return $results; } $arr = array(); foreach ($results as $r) { $arr[$r[$key]] = $r; } return $arr; } goto MfQes; bdb2B: function __get_no($cabang, $modul, $tgl, $jenis, $tambah) { $ret = ''; if (right($tgl, 2) == "\x28\51") { } else { $tgl = "\x27" . $tgl . "\47"; } $cmd = "\x20\x53\105\114\105\103\x54\40\x65\163\x65\x74\56\x60\x66\x5f\147\145\164\x5f\156\157\140\x28\x27{$cabang}\x27\54\47{$modul}\47\54{$tgl}\54\47{$jenis}\x27\x2c\47{$tambah}\x27\x20\51\x20\x20\x70\x6b"; $r = __dbRow($cmd); $ret = $r["\160\153"]; return $ret; } goto j4wRL; xLZMj: function addtask_wa($nowa = '', $pesan = '', $files = '', $tipe = 0, $server = 5) { $to = ''; $tos = explode("\x2c", $nowa); for ($i = 0; $i < count($tos); $i++) { $to = $tos[$i]; if (!empty($to)) { $cmd = "\12\x20\x20\x20\x20\40\40\x20\40\x20\x20\40\x20\111\116\123\x45\122\x54\x20\x49\116\124\117\40\x60\x6d\x75\x69\137\164\162\x73\140\56\140\155\154\157\147\x5f\167\141\140\xa\x20\40\x20\x20\x20\x20\40\x20\x20\40\x20\40\x20\40\x20\40\40\40\x20\x20\40\x20\40\40\50\x60\155\x6c\167\x5f\x74\151\x70\145\140\x2c\12\x20\x20\x20\40\40\40\x20\40\40\40\40\40\40\40\40\x20\x20\40\x20\x20\40\40\40\x20\40\140\x6d\x6c\167\x5f\156\157\155\157\162\140\54\xa\40\40\40\x20\40\x20\x20\x20\x20\40\40\x20\40\x20\40\40\40\40\40\x20\40\x20\40\40\x20\140\x6d\x6c\167\137\160\145\x73\x61\156\x60\54\xa\40\x20\x20\x20\40\x20\x20\x20\40\x20\40\40\x20\x20\40\40\x20\40\40\40\40\x20\40\x20\40\140\155\154\167\137\146\x69\154\x65\163\140\x2c\xa\x20\40\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\40\40\40\x20\40\40\x20\40\x20\x20\x20\x60\x6d\x6c\167\137\163\x74\141\164\165\x73\140\54\12\40\x20\40\x20\40\x20\40\40\40\x20\40\40\x20\40\40\40\40\40\x20\x20\40\x20\x20\40\x20\x60\x6d\154\167\137\143\x72\x75\144\x5f\151\x60\x2c\xa\40\x20\40\x20\x20\40\40\x20\x20\40\40\40\40\40\x20\40\x20\40\x20\x20\x20\x20\x20\x20\40\x60\x6d\x6c\x77\x5f\143\x72\x75\144\x5f\163\140\x29\12\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\x20\126\101\114\x55\x45\123\x20\50\x27" . $tipe . "\47\x2c\12\40\x20\x20\x20\x20\40\40\x20\x20\40\40\40\x20\40\x20\40\x20\40\x20\x20\x27" . $to . "\47\54\xa\40\x20\40\40\40\x20\40\x20\x20\40\x20\x20\40\40\40\40\40\x20\x20\40\47" . $pesan . "\x27\54\12\40\40\x20\x20\40\x20\40\x20\40\40\x20\40\x20\x20\40\x20\x20\x20\40\40\x27" . $files . "\x27\x2c\xa\40\x20\40\x20\x20\40\x20\x20\40\40\40\x20\40\40\x20\40\x20\x20\x20\x20\x27\x30\47\54\xa\40\x20\40\40\x20\40\40\40\40\40\x20\40\40\x20\40\x20\x20\40\40\x20\156\x6f\167\x28\x29\x2c\12\x20\x20\40\40\40\40\x20\x20\x20\x20\x20\40\x20\40\x20\x20\40\x20\40\x20\47\61\70\70\x31\55\x30\61\x2d\x30\61\47\x29\x3b\x20\40\x20\x20\40\40\40\x20\xa\x20\40\40\40\x20\x20\40\40\x20\40\40\40"; __dbrowx($cmd, $server); } } } goto GJxZg; fSKrF: function getPKUser() { $ret = ''; $cmd = "\40\163\145\x6c\145\x63\x74\x20\x77\145\142\x5f\x63\157\x6e\x66\56\146\137\147\145\164\x5f\160\x6b\137\x75\163\x65\162\50\47" . $_SESSION["\x75\x73\145\162\x64\141\164\141"]["\x65\x6d\141\151\x6c"] . "\x27\51\40\x70\x6b"; $r = __dbRow($cmd); $ret = $r["\x70\x6b"]; return $ret; } goto WU0JU; GJxZg: function addtask_sertifpdf($pkpst = '', $rptkode = '', $email = '', $wa = '', $tipepst = 0, $tipeproses = 0, $isemail = 0, $iswa = 0, $server = 5) { if (!empty($email)) { $isemail = "\x31"; } if (!empty($wa)) { $iswa = "\x31"; } $cmd = "\x49\116\123\105\122\x54\x20\x49\x4e\124\117\x20\140\x6d\x75\x69\x5f\x74\162\163\x60\x2e\x60\155\154\157\147\137\x73\x65\x72\x74\x69\x66\x5f\x70\144\146\x60\xa\x20\x20\40\x20\40\x20\x20\40\x20\40\40\40\x28\x60\155\163\160\144\x5f\x74\151\x70\x65\137\160\x73\164\x60\x2c\12\40\x20\x20\x20\x20\x20\40\40\x20\40\x20\x20\40\140\x6d\163\160\x64\137\x74\x69\x70\x65\x5f\160\162\157\163\x60\x2c\12\x20\x20\x20\40\x20\x20\40\x20\x20\x20\40\40\x20\x60\x6d\163\160\144\137\164\151\160\x65\x5f\x6b\157\x64\145\x60\54\xa\x20\x20\40\40\x20\x20\x20\40\x20\x20\40\40\x20\140\x6d\x73\160\x64\137\x70\153\137\x70\x73\x74\140\x2c\12\40\40\x20\x20\40\40\x20\40\40\x20\40\x20\40\140\155\x73\160\144\x5f\x65\155\x61\x69\x6c\140\54\xa\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\x60\155\x73\160\x64\x5f\167\x61\140\54\12\40\40\40\40\40\40\x20\40\x20\x20\40\40\x20\140\x6d\x73\160\x64\137\x69\x73\x65\x6d\141\151\x6c\x60\54\xa\x20\40\40\40\x20\40\x20\x20\x20\40\x20\x20\40\140\x6d\163\x70\x64\137\x69\x73\167\x61\x60\x2c\12\40\x20\x20\40\x20\x20\40\x20\x20\40\40\40\x20\140\155\x73\x70\x64\x5f\x66\x69\154\145\x60\x2c\xa\x20\x20\40\40\40\x20\40\40\40\x20\40\40\x20\140\155\163\x70\144\x5f\146\x69\x6c\145\137\x69\144\140\x2c\xa\40\40\40\40\x20\40\40\x20\40\x20\40\x20\40\x60\155\163\160\x64\x5f\x73\x74\x61\x74\x75\x73\x60\x2c\12\x20\40\x20\x20\x20\40\40\40\x20\40\x20\40\40\x60\x6d\163\x70\x64\x5f\143\x72\x75\x64\137\151\140\54\xa\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\40\x20\x20\140\155\163\x70\144\137\x63\x72\x75\144\x5f\x73\140\54\xa\x20\x20\40\x20\x20\40\40\x20\x20\40\x20\x20\x20\140\x6d\163\160\144\x5f\151\144\141\151\140\51\xa\126\x41\114\x55\x45\123\x20\50\x27" . $tipepst . "\x27\54\xa\x20\x20\40\40\40\40\x20\40\x27" . $tipeproses . "\47\54\xa\x20\x20\x20\40\x20\x20\x20\x20\47" . $rptkode . "\47\54\xa\x20\x20\40\x20\40\x20\x20\x20\x27" . $pkpst . "\47\54\12\40\x20\40\40\x20\40\40\40\x27" . $email . "\x27\x2c\12\40\40\40\x20\x20\40\40\40\x27" . $wa . "\x27\54\12\40\40\x20\40\x20\40\40\40\x27" . $isemail . "\x27\x2c\xa\x20\40\40\40\40\40\x20\40\x27" . $iswa . "\47\x2c\xa\40\x20\40\x20\40\x20\40\x20\47\47\x2c\12\x20\x20\x20\40\40\x20\x20\x20\47\x27\x2c\xa\40\40\40\x20\x20\x20\x20\40\47\x30\47\54\xa\x20\x20\x20\40\x20\40\40\40\x6e\x6f\x77\x28\x29\x2c\xa\40\40\x20\x20\x20\40\40\40\47\61\70\x38\x31\x2d\60\x31\x2d\x30\x31\47\54\xa\40\40\x20\x20\x20\40\x20\x20\x27\x27\51\x3b\12\40\x20\x20\x20\x20\40\x20\40"; __dbrowx($cmd, $server); } goto VvrVH; okFlr: function addTaskInfo($pk, $judul, $user, $jabatan, $kuncijab, $dir = '', $file = '', $tipexport = "\160\x64\x66", $param1 = '', $param2 = '', $param3 = '', $param4 = '', $param5 = '') { $mtprkode = $pk; $sqltam = ''; $tiperpt = ''; $koderpt = ''; $schedule = ''; $kodescedule = ''; $server = 0; $usermail = ''; $userwa = ''; $cmd = "\x53\105\x4c\x45\103\x54\x20\52\40\106\x52\117\x4d\x20\140\167\x65\x62\x5f\x63\x6f\156\146\x60\56\140\165\163\x65\x72\137\141\x63\x63\157\x75\x6e\164\x73\x60\x20\127\110\x45\x52\x45\40\140\145\155\x61\151\x6c\x60\x3d\47" . $user . "\x27"; $res = __dbrow($cmd); if (!empty($res)) { $usermail = $res["\145\155\x61\x69\x6c\x5f\x75\x73\145\x72"]; $userwa = $res["\156\157\137\x68\160"]; } $cmd = "\12\x49\x4e\x53\x45\x52\x54\40\x49\x4e\x54\117\40\140\155\x75\x69\x5f\164\141\163\153\140\x2e\140\x74\x72\163\x5f\164\141\x73\x6b\137\162\145\160\x6f\162\x74\x5f\x69\x6e\146\x6f\140\xa\x20\x20\x20\x20\40\x20\x20\40\40\x20\40\40\x28\x60\164\164\x72\137\160\x6b\140\54\xa\x20\x20\x20\40\40\40\40\x20\x20\40\x20\x20\x20\x60\x74\x74\x72\x5f\155\164\160\x72\137\153\157\144\x65\140\54\xa\x20\40\40\40\x20\40\x20\40\40\x20\40\40\x20\140\164\x74\162\x5f\165\163\x65\162\x60\54\12\x20\40\x20\40\x20\40\40\x20\x20\40\x20\x20\x20\140\x74\164\162\137\165\163\x65\162\x5f\145\155\x61\x69\x6c\140\54\12\x20\40\x20\40\40\x20\40\40\x20\x20\40\40\40\x60\164\164\162\137\x75\163\x65\x72\x5f\x77\141\x60\54\xa\40\x20\40\40\x20\x20\x20\40\x20\x20\x20\x20\x20\140\x74\164\162\137\152\165\x64\165\x6c\x60\54\xa\x20\x20\x20\40\40\x20\x20\x20\x20\40\x20\40\40\140\x74\x74\x72\x5f\163\161\x6c\140\54\12\40\x20\x20\40\40\x20\x20\40\x20\40\x20\40\x20\x60\164\164\162\x5f\x73\164\x61\162\164\140\x2c\xa\x20\40\40\40\40\40\x20\x20\x20\x20\40\x20\40\140\164\164\162\x5f\x65\156\144\x60\x2c\xa\x20\x20\40\x20\40\x20\40\40\x20\40\x20\40\40\x60\164\164\162\x5f\163\164\x61\164\x75\x73\x60\x2c\12\x20\x20\40\x20\40\40\x20\40\x20\40\x20\x20\40\x60\x74\164\x72\x5f\151\x6e\146\157\x60\54\xa\40\x20\x20\x20\40\x20\x20\x20\x20\40\40\x20\40\x60\164\x74\x72\x5f\x72\x70\x74\x5f\164\151\x70\145\140\54\xa\x20\40\40\40\40\40\x20\40\40\40\40\x20\x20\x60\x74\164\162\x5f\x72\160\x74\x5f\x6b\x6f\144\x65\140\54\12\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\40\x20\140\164\x74\162\137\x72\x70\164\137\145\x78\160\157\162\x74\x60\54\12\x9\x9\x9\40\40\164\164\x72\x5f\x66\151\x6c\x65\137\x64\x69\x72\x2c\12\x20\40\40\40\40\x20\x20\x20\40\40\x20\40\40\140\164\x74\162\137\146\151\154\145\x60\x2c\xa\40\40\40\x20\x20\x20\x20\40\40\x20\x20\40\x20\x60\x74\164\x72\x5f\163\x6a\141\x62\137\x6b\157\144\x65\x60\54\xa\x20\x20\40\40\x20\x20\40\x20\40\40\40\40\x20\x60\164\x74\x72\x5f\x73\x6a\141\x62\137\x6b\165\x6e\143\x69\x60\54\12\40\x20\40\x20\x20\40\x20\40\x20\x20\40\x20\x20\x60\x74\164\x72\x5f\x73\x63\150\x65\144\x75\x6c\x65\x60\54\12\x20\x20\x20\40\x20\x20\40\x20\x20\x20\40\40\x20\x60\x74\x74\x72\x5f\163\x63\x68\x65\x64\x75\154\145\137\x6b\157\144\x65\140\x29\xa\126\101\x4c\x55\105\123\40\x28\x27" . $pk . "\47\54\xa\x20\x20\40\x20\40\40\40\40\x27" . $mtprkode . "\47\x2c\12\40\x20\40\x20\40\x20\x20\40\47" . $user . "\47\x2c\12\40\x20\x20\x20\x20\x20\40\40\x27" . $usermail . "\47\x2c\xa\40\x20\x20\x20\x20\x20\x20\40\47" . $userwa . "\47\54\xa\x20\40\x20\40\40\40\x20\x20\x27" . $judul . "\x27\54\12\x20\x20\40\40\x20\x20\40\40\47" . __sqlSafe($sqltam) . "\47\x2c\12\x20\x20\x20\x20\40\40\40\40\156\157\x77\x28\51\x2c\12\x20\x20\40\40\x20\40\x20\40\156\x6f\x77\x28\51\x2c\xa\40\40\40\40\x20\x20\40\x20\x27\60\x27\x2c\xa\40\40\40\x20\40\40\x20\x20\x27\47\x2c\xa\40\x20\x20\40\x20\40\x20\40\x27" . $tiperpt . "\x27\54\12\x20\40\x20\40\40\x20\x20\40\x27" . $koderpt . "\47\54\xa\x20\40\x20\x20\x20\40\40\x20\47" . $tipexport . "\x27\x2c\12\x20\x20\x20\40\40\40\40\40\x27" . $dir . "\47\x2c\xa\11\x9\x27" . $file . "\47\54\12\x20\x20\40\40\40\40\x20\x20\x27" . $jabatan . "\47\x2c\xa\40\40\x20\x20\x20\40\x20\x20\47" . $kuncijab . "\47\54\xa\40\40\x20\40\x20\40\x20\x20\x27" . $schedule . "\47\x2c\xa\40\x20\x20\40\x20\x20\x20\40\47" . $kodescedule . "\47\51\x3b\12\11\x9\xa"; __dbrowX($cmd, 2); } goto UDSO7; nKUJh: function addMobNotif($tit, $msg, $user) { $cmd = "\12\x9\111\116\123\x45\122\x54\40\111\x4e\x54\117\40\x60\155\165\151\137\163\x74\x61\164\x60\56\140\155\x73\164\137\156\157\164\x69\146\x60\12\40\x20\x20\40\x20\x20\40\x20\x20\40\x20\40\12\11\11\x9\50\xa\x20\40\40\40\40\40\x20\x20\40\40\x20\40\40\140\155\163\x6e\137\165\x73\x65\x72\x60\x2c\xa\40\x20\40\x20\x20\x20\x20\x20\40\40\40\x20\x20\x60\x6d\x73\x6e\137\x74\x69\164\140\x2c\12\40\40\40\x20\40\40\x20\40\x20\x20\40\x20\x20\x60\x6d\163\x6e\x5f\155\x73\147\x60\54\xa\x20\x20\40\40\x20\40\x20\x20\x20\x20\40\40\x20\x60\155\163\156\137\x73\x74\x61\164\165\163\140\54\12\40\40\x20\40\40\x20\x20\x20\x20\40\40\x20\x20\x60\x6d\163\156\137\x64\141\164\x65\140\51\12\x56\x41\114\x55\105\123\x20\50\xa\x20\x20\x20\x20\x20\40\40\40\47" . $user . "\47\54\12\40\x20\40\40\x20\x20\x20\40\47" . $tit . "\x27\54\xa\x20\x20\40\40\x20\40\40\x20\47" . $msg . "\47\54\xa\x20\40\x20\x20\40\x20\40\x20\47\x30\x27\x2c\12\x63\165\x72\x64\141\x74\145\50\51\51\73"; __dbRowX($cmd, 1); } goto okFlr; ABckz: $_SESSION["\104\111\122"] = "\57\x76\x61\x72\x2f\x77\167\x77\x2f\x68\164\x6d\x6c\57\154\151\x76\145\x2f"; goto AsusC; BhA16: function __cache_clear($type) { if (!is_dir(SCRIPTBASE . "\x2f\167\x77\x2e\143\141\143\150\x65\x2f" . $type)) { return; } $d = new DirectoryIterator(SCRIPTBASE . "\57\x77\167\56\143\141\x63\x68\x65\x2f" . $type); foreach ($d as $f) { $f = $f->getFilename(); if ($f == "\x2e" || $f == "\56\56") { continue; } unlink(SCRIPTBASE . "\x2f\167\x77\x2e\143\141\x63\x68\145\x2f" . $type . "\57" . $f); } } goto M8cA6; D__aq: function __getpass($user, $pass) { return $password = md5($user . "\53" . $pass); } goto jGzcF; qcLnw: function errorON() { error_reporting(E_ALL); } goto mPnK4; Y4KSv: function __getSessionYear() { $year = $_SESSION["\165\x73\x65\x72\x64\141\x74\x61"]["\143\165\162\171\145\141\x72"]; return $year; } goto LQam4; zpVM7: ?>
Function Calls
None |
Stats
MD5 | e73c907b646a4a709898a0e5f5c4e957 |
Eval Count | 0 |
Decode Time | 71 ms |