AnonSec Team
Server IP : 10.131.40.8  /  Your IP : 216.73.216.37
Web Server : Apache
System : Linux webd008.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : ludmqhh ( 137773)
PHP Version : 8.4.10
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0705) :  /home/ludmqhh/www/hotel-forum/wp-content/plugins/wp-maintenance/js/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/ludmqhh/www/hotel-forum/wp-content/plugins/wp-maintenance/js/wpm-admin-settings.js
jQuery(document).ready(function($){

    //Navigation Tabs
    $('.nav-tab-wrapper .nav-tab').click(function(){
        $('.nav-tab-wrapper .nav-tab').removeClass('nav-tab-active');
        el = $(this);
        elid = el.attr('id');
        $('.wpm-menu-group').hide(); 
        $('.'+elid).show();
        el.addClass('nav-tab-active');
    });
    var navUrl = document.location.toString();
    if (navUrl.match('#')) { //anchor-based navigation
        var nav_tab = navUrl.split('#')[1].split(':');
        var current_tab = 'a#wpm-menu-' + nav_tab[0];
        $(current_tab).trigger('click');
        if( nav_tab.length > 1 ){
            section = $("#wpm-opt-"+nav_tab[1]);
            if( section.length > 0 ){
                section.children('h3').trigger('click');
                //$('html, body').animate({ scrollTop: section.offset().top - 30 }); //sends user back to top of form
            }
        }
    }else{
        //set to general tab by default, so we can also add clicked subsections
        document.location = navUrl+"#general";
    }
    $('.nav-tab-link').click(function(){ $($(this).attr('rel')).trigger('click'); }); //links to mimick tabs

});

AnonSec - 2021