MOON
Server: Apache
System: Linux server.royaltuning.hu 4.18.0-425.13.1.el8_7.x86_64 #1 SMP Tue Feb 21 04:20:52 EST 2023 x86_64
User: royaltuning (1001)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/royaltuning/www/public/wp-content/plugins/review-widgets-for-arukereso/settings.php
<?php
defined('ABSPATH') or die('No script kiddies please!');
$pluginManager = 'TrustindexPlugin_arukereso';
$pluginManagerInstance = $trustindex_pm_arukereso;
$_page = $pluginManagerInstance->get_plugin_slug().'/settings.php';
$pluginNameForEmails = 'Árukereső';
$newBadgeTabs = [];
if (get_option($pluginManagerInstance->get_option_name('widget-setted-up'), 0) && !get_option($pluginManagerInstance->get_option_name('reply-generated'), 0)) {
$newBadgeTabs []= 'my-reviews';
}
if (get_option($pluginManagerInstance->get_option_name('widget-setted-up'), 0) && get_option($pluginManagerInstance->get_option_name('reply-generated'), 0) && !get_option($pluginManagerInstance->get_option_name('instagram-promo-opened'), 0)) {
$newBadgeTabs []= 'instagram-feed-widget';
}
$noContainerElementTabs = [ 'free-widget-configurator', 'instagram-feed-widget' ];
$logoCampaignId = 'wp-arukereso-l';
$logoFile = 'static/img/trustindex.svg';
$assetCheckJs = [
'common' => 'static/js/admin-page-settings-common.js',
'connect' => 'static/js/admin-page-settings-connect.js'
];
$assetCheckCssId = 'trustindex_settings_style_arukereso';
$assetCheckCssFile = 'static/css/admin-page-settings.css';
if (isset($_GET['wc_notification'])) {
check_admin_referer('ti-wc-notification');
$mode = sanitize_text_field(wp_unslash($_GET['wc_notification']));
$dbValue = 'hide';
if ($mode === 'later') {
$dbValue = $time = time() + (30 * 86400);
}
update_option('trustindex-wc-notification', $dbValue, false);
if ($mode === 'open') {
header('Location: https://wordpress.org/plugins/customer-reviews-collector-for-woocommerce/');
exit;
}
echo '<script type="text/javascript">self.close();</script>';
exit;
}
include(plugin_dir_path(__FILE__) . 'include' . DIRECTORY_SEPARATOR . 'admin.php');
?>