403Webshell
Server IP : 192.64.118.117  /  Your IP : 18.116.81.41
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/tcrgfinancesuite.com/wp-content/themes/tcrgfinancesuite/muffin-options/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/thecgapy/tcrgfinancesuite.com/wp-content/themes/tcrgfinancesuite/muffin-options/js/options.js
function MfnOptions(){
			
	// show 1st at start	
	if( jQuery('#last_tab').val() == 0 ){
		this.tabid = jQuery('.mfn-submenu-a:first').attr('data-rel');
	} else {
		this.tabid = jQuery('#last_tab').val();
	}

	jQuery('#'+this.tabid+'-mfn-section').show();
	jQuery('#'+this.tabid+'-mfn-submenu-li').addClass('active').parent('ul').show().parent('li').addClass('active');
	
	// parent manu click - show childrens and select 1st
	jQuery('.mfn-menu-a').click(function(){
		
		if( ! jQuery(this).parent().hasClass('active') ) {
			
			jQuery('.mfn-menu-li').removeClass('active');
			jQuery('.mfn-submenu').slideUp('fast');
			
			jQuery(this).next('ul').stop().slideDown('fast');
			jQuery(this).parent('li').addClass('active');
			
			jQuery('.mfn-submenu-li').removeClass('active');
			jQuery('.mfn-section').hide();
			
			this.tabid = jQuery(this).next('ul').children('li:first').addClass('active').children('a').attr('data-rel');
			jQuery('#'+this.tabid+'-mfn-section').stop().fadeIn(1200);
			jQuery('#last_tab').val(this.tabid);
		}
		
	});
	
	// submenu click
	jQuery('.mfn-submenu-a').click(function(){
		
		if( ! jQuery(this).parent().hasClass('active') ) {

			jQuery('.mfn-submenu-li').removeClass('active');
			jQuery(this).parent('li').addClass('active');
			
			jQuery('.mfn-section').hide();
			
			this.tabid = jQuery(this).attr('data-rel');
			jQuery('#'+this.tabid+'-mfn-section').stop().fadeIn(1200);
			jQuery('#last_tab').val(this.tabid);
		}
		
	});
	
	// last w menu
	jQuery('.mfn-submenu .mfn-submenu-li:last-child').addClass('last');

	// reset
	jQuery('.mfn-popup-reset').click(function(){
		if( confirm( "Are you sure?\n\nClicking this button will reset all custom values across your entire Theme Options panel" ) ){
			return true;
	    } else {
	    	return false;
	    }
	});
	
	// import code button
	jQuery('.mfn-import-imp-code-btn').click(function(){
		jQuery('.mfn-import-imp-link-wrapper').hide();
		jQuery('.mfn-import-imp-code-wrapper').stop().fadeIn(500);
	});
	
	// import link button
	jQuery('.mfn-import-imp-link-btn').click(function(){
		jQuery('.mfn-import-imp-code-wrapper').hide();
		jQuery('.mfn-import-imp-link-wrapper').stop().fadeIn(500);
	});
	
	// export code button
	jQuery('.mfn-import-exp-code-btn').click(function(){
		jQuery('.mfn-import-exp-link').hide();
		jQuery('.mfn-import-exp-code').stop().fadeIn(500);
	});
	
	// export link button
	jQuery('.mfn-import-exp-link-btn').click(function(){
		jQuery('.mfn-import-exp-code').hide();
		jQuery('.mfn-import-exp-link').stop().fadeIn(500);
	});
	
}
	
jQuery(document).ready(function(){
	new MfnOptions();
});

Youez - 2016 - github.com/yon3zu
LinuXploit