REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 2.01 KB
Close
/proc/self/root/home/nshryvcy/himaltourism.com/wp-content/plugins/revslider/admin/includes/license.class.php
Text
Base64
<?php /** * @author ThemePunch <info@themepunch.com> * @link https://www.themepunch.com/ * @copyright 2022 ThemePunch * @since 6.2.0 */ if(!defined('ABSPATH')) exit(); class RevSliderLicense extends RevSliderFunctions { /** * Activate the Plugin through the ThemePunch Servers * @before 6.0.0: RevSliderOperations::checkPurchaseVerification(); * @before 6.2.0: RevSliderAdmin::activate_plugin(); **/ public function activate_plugin($code){ $rslb = RevSliderGlobals::instance()->get('RevSliderLoadBalancer'); $data = array('code' => urlencode($code), 'version' => urlencode(RS_REVISION), 'product' => urlencode(RS_PLUGIN_SLUG)); $response = $rslb->call_url('activate.php', $data, 'updates'); $version_info = wp_remote_retrieve_body($response); if(is_wp_error($version_info)) return false; if($version_info == 'valid'){ update_option('revslider-valid', 'true'); update_option('revslider-code', $code); update_option('revslider-trustpilot', 'true'); update_option('revslider-deregister-popup', 'false'); return true; }elseif($version_info == 'exist'){ return 'exist'; }elseif($version_info == 'banned'){ return 'banned'; } return false; } /** * Deactivate the Plugin through the ThemePunch Servers * @before 6.0.0: RevSliderOperations::doPurchaseDeactivation(); * @before 6.2.0: RevSliderAdmin::deactivate_plugin(); **/ public function deactivate_plugin(){ $rslb = RevSliderGlobals::instance()->get('RevSliderLoadBalancer'); $code = get_option('revslider-code', ''); $data = array('code' => urlencode($code), 'product' => urlencode(RS_PLUGIN_SLUG)); $res = $rslb->call_url('deactivate.php', $data, 'updates'); $vi = wp_remote_retrieve_body($res); if(is_wp_error($vi)) return false; if($vi == 'valid'){ update_option('revslider-valid', 'false'); update_option('revslider-code', ''); update_option('revslider-trustpilot', 'false'); update_option('revslider-deregister-popup', 'true'); return true; } return false; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 17
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
shortcode_generator
DIR
-
drwxr-xr-x
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
addons.class.php
7.16 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
debug.php
2.81 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
export-html.class.php
31.06 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
export.class.php
28.29 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
folder.class.php
4.17 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
functions-admin.class.php
64.21 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
help.class.php
591.88 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
import.class.php
74.59 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.php
27 B
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
license.class.php
2.01 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
loadbalancer.class.php
3.13 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
newsletter.class.php
1.69 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
plugin-update.class.php
365.24 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
template.class.php
31.28 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
tooltips.class.php
31.76 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
tracking.class.php
10.46 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
widget.class.php
4.62 KB
lrw-r--r--
2022-11-10 06:15:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).