403Webshell
Server IP : 192.64.118.117  /  Your IP : 3.15.164.218
Web Server : LiteSpeed
System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64
User : thecgapy ( 1160)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/thecgapy/www/wp-content/plugins/leads/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thecgapy/www/wp-content/plugins/leads/assets/js/wpl.global-settings.js
/* Get url param */
function getURLParameter(name) {
    return decodeURI(
        (RegExp(name + '=' + '(.+?)(&|$)').exec(location.search) || [, null])[1]
    );
}

jQuery(document).ready(function ($) {


    jQuery(document).ready(function() {
        jQuery('.tooltip').tooltipster({
            contentAsHTML: true,
            interactive: true,
            maxWidth: 350,
            position: "right",
            theme: "tooltipster-noir"
        });
    });

    // Getting URL var by its nam
    var byName = getURLParameter('tab');

    // Set setting Tab
    setTimeout(function () {
        jQuery("#" + byName).click();
    }, 300);

    /* Update Setting URL */
    jQuery("body").on('click', '.nav-tab', function () {
        var this_id = jQuery(this).attr('id');
        var show = "#" + this_id.replace('tabs-', '');
        jQuery('.wpl-tab-display').css('display', 'none');
        jQuery('.wpl-nav-tab').removeClass('nav-tab-special-active');
        jQuery('.wpl-nav-tab').addClass('nav-tab-special-inactive');
        jQuery("#" + this_id).addClass('nav-tab-special-active');
        jQuery(show).css('display', 'block');
        if (history.pushState) {
            var newurl = window.location.href.replace(/tab=([^"]*)/g, 'tab=' + this_id);
            var current_tab = newurl.match(/tab=([^"]*)/g);
            if (typeof (current_tab) != "undefined" && current_tab != null && current_tab != "") {
                var current_tab = current_tab[0].replace("tab=", "");
                window.history.pushState({path: newurl}, '', newurl);
            } else {
                var newurl = window.location.href + '&tab=' + this_id;
                window.history.pushState({path: newurl}, '', newurl);
            }

        }
    });

});

Youez - 2016 - github.com/yon3zu
LinuXploit