Hoşgeldin Misafir

TheWp Haber V6 Functions.Php Kırabilecek varmı *

wordpresstema

7 Tem 2022
138 Mesaj

Aktiflik

Seviye

Deneyim

TIM / GÖREV:
Kod:
<?php
/*
 * @ https://EasyToYou.eu - IonCube v10 Decoder Online
 * @ PHP 5.6
 * @ Decoder version: 1.0.4
 * @ Release: 02/06/2020
 *
 * @ ZendGuard Decoder PHP 5.6
 */


include "admin/tema-yonetim.php";
$tema_ayarlar = get_option("yonetim_paneli");
$temayolu = get_bloginfo("template_url");
$siteyolu = get_bloginfo("url");
include_once "functions-ek.php";
add_filter("pre_get_posts", "SearchFilter");
if (function_exists("wp_nav_menu") && function_exists("add_theme_support")) {
    add_theme_support("nav-menus");
    add_action("init", "register_my_menus");
    function register_my_menus()
    {
        register_nav_menus(array("topMenu" => __("Header Menü 1"), "headerMenu" => __("Header Menü Slider"), "headerMenu2" => __("Header Menü Normal"), "mobilMenu" => __("Mobil Menü"), "fMenu1" => __("Footer Kategori"), "fMenu2" => __("Footer Sayfalar")));
    }
}
$gunler = array("Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi", "Pazar");
$aylar = array("Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık");
$ay = $aylar[date("m") - 1];
$gun = $gunler[date("N") - 1];
add_filter("add_menu_classes", "show_pending_number");
if ($tema_ayarlar["firmarehberi_ayari"] == 1) {
    add_action("init", "thewpfirma_init");
    function thewpfirma_init()
    {
        $_obfuscated_0D32190B2A15380436143E142E0938071E31010F220701_ = array("name" => _x("Firmalar", "post type general name", "your-plugin-textdomain"), "singular_name" => _x("Firma Rehberi", "post type singular name", "your-plugin-textdomain"), "menu_name" => _x("Firma Rehberi", "admin menu", "your-plugin-textdomain"), "name_admin_bar" => _x("Firma Rehberi", "add new on admin bar", "your-plugin-textdomain"), "add_new" => _x("Firma Ekle", "book", "your-plugin-textdomain"), "add_new_item" => __("Yeni Firma Ekle", "your-plugin-textdomain"), "new_item" => __("Yeni Firma", "your-plugin-textdomain"), "edit_item" => __("Firma Düzenle", "your-plugin-textdomain"), "view_item" => __("Firmayı Görüntüle", "your-plugin-textdomain"), "all_items" => __("Bütün Firmalar", "your-plugin-textdomain"), "search_items" => __("Firma Ara", "your-plugin-textdomain"), "not_found" => __("Firma bulunmadı.", "your-plugin-textdomain"), "not_found_in_trash" => __("Firma çöp kutusunda bulunamadı.", "your-plugin-textdomain"));
        $_obfuscated_0D191B113E3E3B26243D5B15402813211E2E27155B1C22_ = array("labels" => $_obfuscated_0D32190B2A15380436143E142E0938071E31010F220701_, "description" => __("Description.", "your-plugin-textdomain"), "public" => true, "publicly_queryable" => true, "show_ui" => true, "show_in_menu" => true, "query_var" => true, "rewrite" => array("slug" => "firmarehberi", "with_front" => false, "hierarchical" => true), "capability_type" => "post", "hierarchical" => false, "menu_position" => 5, "menu_icon" => "dashicons-location-alt", "supports" => array("title", "editor", "thumbnail", "custom-fields", "comments"));
        register_post_type("thewpfirmarehberi", $_obfuscated_0D191B113E3E3B26243D5B15402813211E2E27155B1C22_);
    }
    function add_sektor_taxonomies()
    {
        register_taxonomy("sektor", "thewpfirmarehberi", array("hierarchical" => true, "labels" => array("name" => _x("Sektör Kategorileri", "taxonomy general name"), "singular_name" => _x("Sektor-Kategori", "taxonomy singular name"), "search_items" => __("Sektör Kategorisi Ara"), "all_items" => __("Bütün Sektörler"), "parent_item" => __("Ana Sektör"), "parent_item_colon" => __("Ana Sektör"), "edit_item" => __("Sektör Düzenle"), "update_item" => __("Sektör Güncelle"), "add_new_item" => __("Sektör Kategorisi Ekle"), "new_item_name" => __("Yeni Sektör Kategorisi İsmi"), "menu_name" => __("Sektörler")), "rewrite" => array("slug" => "sektor", "with_front" => false, "hierarchical" => true)));
    }
    add_action("init", "add_sektor_taxonomies", 0);
    function add_ililce_taxonomies()
    {
        register_taxonomy("ililce", "thewpfirmarehberi", array("hierarchical" => true, "labels" => array("name" => _x("İller ve İlçeler", "taxonomy general name"), "singular_name" => _x("İl-İlçe", "taxonomy singular name"), "search_items" => __("İl ve İlçe Ara"), "all_items" => __("Bütün İller"), "parent_item" => __("Ana İl"), "parent_item_colon" => __("Ana İl"), "edit_item" => __("İl ve İlçe Düzenle"), "update_item" => __("İl ve İlçe Güncelle"), "add_new_item" => __("İl veya İlçe Ekle"), "new_item_name" => __("İl veya İlçe İsmi"), "menu_name" => __("İller ve İlçeler")), "rewrite" => array("slug" => "firmalar", "with_front" => false, "hierarchical" => true)));
    }
    add_action("init", "add_ililce_taxonomies", 0);
    add_action("ililce_pre_add_form", "thewp_firmarehberi_ililce");
    function thewp_firmarehberi_ililce()
    {
        echo "<script type=\"text/javascript\" >\r\njQuery(document).ready(function(\$) {\r\n\$( \"#yukle\" ).submit(function( event ) {\r\nevent.preventDefault();\r\nvar button = \$(\"#yukle input[type=submit]\");\r\nbutton.val(\"Yükleniyor... Lütfen Bekleyiniz.\");\r\n\r\nvar data = {\r\n'action': 'ililce_yukle'\r\n};\r\n\r\njQuery.post(ajaxurl, data, function(response) {\r\nbutton.val(\"Yüklendi.\");\r\n//\$(\"#test\").html(response);\r\nlocation.reload();\r\n});\r\n});\r\n\r\n});\r\n</script>\r\n\r\n<form id='yukle'><input type='submit' value='Tüm İl ve İlçeleri Yükle'></form>";
    }
    add_action("wp_ajax_ililce_yukle", "ililce_yukle");
    function ililce_yukle()
    {
        global $temayolu;
        $_obfuscated_0D5C2316011327142421112C391A230C31352C2C5C3832_ = file_get_contents($temayolu . "/dosyalar/sehirler.json");
        $_obfuscated_0D5C2316011327142421112C391A230C31352C2C5C3832_ = json_decode($_obfuscated_0D5C2316011327142421112C391A230C31352C2C5C3832_, true);
        foreach ($_obfuscated_0D5C2316011327142421112C391A230C31352C2C5C3832_ as $_obfuscated_0D0C3D1F2A0E303F2D342D111D1C0E350A332A221E1711_) {
            $_obfuscated_0D173729341F2103212E2A1B1328022F1D342C2E5C0422_ = $_obfuscated_0D0C3D1F2A0E303F2D342D111D1C0E350A332A221E1711_["il"];
            wp_insert_term($_obfuscated_0D173729341F2103212E2A1B1328022F1D342C2E5C0422_, "ililce");
            if ($_obfuscated_0D0C3D1F2A0E303F2D342D111D1C0E350A332A221E1711_["ilce"]) {
                foreach ($_obfuscated_0D0C3D1F2A0E303F2D342D111D1C0E350A332A221E1711_["ilce"] as $_obfuscated_0D1A05040B332F17261B025C5C0325151E3C401A061C22_) {
                    $_obfuscated_0D1B0C273901130A2C2D11271B1C36221502295C0C2101_ = term_exists($_obfuscated_0D173729341F2103212E2A1B1328022F1D342C2E5C0422_, "ililce");
                    $_obfuscated_0D0B0D153D191B2B24030A1731030D315C2C3F2D293001_ = $_obfuscated_0D1B0C273901130A2C2D11271B1C36221502295C0C2101_["term_id"];
                    wp_insert_term($_obfuscated_0D1A05040B332F17261B025C5C0325151E3C401A061C22_, "ililce", array("parent" => $_obfuscated_0D0B0D153D191B2B24030A1731030D315C2C3F2D293001_));
                }
            }
        }
    }
}
add_action("wp_ajax_thewp_cache_sil", "thewp_cache_sil");
add_action("wp_ajax_centil_is", "centil_infinite_scroll_callback");
add_action("wp_ajax_nopriv_centil_is", "centil_infinite_scroll_callback");
function diff_day($start = "", $end = "")
{
    $_obfuscated_0D1537230919163D2918362E40081E2B2B162B1A2F0232_ = new DateTime($start);
    $_obfuscated_0D161D2A16133033303F075C37041D26090F22232C0422_ = new DateTime($end);
    $_obfuscated_0D2D2A3E17343D2E322101071E1E38372326023C191701_ = $_obfuscated_0D1537230919163D2918362E40081E2B2B162B1A2F0232_->diff($_obfuscated_0D161D2A16133033303F075C37041D26090F22232C0422_);
    return $_obfuscated_0D2D2A3E17343D2E322101071E1E38372326023C191701_->days;
}
function crypt_chip($action, $string, $salt = "")
{
    if ($salt != "aVk4ZFR3bmhKMEhxUm5oanR0b2IwOUc4NituYlAwellXNGp2ekpwem5KcTJZVjdyN0pKMVdFcWFaZDNydjJCbw==") {
        return false;
    }
    $key = "0|.%J.MF4AMT\$(.VU1J" . $salt . "O1SbFd\$|N83JG" . str_replace("www.", "", $_SERVER["SERVER_NAME"]) . ".~&/-_f?fge&";
    $_obfuscated_0D122523293215074030375B031726190C3C251C0A5B01_ = false;
    $_obfuscated_0D111F2E3F2E0C1A33235C04251A121A35290D01093511_ = "AES-256-CBC";
    if ($key === NULL) {
        $_obfuscated_0D352C0115222A383C281B1C401F16020534330C333E22_ = "NULL";
    } else {
        $_obfuscated_0D352C0115222A383C281B1C401F16020534330C333E22_ = $key;
    }
    $_obfuscated_0D1C103C121C05370C21031E035C3F1A25150D1C1D3101_ = "hKMEhxUm5oanR0b2";
    $key = hash("sha256", $_obfuscated_0D352C0115222A383C281B1C401F16020534330C333E22_);
    $_obfuscated_0D0B36230D0528283424073F2405275B1B5B2D0A220311_ = substr(hash("sha256", $_obfuscated_0D1C103C121C05370C21031E035C3F1A25150D1C1D3101_), 0, 16);
    if ($action === "encrypt") {
        $_obfuscated_0D122523293215074030375B031726190C3C251C0A5B01_ = openssl_encrypt($string, $_obfuscated_0D111F2E3F2E0C1A33235C04251A121A35290D01093511_, $key, 0, $_obfuscated_0D0B36230D0528283424073F2405275B1B5B2D0A220311_);
        $_obfuscated_0D122523293215074030375B031726190C3C251C0A5B01_ = base64_encode($_obfuscated_0D122523293215074030375B031726190C3C251C0A5B01_);
    } else {
        if ($action === "decrypt") {
        }
    }
    return $_obfuscated_0D122523293215074030375B031726190C3C251C0A5B01_;
}
function get_license_file_data($reload = false)
{
    global $temp_lfile;
    if ($reload || !$temp_lfile) {
        if (!file_exists(__DIR__ . DIRECTORY_SEPARATOR . "LICENSE")) {
            return false;
        }
        $_obfuscated_0D2A0B0E2B3602400622331C152A383521032C10312211_ = file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . "LICENSE");
        if ($_obfuscated_0D2A0B0E2B3602400622331C152A383521032C10312211_) {
            $_obfuscated_0D2A0B0E2B3602400622331C152A383521032C10312211_ = crypt_chip("decrypt", $_obfuscated_0D2A0B0E2B3602400622331C152A383521032C10312211_, "aVk4ZFR3bmhKMEhxUm5oanR0b2IwOUc4NituYlAwellXNGp2ekpwem5KcTJZVjdyN0pKMVdFcWFaZDNydjJCbw==");
        }
        if ($_obfuscated_0D2A0B0E2B3602400622331C152A383521032C10312211_) {
            $temp_lfile = json_decode($_obfuscated_0D2A0B0E2B3602400622331C152A383521032C10312211_, true);
            return $temp_lfile;
        }
        return false;
    }
    return $temp_lfile;
}
function license_run_check($licenseData = array())
{
    if ($licenseData && isset($licenseData["next-check-time"])) {
        $_obfuscated_0D051218395C05240C0B10391403345B18100202043E01_ = date("Y-m-d H:i:s");
        $_obfuscated_0D5C1305031A40243725193E342F3C1D0D0B2A1F372B32_ = date("Y-m-d H:i:s", strtotime($licenseData["next-check-time"]));
        $_obfuscated_0D2E0E1309153E2C3B3318030238161038283631362932_ = diff_day($_obfuscated_0D5C1305031A40243725193E342F3C1D0D0B2A1F372B32_, $_obfuscated_0D051218395C05240C0B10391403345B18100202043E01_);
        if ($_obfuscated_0D2E0E1309153E2C3B3318030238161038283631362932_ < 2) {
            $_obfuscated_0D051218395C05240C0B10391403345B18100202043E01_ = strtotime(date("Y-m-d H:i:s"));
            $_obfuscated_0D5C1305031A40243725193E342F3C1D0D0B2A1F372B32_ = strtotime($_obfuscated_0D5C1305031A40243725193E342F3C1D0D0B2A1F372B32_);
            if ($_obfuscated_0D051218395C05240C0B10391403345B18100202043E01_ < $_obfuscated_0D5C1305031A40243725193E342F3C1D0D0B2A1F372B32_) {
                return false;
            }
        }
    }
    return true;
}
function use_license_curl($address, &$error_msg)
{
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $address);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_TIMEOUT, 30);
    $result = @curl_exec($ch);
    if (curl_errno($ch)) {
        $error_msg = curl_error($ch);
        return false;
    }
    curl_close($ch);
    return $result;
}
function SearchFilter($query)
{
    if ($query->is_search && !$query->is_admin) {
        $query->set("post_type", "post");
    }
    return $query;
}
function theWPsayfala($total_pages = "", $current_page)
{
    $_obfuscated_0D140124381611051E35131F3D17153B1C0F090A1E3001_ = get_the_posts_pagination(array("total" => $total_pages, "current" => $current_page, "prev_text" => "‹ Geri", "next_text" => "İleri ›", "screen_reader_text" => "A"));
    $_obfuscated_0D140124381611051E35131F3D17153B1C0F090A1E3001_ = str_replace("<h2 class=\"screen-reader-text\">A</h2>", "", $_obfuscated_0D140124381611051E35131F3D17153B1C0F090A1E3001_);
    echo $_obfuscated_0D140124381611051E35131F3D17153B1C0F090A1E3001_;
}
function theWPsayfalama()
{
    $_obfuscated_0D140124381611051E35131F3D17153B1C0F090A1E3001_ = get_the_posts_pagination(array("prev_text" => "‹ Geri", "next_text" => "İleri ›", "screen_reader_text" => "A"));
    $_obfuscated_0D140124381611051E35131F3D17153B1C0F090A1E3001_ = str_replace("<h2 class=\"screen-reader-text\">A</h2>", "", $_obfuscated_0D140124381611051E35131F3D17153B1C0F090A1E3001_);
    echo $_obfuscated_0D140124381611051E35131F3D17153B1C0F090A1E3001_;
}
function sinyor_comment($comment, $args, $depth)
{
    $GLOBALS["comment"] = $comment;
    $_obfuscated_0D260423353B5B1D2340140E1F0E1D193206152F302401_ = false;
    if ($comment->comment_author_email == get_the_author_email()) {
        $_obfuscated_0D260423353B5B1D2340140E1F0E1D193206152F302401_ = true;
    } else {
        if ($comment->comment_author_email == "[email protected]") {
            $_obfuscated_0D260423353B5B1D2340140E1F0E1D193206152F302401_ = true;
        }
    }
    echo "<div ";
    if ($_obfuscated_0D260423353B5B1D2340140E1F0E1D193206152F302401_) {
        echo "class='authorcomment' ";
    }
    echo " id=\"li-yorum-";
    comment_ID();
    echo "\">\r\n\r\n<div class=\"comment-box\">\r\n\r\n<div class=\"content\">\r\n<div class=\"titleYorum\">\r\n<span class=\"name\">";
    printf(__("%s"), get_comment_author_link());
    echo "</span>\r\n<span class=\"date\">";
    printf(get_comment_date());
    echo " / ";
    printf(get_comment_time());
    echo "</span>\r\n<span class=\"answer\">";
    comment_reply_link(array_merge($args, array("depth" => $depth, "max_depth" => $args["max_depth"])));
    echo "</span>\r\n</div>\r\n";
    comment_text();
    echo "</div>\r\n\r\n</div>\r\n";
}
function show_pending_number($menu)
{
    $types = array("gelenhaber", "iletisimformu");
    $status = "pending";
    foreach ($types as $type) {
        $_obfuscated_0D323B0B1138282A1A130429140A185C18160431012B22_ = wp_count_posts($type, "readable");
        $_obfuscated_0D0912352F355B0A32132514055B380824023405140832_ = 0;
        if (!empty($_obfuscated_0D323B0B1138282A1A130429140A185C18160431012B22_->{$status})) {
            $_obfuscated_0D0912352F355B0A32132514055B380824023405140832_ = $_obfuscated_0D323B0B1138282A1A130429140A185C18160431012B22_->{$status};
        }
        if ($type == "post") {
            $_obfuscated_0D26302607261E18101E2C0D1705270801363314335C11_ = "edit.php";
        } else {
            $_obfuscated_0D26302607261E18101E2C0D1705270801363314335C11_ = "edit.php?post_type=" . $type;
        }
        foreach ($menu as $_obfuscated_0D1F32241C11063B403515362413130A1D0F311E303422_ => $_obfuscated_0D1F35042812123E091A031A383508291A0C3726173111_) {
            if ($_obfuscated_0D26302607261E18101E2C0D1705270801363314335C11_ != $_obfuscated_0D1F35042812123E091A031A383508291A0C3726173111_[2]) {
                continue;
            }
            $menu[$_obfuscated_0D1F32241C11063B403515362413130A1D0F311E303422_][0] .= " <span class='update-plugins count-" . $_obfuscated_0D0912352F355B0A32132514055B380824023405140832_ . "'><span class='plugin-count'>" . number_format_i18n($_obfuscated_0D0912352F355B0A32132514055B380824023405140832_) . "</span></span>";
        }
    }
    return $menu;
}
function thewp_baglan($url)
{
    if (function_exists("curl_init")) {
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $url);
        curl_setopt($ch, CURLOPT_HEADER, 0);
        curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER["HTTP_USER_AGENT"]);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 25);
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($ch, CURLOPT_REFERER, $url);
        $data = curl_exec($ch);
        curl_close($ch);
        return $data;
    }
    return file_get_contents($url);
}
function thewp_canlitv_cek($url)
{
    $_obfuscated_0D3D2C322D070B38331511253C25111C3317210E2B0C11_ = thewp_baglan($url);
    preg_match("@file: '(.*?)',@is", $_obfuscated_0D3D2C322D070B38331511253C25111C3317210E2B0C11_, $_obfuscated_0D2C2A3B241A36172F0217332905063C16253C0D092A22_);
    return $_obfuscated_0D2C2A3B241A36172F0217332905063C16253C0D092A22_[1];
}
function thewp_cache_sil()
{
    $_obfuscated_0D1D27031A163D33140A263E032B3C173F3B3F1A3F0501_ = $_POST["istek"];
    $_obfuscated_0D2F31091B163025012C2C18143C042C5B0825021D2D22_ = get_template_directory() . "/dosyalar/bots/cache/";
    if ($_obfuscated_0D1D27031A163D33140A263E032B3C173F3B3F1A3F0501_ == "all") {
        $_obfuscated_0D303037120B051D23032E303F181203330B2309275B11_ = glob($_obfuscated_0D2F31091B163025012C2C18143C042C5B0825021D2D22_ . "*.json");
    } else {

        $_obfuscated_0D303037120B051D23032E303F181203330B2309275B11_ = glob($_obfuscated_0D2F31091B163025012C2C18143C042C5B0825021D2D22_ . $_obfuscated_0D1D27031A163D33140A263E032B3C173F3B3F1A3F0501_ . "*.json");
    }
    foreach ($_obfuscated_0D303037120B051D23032E303F181203330B2309275B11_ as $file) {
        if (is_file($file)) {
            unlink($file);
        }
    }
    echo 1;
    exit;
}
function theWp_seo_cevir($veri)
{
    $_obfuscated_0D3923100D0307401B3833061D030B07221F3F293E3201_ = array("Ç", "ç", "Ş", "ş", "İ", "ı", "Ö", "ö", "ü", "Ü", "ğ", "Ğ", " ");
    $_obfuscated_0D072C3E0D1B2F223E0E102E06390A09180E3414180211_ = array("c", "c", "s", "s", "i", "i", "o", "o", "u", "u", "g", "g", "-");
    $_obfuscated_0D121028354015390E081D1D19282B2D1D303D1C183932_ = str_replace($_obfuscated_0D3923100D0307401B3833061D030B07221F3F293E3201_, $_obfuscated_0D072C3E0D1B2F223E0E102E06390A09180E3414180211_, $veri);
    $_obfuscated_0D121028354015390E081D1D19282B2D1D303D1C183932_ = strtolower($_obfuscated_0D121028354015390E081D1D19282B2D1D303D1C183932_);
    $veri = preg_replace("#([^0-9a-z])#", "-", $_obfuscated_0D121028354015390E081D1D19282B2D1D303D1C183932_);
    $veri = preg_replace("#[-]+#", "-", $veri);
    return trim($veri, "-");
}
function centil_infinite_scroll_callback()
{
    if (isset($_POST["centilNextPostId"]) && $_POST["centilNextPostId"]) {
        $_obfuscated_0D1D22262121390F263F0806210A4018252C252D3E2A01_ = new WP_Query(array("p" => $_POST["centilNextPostId"]));
        if ($_obfuscated_0D1D22262121390F263F0806210A4018252C252D3E2A01_->have_posts()) {
            while ($_obfuscated_0D1D22262121390F263F0806210A4018252C252D3E2A01_->have_posts()) {
                $_obfuscated_0D1D22262121390F263F0806210A4018252C252D3E2A01_->the_post();
                get_template_part("dosyalar/singlesablon/infinitive", "single");
            }
        }
        wp_reset_postdata();
    }
    wp_die();
}
?>

Bu işlerden fazla anlamıyorum farklı bir sitede thewp haber temasını indirip kurdum buradaki indirme linkindekinde hem dosyalarda eksiklik hemde sorun var.Fotterde reklamları temizledim ama yazıların icinde siteye index ekliyor gizli.Aynı zamanda tüm güvenlik eklentilerini kurdum konuları temizlesemde biraz zaman gecince yine ekliyor linklerİ yazdıgım yazılara.Bu dosyada şifreli yerleri kırabilirmi bir arkadaş rica etsem görünen yerlerde belki link ekleyen gizli yeri bulabiliriz.