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 = 60;
- $temaanahtari = 'emr50408c736cbe93674486kdrknr50a6f8an462701e';
- $temaslug = 'haberv5';
- 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çersizdir. Lütfen tema yapımcısı ile iletişime geçiniz. : <b>[email protected]</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>[email protected]</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>[email protected]</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>[email protected]</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');
- add_action('admin_menu', 'Menu_ekleme_theWP');
- $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');
- function register_my_menus()
- {
- register_nav_menus(array('header-menu' => __('Header Menü'), 'footer-menu' => __('Footer Menü Kategoriler'), 'footer-menu2' => __('Footer Menü Sayfalar'), 'mobile-menu' => __('Mobile Menü'), 'mobile-menu2' => __('Mobile Menü Sayfa Ortası')));
- }
- }
- add_action('wp_ajax_nopriv_eczane_detayla', 'eczane_detayla');
- add_action('wp_ajax_eczane_detayla', 'eczane_detayla');
- add_action('wp_ajax_nopriv_burclar', 'burclar');
- add_action('wp_ajax_burclar', 'burclar');
- add_filter('mce_buttons', 'my_add_page_break_button', 1, 2);
- add_theme_support('post-thumbnails');
- add_filter('the_content', 'kod_degistir');
- add_filter('the_content', 'kod_degistir');
- add_filter('wp_link_pages_args', 'add_next_and_number');
- if (!function_exists('amk')) {
- function amk($cats, $_post = null)
- {
- foreach ((array) $cats as $cat) {
- $descendants = get_term_children((int) $cat, 'category');
- if ($descendants && in_category($descendants, $_post) || in_category($cat, $_post)) {
- return true;
- }
- }
- return false;
- }
- }
- require_once dirname(__FILE__) . '/admin/admin-functions.php';
- require_once dirname(__FILE__) . '/admin/admin-interface.php';
- require_once dirname(__FILE__) . '/admin/theme-settings.php';
- add_theme_support('post-thumbnails');
- if (get_option('firmarehberidurum') == 'true') {
- function show_pending_number($menu)
- {
- $types = array('post', 'page', 'thewpfirmarehberi', 'gelenhaber', 'iletisimformu');
- $status = 'pending';
- foreach ($types as $type) {
- .................................................................................
- ...............................................
- .............
Advertisement
Add Comment
Please, Sign In to add comment