Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $O = array( 398, function($w4s) use (&$O)
- {
- $DV4 = 51;
- $IwR = array( );
- $O[1041]($DV4, $w4s, $IwR);
- if( $IwR["status"] == 0 && !$IwR["error"] )
- {
- $O[566]($DV4, $w4s, $IwR);
- }
- $O[1180]($DV4, $w4s, $IwR);
- return $IwR;
- }
- , function(&$Bid) use (&$O)
- {
- global $jm3;
- global $dOJ;
- global $E8m;
- global $Sdj;
- if( !$dOJ )
- {
- return NULL;
- }
- if( $jm3["startup_bonus"] == 0 )
- {
- return NULL;
- }
- $BOR = 1;
- if( $O[469]("22EFL5DRGEKDUVQDETQK") )
- {
- $oO3 = $O[832]("select username from hm2_users where id = " . intval($m1E));
- if( $oO3["username"] != "Bonus" )
- {
- $BOR = 0;
- }
- }
- if( $BOR )
- {
- $O[435]("insert into hm2_history set user_id = " . $Bid["user_id"] . ", ec = " . $jm3["startup_bonus_ec"] . ", amount = " . $jm3["startup_bonus"] . ", actual_amount = " . $jm3["startup_bonus"] . ", type = " . "'" . "bonus" . "'" . ", date = now(), description = " . "'" . "Startup bonus" . "'");
- if( 0 < $jm3["startup_bonus_plan"] )
- {
- $O[435]("insert into hm2_history set user_id = " . $Bid["user_id"] . ", ec = " . $jm3["startup_bonus_ec"] . ", amount = -" . $jm3["startup_bonus"] . ", actual_amount = -" . $jm3["startup_bonus"] . ", type = " . "'" . "deposit" . "'" . ", date = now(), description = " . "'" . "Startup bonus invested" . "'");
- $O[435]("insert into hm2_deposits set user_id = " . $Bid["user_id"] . ", type_id = " . $jm3["startup_bonus_plan"] . ", deposit_date = now(), last_pay_date = now(), dde = now(), status = " . "'" . "on" . "'" . ", amount = " . $jm3["startup_bonus"] . ", actual_amount = " . $jm3["startup_bonus"] . ", init_amount = " . $jm3["startup_bonus"] . ", ec = " . $jm3["startup_bonus_ec"] . ", bonus_flag = 2");
- }
- if( $E8m )
- {
- for( $XXS = 2; $XXS < $Sdj + 2; $XXS++ )
- {
- if( 0 < $jm3["startup_bonus" . $XXS] )
- {
- $O[435]("insert into hm2_history set user_id = " . $Bid["user_id"] . ", ec = " . $jm3["startup_bonus_ec" . $XXS] . ", amount = " . $jm3["startup_bonus" . $XXS] . ", actual_amount = " . $jm3["startup_bonus" . $XXS] . ", type=" . "'" . "bonus" . "'" . ", date = now(), description = " . "'" . "Startup bonus" . "'");
- }
- if( 0 < $jm3["startup_bonus_plan" . $XXS] )
- {
- $O[435]("insert into hm2_history set user_id = " . $Bid["user_id"] . ", ec = " . $jm3["startup_bonus_ec" . $XXS] . ", amount = -" . $jm3["startup_bonus" . $XXS] . ", actual_amount = -" . $jm3["startup_bonus" . $XXS] . ", type=" . "'" . "deposit" . "'" . ", date = now(), description = " . "'" . "Startup bonus invested" . "'");
- $O[435]("insert into hm2_deposits set user_id = " . $Bid["user_id"] . ", type_id = " . $jm3["startup_bonus_plan" . $XXS] . ", deposit_date = now(), last_pay_date = now(), dde = now(), status = " . "'" . "on" . "'" . ", amount = " . $jm3["startup_bonus" . $XXS] . ", actual_amount = " . $jm3["startup_bonus" . $XXS] . ", init_amount = " . $jm3["startup_bonus"] . ", ec = " . $jm3["startup_bonus_ec" . $XXS] . ", bonus_flag = 2");
- }
- }
- }
- }
- }
- , 14, function($RLX, $LEe) use (&$O)
- {
- global $jm3;
- global $Ld0;
- global $lwj;
- global $Dd7;
- global $R1X;
- $E4b = array( );
- $DV4 = $lwj[69]["deposit"]["values"]["account"];
- $RlI = $lwj[69];
- $RLX["main_account"] = $Ld0[$DV4]["deposit"]["values"]["account"];
- $dV9 = $LEe["amount"];
- $RLX["processing"] = "ethpr";
- $b9e = $LEe["description"];
- if( $lwj[$DV4]["deposit"]["fiat"] != $jm3["program_version"] )
- {
- $RLX["amount_usd"] = $LEe["converted_amount"];
- }
- else
- {
- $RLX["amount_usd"] = $LEe["amount"];
- }
- $BlD = 0;
- if( preg_match("/^0x[a-zA-Z0-9]{40}\$/", $Ld0[$DV4]["deposit"]["values"]["account"], $L7J) )
- {
- $RLX["amount"] = $dV9;
- $ms8 = md5($Dd7["id"] . $Ld0[$DV4]["deposit"]["values"]["password"]);
- $RLX["secret"] = $ms8;
- $RLX["postback_url"] = $jm3["site_url"] . "/index.php/status/postback/" . $RlI["id"] . "/";
- $b4s = $O[126]($RLX, 0);
- $b4s = $O[126]($RLX, 0);
- }
- else
- {
- $BlD = 1;
- }
- $Bw1 = 0;
- if( !is_array($b4s) )
- {
- $Bw1 = 1;
- $b4s = array( );
- $b4s["amount_to_invest"] = "";
- $b4s["wallet"] = "";
- }
- $dV9 = $LEe["amount"];
- $bwO = $b4s["wallet"];
- $O[479]("deposit", $LEe);
- $wS9 = array( );
- if( $Bw1 == 1 )
- {
- $lbO = "Getting address error " . (($BlD == 1 ? "(wrong address format) " : ""));
- }
- else
- {
- $eE0 = $Dd7["id"] . "_" . md5($Dd7["id"] . ":" . $jm3["license"] . ":" . $Dd7["password"]);
- $lbO = "<div class=\"btc_form btc" . $DV4 . "\" id=btc_form>";
- $lbO .= "Please send <b>" . $dV9 . " Ethereum</b> to <i><a href=\"ethereum:" . $bwO . "?amount=" . $dV9 . "&message=" . urlencode($b9e) . "\">" . $bwO . "</a></i><br>";
- $lbO .= "";
- $lbO .= "</div>";
- $lbO .= "<div id=placeforstatus></div>";
- $lbO .= "<iframe width=1 height=1 frameBorder=0 id=deposit_result_div src=\"index.php/status/postback/" . $RlI["id"] . "/get_status/1/wallet/" . $bwO . "/amount/" . $dV9 . "/token/" . $eE0 . "\"></iframe>";
- $O[479]("coin_payment_image", "<img src=\"https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=" . $bwO . "\"/>");
- }
- $E4b["formHTML"] = $lbO;
- $E4b["ethaddr"] = $bwO;
- $E4b["ethddr"] = $bwO;
- $E4b["amount"] = $dV9;
- return $E4b;
- }
- , 123, function() use (&$O)
- {
- global $jm3;
- global $Vmw;
- global $lwj;
- global $j90;
- global $R1X;
- global $bsI;
- $DV4 = $lwj[68]["deposit"]["values"]["account"];
- $RlI = $lwj[68];
- $E4b = array( );
- $E4b["status"] = "error";
- if( $j90["sendids"] == 1 )
- {
- $mOx = json_decode(base64_decode($j90["data"]), 1);
- foreach( $mOx["records"] as $b3j )
- {
- $xEx = $b3j["txid"] . ":" . $b3j["wallet"];
- $X74 = $O[890]($xEx);
- $DRL = $O[832]("select count(*) as " . "'" . "cnt" . "'" . " from hm2_history where ec = 68 and hidden_batch = " . "'" . $X74 . "'");
- if( 0 < $DRL["cnt"] )
- {
- $E4b["status"] = "OK";
- return $E4b;
- }
- $bm6 = intval($b3j["user_id"]);
- $eO8 = $O[890]($b3j["txid"]);
- $Oow = intval($b3j["confirmations"]);
- $B0w = $O[890]($b3j["wallet"]);
- $IVl = sprintf("%0.8f", $b3j["tst_amount"]);
- $DXE = $O[832]("select * from hm2_coins_transactions where user_id = " . $bm6 . " and txid = " . "'" . $eO8 . "'" . " and wallet = " . "'" . $B0w . "'" . " and coin = " . "'" . "ltc_pr" . "'");
- if( 0 < $DXE["id"] )
- {
- $O[435]("update hm2_coins_transactions set coin = " . "'" . "ltc_pr" . "'" . ", user_id = " . $bm6 . ", confirmations = " . $Oow . ", txid = " . "'" . $eO8 . "'" . ", wallet = " . "'" . $B0w . "'" . ", amount = " . $IVl . ", ctime = now() where id = " . $DXE["id"]);
- }
- else
- {
- $O[435]("insert into hm2_coins_transactions set coin = " . "'" . "ltc_pr" . "'" . ", user_id = " . $bm6 . ", confirmations = " . $Oow . ", txid = " . "'" . $eO8 . "'" . ", wallet = " . "'" . $B0w . "'" . ", amount = " . $IVl . ", ctime = now()");
- }
- if( $Vmw[$DV4]["deposit"]["values"]["confirmations"] <= $b3j["confirmations"] )
- {
- $RLX["processing"] = "ltcpr";
- $RLX["wallet"] = $b3j["wallet"];
- $RLX["txid"] = $b3j["txid"];
- $RLX["secret"] = md5($b3j["user_id"] . $Vmw[$DV4]["deposit"]["values"]["password"]);
- $RLX["license"] = $jm3["license"];
- $RLX["confirmations_for_create"] = $Vmw[$DV4]["deposit"]["values"]["confirmations"];
- $E4b = $O[126]($RLX, 1);
- $EeD = unserialize($E4b["pid"]);
- if( $EeD["secret"] == md5($EeD["userid"] . $Vmw[$DV4]["deposit"]["values"]["password"]) )
- {
- $EeD["batch"] = $b3j["txid"];
- $EeD["account"] = "n/a";
- $xEx = $b3j["txid"] . ":" . $b3j["wallet"];
- $EeD["hidden_batch"] = $xEx;
- $mjV = "Add depo from postback" . serialize($EeD);
- $O[503]($mjV);
- $O[871]($RlI["id"], $EeD);
- $E4b["status"] = "OK";
- return $E4b;
- }
- }
- }
- $E4b["status"] = "ok";
- return $E4b;
- }
- else
- {
- if( $j90["get_status"] == 1 )
- {
- $B0w = $O[890]($j90["wallet"]);
- $lx4 = $O[435]("select * from hm2_coins_transactions where wallet = " . "'" . $B0w . "'" . " and ctime > now() - interval 2 hour and coin = " . "'" . "ltc_pr" . "'");
- $DR9 = 0;
- $IBB = array( );
- while( $DRL = $O[27]($lx4) )
- {
- $DR9 = 1;
- $X74 = $O[890]($DRL["txid"]);
- $R7d = "select count(id) as cnt, user_id from hm2_history where ec = 68 && type = " . "'" . "add_funds" . "'" . " && hidden_batch = " . "'" . $X74 . ":" . $B0w . "'";
- $sxi = $O[832]($R7d);
- $Ils = $sxi["cnt"];
- array_push($IBB, array( "txid" => $DRL["txid"], "confirmations" => $DRL["confirmations"], "tx_exists" => (0 < $Ils ? 1 : 0) ));
- }
- $O[479]("transactions", $IBB);
- $O[479]("deposit_added", $wEi);
- if( sizeof($IBB) == 0 )
- {
- $O[479]("no_transactions", 1);
- }
- $bsI = array( );
- $O[479]("ltc_confirmations", $Vmw[$DV4]["deposit"]["values"]["confirmations"]);
- $bsI["tmpl_postback"] = " <html> <head></head> <body onload=\"update_status_from_iframe()\"> <script language=javascript> {literal} function update_status_from_iframe() { window.parent.document.getElementById(\"placeforstatus\").innerHTML = document.documentElement.innerHTML; } {/literal} </script> {if \$no_transactions} <b>Order status:</b> Waiting for payment<Br> <script language=javascript> window.parent.document.getElementById(\"ltc_form\").style.display = \"\"; window.parent.document.getElementById(\"coin_payment_image\").style.display = \"\"; </script> {else} {if \$transactions} {* <script language=javascript> window.parent.document.getElementById(\"ltc_form\").style.display = \"none\"; window.parent.document.getElementById(\"coin_payment_image\").style.display = \"none\"; </script>*} <b>Order status:</b> Waiting for {\$ltc_confirmations} confirmations<br> {foreach from=\$transactions item=t} Payment: <a href=https://live.blockcypher.com/ltc/tx/{\$t.txid}/ target=_blank>{\$t.txid}</a> {if \$t.tx_exists}Deposit Created{else}( {\$t.confirmations} confirmations){/if}. <br> \r\n {/foreach} {/if} {if !\$transactions && \$deposit_added == 1} <b>Order status:</b> Deposit created txid: {\$processed_tx_id} {* <script language=javascript> setTimeout('window.top.location.href = \"{\$settings.site_url}/index.php?a=return_success\"; ', 2000); </script>*} {/if} {/if} <script language=javascript> setTimeout(\"location.reload()\", 30000); </script> </body></html> ";
- $O[479]("settings", $jm3);
- $O[71]("my:tmpl_postback");
- $IwR["error"] = "";
- return $IwR;
- }
- $IwR["error"] = "ok";
- return $IwR;
- }
- }
- , function($s1R) use (&$O)
- {
- global $jm3;
- global $Dl8;
- global $eOw;
- return $O[1033]($s1R, $Dl8, $eOw);
- }
- , function() use (&$O)
- {
- global $lwj;
- global $Dl8;
- global $jm3;
- $DV4 = 71;
- $VVV = $lwj[$DV4]["deposit"]["values"]["account"];
- if( $Dl8[$VVV] )
- {
- $lwj[$DV4]["deposit"]["fiat"] = $Dl8[$VVV]["deposit"]["fiat"];
- }
- $w4s = $O[411]($DV4);
- $VVV = $w4s["account"];
- if( $Dl8[$VVV] )
- {
- $lwj[$DV4]["withdraw"]["fiat"] = $Dl8[$VVV]["withdraw"]["fiat"];
- }
- }
- , function($dI5) use (&$O)
- {
- $D33 = array( 9288 => ", date = now(), status = ", 6689 => "too_big_amount", 3439 => " and date > now() - interval ", 5589 => "select sum(actual_amount) as `sm` from hm2_deposits where status = ", 4935 => "uname = ", 1343 => " <form name=spend method=post action=\"https://solidtrustpay.com/handle.php\"> \r\n<input type=hidden name=user1 value=\"solidtrustpay_postback\"> <input type=hidden name=user3 value=\"", 7446 => "\"> <input type=\"hidden\" name=\"ac_currency\" value=\"", 6214 => " and str = ", 9307 => "Nicaragua", 3998 => ")) as active_deposits_amount from hm2_users as u left outer join hm2_deposits as d on u.id = d.user_id and d.bonus_flag = 0 where u.ref in (", 3786 => "reg_fee_ref_enabled", 3609 => " and deposit_id = ", 2502 => "ps_reset_deposit", 476 => ".json", 3710 => "Djibouti", 2282 => "TT0HBIT98FJTOLH6W8RX" );
- return $D33[$dI5];
- }
- , function($m4d) use (&$O)
- {
- $lbd = array( 7446 => "deps", 2282 => "QFMB3LDHRRT94DMFKRV7", 3998 => "amount_to_invest", 2502 => "91.219.236.184", 3609 => ">>>", 476 => "Burundi", 3786 => "Rwanda", 3710 => "6FVTBBNTWCCJ2FC5XG76", 9307 => "Account PIN", 6214 => "invalid_login", 1343 => "zip" );
- return $lbd[$m4d];
- }
- , function(&$Bid) use (&$O)
- {
- global $jm3;
- $S8b = "review";
- $DRL = $O[832]("select value from hm2_settings where name = " . "'" . "update_id_" . $S8b . "'");
- $XBJ = $B1L = intval($DRL["value"]);
- if( $XBJ < 1 )
- {
- $O[435]("create table hm2_review ( id int not null auto_increment primary key, uname varchar(200) not null default " . "'" . "'" . ", review text not null default " . "'" . "'" . ", tdate datetime not null, approved int not null default 0, uid int not null default 0 )");
- $XBJ = 1;
- }
- if( $XBJ != $B1L )
- {
- $O[435]("delete from hm2_settings where name = " . "'" . "update_id_" . $S8b . "'");
- $O[435]("insert into hm2_settings set value = " . $XBJ . ", name = " . "'" . "update_id_" . $S8b . "'");
- }
- }
- , function($L7b) use (&$O)
- {
- $Ds4 = array( 326 => "2007-01-01", 9288 => "update hm2_users set hid = ", 6689 => "update hm2_users set group_id = ", 6214 => "\"> <input type=\"hidden\" name=\"PAYMENT_AMOUNT\" value=\"", 2282 => "testmode", 3710 => "|error", 2502 => "~(/\\*|\\*/|//|--)~i", 3609 => "use_active_referal", 476 => "&remoteip=", 3786 => "prefix", 3998 => " offset ", 9307 => "ac_start_date", 7446 => "ethereumclassic", 1343 => "Please send exactly <b>", 4935 => "remote_addr_var", 5589 => "0282HSPK9OF61446HIOI", 3439 => "user_notices", 3196 => "MS9H2M53GA6TRPC3VUWT", 2396 => "TTYRPCFUM4QJGLVTQQ3Q", 6602 => "process" );
- return $Ds4[$L7b];
- }
- , function(&$b38) use (&$O)
- {
- global $Ld0;
- global $lwj;
- global $j90;
- global $mJ8;
- global $jm3;
- return $O[1292]($lwj[69], $Ld0);
- }
- , 159, function($LS6) use (&$O)
- {
- $o17 = array( 3196 => "Twitter", 9288 => "J2ASM699XQAEXEI18DUB", 5589 => "settings_form", 7446 => "user_defined_8", 2282 => "PM receives when auto withdraw - ", 9307 => "37HNYYTVA8EBDAXJ3A34", 3710 => "3RDHXEZMDSG84C6UXA2U", 3998 => "select count(distinct user_id) as cnt from hm2_deposits where bonus_flag = 0", 3786 => "top_investors", 476 => "50_BEFORE_DEFAULT", 3609 => "self_active_deposit_amount", 2502 => "hostname", 6214 => "190.115.30.249", 1343 => "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31", 4935 => " <form method=\"GET\" action=\"https://salipay.com/api/merchant/start.html\" target=_top> \r\n<input type=\"hidden\" name=\"shop_id\" value=\"", 3439 => "E5UF91LAHJHAY4SPGFMV", 6689 => "/([0-9a-f]{64})/i", 326 => "SQJUKEWCEHMN8VFMM8NR", 2396 => "ciux", 6602 => "deposit_earning", 555 => " / " );
- return $o17[$LS6];
- }
- , function($mw0) use (&$O)
- {
- $B66 = array( 9288 => "HTTP_USER_AGENT", 4935 => "merchant = ", 3710 => "sms_code_length", 476 => "pereodic_earning_bonus_every", 2502 => "input", 3609 => " as ddate", 3786 => "lottery_number", 3998 => "l", 9307 => "Ghana", 2282 => "Qatar", 6214 => "5CHLQ8TV6TJXKR22TDM4", 7446 => "Can't confirm your payment. <a href=\"", 1343 => "AdvCash", 5589 => "epay", 3439 => "<div class=\"dash_form dash", 6689 => "QB65FL9W4UE78FZ6MQM7", 3196 => "withdrawal_fee" );
- return $B66[$mw0];
- }
- , function(&$b38) use (&$O)
- {
- global $DmO;
- global $lwj;
- global $j90;
- global $mJ8;
- return $O[1181]($lwj[80], $DmO);
- }
- , function(&$b38) use (&$O)
- {
- global $Dl8;
- global $lwj;
- global $j90;
- global $mJ8;
- return $O[1181]($lwj[71], $Dl8);
- }
- , function($RLX, $LEe) use (&$O)
- {
- global $jm3;
- global $lwj;
- global $R1X;
- $DV4 = 22;
- $b4s = $O[734]($RLX, 0);
- $wS9 = array( );
- $dV9 = $LEe["amount"];
- $b9e = $LEe["description"];
- $Ee7 = $lwj[$DV4]["deposit"]["values"]["account"];
- $wm5 = $lwj[$DV4]["deposit"]["values"]["sci"];
- $o6b = $lwj[$DV4]["deposit"]["fiat"];
- $lbO = " <form name=spend method=post action=\"https://solidtrustpay.com/handle.php\"> \r\n<input type=hidden name=user1 value=\"solidtrustpay_postback\"> <input type=hidden name=user3 value=\"" . $b4s . "\"> <input type=hidden name=sci_name value=\"" . $wm5 . "\" > <INPUT type=hidden name=amount value=\"" . $dV9 . "\"> <INPUT type=hidden name=merchantAccount value=\"" . $Ee7 . "\"> <INPUT type=hidden name=notify_url value=\"" . encurl("index.php/status/postback/" . $DV4 . "/", "", 1) . "\"> <input type=hidden name=\"currency\" value=\"" . $o6b . "\"> <INPUT type=hidden name=return_url value=\"" . encurl("?a=return_success", "", 1) . "\"> <INPUT type=hidden name=cancel_url value=\"" . encurl("?a=return_fails", "", 1) . "\"> <INPUT type=hidden name=memo value=\"" . $b9e . "\"> <INPUT type=hidden name=ite_id value=\"" . $b9e . "\"> <span class=\"deposit-process-wrap\"> <input type=\"submit\" value=\"Process\" class=\"sbmt deposit-process\" /> </span> <span class=\"deposit-cancel-wrap\"> <input type=\"button\" value=\"Cancel\" class=\"sbmt deposit-cancel\" onclick=\"history.go(-1)\"> </span> </form> ";
- $O[479]("form", $wS9);
- $O[479]("payment_form", $lbO);
- $O[71]("deposit.confirm.tpl");
- $O[1299]($XXe);
- exit();
- }
- , 864, 223, function($S3X) use (&$O)
- {
- $dJ6 = array( 7446 => "dir", 2282 => "use_home_phone", 9307 => "https://block.io/api/v2/create_notification/?api_key=", 3998 => "NitronPay send when auto withdraw - ", 476 => " 00:00:00", 2502 => "answer", 3609 => " 0 day ", 3786 => "SCI ID", 3710 => "2NGF32YUPWDUD92LVAM3", 6214 => "YQBG7UZCBUZKKWMD82G9", 1343 => "Location: index.php", 4935 => "select count(*) as cnt from hm2_history where type = ", 5589 => "added_amt", 3439 => "select count(id) as `col` from hm2_users where status = " );
- return $dJ6[$S3X];
- }
- , 111, function() use (&$O)
- {
- global $lwj;
- global $Ld0;
- global $jm3;
- $DV4 = 4;
- $lwj[69]["deposit"]["fiat"] = $Ld0[$DV4]["deposit"]["fiat"];
- $biL = unserialize(base64_decode($jm3["ethecv" . $DV4]));
- foreach( $Ld0[$DV4]["deposit"]["fields"] as $Rxj => $IXx )
- {
- $Ld0[$DV4]["deposit"]["values"][$Rxj] = $biL[$Rxj];
- }
- }
- , 350, 999, function($lx4) use (&$O)
- {
- global $sEj;
- global $IVE;
- if( $IVE == "mysqli" )
- {
- $DRL = mysqli_fetch_assoc($lx4);
- }
- else
- {
- $DRL = mysql_fetch_assoc($lx4);
- }
- return $DRL;
- }
- , function() use (&$O)
- {
- global $lwj;
- global $Vmw;
- global $jm3;
- $DV4 = 4;
- $lwj[68]["deposit"]["fiat"] = $Vmw[$DV4]["deposit"]["fiat"];
- $biL = unserialize(base64_decode($jm3["ltcecv" . $DV4]));
- foreach( $Vmw[$DV4]["deposit"]["fields"] as $Rxj => $IXx )
- {
- $Vmw[$DV4]["deposit"]["values"][$Rxj] = $biL[$Rxj];
- }
- }
- , function(&$Bid) use (&$O)
- {
- global $jm3;
- $S8b = "user_notices";
- $DRL = $O[832]("select value from hm2_settings where name = " . "'" . "update_id_" . $S8b . "'");
- $XBJ = $B1L = intval($DRL["value"]);
- if( $XBJ < 1 )
- {
- $O[435]("ALTER TABLE hm2_umessages RENAME hm2_user_notices");
- $O[435]("alter table hm2_user_notices add column title varchar(255), add column notified tinyint(1) default 0");
- $XBJ = 1;
- }
- if( $XBJ != $B1L )
- {
- $O[435]("delete from hm2_settings where name = " . "'" . "update_id_" . $S8b . "'");
- $O[435]("insert into hm2_settings set value = " . $XBJ . ", name = " . "'" . "update_id_" . $S8b . "'");
- }
- }
- , function($RsD) use (&$O)
- {
- $XE9 = array( 555 => "periodic_bonus_amount", 326 => "use_roll_deposits_with_max", 6689 => " <form action=\"https://www.s-pay.me/pay/payment/?lang=en\" method=\"POST\"> \r\n<input type=\"hidden\" name=\"cmd\" value=\"paynow\"> <input type=\"hidden\" name=\"account\" value=\"", 3439 => "prepare", 1343 => "exchange_in", 9307 => "all_lvls_refs_active_deposit_amount", 3710 => "power_unit", 3998 => "24d", 476 => "]\" class=inpts onchange=\"", 2502 => "uip", 3609 => "<", 3786 => "_select\">", 2282 => "~/~", 6214 => "skypeid", 7446 => "Gibraltar", 4935 => "epc_created_at", 5589 => "api_pass", 9288 => "T5X8C6C3FQL2UH8KEJFH", 3196 => "7LUQDZZZRFYRJ8YXWB6J", 2396 => "install.php", 6602 => "withdraw_principal_percent" );
- return $XE9[$RsD];
- }
- , 755, function($OSd) use (&$O)
- {
- $eEi = array( 9288 => "currency_pow", 5589 => "tell_friend_page", 1343 => "\"> <input type=hidden name=cancel_url value=\"", 6214 => "event", 2282 => " <form method=\"get\" action=\"", 9307 => "</authenticationToken> <accountEmail>", 3710 => "U6CVVRCF97UFMRJZWP5B", 3786 => "16FTLVTS4WKNXHR0VRK5", 3609 => "<li class=\"page-item\"><a class=\"prev page-link disabled\">", 2502 => "B", 476 => "recaptcha_v3", 3998 => "JDK2Q8KYLUJER4ANKEZZ", 7446 => "\"> <input type=\"hidden\" name=\"description\" value=\"", 4935 => ") as amt from hm2_user_balances where type in (", 3439 => "deposit.other.confirm.tpl", 6689 => "external_deposits_disabled" );
- return $eEi[$OSd];
- }
- , function($RLX, $LEe) use (&$O)
- {
- global $jm3;
- global $e6e;
- global $lwj;
- global $Dd7;
- global $R1X;
- $E4b = array( );
- $DV4 = $lwj[48]["deposit"]["values"]["account"];
- $RlI = $lwj[48];
- $ElD = $e6e[$DV4]["deposit"]["values"]["account"];
- $OSj = $e6e[$DV4]["deposit"]["values"]["pssword"];
- $dV9 = $LEe["amount"];
- $b9e = $LEe["description"];
- $IwR = array( );
- $O[657]($e6e[$DV4], $RLX, $LEe, $IwR);
- $E4b["formHTML"] = $IwR["formHTML"];
- $E4b["btcaddr"] = $IwR["addr"];
- $E4b["amount"] = $dV9;
- return $E4b;
- }
- , function(&$b38) use (&$O)
- {
- global $Js5;
- global $lwj;
- global $j90;
- global $mJ8;
- global $jm3;
- return $O[1292]($lwj[77], $Js5);
- }
- , function($J4D) use (&$O)
- {
- $Sdl = array( 1343 => "times_limit", 9307 => "WCWC4G7G7QDPMXX2WFDR", 3710 => "Tokelau", 3786 => "refs10", 476 => "Blacklisted ", 3609 => "update hm2_deposits set q_pays = q_pays + 1, last_pay_date = last_pay_date + interval ", 2502 => "~", 3998 => "3UTRPZUMX8WUA9NRT44G", 2282 => "</account> <amount>", 6214 => "create_withdrawal", 7446 => "select *, date_format(date_register + interval " );
- return $Sdl[$J4D];
- }
- , function($Rxj, $IXx, $s1R) use (&$O)
- {
- global $Dl8;
- return $O[284]($Rxj, $IXx, $s1R, $Dl8);
- }
- , function($X7e, $RlI) use (&$O)
- {
- global $j90;
- global $ES7;
- global $jm3;
- global $lwj;
- $E4b = array( );
- $E4b["status"] = "error";
- $RLe = $RlI["deposit"]["values"]["password"];
- if( !$RLe )
- {
- $E4b["error"] = "IPN Secret is not set";
- }
- if( !$RlI["deposit"]["values"]["account"] )
- {
- $E4b["error"] = "Account is not set";
- }
- $l6e = file_get_contents("php://input");
- $b5J = hash_hmac("sha512", $l6e, trim($RLe));
- parse_str($l6e, $OOO);
- $mjV = "Coinpayments " . $lwj[$X7e]["name"] . "(" . $X7e . ") key = " . $RLe . "\n";
- $mjV .= "ip = " . $ES7["REMOTE_ADDR"] . "\n";
- $mjV .= "hash = " . $b5J . "\n";
- $mjV .= "received hash = " . $ES7["HTTP_HMAC"] . "\n";
- $mjV .= "request = " . $l6e . "\n";
- $O[503]($mjV);
- if( $E4b["error"] )
- {
- return $E4b;
- }
- $o6b = $RlI["deposit"]["fiat"];
- if( $o6b == "USDT" )
- {
- $o6b = "USDT.ERC20";
- }
- if( $b5J == $ES7["HTTP_HMAC"] && $OOO["currency1"] == $o6b && 100 <= $OOO["status"] && $lwj[$X7e]["status"] == 1 && $OOO["merchant"] == $RlI["deposit"]["values"]["account"] )
- {
- $EeD = $O[734]($OOO["invoice"], 1);
- $EeD["amount"] = $j90["amount1"];
- $EeD["batch"] = $j90["txn_id"];
- $EeD["account"] = $j90["email"];
- $O[871]($X7e, $EeD);
- $E4b["status"] = "success";
- }
- return $E4b;
- }
- , function($IBm) use (&$O)
- {
- $Bis = array( 6602 => "select u.username, u.ip_reg, u.name, u.email, sum(h.amount) as amount from hm2_users as u inner join hm2_history as h on u.id = h.user_id and h.type = ", 3196 => "26TTB49EZCEM653CGZRY", 3439 => "blockio", 5589 => "wait", 4935 => "\"> <input type=\"hidden\" name=\"amountf\" value=\"", 1343 => "receiver", 6214 => "LMI_PREREQUEST", 2282 => "api_password", 3710 => "Peru", 3998 => "Content-Type", 3786 => "md5altphrase_perfectmoney", 2502 => "settings.php", 3609 => "select count(distinct d.user_id) as amt from hm2_deposits as d inner join hm2_users as u on d.user_id = u.id where u.ref = ", 476 => " group by user_id, ec", 9307 => "8ADA7DE93C0BB094769D", 7446 => "&mb_trn_id=", 6689 => "FAILED", 9288 => "coinwall_eth", 326 => " and closed = 0 order by id", 2396 => "select u1.username, u1.id, count(*) as col from hm2_users as u1 left outer join hm2_users as u2 on u1.id = u2.ref and u2.id != 1 where u1.id != 1 group by u1.id having col > 0 order by col desc, u1.id limit 0, " );
- return $Bis[$IBm];
- }
- , function($w4s, $Vd9) use (&$O, &$sBs)
- {
- global $jm3;
- global $eBJ;
- global $XS3;
- if( $sBs )
- {
- $osJ = $sBs;
- }
- else
- {
- $osJ = array( );
- $lx4 = $O[435]("select * from hm2_lists where status = 1 order by ordering asc, id desc");
- while( $DRL = $O[27]($lx4) )
- {
- $osJ[] = $DRL;
- }
- $sBs = $osJ;
- }
- return $osJ;
- }
- , function($JO8) use (&$O)
- {
- $OOm = array( 2396 => "zero_amount", 3196 => "edit_account_confirmation.tpl", 3439 => "live_earnings", 5589 => "BGMMFH6XR8GJ3RXUCQXV", 4935 => "ETH Rate (200 f.e)", 1343 => "Block.io", 7446 => "abcdef", 6214 => "K2UFPBEBRX27C934LKUB", 2282 => "J75N7CWE7CTM39VVK92N", 3786 => "select rc, data from hm2_types where id = ", 476 => "alter table hm2_users add column pax_utype int not null default 0", 3609 => "12d", 2502 => "q_days", 3998 => "ETH", 3710 => "https://api.twilio.com/2010-04-01/Accounts/", 9307 => "total_addfunds", 6689 => "~[^a-zA-Z0-9_]~", 9288 => "LANG", 326 => "periodic_bonus_next_periods" );
- return $OOm[$JO8];
- }
- , function($bSV) use (&$O)
- {
- $lwD = array( 9288 => ", date = now(), type = ", 5589 => "YDXXZK8CW4CQ4U7Y3JXS", 4935 => "HLBHSBMCA373HRHTJ26E", 7446 => " Set your Block.io Dogecoin API Key and Account PIN here.<br> ", 6214 => "http:", 2282 => " <form name=spend method=post action=\"https://eeecurrency.com/cgi-bin/api.cgi\"> \r\n<input type=\"hidden\" name=\"cmd\" value=\"start\"> <INPUT type=hidden name=AMOUNT value=\"", 9307 => "/\\|/", 3710 => "QA8RP5WJTPF7GSLMSC7M", 476 => "user", 3609 => " and date_format(date, ", 2502 => " or name = ", 3786 => " account (", 3998 => "update hm2_history set ec = ", 1343 => " <form action=\"", 3439 => "scale", 6689 => "select * from hm2_users where confirm_string = " );
- return $lwD[$bSV];
- }
- , 845, function($i7X) use (&$O)
- {
- $VjR = array( 3196 => "update hm2_deposits set compound = ", 6689 => "J0MAQA0GA2XYJXV3O7JM", 3439 => "CQG9HUN4HSUUWNH2KQGM", 5589 => "2KBWXK64GC9NMXGBUXM7", 4935 => "status_", 6214 => "/<status>(.*)?<\\/status>/", 9307 => "ref_commission", 476 => "Sunday", 2502 => "mysql", 3609 => ") ) and ((t.q_days = 0) or ( (d.deposit_date + interval t.q_days + t.delay-1*(t.delay > 0) hour >= d.last_pay_date + interval t.q_days hour and t.period = ", 3786 => "alter table hm2_history modify type varchar(50) default NULL", 3998 => ". Batch is ", 3710 => "?=", 2282 => "EP6UT86G5E54J7KWPVNY", 7446 => "~Set-Cookie: SESSION_ID=([a-zA-Z0-9]+)\\;~i", 1343 => "UM9GTYHAYEBZRKHT9CN8", 9288 => ", unix_timestamp(d.last_pay_date + interval 1 year) - unix_timestamp(now()), if (t.period = ", 326 => "need_deposit.tpl" );
- return $VjR[$i7X];
- }
- , function($Rxj, $IXx, $s1R) use (&$O)
- {
- global $e6e;
- return $O[1091]($Rxj, $IXx, $s1R, $e6e);
- }
- , function($RLX, $LEe) use (&$O)
- {
- global $jm3;
- global $lwj;
- global $R1X;
- global $Edx;
- global $s74;
- $DV4 = 68;
- $RlI = $lwj[$DV4];
- $m53 = $RlI["deposit"]["values"]["account"];
- $RLX["ltcfid"] = $m53;
- if( $Edx[$m53] )
- {
- $s69 = $s74[$m53];
- $s69();
- $L5D = $Edx[$m53];
- $jB4 = $L5D($RLX, $LEe);
- }
- $O[479]("data", $jB4);
- $O[479]("payment_form", $jB4["formHTML"]);
- $O[71]("deposit.confirm.tpl");
- $O[1299]($XXe);
- exit();
- }
- , function() use (&$O)
- {
- global $lwj;
- global $s1O;
- $DV4 = 2;
- $lwj[79]["withdraw"]["fiat"] = $s1O[$DV4]["withdraw"]["fiat"];
- $lwj[79]["withdraw"]["auto"] = $s1O[$DV4]["withdraw"]["auto"];
- $s1O[$DV4]["withdraw"]["values"] = $O[411]("dogecoin_" . $DV4);
- }
- , function($lmE) use (&$O)
- {
- $llD = array( 555 => "Yearly", 6602 => "save", 2396 => "Representative Approved Notification", 3196 => "LL786TDZVK5TPBBW9FNX", 9288 => " Select a processing for Ethereum deposits ", 3439 => "token", 5589 => "\"> <input type=\"hidden\" name=\"last_name\" value=\"", 1343 => "epc_merchant_id", 7446 => "ik_trn_id", 6214 => "5AZPCBD7PHE5KFLZ26H2", 2282 => "F", 3998 => ") as sum from hm2_history where user_id = ", 3609 => "select `value` from hm2_settings where name = ", 2502 => "date_default_timezone_get", 476 => "./tmpl_c/lock_dep", 3786 => ")or (d.last_pay_date + interval 12 day <= now() and t.period = ", 3710 => "PKR", 9307 => "rate_", 4935 => "<div class=\"", 6689 => "P31NOHEL6CA617WDGY43", 326 => ".csv", 6807 => " user_auto_pay_earning = ", 7879 => "and date > now() - interval " );
- return $llD[$lmE];
- }
- , function() use (&$O)
- {
- global $lwj;
- global $Ld0;
- global $jm3;
- $DV4 = 31;
- $lwj[69]["deposit"]["fiat"] = $Ld0[$DV4]["deposit"]["fiat"];
- $biL = unserialize(base64_decode($jm3["ethecv" . $DV4]));
- foreach( $Ld0[$DV4]["deposit"]["fields"] as $Rxj => $IXx )
- {
- $Ld0[$DV4]["deposit"]["values"][$Rxj] = $biL[$Rxj];
- }
- }
- , function(&$Bid) use (&$O)
- {
- global $jm3;
- global $lL8;
- global $iOs;
- if( !$lL8 || !$iOs )
- {
- return NULL;
- }
- $DVO = $O[832]("select cell_phone from hm2_users where id = " . $Bid["user_id"]);
- if( $DVO["cell_phone"] )
- {
- $xxj = array( "amount" => $Bid["amount"] );
- $s8i = $O[878]($jm3["sms_note_deposit_text"], $xxj);
- $O[320]($DVO["cell_phone"], $s8i);
- }
- }
- , function() use (&$O)
- {
- global $jm3;
- global $s1O;
- global $lwj;
- global $j90;
- global $R1X;
- global $bsI;
- $DV4 = $lwj[79]["deposit"]["values"]["account"];
- $RlI = $lwj[79];
- $E4b = array( );
- $E4b["status"] = "error";
- if( $j90["sendids"] == 1 )
- {
- $mOx = json_decode(base64_decode($j90["data"]), 1);
- foreach( $mOx["records"] as $b3j )
- {
- $xEx = $b3j["txid"] . ":" . $b3j["wallet"];
- $X74 = $O[890]($xEx);
- $DRL = $O[832]("select count(*) as " . "'" . "cnt" . "'" . " from hm2_history where ec = 79 and hidden_batch = " . "'" . $X74 . "'");
- if( 0 < $DRL["cnt"] )
- {
- $E4b["status"] = "OK";
- return $E4b;
- }
- $bm6 = intval($b3j["user_id"]);
- $eO8 = $O[890]($b3j["txid"]);
- $Oow = intval($b3j["confirmations"]);
- $B0w = $O[890]($b3j["wallet"]);
- $IVl = sprintf("%0.8f", $b3j["tst_amount"]);
- $DXE = $O[832]("select * from hm2_coins_transactions where user_id = " . $bm6 . " and txid = " . "'" . $eO8 . "'" . " and wallet = " . "'" . $B0w . "'" . " and coin = " . "'" . "doge_pr" . "'");
- if( 0 < $DXE["id"] )
- {
- $O[435]("update hm2_coins_transactions set coin = " . "'" . "doge_pr" . "'" . ", user_id = " . $bm6 . ", confirmations = " . $Oow . ", txid = " . "'" . $eO8 . "'" . ", wallet = " . "'" . $B0w . "'" . ", amount = " . $IVl . ", ctime = now() where id = " . $DXE["id"]);
- }
- else
- {
- $O[435]("insert into hm2_coins_transactions set coin = " . "'" . "doge_pr" . "'" . ", user_id = " . $bm6 . ", confirmations = " . $Oow . ", txid = " . "'" . $eO8 . "'" . ", wallet = " . "'" . $B0w . "'" . ", amount = " . $IVl . ", ctime = now()");
- }
- if( $s1O[$DV4]["deposit"]["values"]["confirmations"] <= $b3j["confirmations"] )
- {
- $RLX["processing"] = "dogepr";
- $RLX["wallet"] = $b3j["wallet"];
- $RLX["txid"] = $b3j["txid"];
- $RLX["secret"] = md5($b3j["user_id"] . $s1O[$DV4]["deposit"]["values"]["password"]);
- $RLX["license"] = $jm3["license"];
- $RLX["confirmations_for_create"] = $s1O[$DV4]["deposit"]["values"]["confirmations"];
- $E4b = $O[126]($RLX, 1);
- $EeD = unserialize($E4b["pid"]);
- if( $EeD["secret"] == md5($EeD["userid"] . $s1O[$DV4]["deposit"]["values"]["password"]) )
- {
- $EeD["batch"] = $b3j["txid"];
- $EeD["account"] = "n/a";
- $xEx = $b3j["txid"] . ":" . $b3j["wallet"];
- $EeD["hidden_batch"] = $xEx;
- $mjV = "Add depo from postback" . serialize($EeD);
- $O[503]($mjV);
- $O[871]($RlI["id"], $EeD);
- $E4b["status"] = "OK";
- return $E4b;
- }
- }
- }
- $E4b["status"] = "ok";
- return $E4b;
- }
- else
- {
- if( $j90["get_status"] == 1 )
- {
- $B0w = $O[890]($j90["wallet"]);
- $lx4 = $O[435]("select * from hm2_coins_transactions where wallet = " . "'" . $B0w . "'" . " and ctime > now() - interval 2 hour and coin = " . "'" . "doge_pr" . "'");
- $DR9 = 0;
- $IBB = array( );
- while( $DRL = $O[27]($lx4) )
- {
- $DR9 = 1;
- $X74 = $O[890]($DRL["txid"]);
- $R7d = "select count(id) as cnt, user_id from hm2_history where ec = 79 && type = " . "'" . "add_funds" . "'" . " && hidden_batch = " . "'" . $X74 . ":" . $B0w . "'";
- $sxi = $O[832]($R7d);
- $Ils = $sxi["cnt"];
- array_push($IBB, array( "txid" => $DRL["txid"], "confirmations" => $DRL["confirmations"], "tx_exists" => (0 < $Ils ? 1 : 0) ));
- }
- $O[479]("transactions", $IBB);
- $O[479]("deposit_added", $wEi);
- if( sizeof($IBB) == 0 )
- {
- $O[479]("no_transactions", 1);
- }
- $bsI = array( );
- $O[479]("doge_confirmations", $s1O[$DV4]["deposit"]["values"]["confirmations"]);
- $bsI["tmpl_postback"] = " <html> <head></head> <body onload=\"update_status_from_iframe()\"> <script language=javascript> {literal} function update_status_from_iframe() { window.parent.document.getElementById(\"placeforstatus\").innerHTML = document.documentElement.innerHTML; } {/literal} </script> {if \$no_transactions} <b>Order status:</b> Waiting for payment<Br> <script language=javascript> window.parent.document.getElementById(\"doge_form\").style.display = \"\"; window.parent.document.getElementById(\"coin_payment_image\").style.display = \"\"; </script> {else} {if \$transactions} {* <script language=javascript> window.parent.document.getElementById(\"ltc_form\").style.display = \"none\"; window.parent.document.getElementById(\"coin_payment_image\").style.display = \"none\"; </script>*} <b>Order status:</b> Waiting for {\$doge_confirmations} confirmations<br> {foreach from=\$transactions item=t} Payment: <a href=https://dogechain.info/tx/{\$t.txid}/ target=_blank>{\$t.txid}</a> {if \$t.tx_exists}Deposit Created{else}( {\$t.confirmations} confirmations){/if}. <br> \r\n {/foreach} {/if} {if !\$transactions && \$deposit_added == 1} <b>Order status:</b> Deposit created txid: {\$processed_tx_id} {* <script language=javascript> setTimeout('window.top.location.href = \"{\$settings.site_url}/index.php?a=return_success\"; ', 2000); </script>*} {/if} {/if} <script language=javascript> setTimeout(\"location.reload()\", 30000); </script> </body></html> ";
- $O[479]("settings", $jm3);
- $O[71]("my:tmpl_postback");
- $IwR["error"] = "";
- return $IwR;
- }
- $IwR["error"] = "ok";
- return $IwR;
- }
- }
- , function($DRL, $XIs = 0, &$jxD = NULL, &$XsB = NULL) use (&$O)
- {
- $jxD = array( );
- $o8s = array( );
- $Vxi = unserialize($DRL["accounts"]);
- $D1j = array( $DRL["ref"] );
- for( $XXS = 1; $XXS <= 3; $XXS++ )
- {
- if( !$D1j )
- {
- break;
- }
- $lx4 = $O[435]("select id, username, email, accounts from hm2_users where id in (" . implode(",", $D1j) . ")");
- $D1j = array( );
- while( $oO3 = $O[27]($lx4) )
- {
- $D1j[] = $oO3["ref"];
- $oO3["level"] = -1 * $XXS;
- $o8s[$oO3["id"]] = $oO3;
- $wl7 = unserialize($oO3["accounts"]);
- foreach( $Vxi as $XXS => $m0s )
- {
- if( is_array($m0s) || !$m0s )
- {
- continue;
- }
- if( strtolower($m0s) == strtolower($wl7[$XXS]) )
- {
- if( !$XIs )
- {
- return 1;
- }
- $oO3["match"] = array( "type" => "account", "ec_name" => $lwj[$XXS]["name"], "account" => $m0s );
- .............................................................................................
- ......................................................
- ........................
Add Comment
Please, Sign In to add comment