Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by http://DeZender.Net
- * @ deZender (PHP7 Decoder for ionCube Encoder)
- *
- * @ Version : 4.1.0.1
- * @ Author : DeZender
- * @ Release on : 29.08.2020
- * @ Official site : http://DeZender.Net
- *
- */
- function license()
- {
- global $theme;
- global $globals;
- global $user;
- global $l;
- global $cluster;
- global $info;
- global $error;
- global $done;
- if (!load_lang('admin/license')) {
- return false;
- }
- $theme['init_theme'] = 'admin/license';
- $theme['init_theme_name'] = 'License';
- $theme['init_theme_func'] = ['license_theme'];
- $theme['call_theme_func'] = 'license_theme';
- if (!is_allowed('licenseinfo')) {
- reporterror($l['not_allowed_title'], $l['err_acl_no_allowed']);
- return false;
- }
- $licform = optPOST('licform');
- if (!empty($licform)) {
- $lickey = trim(optPOST('lickey'));
- if (empty($lickey) || (strlen($lickey) != 29)) {
- $error[] = $l['inv_key_length'];
- return false;
- }
- if (!preg_match('/^VIRT(D|E)/', $lickey)) {
- $error[] = $l['inv_lic'] . '<br>' . $l['licence_warning'];
- return false;
- }
- $res = $cluster->license_update($globals['server'], $lickey);
- .............................................................
- .....................................
- ................
Add Comment
Please, Sign In to add comment