Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP5 Decoder for ionCube Encoder)
- *
- * @ Version : 3.5.0.0
- * @ Author : DeZender
- * @ Release on : 22.06.2018
- * @ Official site : http://DeZender.Net
- *
- */
- class TLDExtractResult implements ArrayAccess
- {
- private $fields = null;
- public function __construct($subdomain, $domain, $tld)
- {
- $this->fields = array('subdomain' => $subdomain, 'domain' => $domain, 'tld' => $tld);
- }
- public function __get($name)
- {
- if (array_key_exists($name, $this->fields)) {
- return $this->fields[$name];
- }
- throw new OutOfRangeException(sprintf('Unknown field "%s"', $name));
- }
- public function __isset($name)
- {
- return array_key_exists($name, $this->fields);
- }
- public function __set($name, $value)
- {
- throw new LogicException("Can't modify an immutable object.");
- }
- public function __toString()
- {
- return sprintf("%s(subdomain='%s', domain='%s', tld='%s')", 'TLDExtractResult', $this->subdomain, $this->domain, $this->tld);
- }
- public function offsetExists($offset)
- {
- return array_key_exists($offset, $this->fields);
- }
- public function offsetGet($offset)
- {
- return $this->__get($offset);
- }
- public function offsetSet($offset, $value)
- {
- throw new LogicException(sprintf("Can't modify an immutable object. You tried to set \"%s\".", $offset));
- }
- public function offsetUnset($offset)
- {
- throw new LogicException(sprintf("Can't modify an immutable object. You tried to unset \"%s\".", $offset));
- }
- public function toArray()
- {
- return $this->fields;
- }
- }
- $domainparcalar = tldextract('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
- $domain = $domainparcalar['domain'] . '.' . $domainparcalar['tld'];
- $domainpaket = 26;
- $temaanahtari = 'eca7b721031b7ed3419453fe9c3b96b0';
- $temaslug = 'haberv3';
- require_once get_template_directory() . '/lisans.php';
- $keyler = keyolustur($domain, $temaanahtari);
- if ($keyler['key1'] == $key1 && $keyler['key2'] == $key2 && $keyler['key3'] == $key3) {
- $gelendurum = json_decode('{"durum":"ok"}');
- } else {
- wp_die('Lisans anahtarınız geçersinizdir. Lütfen tema yapımcısı ile iletişime geçiniz. : <b>info@thewp.com.tr</b> veya <b><a href="http://www.thewp.com.tr/iletisim">www.thewp.com.tr/iletisim</a></b>');
- }
- if ($gelendurum->durum == 'ok') {
- } else {
- unlink(get_template_directory() . '/functions.php');
- unlink(get_template_directory() . '/admin/admin-interface.php');
- $fh = fopen(get_template_directory() . '/functions.php', 'a');
- fwrite($fh, "<?php wp_die('Lisans hakkında sorun yaşamaktasınız. Lütfen tema yapımcısı ile iletişime geçiniz. : <b>info@thewp.com.tr</b> veya <b><a href=\"http://www.thewp.com.tr/iletisim\">www.thewp.com.tr/iletisim</a></b>'); ?>");
- fclose($fh);
- $fh = fopen(get_template_directory() . '/admin/admin-interface.php', 'a');
- fwrite($fh, "<?php wp_die('Lisans hakkında sorun yaşamaktasınız. Lütfen tema yapımcısı ile iletişime geçiniz. : <b>info@thewp.com.tr</b> veya <b><a href=\"http://www.thewp.com.tr/iletisim\">www.thewp.com.tr/iletisim</a></b>'); ?>");
- fclose($fh);
- wp_die('Lisans hakkında sorun yaşamaktasınız. Lütfen tema yapımcısı ile iletişime geçiniz. : <b>info@thewp.com.tr</b> veya <b><a href="http://www.thewp.com.tr/iletisim">www.thewp.com.tr/iletisim</a></b>');
- }
- include_once 'functions-ek.php';
- include_once 'dosyalar/acf/acf.php';
- define('ACF_LITE', true);
- include_once 'metabox.php';
- $tag_base = get_option('tag_base');
- $orta = 'orta';
- $ymenu = 'ymenu';
- $galeri = 'galeri';
- $kate = 'kate';
- $temayolu = get_bloginfo('template_url');
- $siteyolu = get_bloginfo('home');
- add_filter('pre_get_posts', 'SearchFilter');
- if (function_exists('wp_nav_menu') && function_exists('add_theme_support')) {
- add_theme_support('nav-menus');
- add_action('init', 'register_my_menus');
- .......................................................................
- .......................................
- .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement