Advertisement
Guest User

Untitled

a guest
Jan 26th, 2020
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.97 KB | None | 0 0
  1. <?php
  2. /*
  3. *
  4. * @ This file is created by http://DeZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Encoder)
  6. *
  7. * @ Version : 3.5.0.0
  8. * @ Author : DeZender
  9. * @ Release on : 22.06.2018
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. class TLDExtractResult implements ArrayAccess
  15. {
  16. private $fields = null;
  17.  
  18. public function __construct($subdomain, $domain, $tld)
  19. {
  20. $this->fields = array('subdomain' => $subdomain, 'domain' => $domain, 'tld' => $tld);
  21. }
  22.  
  23. public function __get($name)
  24. {
  25. if (array_key_exists($name, $this->fields)) {
  26. return $this->fields[$name];
  27. }
  28.  
  29. throw new OutOfRangeException(sprintf('Unknown field "%s"', $name));
  30. }
  31.  
  32. public function __isset($name)
  33. {
  34. return array_key_exists($name, $this->fields);
  35. }
  36.  
  37. public function __set($name, $value)
  38. {
  39. throw new LogicException("Can't modify an immutable object.");
  40. }
  41.  
  42. public function __toString()
  43. {
  44. return sprintf("%s(subdomain='%s', domain='%s', tld='%s')", 'TLDExtractResult', $this->subdomain, $this->domain, $this->tld);
  45. }
  46.  
  47. public function offsetExists($offset)
  48. {
  49. return array_key_exists($offset, $this->fields);
  50. }
  51.  
  52. public function offsetGet($offset)
  53. {
  54. return $this->__get($offset);
  55. }
  56.  
  57. public function offsetSet($offset, $value)
  58. {
  59. throw new LogicException(sprintf("Can't modify an immutable object. You tried to set \"%s\".", $offset));
  60. }
  61.  
  62. public function offsetUnset($offset)
  63. {
  64. throw new LogicException(sprintf("Can't modify an immutable object. You tried to unset \"%s\".", $offset));
  65. }
  66.  
  67. public function toArray()
  68. {
  69. return $this->fields;
  70. }
  71. }
  72.  
  73. $domainparcalar = tldextract('http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
  74. $domain = $domainparcalar['domain'] . '.' . $domainparcalar['tld'];
  75. $domainpaket = 26;
  76. $temaanahtari = 'eca7b721031b7ed3419453fe9c3b96b0';
  77. $temaslug = 'haberv3';
  78. require_once get_template_directory() . '/lisans.php';
  79. $keyler = keyolustur($domain, $temaanahtari);
  80.  
  81. if ($keyler['key1'] == $key1 && $keyler['key2'] == $key2 && $keyler['key3'] == $key3) {
  82. $gelendurum = json_decode('{"durum":"ok"}');
  83. } else {
  84. 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>');
  85. }
  86.  
  87. if ($gelendurum->durum == 'ok') {
  88. } else {
  89. unlink(get_template_directory() . '/functions.php');
  90. unlink(get_template_directory() . '/admin/admin-interface.php');
  91. $fh = fopen(get_template_directory() . '/functions.php', 'a');
  92. 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>'); ?>");
  93. fclose($fh);
  94. $fh = fopen(get_template_directory() . '/admin/admin-interface.php', 'a');
  95. 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>'); ?>");
  96. fclose($fh);
  97. 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>');
  98. }
  99.  
  100. include_once 'functions-ek.php';
  101. include_once 'dosyalar/acf/acf.php';
  102. define('ACF_LITE', true);
  103. include_once 'metabox.php';
  104. $tag_base = get_option('tag_base');
  105. $orta = 'orta';
  106. $ymenu = 'ymenu';
  107. $galeri = 'galeri';
  108. $kate = 'kate';
  109. $temayolu = get_bloginfo('template_url');
  110. $siteyolu = get_bloginfo('home');
  111. add_filter('pre_get_posts', 'SearchFilter');
  112.  
  113. if (function_exists('wp_nav_menu') && function_exists('add_theme_support')) {
  114. add_theme_support('nav-menus');
  115. add_action('init', 'register_my_menus');
  116. .......................................................................
  117. .......................................
  118. .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement