Advertisement
Guest User

Untitled

a guest
May 10th, 2016
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * @ This file is created by deZender.Net
  5. * @ deZender (PHP5 Decoder for ionCube Loader)
  6. *
  7. * @ Version : 2.0.0.4
  8. * @ Author : DeZender
  9. * @ Release on : 21.10.2015
  10. * @ Official site : http://DeZender.Net
  11. *
  12. */
  13.  
  14. function safir_get_domain($url) {
  15.  
  16. $pieces = parse_url($url);
  17. $domain = isset($pieces["host"]) ? ($pieces["host"]) : "";
  18. if (preg_match("/(?P<domain>[a-z0-9][a-z0-9\\-]{1,63}\\.[a-z\\.]{2,6})\$/i", $domain, $regs))
  19. {
  20. return $regs["domain"];
  21. }
  22. return;
  23. }
  24.  
  25. function __gc() {
  26.  
  27. $site = $_SERVER["SERVER_NAME"];
  28. $site = "http://" . $_SERVER["SERVER_NAME"];
  29. $site = safir_get_domain($site);
  30. $key = "SAFIRVIDEO";
  31. return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, md5($key), $site, MCRYPT_MODE_CBC, md5(md5($key))));
  32. }
  33.  
  34. function adminBarMenu() {
  35.  
  36. global $wp_admin_bar;
  37. if ((!is_super_admin()) && !is_admin_bar_showing())
  38. {
  39. return null;
  40. }
  41. $wp_admin_bar->add_menu(array("id" => "sumtips_link", "title" => __("Safir Panel - Tema Ayarları"), "href" => __(get_bloginfo("url") . "/wp-admin/admin.php?page=safirpanel.php")));
  42. return;
  43. }
  44.  
  45. function xoption($option) {
  46.  
  47. $options = unserialize(get_option("safirvideo-options"));
  48. if (is_string($options[get_option(substr("slidingWidget", 0, 2) . substr("corelation", 0, 2) . substr("destination", 0, 2)) . $option]))
  49. {
  50. return stripslashes($options[get_option(substr("slidingWidget", 0, 2) . substr("corelation", 0, 2) . substr("destination", 0, 2)) . $option]);
  51. }
  52. return $options[get_option(substr("slidingWidget", 0, 2) . substr("corelation", 0, 2) . substr("destination", 0, 2)) . $option];
  53. }
  54.  
  55. function setxoption($option, $newvalue) {
  56.  
  57. $options = unserialize(get_option("safirvideo-options"));
  58. $options[$option] = $newvalue;
  59. update_option("safirvideo-options", serialize($options));
  60. return;
  61. }
  62.  
  63.  
  64. $YASAL_UYARI = "\r
  65. Firmamız vergi levhasına sahip ve faturalı olarak satış yapan bir firmadır.\r
  66. Safir Video Wordpress Teması Niğde 3.Noterliği tarafından adımıza tescillenmiş olup, ilgili dijital ürünün\r
  67. kopyalanması, lisanssız kullanılması ve dağıtılması halinde hakkınızda yasal işlem başlatılacaktır.\r
  68. ";
  69. include "settings.php";
  70. include "safirwidgets.php";
  71. add_theme_support("post-thumbnails");
  72. add_action("admin_bar_menu", "adminBarMenu", 400);
  73. ..................................................................
  74. .......................................
  75. ............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement