Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for ionCube Loader)
- *
- * @ Version : 2.0.0.4
- * @ Author : DeZender
- * @ Release on : 21.10.2015
- * @ Official site : http://DeZender.Net
- *
- */
- $file = "license.txt";
- $lines = explode("\n", file_get_contents($file));
- $licensekey = $lines[0];
- $localkey = "9tjIxIzNwgDMwIjI6gjOztjIlRXYkt2Ylh2YioTO6M3OicmbpNnblNWasx1cyVmdyV2ccNXZsVHZv1GX\r
- zNWbodHXlNmc192czNWbodHXzN2bkRHacBFUNFEWcNHduVWb1N2bExFd0FWTcNnclNXVcpzQioDM4ozc\r
- 7ISey9GdjVmcpRGZpxWY2JiO0EjOztjIx4CMuAjL3ITMioTO6M3OiAXaklGbhZnI6cjOztjI0N3boxWY\r
- j9Gbuc3d3xCdz9GasF2YvxmI6MjM6M3Oi4Wah12bkRWasFmdioTMxozc7ISeshGdu9WTiozN6M3OiUGb\r
- jl3Yn5WasxWaiJiOyEjOztjI3ATL4ATL4ADMyIiOwEjOztjIlRXYkVWdkRHel5mI6ETM6M3OicDMtcDM\r
- tgDMwIjI6ATM6M3OiUGdhR2ZlJnI6cjOztjIlNXYlxEI5xGa052bNByUD1ESXJiO5EjOztjIl1WYuR3Y\r
- 1R2byBnI6ETM6M3OicjI6EjOztjIklGdjVHZvJHcioTO6M3Oi02bj5ycj1Ga3BEd0FWbioDNxozc7ICb\r
- pFWblJiO1ozc7IyUD1ESXBCd0FWTioDMxozc7ISZtFmbkVmclR3cpdWZyJiO0EjOztjIlZXa0NWQiojN\r
- 6M3OiMXd0FGdzJiO2ozc7pjMxoTY8baca0885830a33725148e94e693f3f073294c0558d38e31f844\r
- c5e399e3c16a";
- if (!file_exists("includes/initializeCPA.php"))
- {
- exit("validator is missing....");
- }
- require_once "includes/initializeCPA.php";
- if (!empty($acHash))
- {
- $toCheck = 1;
- if ($acHash == md5(date("Y-m-d", strtotime("now")) . "Active-Site-Validated-For-" . urlencode($_SERVER["HTTP_HOST"])))
- {
- $___HSC___scValid______ = "active";
- $toCheck = 0;
- }
- else
- {
- if ($acHash == md5(date("Y-m-d", strtotime("now")) . "-INVALID-For-" . urlencode($_SERVER["HTTP_HOST"])))
- {
- $___HSC___scValid______ = "invalid";
- }
- else
- {
- if ($acHash == md5(date("Y-m-d", strtotime("now")) . "-EXPIRED-For-" . urlencode($_SERVER["HTTP_HOST"])))
- {
- $___HSC___scValid______ = "expired";
- }
- else
- {
- if ($acHash == md5(date("Y-m-d", strtotime("now")) . "-SUSPENDED-For-" . urlencode($_SERVER["HTTP_HOST"])))
- {
- $___HSC___scValid______ = "suspended";
- }
- }
- }
- }
- }
- else
- {
- $toCheck = 1;
- }
- if ($toCheck == 1)
- {
- $results = check_license($licensekey, $localkey);
- $fp = fopen("includes/initializeCPA.php", "w");
- if (!$fp)
- {
- exit("validator missing.....");
- }
- if ($results["status"] == "Active")
- {
- $md5HASH = md5(date("Y-m-d", strtotime("now")) . "Active-Site-Validated-For-" . urlencode($_SERVER["HTTP_HOST"]));
- $phpWrite = "<? \$acHash = \"" . $md5HASH . "\"; ?>";
- fwrite($fp, $phpWrite);
- $___HSC___scValid______ = "active";
- }
- else
- {
- if ($results["status"] == "Invalid")
- {
- $md5HASH = md5(date("Y-m-d", strtotime("now")) . "-INVALID-For-" . urlencode($_SERVER["HTTP_HOST"]));
- $phpWrite = "<? \$acHash = \"" . $md5HASH . "\"; ?>";
- fwrite($fp, $phpWrite);
- $___HSC___scValid______ = "Your License is Invalid";
- }
- else
- {
- if ($results["status"] == "Expired")
- {
- $md5HASH = md5(date("Y-m-d", strtotime("now")) . "-EXPIRED-For-" . urlencode($_SERVER["HTTP_HOST"]));
- $phpWrite = "<? \$acHash = \"" . $md5HASH . "\"; ?>";
- fwrite($fp, $phpWrite);
- $___HSC___scValid______ = "Your License is Expired";
- }
- else
- {
- if ($results["status"] == "Suspended")
- {
- $md5HASH = md5(date("Y-m-d", strtotime("now")) . "-SUSPENDED-For-" . urlencode($_SERVER["HTTP_HOST"]));
- $phpWrite = "<? \$acHash = \"" . $md5HASH . "\"; ?>";
- fwrite($fp, $phpWrite);
- $___HSC___scValid______ = "Your License is Suspended";
- }
- }
- }
- }
- }
- if ($___HSC___scValid______ != "active")
- {
- echo $___HSC___scValid______;
- }
- if (!defined("DIR_SEP"))
- {
- define("DIR_SEP", DIRECTORY_SEPARATOR);
- }
- if (!defined("SMARTY_DIR"))
- {
- define("SMARTY_DIR", dirname(__FILE__) . DIRECTORY_SEPARATOR);
- }
- if (!defined("SMARTY_CORE_DIR"))
- {
- define("SMARTY_CORE_DIR", SMARTY_DIR . "internals" . DIRECTORY_SEPARATOR);
- }
- define("SMARTY_PHP_PASSTHRU", 0);
- define("SMARTY_PHP_QUOTE", 1);
- define("SMARTY_PHP_REMOVE", 2);
- define("SMARTY_PHP_ALLOW", 3);
- class Smarty {
- public $template_dir = "templates";
- public $compile_dir = "templates_c";
- public $config_dir = "configs";
- public $plugins_dir = array(0 => "plugins");
- public $debugging = false;
- public $error_reporting = null;
- public $debug_tpl = "";
- public $debugging_ctrl = "NONE";
- public $compile_check = true;
- public $force_compile = false;
- public $caching = 0;
- public $cache_dir = "cache";
- public $cache_lifetime = 3600;
- public $cache_modified_check = false;
- public $php_handling = SMARTY_PHP_PASSTHRU;
- public $security = false;
- public $secure_dir = array();
- public $security_settings = array("PHP_HANDLING" => false, "IF_FUNCS" => array(0 => "array", 1 => "list", 2 => "isset", 3 => "empty", 4 => "count", 5 => "sizeof", 6 => "in_array", 7 => "is_array", 8 => "true", 9 => "false", 10 => "null"), "INCLUDE_ANY" => false, "PHP_TAGS" => false, "MODIFIER_FUNCS" => array(0 => "count"), "ALLOW_CONSTANTS" => false, "ALLOW_SUPER_GLOBALS" => true);
- public $trusted_dir = array();
- public $left_delimiter = "{";
- public $right_delimiter = "}";
- public $request_vars_order = "EGPCS";
- public $request_use_auto_globals = true;
- public $compile_id = null;
- public $use_sub_dirs = false;
- public $default_modifiers = array();
- public $default_resource_type = "file";
- public $cache_handler_func = null;
- public $autoload_filters = array();
- public $config_overwrite = true;
- public $config_booleanize = true;
- public $config_read_hidden = false;
- public $config_fix_newlines = true;
- public $default_template_handler_func = "";
- public $compiler_file = "Smarty_Compiler.class.php";
- public $compiler_class = "Smarty_Compiler";
- public $config_class = "Config_File";
- public $_tpl_vars = array();
- public $_smarty_vars = null;
- public $_sections = array();
- public $_foreach = array();
- public $_tag_stack = array();
- public $_conf_obj = null;
- public $_config = array(0 => array("vars" => array(), "files" => array()));
- public $_smarty_md5 = "f8d698aea36fcbead2b9d5359ffca76f";
- public $_version = "2.6.26";
- public $_inclusion_depth = 0;
- public $_compile_id = null;
- public $_smarty_debug_id = "SMARTY_DEBUG";
- public $_smarty_debug_info = array();
- public $_cache_info = array();
- public $_file_perms = 420;
- public $_dir_perms = 505;
- public $_reg_objects = array();
- public $_plugins = array("modifier" => array(), "function" => array(), "block" => array(), "compiler" => array(), "prefilter" => array(), "postfilter" => array(), "outputfilter" => array(), "resource" => array(), "insert" => array());
- public $_cache_serials = array();
- public $_cache_include = null;
- public $_cache_including = false;
- public function Smarty() {
- $this->assign("SCRIPT_NAME", isset($_SERVER["SCRIPT_NAME"]) ? ($_SERVER["SCRIPT_NAME"]) : ($GLOBALS["HTTP_SERVER_VARS"]["SCRIPT_NAME"]));
- return;
- }
- public function assign($tpl_var, $value = null) {
- if (is_array($tpl_var))
- {
- ............................................................................
- ..........................................
- ..............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement