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 /* * @ https://EasyToYou.eu - IonCube v11 Decoder Online * @ PHP 7.2 & 7.3 * ..

Decoded Output download

<?php 
/* 
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online 
 * @ PHP 7.2 & 7.3 
 * @ Decoder version: 1.0.6 
 * @ Release: 10/08/2022 
 */ 
 
$DomainNameLicense = $_SERVER["SERVER_NAME"]; 
header("Content-Type: text/html; charset=utf-8"); 
if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") { 
    $DomainName = substr($_SERVER["HTTP_HOST"], 4); 
} else { 
    $DomainName = $_SERVER["HTTP_HOST"]; 
} 
$licensekey = $WhmcsLicenseTumeva; 
$localkey = $WhmcsLicenseLocalTumeva; 
$usersip = isset($_SERVER["SERVER_ADDR"]) ? $_SERVER["SERVER_ADDR"] : $_SERVER["LOCAL_ADDR"]; 
if (isset($_POST["lisans"])) { 
    global $tumeva; 
    $sorgu = $tumeva->query("UPDATE lisans SET WhmcsLicense = '" . Security($_POST["lisans"]) . "' where Id = 1"); 
    header("Location:index.php"); 
} 
if (isset($_GET["Operation"]) == "License_Sil" && sha1(md5($WhmcsLicenseTumeva)) == Security($_GET["Password"])) { 
    global $tumeva; 
    $sil = $tumeva->query("update lisans set WhmcsLicense = '', Lokal = '' where Id = 1"); 
    header("Location:" . $_SERVER["HTTP_REFERER"]); 
} 
$localkey = str_replace("
", "", $localkey); 
$localkey = str_replace("PRIME-LICENCE-2021", "", $localkey); 
$localdata = strrev($localkey); 
$localdata = base64_decode($localdata); 
$controllerslocal = json_decode($localdata); 
$Domainxlocal = explode(",", $controllerslocal->validdomain); 
if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") { 
    $DomainName = substr($_SERVER["HTTP_HOST"], 4); 
} else { 
    $DomainName = $_SERVER["HTTP_HOST"]; 
} 
if ($DomainName == $Domainxlocal[0] && $licensekey != "" && $licensekey == $controllerslocal->licensekey && $controllerslocal->status == "Active" || $controllers->status == "Reissued") { 
    function ClearCh($value) 
    { 
        return $value = strip_tags($value); 
    } 
    function Inc($inc) 
    { 
        include_once $inc . ".php"; 
    } 
    function Error($detail) 
    { 
        global $tumeva; 
        global $_obfuscated_0D1527012C062A3811070B0D090F1D052F2A0C12390D22_; 
        global $_obfuscated_0D402707111F152930142D303C032C373224355B3D1F11_; 
        global $_obfuscated_0D102F2F25402F2208252E09140B010F1B22225C261011_; 
        return $_obfuscated_0D15233F5B062C2331163F0B173C1C04403E390B070411_ = $tumeva->query("insert into error (ip,session,tarih,aciklama)values('" . $_obfuscated_0D102F2F25402F2208252E09140B010F1B22225C261011_ . "','" . $_obfuscated_0D1527012C062A3811070B0D090F1D052F2A0C12390D22_ . "','" . $_obfuscated_0D402707111F152930142D303C032C373224355B3D1F11_ . "','" . $detail . "')"); 
    } 
    function Logs($detail) 
    { 
        global $tumeva; 
        global $_obfuscated_0D1527012C062A3811070B0D090F1D052F2A0C12390D22_; 
        global $_obfuscated_0D402707111F152930142D303C032C373224355B3D1F11_; 
        global $_obfuscated_0D102F2F25402F2208252E09140B010F1B22225C261011_; 
        return $_obfuscated_0D15233F5B062C2331163F0B173C1C04403E390B070411_ = $tumeva->query("insert into logs (ip,session,tarih,aciklama)values('" . $_obfuscated_0D102F2F25402F2208252E09140B010F1B22225C261011_ . "','" . $_obfuscated_0D1527012C062A3811070B0D090F1D052F2A0C12390D22_ . "','" . $_obfuscated_0D402707111F152930142D303C032C373224355B3D1F11_ . "','" . NailReplace($detail) . "')"); 
    } 
    function NumberOfRecords($totalcount, $type, $page) 
    { 
        global $tumeva; 
        echo "<small>Toplam <b>" . $totalcount . "</b> <b>" . $type . "</b>.<b>" . $page . "</b>. sayfadasnz.</small>"; 
    } 
    function Administrator($Id, $Id2) 
    { 
        global $tumeva; 
        if ($Id == 0) { 
            return ""; 
        } 
        $_obfuscated_0D220B2140362C393C2C21302B161F23340B5C0A223F11_ = $tumeva->get_row("select Id,AdSoyad from yonetici where Id='" . $Id . "'"); 
        return Limitlee($_obfuscated_0D220B2140362C393C2C21302B161F23340B5C0A223F11_->AdSoyad, 10); 
    } 
    function FileDown($url, $isim, $yol) 
    { 
        if (250 < strlen(Slug($isim))) { 
            $_obfuscated_0D3D0F0924083217382B3339113F2A0B5C292D0A143022_ = substr(Slug($isim), 0, 250); 
        } else { 
            $_obfuscated_0D3D0F0924083217382B3339113F2A0B5C292D0A143022_ = Slug($isim); 
        } 
        $_obfuscated_0D32083D3F17220D191F163B37291A03271A090C291832_ = strtolower(substr(strrchr($url, "."), 1)); 
        if (strpos($_obfuscated_0D32083D3F17220D191F163B37291A03271A090C291832_, "?")) { 
            $_obfuscated_0D382A0E033926100C103B3E09311902351C2A1B295C01_ = explode("?", $_obfuscated_0D32083D3F17220D191F163B37291A03271A090C291832_); 
            $_obfuscated_0D32083D3F17220D191F163B37291A03271A090C291832_ = $_obfuscated_0D382A0E033926100C103B3E09311902351C2A1B295C01_[0]; 
        } 
        $_obfuscated_0D020E0B161005035C32341E2F1E21400D0E391F3D2C22_ = $_obfuscated_0D3D0F0924083217382B3339113F2A0B5C292D0A143022_ . "." . $_obfuscated_0D32083D3F17220D191F163B37291A03271A090C291832_; 
        if (function_exists("curl_init")) { 
            $fp = fopen($yol . $_obfuscated_0D020E0B161005035C32341E2F1E21400D0E391F3D2C22_, "w+"); 
            $ch = curl_init(); 
            curl_setopt($ch, CURLOPT_URL, $url); 
            curl_setopt($ch, CURLOPT_USERAGENT, "firefox/2.0.11"); 
            curl_setopt($ch, CURLOPT_FILE, $fp); 
            curl_exec($ch); 
            curl_close($ch); 
            fclose($fp); 
        } else { 
            copy($url, $yol . $_obfuscated_0D020E0B161005035C32341E2F1E21400D0E391F3D2C22_); 
        } 
        return $_obfuscated_0D020E0B161005035C32341E2F1E21400D0E391F3D2C22_; 
    } 
    function VideoThumb($embed) 
    { 
        $data = []; 
        $embed = stripslashes($embed); 
        $_obfuscated_0D0D05285C5B061B0805391F141928051031052E301401_ = preg_match("/src=(['\"])?(.*?)\1/", $embed, $_obfuscated_0D1D01025C23400C3C343B12122E223725012931395B32_); 
        $url = $_obfuscated_0D1D01025C23400C3C343B12122E223725012931395B32_[2]; 
        $_obfuscated_0D3C1F050A291A283C3E1127163F213F2C382D5B323801_ = parse_url($url); 
        if ($_obfuscated_0D3C1F050A291A283C3E1127163F213F2C382D5B323801_["host"] === "www.youtube.com") { 
            $_obfuscated_0D0F17170234352A280114171C322F5B35271124312732_ = explode("&", $_obfuscated_0D3C1F050A291A283C3E1127163F213F2C382D5B323801_["path"]); 
            $_obfuscated_0D0F092538211C361336312B103130321C3E223D400111_ = explode("/", $_obfuscated_0D0F17170234352A280114171C322F5B35271124312732_[0]); 
            $data["youtube"] = $_obfuscated_0D0F092538211C361336312B103130321C3E223D400111_[2]; 
        } else { 
            if ($_obfuscated_0D3C1F050A291A283C3E1127163F213F2C382D5B323801_["host"] === "www.metacafe.com") { 
                $_obfuscated_0D0F17170234352A280114171C322F5B35271124312732_ = explode("&", $_obfuscated_0D3C1F050A291A283C3E1127163F213F2C382D5B323801_["path"]); 
                $_obfuscated_0D0F092538211C361336312B103130321C3E223D400111_ = explode("/", $_obfuscated_0D0F17170234352A280114171C322F5B35271124312732_[0]); 
                $data["metacafe"] = $_obfuscated_0D0F092538211C361336312B103130321C3E223D400111_[2]; 
            } 
        } 
        return $data; 
    } 
    function Answer($message, $type) 
    { 
        echo "<SCRIPT LANGUAGE='JavaScript'>
        setTimeout(function() {
                    \$.bootstrapGrowl('" . $message . "', { type: '" . $type . "' ,align: 'center', offset: {
      from: 'top',
      amount: 300
    }});}, 500);
                
    </SCRIPT>"; 
        if ($type == "success") { 
            header("refresh: 1;"); 
        } else { 
            if ($type == "danger") { 
            } 
        } 
    } 
    function DateConvert($date, $saat) 
    { 
        global $tumeva; 
        return date_parse(date("d-m-Y H:i:s", strtotime($date . " " . $saat))); 
    } 
    function DateTime($date, $saat) 
    { 
        global $tumeva; 
        return date("Y-m-d H:i:s", strtotime($date . " " . $saat)); 
    } 
    function AdminMenuResmi() 
    { 
        global $tumeva; 
        global $_obfuscated_0D2B09062E0D220A0E172F1E3816122B235B1319333332_; 
        global $_obfuscated_0D362E2D3D18322D04132F2F1A351514192F1B1B3F0F11_; 
        global $_obfuscated_0D23312B291B3D5B053E112F330C181B3C1B07042B2101_; 
        global $_obfuscated_0D380906263604270C0F010B2103052A392F25160C3132_; 
        if ($_obfuscated_0D23312B291B3D5B053E112F330C181B3C1B07042B2101_ != 0 || $_obfuscated_0D380906263604270C0F010B2103052A392F25160C3132_ != 0) { 
            echo "		<li class=\"menu-dropdown classic-menu-dropdown\">
    <a data-hover=\"megamenu-dropdown\" data-close-others=\"true\" data-toggle=\"dropdown\" href=\"index.php?tumeva=tumresmiilanlar&token=' . \$_SESSION['token'] . '\">
        <i class=\"fa fa-angle-down\"></i> Resmi lanlar<span class=\"\"></span>
    </a>
    <ul class=\"dropdown-menu pull-left\">
	
	"; 
            if ($_obfuscated_0D23312B291B3D5B053E112F330C181B3C1B07042B2101_ != 0) { 
                echo "      <li>
            <a href=\"index.php?tumeva=resmiilanlar&p=allresmiilanlar&token"; 
                echo $_SESSION["token"]; 
                echo "\"><i class=\"\"></i> Tm Resmi lanlar</a>
        </li>
        <li>
            <a href=\"index.php?tumeva=ilanekle&p=allresmiilanlar&token="; 
                echo $_SESSION["token"]; 
                echo "\"><i class=\"\"></i> Resmi lan Ekle</a>
        </li>
	"; 
            } 
            echo "    "; 
            if ($_obfuscated_0D380906263604270C0F010B2103052A392F25160C3132_ != 0) { 
                echo "		<li>
            <a href=\"index.php?tumeva=resmireklamlar&p=allresmireklamlar&token="; 
                echo $_SESSION["token"]; 
                echo "\"><i class=\"\"></i> Tm Resmi Reklamlar</a>
        </li>
        <li>
            <a href=\"index.php?tumeva=resmireklamekle&p=allresmireklamlar&token="; 
                echo $_SESSION["token"]; 
                echo "\"><i class=\"\"></i> Resmi Reklam Ekle</a>
        </li>
        "; 
            } 
            echo "    </ul>
</li>
"; 
        } 
    } 
    function AdminMenu($Id) 
    { 
        global $tumeva; 
        global $_obfuscated_0D2B09062E0D220A0E172F1E3816122B235B1319333332_; 
        global $_obfuscated_0D362E2D3D18322D04132F2F1A351514192F1B1B3F0F11_; 
        global $_obfuscated_0D23312B291B3D5B053E112F330C181B3C1B07042B2101_; 
        $_obfuscated_0D120C3224171B0D080E2E24110B3C320A0C11322C0332_[] = $_obfuscated_0D2B09062E0D220A0E172F1E3816122B235B1319333332_->YetkiId; 
        $_obfuscated_0D195C34242606292A012B0237212E2127083E080C0132_ = @implode(",", $_obfuscated_0D120C3224171B0D080E2E24110B3C320A0C11322C0332_); 
        if (!isset($_GET["tumeva"])) { 
            $_GET["tumeva"] = "home"; 
        } 
        $m = $tumeva->get_results("select * from adminmenu where Id!=115 and Id!=110 and Baglanti=" . $Id . " and Durum=1 and Yetki IN (" . $_obfuscated_0D195C34242606292A012B0237212E2127083E080C0132_ . ") ORDER BY Sira desc"); 
        if ($m) { 
            foreach ($m as $x) { 
                if ($x->Dosya == $_GET["tumeva"]) { 
                    echo "<li class=\"menu-dropdown classic-menu-dropdown\">
				<a data-close-others=\"true\" href=\"index.php?tumeva=" . $x->Dosya . "&p=" . $x->BaglantiAdi . "&token=" . $_SESSION["token"] . "" . $x->Option . "\">
				<i class=\"" . $x->Icon . "\"></i> " . $x->Baslik; 
                    if ($x->Baglanti == 0) { 
                        echo "<span class=\"\"></span>"; 
                    } 
                    echo "</a>"; 
                } else { 
                    if ($x->Baglanti == 0) { 
                        echo "<li class=\"menu-dropdown classic-menu-dropdown\">"; 
                        echo "<a data-hover=\"megamenu-dropdown\" data-close-others=\"true\" data-toggle=\"dropdown\" href=\"index.php?tumeva=" . $x->Dosya . "&p=" . $x->BaglantiAdi . "&token=" . $_SESSION["token"] . "" . $x->Option . "\">"; 
                    } else { 
                        if ($x->Iconsuz == 1) { 
                            echo "<li>"; 
                        } else { 
                            echo "<li class=\"dropdown-submenu\">"; 
                        } 
                        if ($x->Id == 3) { 
                            echo "<a href=\"index.php?tumeva=" . $x->Dosya . "&p=" . $x->BaglantiAdi . "&token=" . $_SESSION["token"] . "" . $x->Option . "\">"; 
                        } else { 
                            if ($_obfuscated_0D362E2D3D18322D04132F2F1A351514192F1B1B3F0F11_ == 1 && $x->Iconsuz == 0) { 
                                echo "<a href=\"javascript:;\" class=\"nav-link nav-toggle \">"; 
                            } else { 
                                echo "<a href=\"index.php?tumeva=" . $x->Dosya . "&p=" . $x->BaglantiAdi . "&token=" . $_SESSION["token"] . "" . $x->Option . "\">"; 
                            } 
                        } 
                    } 
                    echo "<i class=\"" . $x->Icon . "\"></i> " . $x->Baslik . ""; 
                    if ($x->Baglanti == 0) { 
                        echo "<span class=\"\"></span>"; 
                    } 
                    echo "</a>"; 
                } 
                $a = $tumeva->get_results("select * from adminmenu where Baglanti=" . $x->Id . " and Durum=1 and Yetki IN (" . $_obfuscated_0D195C34242606292A012B0237212E2127083E080C0132_ . ") ORDER BY Sira desc"); 
                if ($a) { 
                    echo "<ul class='dropdown-menu pull-left'>"; 
                    AdminMenu($x->Id); 
                    echo "</ul>"; 
                } 
                echo "</li>"; 
            } 
        } 
    } 
    function AuthorMenu($Id) 
    { 
        global $tumeva; 
        $m = $tumeva->get_results("select * from yazarmenu where Baglanti=" . $Id . " and Durum=1 ORDER BY Sira desc"); 
        if ($m) { 
            foreach ($m as $x) { 
                if ($x->Dosya == $_GET["tumeva"] || $x->Dosya == $_GET["p"]) { 
                    echo "<li class=\"active open ms-hover\">
				<a href=\"index.php?tumeva=" . $x->Dosya . "&p=" . $x->BaglantiAdi . "&token=" . $_SESSION["token"] . "" . $x->Option . "\">
				<i class=\"" . $x->Icon . "\"></i>
				<span class=\"title\">" . $x->Baslik . "</span>"; 
                    if ($x->Baglanti == 0) { 
                        echo "<span class=\"arrow\"></span>"; 
                    } 
                    echo "</a>"; 
                } else { 
                    echo "<li>
				<a href=\"index.php?tumeva=" . $x->Dosya . "&p=" . $x->BaglantiAdi . "&token=" . $_SESSION["token"] . "" . $x->Option . "\">
				<i class=\"" . $x->Icon . "\"></i>
				<span class=\"title\">" . $x->Baslik . "</span>"; 
                    if ($x->Baglanti == 0) { 
                        echo "<span class=\"arrow\"></span>"; 
                    } 
                    echo "</a>"; 
                } 
                $a = $tumeva->get_results("select * from yazarmenu where Baglanti=" . $x->Id . " and Durum=1 ORDER BY Sira desc"); 
                if ($a) { 
                    echo "<ul class='sub-menu'>"; 
                    AuthorMenu($x->Id); 
                    echo "</ul>"; 
                } 
                echo "</li>"; 
            } 
        } 
    } 
    echo "

    "; 
    function AllCommentDelete($type, $id) 
    { 
        global $tumeva; 
        if ($id != 0) { 
            if (is_array($id)) { 
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) { 
                    if ($type == 1) { 
                        $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId from yorumlar where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                        $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,HaberBaslik from haberler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'"); 
                        Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->HaberBaslik . " haberine yaplan " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . " Idli yorum silindi."); 
                        $_obfuscated_0D2D082C03300F1228122A0B19060E22180D25071A0B01_ = $tumeva->query("delete from yorumlar where Tip='" . $type . "' and Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    } else { 
                        if ($type == 2) { 
                            $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId from yorumlar where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                            $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,VideoBaslik from videolar where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'"); 
                            Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->VideoBaslik . " videosuna yaplan " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . " Idli yorum silindi."); 
                            $_obfuscated_0D2D082C03300F1228122A0B19060E22180D25071A0B01_ = $tumeva->query("delete from yorumlar where Tip='" . $type . "' and Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                        } else { 
                            if ($type == 3) { 
                                $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId from yorumlar where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                                $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,HaberBaslik from makaleler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'"); 
                                Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->HaberBaslik . " makalesine yaplan " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . " Idli yorum silindi."); 
                                $_obfuscated_0D2D082C03300F1228122A0B19060E22180D25071A0B01_ = $tumeva->query("delete from yorumlar where Tip='" . $type . "' and Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                            } else { 
                                if ($type == 4) { 
                                    $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId from yorumlar where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                                    $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,AnketBaslik from anketler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'"); 
                                    Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->AnketBaslik . " anketine yaplan " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . " Idli yorum silindi."); 
                                    $_obfuscated_0D2D082C03300F1228122A0B19060E22180D25071A0B01_ = $tumeva->query("delete from yorumlar where Tip='" . $type . "' and Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                                } 
                            } 
                        } 
                    } 
                } 
            } 
            if ($_obfuscated_0D2D082C03300F1228122A0B19060E22180D25071A0B01_) { 
                Answer("Seili yorumlar kalc olarak silindi.", "success"); 
                echo Redirect(2, $_SERVER["HTTP_REFERER"]); 
            } else { 
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
            } 
        } else { 
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
        } 
        return NULL; 
    } 
    function AllCommentConfirm($type, $id, $AdminId) 
    { 
        global $tumeva; 
        if ($id != 0) { 
            if (is_array($id)) { 
                foreach ($id as $_obfuscated_0D403C1026320E363D051811102140300C091912022622_) { 
                    if ($type == 1) { 
                        $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                        $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,HaberBaslik from haberler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'"); 
                        Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->HaberBaslik . " haberine yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum onayland."); 
                        $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay=1, Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                    } else { 
                        if ($type == 2) { 
                            $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                            $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,VideoBaslik from videolar where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'"); 
                            Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->VideoBaslik . " videosuna yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum onayland."); 
                            $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay=1, Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                        } else { 
                            if ($type == 3) { 
                                $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                                $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,HaberBaslik from makaleler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'"); 
                                Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->HaberBaslik . " makalesine yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum onayland."); 
                                $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay=1, Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                            } else { 
                                if ($type == 4) { 
                                    $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                                    $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,AnketBaslik from anketler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'"); 
                                    Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->AnketBaslik . " anketine yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum onayland."); 
                                    $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay=1, Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                                } 
                            } 
                        } 
                    } 
                } 
            } 
            if ($_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_) { 
                Answer("Seili yorumlar onayland.", "success"); 
                echo Redirect(3, $_SERVER["HTTP_REFERER"]); 
            } else { 
                Answer("lem Baarsz.Ltfen onaylamak istediiniz yorumlar seiniz.", "danger"); 
            } 
        } else { 
            Answer("lem Baarsz.Ltfen onaylamak istediiniz yorumlar seiniz.", "danger"); 
        } 
    } 
    function AllCommentTransport($type, $id, $AdminId) 
    { 
        global $tumeva; 
        if ($id != 0) { 
            if (is_array($id)) { 
                foreach ($id as $_obfuscated_0D403C1026320E363D051811102140300C091912022622_) { 
                    if ($type == 1) { 
                        $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                        $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,HaberBaslik from haberler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'"); 
                        Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->HaberBaslik . " haberine yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum arive tand."); 
                        $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay='2', Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                    } else { 
                        if ($type == 2) { 
                            $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                            $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,VideoBaslik from videolar where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'"); 
                            Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->VideoBaslik . " videosuna yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum arive tand."); 
                            $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay='2', Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                        } else { 
                            if ($type == 3) { 
                                $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                                $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,HaberBaslik from makaleler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'"); 
                                Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->HaberBaslik . " makalesine yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum arive tand."); 
                                $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay='2', Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                            } else { 
                                if ($type == 4) { 
                                    $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                                    $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,AnketBaslik from anketler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'"); 
                                    Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->AnketBaslik . " anketine yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum arive tand."); 
                                    $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay='2', Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
                                } 
                            } 
                        } 
                    } 
                } 
            } 
            if ($_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_) { 
                Answer("Seili yorumlar arive tand.", "success"); 
                echo Redirect(2, $_SERVER["HTTP_REFERER"]); 
            } else { 
                Answer("lem Baarsz.Ltfen arive tamak istediiniz yorumlar seiniz.", "danger"); 
            } 
        } else { 
            Answer("lem Baarsz.Ltfen arive tamak istediiniz yorumlar seiniz.", "danger"); 
        } 
    } 
    function ArticleConfirm($id, $AdminId) 
    { 
        global $tumeva; 
        if (is_array($id)) { 
            foreach ($id as $_obfuscated_0D403C1026320E363D051811102140300C091912022622_) { 
                $_obfuscated_0D1C0D121E3E10352E1835142707080D35130706213401_ = $tumeva->query("update makaleler set Durum=1, Admin='" . $AdminId . "' where Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
            } 
        } 
        if ($_obfuscated_0D1C0D121E3E10352E1835142707080D35130706213401_) { 
            Answer("Seili makaleler onayland.", "success"); 
            $_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_ = $tumeva->get_row("Select * from makaleler where Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'"); 
            Logs($_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_->HaberBaslik . " Makale Onayland."); 
        } else { 
            Answer("lem Baarsz.Ltfen onaylamak istediiniz makaleleri seiniz.", "danger"); 
            return NULL; 
        } 
    } 
    function AllDeleteData($table, $id) 
    { 
        global $tumeva; 
        if (is_array($id)) { 
            foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) { 
                $_obfuscated_0D010D3E025C2F1B3D3829101D3509112B1803361A0D11_ = $tumeva->query("delete from " . $table . " where Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                $_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_ = $tumeva->get_row("Select * from " . $table . " where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                Logs($table . " tablosundaki " . $_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_ . " Idli Seili Veriler Silindi."); 
            } 
        } 
        if ($_obfuscated_0D010D3E025C2F1B3D3829101D3509112B1803361A0D11_) { 
            echo Answer("Seili veriler silindi.", "success"); 
            echo Redirect(1, $_SERVER["HTTP_REFERER"]); 
        } else { 
            echo Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
            return NULL; 
        } 
    } 
    function AllTruncate($table) 
    { 
        global $tumeva; 
        $_obfuscated_0D010D3E025C2F1B3D3829101D3509112B1803361A0D11_ = $tumeva->query("TRUNCATE TABLE " . $table . ""); 
        echo Answer("Tm Kaytlar Silindi.", "success"); 
        echo Redirect(1, $_SERVER["HTTP_REFERER"]); 
    } 
    function InsertNo($tablo) 
    { 
        return "select max(Sira) AS Sira from " . $tablo; 
    } 
    function AdminNewsCategories($kategoriid, $level) 
    { 
        global $tumeva; 
        $a = []; 
        if ($_obfuscated_0D242C2105245C08400A5C173D242F185B3210393D1A32_ = $tumeva->get_results("SELECT Id,Baslik FROM haberkategori WHERE Id<>0 and Baglanti=" . $kategoriid . " ORDER BY Baslik", ARRAY_A)) { 
            foreach ($_obfuscated_0D242C2105245C08400A5C173D242F185B3210393D1A32_ as $_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_) { 
                $_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_[0] = $_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_["Id"]; 
                $_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_[1] = $_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_["Baslik"]; 
                $_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_[2] = $level; 
                $a[] = $_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_; 
                $b = AdminNewsCategories($_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_[0], $level + 1); 
                $count = count($b); 
                if (0 < $count) { 
                    for ($j = 0; $j < $count; $j++) { 
                        $a[] = $b[$j]; 
                    } 
                } 
            } 
        } 
        return $a; 
    } 
    function AllDeleteArticles($id) 
    { 
        global $tumeva; 
        if ($id != 0) { 
            if (is_array($id)) { 
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) { 
                    $x = $tumeva->get_row("Select Id,HaberBaslik from makaleler where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D5C0C111C1E161C0D0B303D282B0F2D2E073410352822_ = $tumeva->query("UPDATE makaleler SET Durum = 4 WHERE Id = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D3C1A372E120F2C190A30283D30191F321E042E022101_ = $tumeva->query("UPDATE yorumlar SET Onay = 4 WHERE Tip = 3 and VeriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_ = $tumeva->get_row("select Id,Durum,Resim,Thumb,HaberBaslik,Yazar from makaleler where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    Logs($_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_->HaberBaslik . " Makale Silindi."); 
                } 
            } 
            if ($_obfuscated_0D5C0C111C1E161C0D0B303D282B0F2D2E073410352822_) { 
                Answer("Seili Makaleler Silindi.", "success"); 
            } else { 
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
            } 
        } else { 
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
        } 
    } 
    function AllDeleteArticleDelete($id) 
    { 
        global $tumeva; 
        if ($id != 0) { 
            if (is_array($id)) { 
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) { 
                    $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_ = $tumeva->get_row("select * from makaleler where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    @unlink("../images/makaleler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Resim); 
                    @unlink("../images/makaleler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->ResimWebp); 
                    $x = $tumeva->query("DELETE FROM makaleler WHERE Id = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . ""); 
                    $b = $tumeva->query("DELETE FROM yorumlar WHERE Tip = 3 and VeriId = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . ""); 
                    Logs($_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->HaberBaslik . " Makale Kalc Olarak Silindi."); 
                } 
            } 
            if ($_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_) { 
                Answer("Seili Makaleler Kalc Olarak Silindi.", "success"); 
            } else { 
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
            } 
        } else { 
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
        } 
    } 
    function AllDeleteNews($id) 
    { 
        global $tumeva; 
        global $_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_; 
        global $_obfuscated_0D391C0E1C375C052C14370607132F17221013123C3901_; 
        global $_obfuscated_0D1435382B32280517091033395B1F35172A3B34160822_; 
        $_obfuscated_0D223F19180731250736102B193816192805373F370822_ = $_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_; 
        if ($_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_ <= $_obfuscated_0D223F19180731250736102B193816192805373F370822_) { 
            if (0 < $id && $id <= $_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_) { 
                $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler2"; 
            } else { 
                if ($_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_ < $id && $id <= $_obfuscated_0D391C0E1C375C052C14370607132F17221013123C3901_) { 
                    $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler3"; 
                } else { 
                    if ($_obfuscated_0D391C0E1C375C052C14370607132F17221013123C3901_ < $id && $id <= $_obfuscated_0D1435382B32280517091033395B1F35172A3B34160822_) { 
                        $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler4"; 
                    } else { 
                        $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler"; 
                    } 
                } 
            } 
        } else { 
            $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler"; 
        } 
        if ($id != 0) { 
            if (is_array($id)) { 
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) { 
                    $n = $tumeva->get_row("select * from " . $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ . " where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_ = $tumeva->query("UPDATE " . $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ . " SET Durum = 4 WHERE Id = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $b = $tumeva->query("UPDATE yorumlar SET Onay = 4 WHERE Tip=1 and VeriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $d = $tumeva->query("UPDATE haberresim SET Durum = 4 WHERE HaberId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D0B07381729041102190C22282D2D5B31392C2F243E11_ = $tumeva->query("UPDATE metakey SET Durum = 4 WHERE VeriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D10162C29370A23300C182B0E303E381225180B171C32_ = $tumeva->query("UPDATE haberresim SET Durum = 4 WHERE HaberId= '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $j = $tumeva->query("DELETE FROM facebookinstantarticles WHERE Type=1 and DataId = " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . ""); 
                    Logs($n->HaberBaslik . " - Haber Silindi."); 
                } 
            } 
            if ($_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_) { 
                Answer("Seili Haberler Silindi.", "success"); 
            } else { 
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
            } 
        } else { 
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
        } 
    } 
    function AllDeleteNewsDelete($id) 
    { 
        global $tumeva; 
        global $_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_; 
        global $_obfuscated_0D391C0E1C375C052C14370607132F17221013123C3901_; 
        global $_obfuscated_0D1435382B32280517091033395B1F35172A3B34160822_; 
        $_obfuscated_0D223F19180731250736102B193816192805373F370822_ = $_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_; 
        if ($_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_ <= $_obfuscated_0D223F19180731250736102B193816192805373F370822_) { 
            if (0 < $id && $id <= $_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_) { 
                $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler2"; 
            } else { 
                if ($_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_ < $id && $id <= $_obfuscated_0D391C0E1C375C052C14370607132F17221013123C3901_) { 
                    $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler3"; 
                } else { 
                    if ($_obfuscated_0D391C0E1C375C052C14370607132F17221013123C3901_ < $id && $id <= $_obfuscated_0D1435382B32280517091033395B1F35172A3B34160822_) { 
                        $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler4"; 
                    } else { 
                        $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler"; 
                    } 
                } 
            } 
        } else { 
            $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler"; 
        } 
        if ($id != 0) { 
            if (is_array($id)) { 
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) { 
                    $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_ = $tumeva->get_row("select * from " . $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ . " where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Resim); 
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->ResimWebp); 
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Thumb); 
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->ThumbWebp); 
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->MResim); 
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->MResimWebp); 
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->DResim); 
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->DResimWebp); 
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->AMPWebp); 
                    $x = $tumeva->query("DELETE FROM " . $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ . " WHERE Id = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . ""); 
                    $b = $tumeva->query("DELETE FROM yorumlar WHERE Tip=1 and VeriId = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . ""); 
                    $d = $tumeva->query("DELETE FROM haberresim WHERE HaberId = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . ""); 
                    $_obfuscated_0D0B07381729041102190C22282D2D5B31392C2F243E11_ = $tumeva->query("DELETE FROM metakey WHERE Type=1 and VeriId = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . ""); 
                    $_obfuscated_0D231F5B121A3314330D06360C070E2C0D161726312832_ = $tumeva->query("DELETE FROM seo WHERE Type=1 and VeriId = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . ""); 
                    $j = $tumeva->query("DELETE FROM facebookinstantarticles WHERE Type=1 and DataId = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . ""); 
                    $_obfuscated_0D10162C29370A23300C182B0E303E381225180B171C32_ = $tumeva->get_row("select * from haberresim where HaberId ='" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . "'"); 
                    Logs($_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->HaberBaslik . " Haber Kalc Olarak Silindi."); 
                } 
            } 
            if ($_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_) { 
                Answer("Seili Haberler Kalc Olarak Silindi.", "success"); 
            } else { 
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
            } 
        } else { 
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
        } 
    } 
    function AllDeleteVideosDelete($id) 
    { 
        global $tumeva; 
        if ($id != 0) { 
            if (is_array($id)) { 
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) { 
                    $x = $tumeva->get_row("select * from videolar where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D1F322E1A345B2D0D0829353C04125C395C2E3C3C0D32_ = Logs($x->VideoBaslik . " Video Silindi."); 
                    @unlink("../images/video/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Resim); 
                    @unlink("../images/video/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->ResimWebp); 
                    @unlink("../images/video/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Thumb); 
                    @unlink("../images/video/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->ThumbWebp); 
                    @unlink("../images/videogaleri/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Flv); 
                    $_obfuscated_0D0F0B3E35380314365C2F0F3D01373C3D2525391E1722_ = $tumeva->query("DELETE FROM videolar WHERE Id = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D29091D272D3D3F2B21320A341C141831120B26350422_ = $tumeva->query("DELETE FROM facebookinstantarticles WHERE Type = 2 and DataId = " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . ""); 
                    $_obfuscated_0D2A3C0327151026123F26343D5C3032392A383E013401_ = $tumeva->query("DELETE FROM yorumlar WHERE Tip = 2 and VeriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D1D391F153E2C2D011A223E22153D0B381D051A1E3C11_ = $tumeva->query("DELETE FROM metakey WHERE Type = 2 and VeriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                } 
            } 
            if ($_obfuscated_0D0F0B3E35380314365C2F0F3D01373C3D2525391E1722_) { 
                Answer("Seili Videolar Kalc Olarak Silindi.", "success"); 
            } else { 
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
            } 
        } else { 
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
        } 
    } 
    function AllDeleteVideos($id) 
    { 
        global $tumeva; 
        if ($id != 0) { 
            if (is_array($id)) { 
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) { 
                    $x = $tumeva->get_row("select * from videolar where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D1F322E1A345B2D0D0829353C04125C395C2E3C3C0D32_ = Logs($x->VideoBaslik . " Video Silindi."); 
                    $_obfuscated_0D0F0B3E35380314365C2F0F3D01373C3D2525391E1722_ = $tumeva->query("UPDATE videolar SET Durum = 4 WHERE Id = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D29091D272D3D3F2B21320A341C141831120B26350422_ = $tumeva->query("DELETE FROM facebookinstantarticles WHERE Type=2 and DataId = " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . ""); 
                    $_obfuscated_0D2A3C0327151026123F26343D5C3032392A383E013401_ = $tumeva->query("UPDATE yorumlar SET Onay = 4 WHERE Tip =2 and VeriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D1D391F153E2C2D011A223E22153D0B381D051A1E3C11_ = $tumeva->query("UPDATE metakey SET Durum = 4 WHERE Type = 2 and VeriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                } 
            } 
            if ($_obfuscated_0D0F0B3E35380314365C2F0F3D01373C3D2525391E1722_) { 
                Answer("Seili Videolar Silindi.", "success"); 
            } else { 
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
            } 
        } else { 
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
        } 
    } 
    function AllDeleteSurvey($id) 
    { 
        global $tumeva; 
        if ($id != 0) { 
            if (is_array($id)) { 
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) { 
                    $_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_ = $tumeva->get_row("Select Id,AnketSoru from anket where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    Logs($_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_->AnketSoru . " Anket Silindi."); 
                    $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("delete FROM anketoylar WHERE Anket='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("delete FROM anket WHERE Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                } 
            } 
            if ($_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_) { 
                Answer("Seili Anketler Silindi.", "success"); 
            } else { 
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
            } 
        } else { 
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
        } 
    } 
    function AllDeleteBiography($id) 
    { 
        global $tumeva; 
        if ($id != 0) { 
            if (is_array($id)) { 
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) { 
                    $_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_ = $tumeva->get_row("Select * from biyografiler where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    Logs($_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_->AdSoyad . " Biyografiler Silindi."); 
                    $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("delete FROM biyografiler WHERE Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                } 
            } 
            if ($_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_) { 
                Answer("Seili Biyografiler Silindi.", "success"); 
            } else { 
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
            } 
        } else { 
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
        } 
    } 
    function AllDeleteGalleryDelete($id) 
    { 
        global $tumeva; 
        if ($id != 0) { 
            if (is_array($id)) { 
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) { 
                    $x = $tumeva->get_row("select * from galeriler where Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    Logs($x->Baslik . " Foto Galeri Silindi."); 
                    @unlink("../images/galeri/" . $x->Resim); 
                    @unlink("../images/galeri/" . $x->ResimWebp); 
                    @unlink("../images/galeri/" . $x->Thumb); 
                    @unlink("../images/galeri/" . $x->ThumbWebp); 
                    $_obfuscated_0D0B07381729041102190C22282D2D5B31392C2F243E11_ = $tumeva->get_row("select * from galeriresim where GaleriId='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    @unlink("../images/galeri/" . $_obfuscated_0D0B07381729041102190C22282D2D5B31392C2F243E11_->Resim); 
                    @unlink("../images/galeri/" . $_obfuscated_0D0B07381729041102190C22282D2D5B31392C2F243E11_->ResimWebp); 
                    $_obfuscated_0D23285B0D2732230D5B0C250D1B1D12350802085C3011_ = $tumeva->query("DELETE FROM galeriler WHERE Id = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D5C0C111C1E161C0D0B303D282B0F2D2E073410352822_ = $tumeva->query("DELETE FROM galeriresim WHERE GaleriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D3C1A372E120F2C190A30283D30191F321E042E022101_ = $tumeva->query("DELETE FROM facebookinstantarticles WHERE Type=4 and DataId = " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . ""); 
                } 
            } 
            if ($_obfuscated_0D23285B0D2732230D5B0C250D1B1D12350802085C3011_) { 
                Answer("Seili Foto Galeriler Kalc Olarak Silindi.", "success"); 
            } else { 
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
            } 
        } else { 
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
        } 
    } 
    function AllDeleteGalleries($id) 
    { 
        global $tumeva; 
        if ($id != 0) { 
            if (is_array($id)) { 
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) { 
                    $x = $tumeva->get_row("select * from galeriler where Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    Logs($x->Baslik . " Foto Galeri Silindi."); 
                    $_obfuscated_0D23285B0D2732230D5B0C250D1B1D12350802085C3011_ = $tumeva->query("UPDATE galeriler SET Durum = 4 WHERE Id = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D5C0C111C1E161C0D0B303D282B0F2D2E073410352822_ = $tumeva->query("UPDATE galeriresim SET Durum = 4 WHERE GaleriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'"); 
                    $_obfuscated_0D3C1A372E120F2C190A30283D30191F321E042E022101_ = $tumeva->query("DELETE FROM facebookinstantarticles WHERE Type=4 and DataId = " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . ""); 
                } 
            } 
            if ($_obfuscated_0D23285B0D2732230D5B0C250D1B1D12350802085C3011_) { 
                Answer("Seili Foto Galeriler Silindi.", "success"); 
            } else { 
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
            } 
        } else { 
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger"); 
        } 
    } 
    function DataCount($Table) 
    { 
        global $tumeva; 
        return $_obfuscated_0D3F292A1408080B155C1D362C1B320F06082B2B3E3622_ = $tumeva->get_var("select count(Id) as toplam from " . $Table); 
    } 
    echo "    "; 
    function Delegation($Delegation) 
    { 
        global $Delegation; 
        global $tumeva; 
        echo "        "; 
        if ($Delegation == "1") { 
            echo "        <div class=\"col-md-3\">
            <label class=\"control-label\">Ynetici</label>

            <select name=\"Admin\" id=\"Yazar\" class=\"form-control select2me\">
                <option value=\"\">--- Ynetici Seiniz ---</option>
                "; 
            $y = $tumeva->get_results("select Id,AdSoyad from yonetici order by AdSoyad asc"); 
            if ($y) { 
                foreach ($y as $x) { 
                    echo "<option value=" . $x->Id . ">" . $x->AdSoyad . "</option>"; 
                } 
            } 
            echo "            </select>

        </div>
    "; 
        } else { 
            echo "        <input class=\"form-control\" type=\"hidden\" name=\"Admin\" value=\""; 
            echo $AdminId; 
            echo "\">

    "; 
        } 
        return NULL; 
    } 
    function Detail($tablo, $Id) 
    { 
        global $tumeva; 
        return $tumeva->get_row("select * from " . $tablo . " where Id=" . intval($Id)); 
    } 
    function Find($tablo, $Id) 
    { 
        global $tumeva; 
        return $tumeva->get_row("select * from " . $tablo . " where Id=" . intval($Id)); 
    } 
    function AdminPaging($toplam_kayit, $mevcut_sayfa, $grup, $yol, $yol_devam) 
    { 
        $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_ = ceil($toplam_kayit / $grup); 
        $min = 1; 
        echo "<ul class=\"pagination\">"; 
        if (1 < $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_) { 
            if (1 < $mevcut_sayfa - 5) { 
                $_obfuscated_0D1C363D10141E220E170413071C40250F1B0604101B22_ = $mevcut_sayfa - 4; 
            } else { 
                $_obfuscated_0D1C363D10141E220E170413071C40250F1B0604101B22_ = $min; 
            } 
            if ($mevcut_sayfa + 5 < $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_) { 
                $_obfuscated_0D18400E3E0E123F262A322719370A053E3B2D31043032_ = $mevcut_sayfa + 4; 
            } else { 
                $_obfuscated_0D18400E3E0E123F262A322719370A053E3B2D31043032_ = $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_; 
            } 
            if (1 < $mevcut_sayfa) { 
                echo "<li><a class=\"pagelink\" href=\"" . $yol . ($mevcut_sayfa - 1) . $yol_devam . "\"> nceki <i class=\"fa fa-angle-left\"></i>
</a></li>"; 
            } 
            if (1 < $_obfuscated_0D1C363D10141E220E170413071C40250F1B0604101B22_) { 
                echo "<li><a class=\"pagelink\" href=\"" . $yol . $yol_devam . "1" . "\">1</a></li>"; 
            } 
            for ($i = $_obfuscated_0D1C363D10141E220E170413071C40250F1B0604101B22_; $i <= $_obfuscated_0D18400E3E0E123F262A322719370A053E3B2D31043032_; $i++) { 
                if ($mevcut_sayfa == $i) { 
                    echo "<li><a class=\"pagelink\" href=\"#\"><b>" . $i . "</b></a></li>"; 
                } else { 
                    echo "<li><a class=\"pagelink\" href=\"" . $yol . $i . $yol_devam . "\">" . $i . "</a></li>"; 
                } 
            } 
            if ($_obfuscated_0D18400E3E0E123F262A322719370A053E3B2D31043032_ < $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_) { 
                echo "<li><a class=\"pagelink\" href=\"" . $yol . $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_ . $yol_devam . "\">" . $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_ . "</a></li>"; 
            } 
            if ($mevcut_sayfa < $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_) { 
                echo "<li><a class=\"pagelink\" href=\"" . $yol . ($mevcut_sayfa + 1) . $yol_devam . "\"> Sonraki <i class=\"fa fa-angle-right\"></i>
</a></li>"; 
            } 
        } 
        echo "</ul>"; 
    } 
    function MetaKey($NewsMetaKey) 
    { 
        global $_obfuscated_0D18221B0C0E36171703081A1E3325172E3D2140031C11_; 
        if ($_obfuscated_0D18221B0C0E36171703081A1E3325172E3D2140031C11_ == "1") { 
            $_obfuscated_0D23233F14402B25213B14352735092805402226221722_ = explode(",", $NewsMetaKey); 
            $_obfuscated_0D5B0E29353C17282C5C0A0128040714073B2832335C11_ = count($_obfuscated_0D23233F14402B25213B14352735092805402226221722_); 
            $i = 0; 
            if ($i < $_obfuscated_0D5B0E29353C17282C5C0A0128040714073B2832335C11_) { 
            } else { 
                return $_obfuscated_0D23233F14402B25213B14352735092805402226221722_[$i]; 
            } 
        } 
        return ""; 
    } 
    function ReviewCount($Id, $tip) 
    { 
        global $tumeva; 
        return $tumeva->get_var("SELECT COUNT(Id) FROM yorumlar WHERE Tip='" . $tip . "' and VeriId='" . $Id . "' and Onay=1"); 
    } 
} else { 
    $license_server = "http://api.tumevabilisim.com/prime/prime-licence.php"; 
    $dirpath = dirname(__FILE__); 
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") { 
        $DomainName = substr($_SERVER["HTTP_HOST"], 4); 
    } else { 
        $DomainName = $_SERVER["HTTP_HOST"]; 
    } 
    $license_info = ["domain" => $DomainName, "lisans" => $licensekey, "ip" => isset($_SERVER["SERVER_ADDR"]) ? $_SERVER["SERVER_ADDR"] : $_SERVER["LOCAL_ADDR"], "dir" => $dirpath, "status" => $WhmcsLicenseStatusTumeva, "datetime" => date("Y-m-d H:i:s")]; 
    $postfields = json_encode($license_info); 
    $headers = ["Content-Type: application/json"]; 
    $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL, $license_server); 
    curl_setopt($ch, CURLOPT_POST, true); 
    curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, $postfields); 
    $result = curl_exec($ch); 
    curl_close($ch); 
    if ($result === false) { 
        exit("Lisans Sunucusuna Balanlamad HATA: " . curl_error($ch)); 
    } 
    $controllers = json_decode($result); 
    $Domainx = explode(",", $controllers->validdomain); 
    if ($DomainName == $Domainx[0] && $licensekey == $controllers->licensekey && $controllers->status == "Active" || $controllers->status == "Reissued") { 
        $localkeyx = base64_encode($result); 
        $localkeyxx = strrev($localkeyx); 
        $localkey = wordwrap($localkeyxx, 30, "PRIME-LICENCE-2021", true); 
        $UpdateLicenceDate = $tumeva->get_row("update lisans set Lokal='" . $localkey . "', Status='" . Security($controllers->status) . "',WhmcsDomain='" . Security($Domainx[0]) . "' where Id='1'"); 
        $InstanceCache->deleteItem("lisans"); 
    } else { 
        $message = "<strong>mySQL servisi ya da Lisans Problemi!</strong><br><br>
		- Sunucunuzda mySQL servisinin aktif olduundan ve veritaban balant bilgilerinizin doru olduundan emin olunuz.<br><br>
		- mySQL servisi aktif ise lisans anahtarnz giriniz.<br><br>
		- mySQL servisi aktif & lisans anahtarnz doru olduu halde hala bu ekran gryorsanz bizimle iletiime geiniz.<br>
		<br>Mteri Panelinizde; <b>Hizmetleriniz</b>'den <em><b>lisans anahtarna</b></em> eriim salayabilirsiniz.<br>"; 
        $error = true; 
        echo "
        <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css\"
              integrity=\"sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7\"
              crossorigin=\"anonymous\">
        <style type=\"text/css\">
            .alert {
                margin-bottom: 20;
            }
        </style>
        <div class=\"container\">
            <div class=\"row\">
                <div class=\"col-md-offset-3 col-md-6\">
                    <div class=\"jumbotron\" style=\"margin-top: 60px;\">
                        <div class=\"alert alert-danger\" role=\"alert\">"; 
        echo $message; 
        echo "</div>
                        <form action=\"\" method=\"post\">
                        <input type=\"hidden\" name=\"token\" value=\""; 
        echo $_SESSION["token"]; 
        echo "\"/>
                            <div class=\"form-group\">
                                <label for=\"lisans\">Lisans</label>
                                <input type=\"text\" class=\"form-control\" name=\"lisans\">
                            </div>

                            <button type=\"submit\" class=\"btn btn-block btn-primary\">Dorula</button>
                        </form>
                    </div>
                    <div class=\"alert\" role=\"alert\"><br><br></div>
                </div>
            </div>
        </div>


        "; 
        exit; 
    } 
} 
function Para($para = NULL) 
{ 
    $para = @number_format($para, 2, ".", ""); 
    return $para; 
} 
function SendTicket($subject, $message, $adminpanel) 
{ 
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_; 
    global $WhmcsLicenseTumeva; 
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") { 
        $DomainName = substr($_SERVER["HTTP_HOST"], 4); 
    } else { 
        $DomainName = $_SERVER["HTTP_HOST"]; 
    } 
    $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriTicketGonder.php"); 
    curl_setopt($ch, CURLOPT_POST, 1); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["subject" => $subject . " / " . $DomainName, "domainname" => $DomainName, "message" => $message, "clientid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "licensekey" => $WhmcsLicenseTumeva, "customfields" => $adminpanel])); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch); 
    curl_close($ch); 
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true); 
} 
function SendTicketReply($ticketid, $message) 
{ 
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_; 
    global $WhmcsLicenseTumeva; 
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") { 
        $DomainName = substr($_SERVER["HTTP_HOST"], 4); 
    } else { 
        $DomainName = $_SERVER["HTTP_HOST"]; 
    } 
    $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriTicketYanitGonder.php"); 
    curl_setopt($ch, CURLOPT_POST, 1); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["ticketid" => $ticketid, "clientid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "domainname" => $DomainName, "message" => $message, "licensekey" => $WhmcsLicenseTumeva])); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch); 
    curl_close($ch); 
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true); 
} 
function ListTicket() 
{ 
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_; 
    global $WhmcsLicenseTumeva; 
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") { 
        $DomainName = substr($_SERVER["HTTP_HOST"], 4); 
    } else { 
        $DomainName = $_SERVER["HTTP_HOST"]; 
    } 
    $id = "https://my.tumeva.com/tumevaapi/TumevaMusteriTicketlar.php"; 
    $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ = "cache/"; 
    $_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_ = $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ . md5($id); 
    if (file_exists($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_) && time() - 84600 < filemtime($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_)) { 
        return $data = json_decode(file_get_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_), true); 
    } 
    $_obfuscated_0D11370D105B1D17052A3604075C2B0617235C0B121911_ = curl_init(); 
    curl_setopt($_obfuscated_0D11370D105B1D17052A3604075C2B0617235C0B121911_, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriTicketlar.php"); 
    curl_setopt($_obfuscated_0D11370D105B1D17052A3604075C2B0617235C0B121911_, CURLOPT_POST, 1); 
    curl_setopt($_obfuscated_0D11370D105B1D17052A3604075C2B0617235C0B121911_, CURLOPT_POSTFIELDS, http_build_query(["clientid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva, "limitnum" => 5])); 
    curl_setopt($_obfuscated_0D11370D105B1D17052A3604075C2B0617235C0B121911_, CURLOPT_RETURNTRANSFER, 1); 
    $_obfuscated_0D2B1F2B5B2522060B5B1F17071C2B330221313B041C11_ = curl_exec($_obfuscated_0D11370D105B1D17052A3604075C2B0617235C0B121911_); 
    curl_close($_obfuscated_0D11370D105B1D17052A3604075C2B0617235C0B121911_); 
    file_put_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_, $_obfuscated_0D2B1F2B5B2522060B5B1F17071C2B330221313B041C11_); 
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D2B1F2B5B2522060B5B1F17071C2B330221313B041C11_, true); 
} 
function ListInvoces() 
{ 
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_; 
    global $WhmcsLicenseTumeva; 
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") { 
        $DomainName = substr($_SERVER["HTTP_HOST"], 4); 
    } else { 
        $DomainName = $_SERVER["HTTP_HOST"]; 
    } 
    $id = "https://my.tumeva.com/tumevaapi/TumevaMusteriFaturalar.php"; 
    $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ = "cache/"; 
    $_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_ = $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ . md5($id); 
    if (file_exists($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_) && time() - 84600 < filemtime($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_)) { 
        return $data = json_decode(file_get_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_), true); 
    } 
    $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriFaturalar.php"); 
    curl_setopt($ch, CURLOPT_POST, 1); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["userid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva, "limitnum" => 5])); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch); 
    curl_close($ch); 
    file_put_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_, $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_); 
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true); 
} 
function ListClientsLicences() 
{ 
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_; 
    global $WhmcsLicenseTumeva; 
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") { 
        $DomainName = substr($_SERVER["HTTP_HOST"], 4); 
    } else { 
        $DomainName = $_SERVER["HTTP_HOST"]; 
    } 
    $id = "https://my.tumeva.com/tumevaapi/TumevaMusteriLisanslar.php"; 
    $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ = "cache/"; 
    $_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_ = $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ . md5($id); 
    if (file_exists($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_) && time() - 84600 < filemtime($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_)) { 
        return $data = json_decode(file_get_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_), true); 
    } 
    $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriLisanslar.php"); 
    curl_setopt($ch, CURLOPT_POST, 1); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["clientid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva])); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch); 
    curl_close($ch); 
    file_put_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_, $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_); 
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true); 
} 
function ListClientsProducts() 
{ 
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_; 
    global $WhmcsLicenseTumeva; 
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") { 
        $DomainName = substr($_SERVER["HTTP_HOST"], 4); 
    } else { 
        $DomainName = $_SERVER["HTTP_HOST"]; 
    } 
    $id = "https://my.tumeva.com/tumevaapi/TumevaMusteriHizmetler.php"; 
    $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ = "cache/"; 
    $_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_ = $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ . md5($id); 
    if (file_exists($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_) && time() - 84600 < filemtime($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_)) { 
        return $data = json_decode(file_get_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_), true); 
    } 
    $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriHizmetler.php"); 
    curl_setopt($ch, CURLOPT_POST, 1); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["clientid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva])); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch); 
    curl_close($ch); 
    file_put_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_, $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_); 
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true); 
} 
function ListClientsAddons($serviceid) 
{ 
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_; 
    global $WhmcsLicenseTumeva; 
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") { 
        $DomainName = substr($_SERVER["HTTP_HOST"], 4); 
    } else { 
        $DomainName = $_SERVER["HTTP_HOST"]; 
    } 
    $id = "https://my.tumeva.com/tumevaapi/TumevaMusteriEklentiler.php"; 
    $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ = "cache/"; 
    $_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_ = $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ . md5($id); 
    if (file_exists($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_) && time() - 84600 < filemtime($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_)) { 
        return $data = json_decode(file_get_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_), true); 
    } 
    $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriEklentiler.php"); 
    curl_setopt($ch, CURLOPT_POST, 1); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["clientid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva, "serviceid" => $serviceid])); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch); 
    curl_close($ch); 
    file_put_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_, $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_); 
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true); 
} 
function ClientDetail($id) 
{ 
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_; 
    global $WhmcsLicenseTumeva; 
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") { 
        $DomainName = substr($_SERVER["HTTP_HOST"], 4); 
    } else { 
        $DomainName = $_SERVER["HTTP_HOST"]; 
    } 
    $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriDetay.php"); 
    curl_setopt($ch, CURLOPT_POST, 1); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["clientid" => $id, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva])); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch); 
    curl_close($ch); 
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true); 
} 
function TicketDetail($id) 
{ 
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_; 
    global $WhmcsLicenseTumeva; 
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") { 
        $DomainName = substr($_SERVER["HTTP_HOST"], 4); 
    } else { 
        $DomainName = $_SERVER["HTTP_HOST"]; 
    } 
    $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriTicketDetay.php"); 
    curl_setopt($ch, CURLOPT_POST, 1); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["ticketid" => $id, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva])); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch); 
    curl_close($ch); 
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true); 
} 
function InvoiceDetail($id) 
{ 
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_; 
    global $WhmcsLicenseTumeva; 
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") { 
        $DomainName = substr($_SERVER["HTTP_HOST"], 4); 
    } else { 
        $DomainName = $_SERVER["HTTP_HOST"]; 
    } 
    $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriFaturaDetay.php"); 
    curl_setopt($ch, CURLOPT_POST, 1); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["invoiceid" => $id, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva])); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch); 
    curl_close($ch); 
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true); 
} 
function DeleteTicket($ticketid) 
{ 
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_; 
    global $WhmcsLicenseTumeva; 
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") { 
        $DomainName = substr($_SERVER["HTTP_HOST"], 4); 
    } else { 
        $DomainName = $_SERVER["HTTP_HOST"]; 
    } 
    $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriTicketSil.php"); 
    curl_setopt($ch, CURLOPT_POST, 1); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["ticketid" => $ticketid, "userid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva, "responsetype" => "json"])); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); 
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch); 
    curl_close($ch); 
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true); 
} 
function sendPushMessage($title, $url, $type, $imgx) 
{ 
    global $tumeva; 
    global $_obfuscated_0D3D30375B222E3B04110C3B1E22362704162C1A070A32_; 
    global $_obfuscated_0D362227210E331C02313F221C5C22380A01251E403F11_; 
    global $_obfuscated_0D153D372D3F310527230D185C18271E1E0C1F311B1F01_; 
    global $_obfuscated_0D011726373B10130B030440352E143337392D1F280132_; 
    global $_obfuscated_0D1240180C0540215B3C2E04371319291B1A14225C1511_; 
    global $_obfuscated_0D143C23111632042E081C02283D0B023609390D350322_; 
    if ($type == "1") { 
        $_obfuscated_0D0B2B2F2A0D0409363F25100D28272E233C0C213D0C32_ = $_obfuscated_0D3D30375B222E3B04110C3B1E22362704162C1A070A32_; 
        $_obfuscated_0D0E0A013F2D0127392331303B17053D32291C1C1D3201_ = $_obfuscated_0D362227210E331C02313F221C5C22380A01251E403F11_; 
    } else { 
        if ($type == "2") { 
            $_obfuscated_0D0B2B2F2A0D0409363F25100D28272E233C0C213D0C32_ = $_obfuscated_0D153D372D3F310527230D185C18271E1E0C1F311B1F01_; 
            $_obfuscated_0D0E0A013F2D0127392331303B17053D32291C1C1D3201_ = $_obfuscated_0D011726373B10130B030440352E143337392D1F280132_; 
        } else { 
            if ($type == "3") { 
                $_obfuscated_0D0B2B2F2A0D0409363F25100D28272E233C0C213D0C32_ = $_obfuscated_0D1240180C0540215B3C2E04371319291B1A14225C1511_; 
                $_obfuscated_0D0E0A013F2D0127392331303B17053D32291C1C1D3201_ = $_obfuscated_0D143C23111632042E081C02283D0B023609390D350322_; 
            } 
        } 
    } 
    $_obfuscated_0D07023B1E322229322304243D172A3B3C381019221122_ = ["en" => $title]; 
    $_obfuscated_0D083509343C2D0407383C16042F350C1A0733295B0511_ = ["app_id" => $_obfuscated_0D0B2B2F2A0D0409363F25100D28272E233C0C213D0C32_, "included_segments" => ["All"], "url" => $url, "data" => ["foo" => "bar"], "contents" => $_obfuscated_0D07023B1E322229322304243D172A3B3C381019221122_, "big_picture" => $imgx, "chrome_big_picture" => $imgx, "adm_big_picture" => $imgx, "huawei_big_picture" => $imgx]; 
    $_obfuscated_0D083509343C2D0407383C16042F350C1A0733295B0511_ = json_encode($_obfuscated_0D083509343C2D0407383C16042F350C1A0733295B0511_); 
    $ch = curl_init(); 
    curl_setopt($ch, CURLOPT_URL, "https://onesignal.com/api/v1/notifications"); 
    curl_setopt($ch, CURLOPT_HTTPHEADER, ["Content-Type: application/json; charset=utf-8", "Authorization: Basic " . $_obfuscated_0D0E0A013F2D0127392331303B17053D32291C1C1D3201_]); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); 
    curl_setopt($ch, CURLOPT_HEADER, false); 
    curl_setopt($ch, CURLOPT_POST, true); 
    curl_setopt($ch, CURLOPT_POSTFIELDS, $_obfuscated_0D083509343C2D0407383C16042F350C1A0733295B0511_); 
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); 
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch); 
    curl_close($ch); 
    return $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_; 
} 
function sendPushBildirtMessage($title, $url, $img) 
{ 
    global $tumeva; 
    global $_obfuscated_0D5B1310230812081E123E2228252F1813350A38230932_; 
    global $_obfuscated_0D2E3514302F5B211040161E0E3D1B1E163E3C29373C01_; 
    global $_obfuscated_0D2E132F103C215C2A315B40041C5C1D0B1124381A3B11_; 
    global $_obfuscated_0D363E1E1D2936031F1A260B3E331E2D2918260E0C2B22_; 
    if (isset($img)) { 
        $imgx = $img; 
    } else { 
        $imgx = NULL; 
    } 
    $_obfuscated_0D07023B1E322229322304243D172A3B3C381019221122_ = ["title" => Limitlee(ReplaceNail($title)), "body" => Limitlee(ReplaceNail($title)), "url" => $url, "icon" => $_obfuscated_0D363E1E1D2936031F1A260B3E331E2D2918260E0C2B22_ . "/images/genel/" . $_obfuscated_0D2E132F103C215C2A315B40041C5C1D0B1124381A3B11_, "image" => $imgx, "time" => date("Y-m-d H:i:s"), "intime" => "", "test" => "0", "ttl" => "86400"]; 
    $data = ["apikey" => $_obfuscated_0D5B1310230812081E123E2228252F1813350A38230932_, "process" => "newpush", "content" => $_obfuscated_0D07023B1E322229322304243D172A3B3C381019221122_]; 
    $data = json_encode($data); 
    $_obfuscated_0D2C3B1B2301391B2C2C230C081838132D1B1D33062C01_ = curl_init(); 
    curl_setopt_array($_obfuscated_0D2C3B1B2301391B2C2C230C081838132D1B1D33062C01_, [CURLOPT_URL => "https://api.bildirt.com/api.js", CURLOPT_RETURNTRANSFER => true, CURLOPT_HEADER => false, CURLOPT_POST => true, CURLOPT_POSTFIELDS => $data, CURLOPT_SSL_VERIFYPEER => 0, CURLOPT_SSL_VERIFYHOST => 0, CURLOPT_HTTPHEADER => ["Content-Type: application/json; charset=utf-8", "Authorization: Basic " . $_obfuscated_0D2E3514302F5B211040161E0E3D1B1E163E3C29373C01_]]); 
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($_obfuscated_0D2C3B1B2301391B2C2C230C081838132D1B1D33062C01_); 
    curl_close($_obfuscated_0D2C3B1B2301391B2C2C230C081838132D1B1D33062C01_); 
    return $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_; 
} 
 
?>

Did this file decode correctly?

Original Code

<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.0.6
 * @ Release: 10/08/2022
 */

$DomainNameLicense = $_SERVER["SERVER_NAME"];
header("Content-Type: text/html; charset=utf-8");
if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") {
    $DomainName = substr($_SERVER["HTTP_HOST"], 4);
} else {
    $DomainName = $_SERVER["HTTP_HOST"];
}
$licensekey = $WhmcsLicenseTumeva;
$localkey = $WhmcsLicenseLocalTumeva;
$usersip = isset($_SERVER["SERVER_ADDR"]) ? $_SERVER["SERVER_ADDR"] : $_SERVER["LOCAL_ADDR"];
if (isset($_POST["lisans"])) {
    global $tumeva;
    $sorgu = $tumeva->query("UPDATE lisans SET WhmcsLicense = '" . Security($_POST["lisans"]) . "' where Id = 1");
    header("Location:index.php");
}
if (isset($_GET["Operation"]) == "License_Sil" && sha1(md5($WhmcsLicenseTumeva)) == Security($_GET["Password"])) {
    global $tumeva;
    $sil = $tumeva->query("update lisans set WhmcsLicense = '', Lokal = '' where Id = 1");
    header("Location:" . $_SERVER["HTTP_REFERER"]);
}
$localkey = str_replace("\n", "", $localkey);
$localkey = str_replace("PRIME-LICENCE-2021", "", $localkey);
$localdata = strrev($localkey);
$localdata = base64_decode($localdata);
$controllerslocal = json_decode($localdata);
$Domainxlocal = explode(",", $controllerslocal->validdomain);
if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") {
    $DomainName = substr($_SERVER["HTTP_HOST"], 4);
} else {
    $DomainName = $_SERVER["HTTP_HOST"];
}
if ($DomainName == $Domainxlocal[0] && $licensekey != "" && $licensekey == $controllerslocal->licensekey && $controllerslocal->status == "Active" || $controllers->status == "Reissued") {
    function ClearCh($value)
    {
        return $value = strip_tags($value);
    }
    function Inc($inc)
    {
        include_once $inc . ".php";
    }
    function Error($detail)
    {
        global $tumeva;
        global $_obfuscated_0D1527012C062A3811070B0D090F1D052F2A0C12390D22_;
        global $_obfuscated_0D402707111F152930142D303C032C373224355B3D1F11_;
        global $_obfuscated_0D102F2F25402F2208252E09140B010F1B22225C261011_;
        return $_obfuscated_0D15233F5B062C2331163F0B173C1C04403E390B070411_ = $tumeva->query("insert into error (ip,session,tarih,aciklama)values('" . $_obfuscated_0D102F2F25402F2208252E09140B010F1B22225C261011_ . "','" . $_obfuscated_0D1527012C062A3811070B0D090F1D052F2A0C12390D22_ . "','" . $_obfuscated_0D402707111F152930142D303C032C373224355B3D1F11_ . "','" . $detail . "')");
    }
    function Logs($detail)
    {
        global $tumeva;
        global $_obfuscated_0D1527012C062A3811070B0D090F1D052F2A0C12390D22_;
        global $_obfuscated_0D402707111F152930142D303C032C373224355B3D1F11_;
        global $_obfuscated_0D102F2F25402F2208252E09140B010F1B22225C261011_;
        return $_obfuscated_0D15233F5B062C2331163F0B173C1C04403E390B070411_ = $tumeva->query("insert into logs (ip,session,tarih,aciklama)values('" . $_obfuscated_0D102F2F25402F2208252E09140B010F1B22225C261011_ . "','" . $_obfuscated_0D1527012C062A3811070B0D090F1D052F2A0C12390D22_ . "','" . $_obfuscated_0D402707111F152930142D303C032C373224355B3D1F11_ . "','" . NailReplace($detail) . "')");
    }
    function NumberOfRecords($totalcount, $type, $page)
    {
        global $tumeva;
        echo "<small>Toplam <b>" . $totalcount . "</b> <b>" . $type . "</b>.<b>" . $page . "</b>. sayfadasnz.</small>";
    }
    function Administrator($Id, $Id2)
    {
        global $tumeva;
        if ($Id == 0) {
            return "";
        }
        $_obfuscated_0D220B2140362C393C2C21302B161F23340B5C0A223F11_ = $tumeva->get_row("select Id,AdSoyad from yonetici where Id='" . $Id . "'");
        return Limitlee($_obfuscated_0D220B2140362C393C2C21302B161F23340B5C0A223F11_->AdSoyad, 10);
    }
    function FileDown($url, $isim, $yol)
    {
        if (250 < strlen(Slug($isim))) {
            $_obfuscated_0D3D0F0924083217382B3339113F2A0B5C292D0A143022_ = substr(Slug($isim), 0, 250);
        } else {
            $_obfuscated_0D3D0F0924083217382B3339113F2A0B5C292D0A143022_ = Slug($isim);
        }
        $_obfuscated_0D32083D3F17220D191F163B37291A03271A090C291832_ = strtolower(substr(strrchr($url, "."), 1));
        if (strpos($_obfuscated_0D32083D3F17220D191F163B37291A03271A090C291832_, "?")) {
            $_obfuscated_0D382A0E033926100C103B3E09311902351C2A1B295C01_ = explode("?", $_obfuscated_0D32083D3F17220D191F163B37291A03271A090C291832_);
            $_obfuscated_0D32083D3F17220D191F163B37291A03271A090C291832_ = $_obfuscated_0D382A0E033926100C103B3E09311902351C2A1B295C01_[0];
        }
        $_obfuscated_0D020E0B161005035C32341E2F1E21400D0E391F3D2C22_ = $_obfuscated_0D3D0F0924083217382B3339113F2A0B5C292D0A143022_ . "." . $_obfuscated_0D32083D3F17220D191F163B37291A03271A090C291832_;
        if (function_exists("curl_init")) {
            $fp = fopen($yol . $_obfuscated_0D020E0B161005035C32341E2F1E21400D0E391F3D2C22_, "w+");
            $ch = curl_init();
            curl_setopt($ch, CURLOPT_URL, $url);
            curl_setopt($ch, CURLOPT_USERAGENT, "firefox/2.0.11");
            curl_setopt($ch, CURLOPT_FILE, $fp);
            curl_exec($ch);
            curl_close($ch);
            fclose($fp);
        } else {
            copy($url, $yol . $_obfuscated_0D020E0B161005035C32341E2F1E21400D0E391F3D2C22_);
        }
        return $_obfuscated_0D020E0B161005035C32341E2F1E21400D0E391F3D2C22_;
    }
    function VideoThumb($embed)
    {
        $data = [];
        $embed = stripslashes($embed);
        $_obfuscated_0D0D05285C5B061B0805391F141928051031052E301401_ = preg_match("/src=(['\"])?(.*?)\\1/", $embed, $_obfuscated_0D1D01025C23400C3C343B12122E223725012931395B32_);
        $url = $_obfuscated_0D1D01025C23400C3C343B12122E223725012931395B32_[2];
        $_obfuscated_0D3C1F050A291A283C3E1127163F213F2C382D5B323801_ = parse_url($url);
        if ($_obfuscated_0D3C1F050A291A283C3E1127163F213F2C382D5B323801_["host"] === "www.youtube.com") {
            $_obfuscated_0D0F17170234352A280114171C322F5B35271124312732_ = explode("&", $_obfuscated_0D3C1F050A291A283C3E1127163F213F2C382D5B323801_["path"]);
            $_obfuscated_0D0F092538211C361336312B103130321C3E223D400111_ = explode("/", $_obfuscated_0D0F17170234352A280114171C322F5B35271124312732_[0]);
            $data["youtube"] = $_obfuscated_0D0F092538211C361336312B103130321C3E223D400111_[2];
        } else {
            if ($_obfuscated_0D3C1F050A291A283C3E1127163F213F2C382D5B323801_["host"] === "www.metacafe.com") {
                $_obfuscated_0D0F17170234352A280114171C322F5B35271124312732_ = explode("&", $_obfuscated_0D3C1F050A291A283C3E1127163F213F2C382D5B323801_["path"]);
                $_obfuscated_0D0F092538211C361336312B103130321C3E223D400111_ = explode("/", $_obfuscated_0D0F17170234352A280114171C322F5B35271124312732_[0]);
                $data["metacafe"] = $_obfuscated_0D0F092538211C361336312B103130321C3E223D400111_[2];
            }
        }
        return $data;
    }
    function Answer($message, $type)
    {
        echo "<SCRIPT LANGUAGE='JavaScript'>\r\n        setTimeout(function() {\r\n                    \$.bootstrapGrowl('" . $message . "', { type: '" . $type . "' ,align: 'center', offset: {\r\n      from: 'top',\r\n      amount: 300\r\n    }});}, 500);\r\n                \r\n    </SCRIPT>";
        if ($type == "success") {
            header("refresh: 1;");
        } else {
            if ($type == "danger") {
            }
        }
    }
    function DateConvert($date, $saat)
    {
        global $tumeva;
        return date_parse(date("d-m-Y H:i:s", strtotime($date . " " . $saat)));
    }
    function DateTime($date, $saat)
    {
        global $tumeva;
        return date("Y-m-d H:i:s", strtotime($date . " " . $saat));
    }
    function AdminMenuResmi()
    {
        global $tumeva;
        global $_obfuscated_0D2B09062E0D220A0E172F1E3816122B235B1319333332_;
        global $_obfuscated_0D362E2D3D18322D04132F2F1A351514192F1B1B3F0F11_;
        global $_obfuscated_0D23312B291B3D5B053E112F330C181B3C1B07042B2101_;
        global $_obfuscated_0D380906263604270C0F010B2103052A392F25160C3132_;
        if ($_obfuscated_0D23312B291B3D5B053E112F330C181B3C1B07042B2101_ != 0 || $_obfuscated_0D380906263604270C0F010B2103052A392F25160C3132_ != 0) {
            echo "\t\t<li class=\"menu-dropdown classic-menu-dropdown\">\r\n    <a data-hover=\"megamenu-dropdown\" data-close-others=\"true\" data-toggle=\"dropdown\" href=\"index.php?tumeva=tumresmiilanlar&token=' . \$_SESSION['token'] . '\">\r\n        <i class=\"fa fa-angle-down\"></i> Resmi lanlar<span class=\"\"></span>\r\n    </a>\r\n    <ul class=\"dropdown-menu pull-left\">\r\n\t\r\n\t";
            if ($_obfuscated_0D23312B291B3D5B053E112F330C181B3C1B07042B2101_ != 0) {
                echo "      <li>\r\n            <a href=\"index.php?tumeva=resmiilanlar&p=allresmiilanlar&token";
                echo $_SESSION["token"];
                echo "\"><i class=\"\"></i> Tm Resmi lanlar</a>\r\n        </li>\r\n        <li>\r\n            <a href=\"index.php?tumeva=ilanekle&p=allresmiilanlar&token=";
                echo $_SESSION["token"];
                echo "\"><i class=\"\"></i> Resmi lan Ekle</a>\r\n        </li>\r\n\t";
            }
            echo "    ";
            if ($_obfuscated_0D380906263604270C0F010B2103052A392F25160C3132_ != 0) {
                echo "\t\t<li>\r\n            <a href=\"index.php?tumeva=resmireklamlar&p=allresmireklamlar&token=";
                echo $_SESSION["token"];
                echo "\"><i class=\"\"></i> Tm Resmi Reklamlar</a>\r\n        </li>\r\n        <li>\r\n            <a href=\"index.php?tumeva=resmireklamekle&p=allresmireklamlar&token=";
                echo $_SESSION["token"];
                echo "\"><i class=\"\"></i> Resmi Reklam Ekle</a>\r\n        </li>\r\n        ";
            }
            echo "    </ul>\r\n</li>\r\n";
        }
    }
    function AdminMenu($Id)
    {
        global $tumeva;
        global $_obfuscated_0D2B09062E0D220A0E172F1E3816122B235B1319333332_;
        global $_obfuscated_0D362E2D3D18322D04132F2F1A351514192F1B1B3F0F11_;
        global $_obfuscated_0D23312B291B3D5B053E112F330C181B3C1B07042B2101_;
        $_obfuscated_0D120C3224171B0D080E2E24110B3C320A0C11322C0332_[] = $_obfuscated_0D2B09062E0D220A0E172F1E3816122B235B1319333332_->YetkiId;
        $_obfuscated_0D195C34242606292A012B0237212E2127083E080C0132_ = @implode(",", $_obfuscated_0D120C3224171B0D080E2E24110B3C320A0C11322C0332_);
        if (!isset($_GET["tumeva"])) {
            $_GET["tumeva"] = "home";
        }
        $m = $tumeva->get_results("select * from adminmenu where Id!=115 and Id!=110 and Baglanti=" . $Id . " and Durum=1 and Yetki IN (" . $_obfuscated_0D195C34242606292A012B0237212E2127083E080C0132_ . ") ORDER BY Sira desc");
        if ($m) {
            foreach ($m as $x) {
                if ($x->Dosya == $_GET["tumeva"]) {
                    echo "<li class=\"menu-dropdown classic-menu-dropdown\">\r\n\t\t\t\t<a data-close-others=\"true\" href=\"index.php?tumeva=" . $x->Dosya . "&p=" . $x->BaglantiAdi . "&token=" . $_SESSION["token"] . "" . $x->Option . "\">\r\n\t\t\t\t<i class=\"" . $x->Icon . "\"></i> " . $x->Baslik;
                    if ($x->Baglanti == 0) {
                        echo "<span class=\"\"></span>";
                    }
                    echo "</a>";
                } else {
                    if ($x->Baglanti == 0) {
                        echo "<li class=\"menu-dropdown classic-menu-dropdown\">";
                        echo "<a data-hover=\"megamenu-dropdown\" data-close-others=\"true\" data-toggle=\"dropdown\" href=\"index.php?tumeva=" . $x->Dosya . "&p=" . $x->BaglantiAdi . "&token=" . $_SESSION["token"] . "" . $x->Option . "\">";
                    } else {
                        if ($x->Iconsuz == 1) {
                            echo "<li>";
                        } else {
                            echo "<li class=\"dropdown-submenu\">";
                        }
                        if ($x->Id == 3) {
                            echo "<a href=\"index.php?tumeva=" . $x->Dosya . "&p=" . $x->BaglantiAdi . "&token=" . $_SESSION["token"] . "" . $x->Option . "\">";
                        } else {
                            if ($_obfuscated_0D362E2D3D18322D04132F2F1A351514192F1B1B3F0F11_ == 1 && $x->Iconsuz == 0) {
                                echo "<a href=\"javascript:;\" class=\"nav-link nav-toggle \">";
                            } else {
                                echo "<a href=\"index.php?tumeva=" . $x->Dosya . "&p=" . $x->BaglantiAdi . "&token=" . $_SESSION["token"] . "" . $x->Option . "\">";
                            }
                        }
                    }
                    echo "<i class=\"" . $x->Icon . "\"></i> " . $x->Baslik . "";
                    if ($x->Baglanti == 0) {
                        echo "<span class=\"\"></span>";
                    }
                    echo "</a>";
                }
                $a = $tumeva->get_results("select * from adminmenu where Baglanti=" . $x->Id . " and Durum=1 and Yetki IN (" . $_obfuscated_0D195C34242606292A012B0237212E2127083E080C0132_ . ") ORDER BY Sira desc");
                if ($a) {
                    echo "<ul class='dropdown-menu pull-left'>";
                    AdminMenu($x->Id);
                    echo "</ul>";
                }
                echo "</li>";
            }
        }
    }
    function AuthorMenu($Id)
    {
        global $tumeva;
        $m = $tumeva->get_results("select * from yazarmenu where Baglanti=" . $Id . " and Durum=1 ORDER BY Sira desc");
        if ($m) {
            foreach ($m as $x) {
                if ($x->Dosya == $_GET["tumeva"] || $x->Dosya == $_GET["p"]) {
                    echo "<li class=\"active open ms-hover\">\r\n\t\t\t\t<a href=\"index.php?tumeva=" . $x->Dosya . "&p=" . $x->BaglantiAdi . "&token=" . $_SESSION["token"] . "" . $x->Option . "\">\r\n\t\t\t\t<i class=\"" . $x->Icon . "\"></i>\r\n\t\t\t\t<span class=\"title\">" . $x->Baslik . "</span>";
                    if ($x->Baglanti == 0) {
                        echo "<span class=\"arrow\"></span>";
                    }
                    echo "</a>";
                } else {
                    echo "<li>\r\n\t\t\t\t<a href=\"index.php?tumeva=" . $x->Dosya . "&p=" . $x->BaglantiAdi . "&token=" . $_SESSION["token"] . "" . $x->Option . "\">\r\n\t\t\t\t<i class=\"" . $x->Icon . "\"></i>\r\n\t\t\t\t<span class=\"title\">" . $x->Baslik . "</span>";
                    if ($x->Baglanti == 0) {
                        echo "<span class=\"arrow\"></span>";
                    }
                    echo "</a>";
                }
                $a = $tumeva->get_results("select * from yazarmenu where Baglanti=" . $x->Id . " and Durum=1 ORDER BY Sira desc");
                if ($a) {
                    echo "<ul class='sub-menu'>";
                    AuthorMenu($x->Id);
                    echo "</ul>";
                }
                echo "</li>";
            }
        }
    }
    echo "\r\n\r\n    ";
    function AllCommentDelete($type, $id)
    {
        global $tumeva;
        if ($id != 0) {
            if (is_array($id)) {
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) {
                    if ($type == 1) {
                        $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId from yorumlar where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                        $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,HaberBaslik from haberler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'");
                        Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->HaberBaslik . " haberine yaplan " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . " Idli yorum silindi.");
                        $_obfuscated_0D2D082C03300F1228122A0B19060E22180D25071A0B01_ = $tumeva->query("delete from yorumlar where Tip='" . $type . "' and Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    } else {
                        if ($type == 2) {
                            $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId from yorumlar where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                            $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,VideoBaslik from videolar where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'");
                            Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->VideoBaslik . " videosuna yaplan " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . " Idli yorum silindi.");
                            $_obfuscated_0D2D082C03300F1228122A0B19060E22180D25071A0B01_ = $tumeva->query("delete from yorumlar where Tip='" . $type . "' and Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                        } else {
                            if ($type == 3) {
                                $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId from yorumlar where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                                $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,HaberBaslik from makaleler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'");
                                Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->HaberBaslik . " makalesine yaplan " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . " Idli yorum silindi.");
                                $_obfuscated_0D2D082C03300F1228122A0B19060E22180D25071A0B01_ = $tumeva->query("delete from yorumlar where Tip='" . $type . "' and Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                            } else {
                                if ($type == 4) {
                                    $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId from yorumlar where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                                    $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,AnketBaslik from anketler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'");
                                    Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->AnketBaslik . " anketine yaplan " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . " Idli yorum silindi.");
                                    $_obfuscated_0D2D082C03300F1228122A0B19060E22180D25071A0B01_ = $tumeva->query("delete from yorumlar where Tip='" . $type . "' and Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                                }
                            }
                        }
                    }
                }
            }
            if ($_obfuscated_0D2D082C03300F1228122A0B19060E22180D25071A0B01_) {
                Answer("Seili yorumlar kalc olarak silindi.", "success");
                echo Redirect(2, $_SERVER["HTTP_REFERER"]);
            } else {
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
            }
        } else {
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
        }
        return NULL;
    }
    function AllCommentConfirm($type, $id, $AdminId)
    {
        global $tumeva;
        if ($id != 0) {
            if (is_array($id)) {
                foreach ($id as $_obfuscated_0D403C1026320E363D051811102140300C091912022622_) {
                    if ($type == 1) {
                        $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                        $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,HaberBaslik from haberler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'");
                        Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->HaberBaslik . " haberine yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum onayland.");
                        $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay=1, Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                    } else {
                        if ($type == 2) {
                            $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                            $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,VideoBaslik from videolar where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'");
                            Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->VideoBaslik . " videosuna yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum onayland.");
                            $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay=1, Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                        } else {
                            if ($type == 3) {
                                $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                                $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,HaberBaslik from makaleler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'");
                                Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->HaberBaslik . " makalesine yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum onayland.");
                                $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay=1, Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                            } else {
                                if ($type == 4) {
                                    $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                                    $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,AnketBaslik from anketler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'");
                                    Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->AnketBaslik . " anketine yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum onayland.");
                                    $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay=1, Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                                }
                            }
                        }
                    }
                }
            }
            if ($_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_) {
                Answer("Seili yorumlar onayland.", "success");
                echo Redirect(3, $_SERVER["HTTP_REFERER"]);
            } else {
                Answer("lem Baarsz.Ltfen onaylamak istediiniz yorumlar seiniz.", "danger");
            }
        } else {
            Answer("lem Baarsz.Ltfen onaylamak istediiniz yorumlar seiniz.", "danger");
        }
    }
    function AllCommentTransport($type, $id, $AdminId)
    {
        global $tumeva;
        if ($id != 0) {
            if (is_array($id)) {
                foreach ($id as $_obfuscated_0D403C1026320E363D051811102140300C091912022622_) {
                    if ($type == 1) {
                        $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                        $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,HaberBaslik from haberler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'");
                        Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->HaberBaslik . " haberine yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum arive tand.");
                        $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay='2', Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                    } else {
                        if ($type == 2) {
                            $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                            $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,VideoBaslik from videolar where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'");
                            Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->VideoBaslik . " videosuna yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum arive tand.");
                            $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay='2', Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                        } else {
                            if ($type == 3) {
                                $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                                $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,HaberBaslik from makaleler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'");
                                Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->HaberBaslik . " makalesine yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum arive tand.");
                                $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay='2', Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                            } else {
                                if ($type == 4) {
                                    $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_ = $tumeva->get_row("select Id,VeriId,Tip,Admin from yorumlar where Tip='" . $type . "' and Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                                    $_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_ = $tumeva->get_row("select Id,AnketBaslik from anketler where Id ='" . $_obfuscated_0D26320136061F1D112C1E1907082A282B1A19345C2301_->VeriId . "'");
                                    Logs($_obfuscated_0D0F19402B0B322A3B0E060C1C400A343315280D3B3811_->AnketBaslik . " anketine yaplan " . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . " Idli yorum arive tand.");
                                    $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("update yorumlar set Onay='2', Admin='" . $AdminId . "' where Tip='" . $type . "' and Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
                                }
                            }
                        }
                    }
                }
            }
            if ($_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_) {
                Answer("Seili yorumlar arive tand.", "success");
                echo Redirect(2, $_SERVER["HTTP_REFERER"]);
            } else {
                Answer("lem Baarsz.Ltfen arive tamak istediiniz yorumlar seiniz.", "danger");
            }
        } else {
            Answer("lem Baarsz.Ltfen arive tamak istediiniz yorumlar seiniz.", "danger");
        }
    }
    function ArticleConfirm($id, $AdminId)
    {
        global $tumeva;
        if (is_array($id)) {
            foreach ($id as $_obfuscated_0D403C1026320E363D051811102140300C091912022622_) {
                $_obfuscated_0D1C0D121E3E10352E1835142707080D35130706213401_ = $tumeva->query("update makaleler set Durum=1, Admin='" . $AdminId . "' where Id='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
            }
        }
        if ($_obfuscated_0D1C0D121E3E10352E1835142707080D35130706213401_) {
            Answer("Seili makaleler onayland.", "success");
            $_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_ = $tumeva->get_row("Select * from makaleler where Id ='" . $_obfuscated_0D403C1026320E363D051811102140300C091912022622_ . "'");
            Logs($_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_->HaberBaslik . " Makale Onayland.");
        } else {
            Answer("lem Baarsz.Ltfen onaylamak istediiniz makaleleri seiniz.", "danger");
            return NULL;
        }
    }
    function AllDeleteData($table, $id)
    {
        global $tumeva;
        if (is_array($id)) {
            foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) {
                $_obfuscated_0D010D3E025C2F1B3D3829101D3509112B1803361A0D11_ = $tumeva->query("delete from " . $table . " where Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                $_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_ = $tumeva->get_row("Select * from " . $table . " where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                Logs($table . " tablosundaki " . $_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_ . " Idli Seili Veriler Silindi.");
            }
        }
        if ($_obfuscated_0D010D3E025C2F1B3D3829101D3509112B1803361A0D11_) {
            echo Answer("Seili veriler silindi.", "success");
            echo Redirect(1, $_SERVER["HTTP_REFERER"]);
        } else {
            echo Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
            return NULL;
        }
    }
    function AllTruncate($table)
    {
        global $tumeva;
        $_obfuscated_0D010D3E025C2F1B3D3829101D3509112B1803361A0D11_ = $tumeva->query("TRUNCATE TABLE " . $table . "");
        echo Answer("Tm Kaytlar Silindi.", "success");
        echo Redirect(1, $_SERVER["HTTP_REFERER"]);
    }
    function InsertNo($tablo)
    {
        return "select max(Sira) AS Sira from " . $tablo;
    }
    function AdminNewsCategories($kategoriid, $level)
    {
        global $tumeva;
        $a = [];
        if ($_obfuscated_0D242C2105245C08400A5C173D242F185B3210393D1A32_ = $tumeva->get_results("SELECT Id,Baslik FROM haberkategori WHERE Id<>0 and Baglanti=" . $kategoriid . " ORDER BY Baslik", ARRAY_A)) {
            foreach ($_obfuscated_0D242C2105245C08400A5C173D242F185B3210393D1A32_ as $_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_) {
                $_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_[0] = $_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_["Id"];
                $_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_[1] = $_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_["Baslik"];
                $_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_[2] = $level;
                $a[] = $_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_;
                $b = AdminNewsCategories($_obfuscated_0D0D2312031B271E131F363203362F2B17221E355B1D11_[0], $level + 1);
                $count = count($b);
                if (0 < $count) {
                    for ($j = 0; $j < $count; $j++) {
                        $a[] = $b[$j];
                    }
                }
            }
        }
        return $a;
    }
    function AllDeleteArticles($id)
    {
        global $tumeva;
        if ($id != 0) {
            if (is_array($id)) {
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) {
                    $x = $tumeva->get_row("Select Id,HaberBaslik from makaleler where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D5C0C111C1E161C0D0B303D282B0F2D2E073410352822_ = $tumeva->query("UPDATE makaleler SET Durum = 4 WHERE Id = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D3C1A372E120F2C190A30283D30191F321E042E022101_ = $tumeva->query("UPDATE yorumlar SET Onay = 4 WHERE Tip = 3 and VeriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_ = $tumeva->get_row("select Id,Durum,Resim,Thumb,HaberBaslik,Yazar from makaleler where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    Logs($_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_->HaberBaslik . " Makale Silindi.");
                }
            }
            if ($_obfuscated_0D5C0C111C1E161C0D0B303D282B0F2D2E073410352822_) {
                Answer("Seili Makaleler Silindi.", "success");
            } else {
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
            }
        } else {
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
        }
    }
    function AllDeleteArticleDelete($id)
    {
        global $tumeva;
        if ($id != 0) {
            if (is_array($id)) {
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) {
                    $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_ = $tumeva->get_row("select * from makaleler where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    @unlink("../images/makaleler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Resim);
                    @unlink("../images/makaleler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->ResimWebp);
                    $x = $tumeva->query("DELETE FROM makaleler WHERE Id = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . "");
                    $b = $tumeva->query("DELETE FROM yorumlar WHERE Tip = 3 and VeriId = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . "");
                    Logs($_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->HaberBaslik . " Makale Kalc Olarak Silindi.");
                }
            }
            if ($_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_) {
                Answer("Seili Makaleler Kalc Olarak Silindi.", "success");
            } else {
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
            }
        } else {
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
        }
    }
    function AllDeleteNews($id)
    {
        global $tumeva;
        global $_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_;
        global $_obfuscated_0D391C0E1C375C052C14370607132F17221013123C3901_;
        global $_obfuscated_0D1435382B32280517091033395B1F35172A3B34160822_;
        $_obfuscated_0D223F19180731250736102B193816192805373F370822_ = $_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_;
        if ($_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_ <= $_obfuscated_0D223F19180731250736102B193816192805373F370822_) {
            if (0 < $id && $id <= $_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_) {
                $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler2";
            } else {
                if ($_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_ < $id && $id <= $_obfuscated_0D391C0E1C375C052C14370607132F17221013123C3901_) {
                    $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler3";
                } else {
                    if ($_obfuscated_0D391C0E1C375C052C14370607132F17221013123C3901_ < $id && $id <= $_obfuscated_0D1435382B32280517091033395B1F35172A3B34160822_) {
                        $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler4";
                    } else {
                        $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler";
                    }
                }
            }
        } else {
            $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler";
        }
        if ($id != 0) {
            if (is_array($id)) {
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) {
                    $n = $tumeva->get_row("select * from " . $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ . " where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_ = $tumeva->query("UPDATE " . $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ . " SET Durum = 4 WHERE Id = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $b = $tumeva->query("UPDATE yorumlar SET Onay = 4 WHERE Tip=1 and VeriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $d = $tumeva->query("UPDATE haberresim SET Durum = 4 WHERE HaberId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D0B07381729041102190C22282D2D5B31392C2F243E11_ = $tumeva->query("UPDATE metakey SET Durum = 4 WHERE VeriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D10162C29370A23300C182B0E303E381225180B171C32_ = $tumeva->query("UPDATE haberresim SET Durum = 4 WHERE HaberId= '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $j = $tumeva->query("DELETE FROM facebookinstantarticles WHERE Type=1 and DataId = " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "");
                    Logs($n->HaberBaslik . " - Haber Silindi.");
                }
            }
            if ($_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_) {
                Answer("Seili Haberler Silindi.", "success");
            } else {
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
            }
        } else {
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
        }
    }
    function AllDeleteNewsDelete($id)
    {
        global $tumeva;
        global $_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_;
        global $_obfuscated_0D391C0E1C375C052C14370607132F17221013123C3901_;
        global $_obfuscated_0D1435382B32280517091033395B1F35172A3B34160822_;
        $_obfuscated_0D223F19180731250736102B193816192805373F370822_ = $_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_;
        if ($_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_ <= $_obfuscated_0D223F19180731250736102B193816192805373F370822_) {
            if (0 < $id && $id <= $_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_) {
                $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler2";
            } else {
                if ($_obfuscated_0D07140325192E2E0F311E301821250C1B0402293C2411_ < $id && $id <= $_obfuscated_0D391C0E1C375C052C14370607132F17221013123C3901_) {
                    $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler3";
                } else {
                    if ($_obfuscated_0D391C0E1C375C052C14370607132F17221013123C3901_ < $id && $id <= $_obfuscated_0D1435382B32280517091033395B1F35172A3B34160822_) {
                        $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler4";
                    } else {
                        $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler";
                    }
                }
            }
        } else {
            $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ = "haberler";
        }
        if ($id != 0) {
            if (is_array($id)) {
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) {
                    $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_ = $tumeva->get_row("select * from " . $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ . " where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Resim);
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->ResimWebp);
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Thumb);
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->ThumbWebp);
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->MResim);
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->MResimWebp);
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->DResim);
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->DResimWebp);
                    @unlink("../images/haberler/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->AMPWebp);
                    $x = $tumeva->query("DELETE FROM " . $_obfuscated_0D33050D060B2225231B263334231E100E300C1B093932_ . " WHERE Id = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . "");
                    $b = $tumeva->query("DELETE FROM yorumlar WHERE Tip=1 and VeriId = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . "");
                    $d = $tumeva->query("DELETE FROM haberresim WHERE HaberId = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . "");
                    $_obfuscated_0D0B07381729041102190C22282D2D5B31392C2F243E11_ = $tumeva->query("DELETE FROM metakey WHERE Type=1 and VeriId = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . "");
                    $_obfuscated_0D231F5B121A3314330D06360C070E2C0D161726312832_ = $tumeva->query("DELETE FROM seo WHERE Type=1 and VeriId = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . "");
                    $j = $tumeva->query("DELETE FROM facebookinstantarticles WHERE Type=1 and DataId = " . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . "");
                    $_obfuscated_0D10162C29370A23300C182B0E303E381225180B171C32_ = $tumeva->get_row("select * from haberresim where HaberId ='" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Id . "'");
                    Logs($_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->HaberBaslik . " Haber Kalc Olarak Silindi.");
                }
            }
            if ($_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_) {
                Answer("Seili Haberler Kalc Olarak Silindi.", "success");
            } else {
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
            }
        } else {
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
        }
    }
    function AllDeleteVideosDelete($id)
    {
        global $tumeva;
        if ($id != 0) {
            if (is_array($id)) {
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) {
                    $x = $tumeva->get_row("select * from videolar where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D1F322E1A345B2D0D0829353C04125C395C2E3C3C0D32_ = Logs($x->VideoBaslik . " Video Silindi.");
                    @unlink("../images/video/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Resim);
                    @unlink("../images/video/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->ResimWebp);
                    @unlink("../images/video/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Thumb);
                    @unlink("../images/video/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->ThumbWebp);
                    @unlink("../images/videogaleri/" . $_obfuscated_0D232713362C285C5C0236142F34402F1D3B2D1C252111_->Flv);
                    $_obfuscated_0D0F0B3E35380314365C2F0F3D01373C3D2525391E1722_ = $tumeva->query("DELETE FROM videolar WHERE Id = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D29091D272D3D3F2B21320A341C141831120B26350422_ = $tumeva->query("DELETE FROM facebookinstantarticles WHERE Type = 2 and DataId = " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "");
                    $_obfuscated_0D2A3C0327151026123F26343D5C3032392A383E013401_ = $tumeva->query("DELETE FROM yorumlar WHERE Tip = 2 and VeriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D1D391F153E2C2D011A223E22153D0B381D051A1E3C11_ = $tumeva->query("DELETE FROM metakey WHERE Type = 2 and VeriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                }
            }
            if ($_obfuscated_0D0F0B3E35380314365C2F0F3D01373C3D2525391E1722_) {
                Answer("Seili Videolar Kalc Olarak Silindi.", "success");
            } else {
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
            }
        } else {
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
        }
    }
    function AllDeleteVideos($id)
    {
        global $tumeva;
        if ($id != 0) {
            if (is_array($id)) {
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) {
                    $x = $tumeva->get_row("select * from videolar where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D1F322E1A345B2D0D0829353C04125C395C2E3C3C0D32_ = Logs($x->VideoBaslik . " Video Silindi.");
                    $_obfuscated_0D0F0B3E35380314365C2F0F3D01373C3D2525391E1722_ = $tumeva->query("UPDATE videolar SET Durum = 4 WHERE Id = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D29091D272D3D3F2B21320A341C141831120B26350422_ = $tumeva->query("DELETE FROM facebookinstantarticles WHERE Type=2 and DataId = " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "");
                    $_obfuscated_0D2A3C0327151026123F26343D5C3032392A383E013401_ = $tumeva->query("UPDATE yorumlar SET Onay = 4 WHERE Tip =2 and VeriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D1D391F153E2C2D011A223E22153D0B381D051A1E3C11_ = $tumeva->query("UPDATE metakey SET Durum = 4 WHERE Type = 2 and VeriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                }
            }
            if ($_obfuscated_0D0F0B3E35380314365C2F0F3D01373C3D2525391E1722_) {
                Answer("Seili Videolar Silindi.", "success");
            } else {
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
            }
        } else {
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
        }
    }
    function AllDeleteSurvey($id)
    {
        global $tumeva;
        if ($id != 0) {
            if (is_array($id)) {
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) {
                    $_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_ = $tumeva->get_row("Select Id,AnketSoru from anket where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    Logs($_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_->AnketSoru . " Anket Silindi.");
                    $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("delete FROM anketoylar WHERE Anket='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("delete FROM anket WHERE Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                }
            }
            if ($_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_) {
                Answer("Seili Anketler Silindi.", "success");
            } else {
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
            }
        } else {
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
        }
    }
    function AllDeleteBiography($id)
    {
        global $tumeva;
        if ($id != 0) {
            if (is_array($id)) {
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) {
                    $_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_ = $tumeva->get_row("Select * from biyografiler where Id ='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    Logs($_obfuscated_0D073D2B0A1A241E2921140C1F5B1F0D3D220C13023632_->AdSoyad . " Biyografiler Silindi.");
                    $_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_ = $tumeva->query("delete FROM biyografiler WHERE Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                }
            }
            if ($_obfuscated_0D173D1D35183E2C121226220C23090B342F2604331522_) {
                Answer("Seili Biyografiler Silindi.", "success");
            } else {
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
            }
        } else {
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
        }
    }
    function AllDeleteGalleryDelete($id)
    {
        global $tumeva;
        if ($id != 0) {
            if (is_array($id)) {
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) {
                    $x = $tumeva->get_row("select * from galeriler where Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    Logs($x->Baslik . " Foto Galeri Silindi.");
                    @unlink("../images/galeri/" . $x->Resim);
                    @unlink("../images/galeri/" . $x->ResimWebp);
                    @unlink("../images/galeri/" . $x->Thumb);
                    @unlink("../images/galeri/" . $x->ThumbWebp);
                    $_obfuscated_0D0B07381729041102190C22282D2D5B31392C2F243E11_ = $tumeva->get_row("select * from galeriresim where GaleriId='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    @unlink("../images/galeri/" . $_obfuscated_0D0B07381729041102190C22282D2D5B31392C2F243E11_->Resim);
                    @unlink("../images/galeri/" . $_obfuscated_0D0B07381729041102190C22282D2D5B31392C2F243E11_->ResimWebp);
                    $_obfuscated_0D23285B0D2732230D5B0C250D1B1D12350802085C3011_ = $tumeva->query("DELETE FROM galeriler WHERE Id = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D5C0C111C1E161C0D0B303D282B0F2D2E073410352822_ = $tumeva->query("DELETE FROM galeriresim WHERE GaleriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D3C1A372E120F2C190A30283D30191F321E042E022101_ = $tumeva->query("DELETE FROM facebookinstantarticles WHERE Type=4 and DataId = " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "");
                }
            }
            if ($_obfuscated_0D23285B0D2732230D5B0C250D1B1D12350802085C3011_) {
                Answer("Seili Foto Galeriler Kalc Olarak Silindi.", "success");
            } else {
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
            }
        } else {
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
        }
    }
    function AllDeleteGalleries($id)
    {
        global $tumeva;
        if ($id != 0) {
            if (is_array($id)) {
                foreach ($id as $_obfuscated_0D37013233091004040B36081B29390F32241726382611_) {
                    $x = $tumeva->get_row("select * from galeriler where Id='" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    Logs($x->Baslik . " Foto Galeri Silindi.");
                    $_obfuscated_0D23285B0D2732230D5B0C250D1B1D12350802085C3011_ = $tumeva->query("UPDATE galeriler SET Durum = 4 WHERE Id = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D5C0C111C1E161C0D0B303D282B0F2D2E073410352822_ = $tumeva->query("UPDATE galeriresim SET Durum = 4 WHERE GaleriId = '" . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "'");
                    $_obfuscated_0D3C1A372E120F2C190A30283D30191F321E042E022101_ = $tumeva->query("DELETE FROM facebookinstantarticles WHERE Type=4 and DataId = " . $_obfuscated_0D37013233091004040B36081B29390F32241726382611_ . "");
                }
            }
            if ($_obfuscated_0D23285B0D2732230D5B0C250D1B1D12350802085C3011_) {
                Answer("Seili Foto Galeriler Silindi.", "success");
            } else {
                Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
            }
        } else {
            Answer("lem Baarsz.Ltfen silmek istediiniz verileri seiniz.", "danger");
        }
    }
    function DataCount($Table)
    {
        global $tumeva;
        return $_obfuscated_0D3F292A1408080B155C1D362C1B320F06082B2B3E3622_ = $tumeva->get_var("select count(Id) as toplam from " . $Table);
    }
    echo "    ";
    function Delegation($Delegation)
    {
        global $Delegation;
        global $tumeva;
        echo "        ";
        if ($Delegation == "1") {
            echo "        <div class=\"col-md-3\">\r\n            <label class=\"control-label\">Ynetici</label>\r\n\r\n            <select name=\"Admin\" id=\"Yazar\" class=\"form-control select2me\">\r\n                <option value=\"\">--- Ynetici Seiniz ---</option>\r\n                ";
            $y = $tumeva->get_results("select Id,AdSoyad from yonetici order by AdSoyad asc");
            if ($y) {
                foreach ($y as $x) {
                    echo "<option value=" . $x->Id . ">" . $x->AdSoyad . "</option>";
                }
            }
            echo "            </select>\r\n\r\n        </div>\r\n    ";
        } else {
            echo "        <input class=\"form-control\" type=\"hidden\" name=\"Admin\" value=\"";
            echo $AdminId;
            echo "\">\r\n\r\n    ";
        }
        return NULL;
    }
    function Detail($tablo, $Id)
    {
        global $tumeva;
        return $tumeva->get_row("select * from " . $tablo . " where Id=" . intval($Id));
    }
    function Find($tablo, $Id)
    {
        global $tumeva;
        return $tumeva->get_row("select * from " . $tablo . " where Id=" . intval($Id));
    }
    function AdminPaging($toplam_kayit, $mevcut_sayfa, $grup, $yol, $yol_devam)
    {
        $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_ = ceil($toplam_kayit / $grup);
        $min = 1;
        echo "<ul class=\"pagination\">";
        if (1 < $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_) {
            if (1 < $mevcut_sayfa - 5) {
                $_obfuscated_0D1C363D10141E220E170413071C40250F1B0604101B22_ = $mevcut_sayfa - 4;
            } else {
                $_obfuscated_0D1C363D10141E220E170413071C40250F1B0604101B22_ = $min;
            }
            if ($mevcut_sayfa + 5 < $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_) {
                $_obfuscated_0D18400E3E0E123F262A322719370A053E3B2D31043032_ = $mevcut_sayfa + 4;
            } else {
                $_obfuscated_0D18400E3E0E123F262A322719370A053E3B2D31043032_ = $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_;
            }
            if (1 < $mevcut_sayfa) {
                echo "<li><a class=\"pagelink\" href=\"" . $yol . ($mevcut_sayfa - 1) . $yol_devam . "\"> nceki <i class=\"fa fa-angle-left\"></i>\r\n</a></li>";
            }
            if (1 < $_obfuscated_0D1C363D10141E220E170413071C40250F1B0604101B22_) {
                echo "<li><a class=\"pagelink\" href=\"" . $yol . $yol_devam . "1" . "\">1</a></li>";
            }
            for ($i = $_obfuscated_0D1C363D10141E220E170413071C40250F1B0604101B22_; $i <= $_obfuscated_0D18400E3E0E123F262A322719370A053E3B2D31043032_; $i++) {
                if ($mevcut_sayfa == $i) {
                    echo "<li><a class=\"pagelink\" href=\"#\"><b>" . $i . "</b></a></li>";
                } else {
                    echo "<li><a class=\"pagelink\" href=\"" . $yol . $i . $yol_devam . "\">" . $i . "</a></li>";
                }
            }
            if ($_obfuscated_0D18400E3E0E123F262A322719370A053E3B2D31043032_ < $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_) {
                echo "<li><a class=\"pagelink\" href=\"" . $yol . $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_ . $yol_devam . "\">" . $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_ . "</a></li>";
            }
            if ($mevcut_sayfa < $_obfuscated_0D2B30061C2F2B5B222D32242E1E0F3203231B02092A32_) {
                echo "<li><a class=\"pagelink\" href=\"" . $yol . ($mevcut_sayfa + 1) . $yol_devam . "\"> Sonraki <i class=\"fa fa-angle-right\"></i>\r\n</a></li>";
            }
        }
        echo "</ul>";
    }
    function MetaKey($NewsMetaKey)
    {
        global $_obfuscated_0D18221B0C0E36171703081A1E3325172E3D2140031C11_;
        if ($_obfuscated_0D18221B0C0E36171703081A1E3325172E3D2140031C11_ == "1") {
            $_obfuscated_0D23233F14402B25213B14352735092805402226221722_ = explode(",", $NewsMetaKey);
            $_obfuscated_0D5B0E29353C17282C5C0A0128040714073B2832335C11_ = count($_obfuscated_0D23233F14402B25213B14352735092805402226221722_);
            $i = 0;
            if ($i < $_obfuscated_0D5B0E29353C17282C5C0A0128040714073B2832335C11_) {
            } else {
                return $_obfuscated_0D23233F14402B25213B14352735092805402226221722_[$i];
            }
        }
        return "";
    }
    function ReviewCount($Id, $tip)
    {
        global $tumeva;
        return $tumeva->get_var("SELECT COUNT(Id) FROM yorumlar WHERE Tip='" . $tip . "' and VeriId='" . $Id . "' and Onay=1");
    }
} else {
    $license_server = "http://api.tumevabilisim.com/prime/prime-licence.php";
    $dirpath = dirname(__FILE__);
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") {
        $DomainName = substr($_SERVER["HTTP_HOST"], 4);
    } else {
        $DomainName = $_SERVER["HTTP_HOST"];
    }
    $license_info = ["domain" => $DomainName, "lisans" => $licensekey, "ip" => isset($_SERVER["SERVER_ADDR"]) ? $_SERVER["SERVER_ADDR"] : $_SERVER["LOCAL_ADDR"], "dir" => $dirpath, "status" => $WhmcsLicenseStatusTumeva, "datetime" => date("Y-m-d H:i:s")];
    $postfields = json_encode($license_info);
    $headers = ["Content-Type: application/json"];
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $license_server);
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $postfields);
    $result = curl_exec($ch);
    curl_close($ch);
    if ($result === false) {
        exit("Lisans Sunucusuna Balanlamad HATA: " . curl_error($ch));
    }
    $controllers = json_decode($result);
    $Domainx = explode(",", $controllers->validdomain);
    if ($DomainName == $Domainx[0] && $licensekey == $controllers->licensekey && $controllers->status == "Active" || $controllers->status == "Reissued") {
        $localkeyx = base64_encode($result);
        $localkeyxx = strrev($localkeyx);
        $localkey = wordwrap($localkeyxx, 30, "PRIME-LICENCE-2021", true);
        $UpdateLicenceDate = $tumeva->get_row("update lisans set Lokal='" . $localkey . "', Status='" . Security($controllers->status) . "',WhmcsDomain='" . Security($Domainx[0]) . "' where Id='1'");
        $InstanceCache->deleteItem("lisans");
    } else {
        $message = "<strong>mySQL servisi ya da Lisans Problemi!</strong><br><br>\r\n\t\t- Sunucunuzda mySQL servisinin aktif olduundan ve veritaban balant bilgilerinizin doru olduundan emin olunuz.<br><br>\r\n\t\t- mySQL servisi aktif ise lisans anahtarnz giriniz.<br><br>\r\n\t\t- mySQL servisi aktif & lisans anahtarnz doru olduu halde hala bu ekran gryorsanz bizimle iletiime geiniz.<br>\r\n\t\t<br>Mteri Panelinizde; <b>Hizmetleriniz</b>'den <em><b>lisans anahtarna</b></em> eriim salayabilirsiniz.<br>";
        $error = true;
        echo "\r\n        <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css\"\r\n              integrity=\"sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7\"\r\n              crossorigin=\"anonymous\">\r\n        <style type=\"text/css\">\r\n            .alert {\r\n                margin-bottom: 20;\r\n            }\r\n        </style>\r\n        <div class=\"container\">\r\n            <div class=\"row\">\r\n                <div class=\"col-md-offset-3 col-md-6\">\r\n                    <div class=\"jumbotron\" style=\"margin-top: 60px;\">\r\n                        <div class=\"alert alert-danger\" role=\"alert\">";
        echo $message;
        echo "</div>\r\n                        <form action=\"\" method=\"post\">\r\n                        <input type=\"hidden\" name=\"token\" value=\"";
        echo $_SESSION["token"];
        echo "\"/>\r\n                            <div class=\"form-group\">\r\n                                <label for=\"lisans\">Lisans</label>\r\n                                <input type=\"text\" class=\"form-control\" name=\"lisans\">\r\n                            </div>\r\n\r\n                            <button type=\"submit\" class=\"btn btn-block btn-primary\">Dorula</button>\r\n                        </form>\r\n                    </div>\r\n                    <div class=\"alert\" role=\"alert\"><br><br></div>\r\n                </div>\r\n            </div>\r\n        </div>\r\n\r\n\r\n        ";
        exit;
    }
}
function Para($para = NULL)
{
    $para = @number_format($para, 2, ".", "");
    return $para;
}
function SendTicket($subject, $message, $adminpanel)
{
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_;
    global $WhmcsLicenseTumeva;
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") {
        $DomainName = substr($_SERVER["HTTP_HOST"], 4);
    } else {
        $DomainName = $_SERVER["HTTP_HOST"];
    }
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriTicketGonder.php");
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["subject" => $subject . " / " . $DomainName, "domainname" => $DomainName, "message" => $message, "clientid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "licensekey" => $WhmcsLicenseTumeva, "customfields" => $adminpanel]));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch);
    curl_close($ch);
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true);
}
function SendTicketReply($ticketid, $message)
{
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_;
    global $WhmcsLicenseTumeva;
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") {
        $DomainName = substr($_SERVER["HTTP_HOST"], 4);
    } else {
        $DomainName = $_SERVER["HTTP_HOST"];
    }
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriTicketYanitGonder.php");
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["ticketid" => $ticketid, "clientid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "domainname" => $DomainName, "message" => $message, "licensekey" => $WhmcsLicenseTumeva]));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch);
    curl_close($ch);
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true);
}
function ListTicket()
{
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_;
    global $WhmcsLicenseTumeva;
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") {
        $DomainName = substr($_SERVER["HTTP_HOST"], 4);
    } else {
        $DomainName = $_SERVER["HTTP_HOST"];
    }
    $id = "https://my.tumeva.com/tumevaapi/TumevaMusteriTicketlar.php";
    $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ = "cache/";
    $_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_ = $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ . md5($id);
    if (file_exists($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_) && time() - 84600 < filemtime($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_)) {
        return $data = json_decode(file_get_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_), true);
    }
    $_obfuscated_0D11370D105B1D17052A3604075C2B0617235C0B121911_ = curl_init();
    curl_setopt($_obfuscated_0D11370D105B1D17052A3604075C2B0617235C0B121911_, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriTicketlar.php");
    curl_setopt($_obfuscated_0D11370D105B1D17052A3604075C2B0617235C0B121911_, CURLOPT_POST, 1);
    curl_setopt($_obfuscated_0D11370D105B1D17052A3604075C2B0617235C0B121911_, CURLOPT_POSTFIELDS, http_build_query(["clientid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva, "limitnum" => 5]));
    curl_setopt($_obfuscated_0D11370D105B1D17052A3604075C2B0617235C0B121911_, CURLOPT_RETURNTRANSFER, 1);
    $_obfuscated_0D2B1F2B5B2522060B5B1F17071C2B330221313B041C11_ = curl_exec($_obfuscated_0D11370D105B1D17052A3604075C2B0617235C0B121911_);
    curl_close($_obfuscated_0D11370D105B1D17052A3604075C2B0617235C0B121911_);
    file_put_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_, $_obfuscated_0D2B1F2B5B2522060B5B1F17071C2B330221313B041C11_);
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D2B1F2B5B2522060B5B1F17071C2B330221313B041C11_, true);
}
function ListInvoces()
{
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_;
    global $WhmcsLicenseTumeva;
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") {
        $DomainName = substr($_SERVER["HTTP_HOST"], 4);
    } else {
        $DomainName = $_SERVER["HTTP_HOST"];
    }
    $id = "https://my.tumeva.com/tumevaapi/TumevaMusteriFaturalar.php";
    $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ = "cache/";
    $_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_ = $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ . md5($id);
    if (file_exists($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_) && time() - 84600 < filemtime($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_)) {
        return $data = json_decode(file_get_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_), true);
    }
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriFaturalar.php");
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["userid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva, "limitnum" => 5]));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch);
    curl_close($ch);
    file_put_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_, $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_);
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true);
}
function ListClientsLicences()
{
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_;
    global $WhmcsLicenseTumeva;
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") {
        $DomainName = substr($_SERVER["HTTP_HOST"], 4);
    } else {
        $DomainName = $_SERVER["HTTP_HOST"];
    }
    $id = "https://my.tumeva.com/tumevaapi/TumevaMusteriLisanslar.php";
    $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ = "cache/";
    $_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_ = $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ . md5($id);
    if (file_exists($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_) && time() - 84600 < filemtime($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_)) {
        return $data = json_decode(file_get_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_), true);
    }
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriLisanslar.php");
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["clientid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva]));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch);
    curl_close($ch);
    file_put_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_, $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_);
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true);
}
function ListClientsProducts()
{
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_;
    global $WhmcsLicenseTumeva;
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") {
        $DomainName = substr($_SERVER["HTTP_HOST"], 4);
    } else {
        $DomainName = $_SERVER["HTTP_HOST"];
    }
    $id = "https://my.tumeva.com/tumevaapi/TumevaMusteriHizmetler.php";
    $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ = "cache/";
    $_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_ = $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ . md5($id);
    if (file_exists($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_) && time() - 84600 < filemtime($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_)) {
        return $data = json_decode(file_get_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_), true);
    }
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriHizmetler.php");
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["clientid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva]));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch);
    curl_close($ch);
    file_put_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_, $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_);
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true);
}
function ListClientsAddons($serviceid)
{
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_;
    global $WhmcsLicenseTumeva;
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") {
        $DomainName = substr($_SERVER["HTTP_HOST"], 4);
    } else {
        $DomainName = $_SERVER["HTTP_HOST"];
    }
    $id = "https://my.tumeva.com/tumevaapi/TumevaMusteriEklentiler.php";
    $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ = "cache/";
    $_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_ = $_obfuscated_0D395C19023E1C35010C3C0F1A23352D04111F2F1B3232_ . md5($id);
    if (file_exists($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_) && time() - 84600 < filemtime($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_)) {
        return $data = json_decode(file_get_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_), true);
    }
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriEklentiler.php");
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["clientid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva, "serviceid" => $serviceid]));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch);
    curl_close($ch);
    file_put_contents($_obfuscated_0D0914131A2A031F140E0732021A142B14352E332E0722_, $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_);
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true);
}
function ClientDetail($id)
{
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_;
    global $WhmcsLicenseTumeva;
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") {
        $DomainName = substr($_SERVER["HTTP_HOST"], 4);
    } else {
        $DomainName = $_SERVER["HTTP_HOST"];
    }
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriDetay.php");
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["clientid" => $id, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva]));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch);
    curl_close($ch);
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true);
}
function TicketDetail($id)
{
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_;
    global $WhmcsLicenseTumeva;
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") {
        $DomainName = substr($_SERVER["HTTP_HOST"], 4);
    } else {
        $DomainName = $_SERVER["HTTP_HOST"];
    }
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriTicketDetay.php");
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["ticketid" => $id, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva]));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch);
    curl_close($ch);
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true);
}
function InvoiceDetail($id)
{
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_;
    global $WhmcsLicenseTumeva;
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") {
        $DomainName = substr($_SERVER["HTTP_HOST"], 4);
    } else {
        $DomainName = $_SERVER["HTTP_HOST"];
    }
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriFaturaDetay.php");
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["invoiceid" => $id, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva]));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch);
    curl_close($ch);
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true);
}
function DeleteTicket($ticketid)
{
    global $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_;
    global $WhmcsLicenseTumeva;
    if (substr($_SERVER["HTTP_HOST"], 0, 4) == "www.") {
        $DomainName = substr($_SERVER["HTTP_HOST"], 4);
    } else {
        $DomainName = $_SERVER["HTTP_HOST"];
    }
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://my.tumeva.com/tumevaapi/TumevaMusteriTicketSil.php");
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query(["ticketid" => $ticketid, "userid" => $_obfuscated_0D1314271D0F2F130937402F40350C2F2E2E3E2F3D1C11_, "domainname" => $DomainName, "licensekey" => $WhmcsLicenseTumeva, "responsetype" => "json"]));
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch);
    curl_close($ch);
    return $_obfuscated_0D2E3E3B092417211104183B373B0A05393D0626391A01_ = json_decode($_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_, true);
}
function sendPushMessage($title, $url, $type, $imgx)
{
    global $tumeva;
    global $_obfuscated_0D3D30375B222E3B04110C3B1E22362704162C1A070A32_;
    global $_obfuscated_0D362227210E331C02313F221C5C22380A01251E403F11_;
    global $_obfuscated_0D153D372D3F310527230D185C18271E1E0C1F311B1F01_;
    global $_obfuscated_0D011726373B10130B030440352E143337392D1F280132_;
    global $_obfuscated_0D1240180C0540215B3C2E04371319291B1A14225C1511_;
    global $_obfuscated_0D143C23111632042E081C02283D0B023609390D350322_;
    if ($type == "1") {
        $_obfuscated_0D0B2B2F2A0D0409363F25100D28272E233C0C213D0C32_ = $_obfuscated_0D3D30375B222E3B04110C3B1E22362704162C1A070A32_;
        $_obfuscated_0D0E0A013F2D0127392331303B17053D32291C1C1D3201_ = $_obfuscated_0D362227210E331C02313F221C5C22380A01251E403F11_;
    } else {
        if ($type == "2") {
            $_obfuscated_0D0B2B2F2A0D0409363F25100D28272E233C0C213D0C32_ = $_obfuscated_0D153D372D3F310527230D185C18271E1E0C1F311B1F01_;
            $_obfuscated_0D0E0A013F2D0127392331303B17053D32291C1C1D3201_ = $_obfuscated_0D011726373B10130B030440352E143337392D1F280132_;
        } else {
            if ($type == "3") {
                $_obfuscated_0D0B2B2F2A0D0409363F25100D28272E233C0C213D0C32_ = $_obfuscated_0D1240180C0540215B3C2E04371319291B1A14225C1511_;
                $_obfuscated_0D0E0A013F2D0127392331303B17053D32291C1C1D3201_ = $_obfuscated_0D143C23111632042E081C02283D0B023609390D350322_;
            }
        }
    }
    $_obfuscated_0D07023B1E322229322304243D172A3B3C381019221122_ = ["en" => $title];
    $_obfuscated_0D083509343C2D0407383C16042F350C1A0733295B0511_ = ["app_id" => $_obfuscated_0D0B2B2F2A0D0409363F25100D28272E233C0C213D0C32_, "included_segments" => ["All"], "url" => $url, "data" => ["foo" => "bar"], "contents" => $_obfuscated_0D07023B1E322229322304243D172A3B3C381019221122_, "big_picture" => $imgx, "chrome_big_picture" => $imgx, "adm_big_picture" => $imgx, "huawei_big_picture" => $imgx];
    $_obfuscated_0D083509343C2D0407383C16042F350C1A0733295B0511_ = json_encode($_obfuscated_0D083509343C2D0407383C16042F350C1A0733295B0511_);
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, "https://onesignal.com/api/v1/notifications");
    curl_setopt($ch, CURLOPT_HTTPHEADER, ["Content-Type: application/json; charset=utf-8", "Authorization: Basic " . $_obfuscated_0D0E0A013F2D0127392331303B17053D32291C1C1D3201_]);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_HEADER, false);
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $_obfuscated_0D083509343C2D0407383C16042F350C1A0733295B0511_);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($ch);
    curl_close($ch);
    return $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_;
}
function sendPushBildirtMessage($title, $url, $img)
{
    global $tumeva;
    global $_obfuscated_0D5B1310230812081E123E2228252F1813350A38230932_;
    global $_obfuscated_0D2E3514302F5B211040161E0E3D1B1E163E3C29373C01_;
    global $_obfuscated_0D2E132F103C215C2A315B40041C5C1D0B1124381A3B11_;
    global $_obfuscated_0D363E1E1D2936031F1A260B3E331E2D2918260E0C2B22_;
    if (isset($img)) {
        $imgx = $img;
    } else {
        $imgx = NULL;
    }
    $_obfuscated_0D07023B1E322229322304243D172A3B3C381019221122_ = ["title" => Limitlee(ReplaceNail($title)), "body" => Limitlee(ReplaceNail($title)), "url" => $url, "icon" => $_obfuscated_0D363E1E1D2936031F1A260B3E331E2D2918260E0C2B22_ . "/images/genel/" . $_obfuscated_0D2E132F103C215C2A315B40041C5C1D0B1124381A3B11_, "image" => $imgx, "time" => date("Y-m-d H:i:s"), "intime" => "", "test" => "0", "ttl" => "86400"];
    $data = ["apikey" => $_obfuscated_0D5B1310230812081E123E2228252F1813350A38230932_, "process" => "newpush", "content" => $_obfuscated_0D07023B1E322229322304243D172A3B3C381019221122_];
    $data = json_encode($data);
    $_obfuscated_0D2C3B1B2301391B2C2C230C081838132D1B1D33062C01_ = curl_init();
    curl_setopt_array($_obfuscated_0D2C3B1B2301391B2C2C230C081838132D1B1D33062C01_, [CURLOPT_URL => "https://api.bildirt.com/api.js", CURLOPT_RETURNTRANSFER => true, CURLOPT_HEADER => false, CURLOPT_POST => true, CURLOPT_POSTFIELDS => $data, CURLOPT_SSL_VERIFYPEER => 0, CURLOPT_SSL_VERIFYHOST => 0, CURLOPT_HTTPHEADER => ["Content-Type: application/json; charset=utf-8", "Authorization: Basic " . $_obfuscated_0D2E3514302F5B211040161E0E3D1B1E163E3C29373C01_]]);
    $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_ = curl_exec($_obfuscated_0D2C3B1B2301391B2C2C230C081838132D1B1D33062C01_);
    curl_close($_obfuscated_0D2C3B1B2301391B2C2C230C081838132D1B1D33062C01_);
    return $_obfuscated_0D402422312527072F1B5B2C1B1B1F170432021A180822_;
}

?>

Function Calls

None

Variables

None

Stats

MD5 b9d7ac500b667b61813f77a954bc9b16
Eval Count 0
Decode Time 319 ms