????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.32.1  /  Your IP : 216.73.216.145
Web Server : LiteSpeed
System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : tempvsty ( 647)
PHP Version : 8.0.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/tempvsty/./eaabusiness.com/wp-content/themes/yoome/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/./eaabusiness.com/wp-content/themes/yoome/js/loading-screen.js
var ts_loading_screen = {
	overlay: null
	,images: []
	,image_counter: 0
	,loaded_image_counter: 0
	,destroyed: false
	,create: function(){
		this.overlay = jQuery('<div class="tslg-screen"></div>').css({
			width: '100%'
			,height: '100%'
			,backgroundColor: '#ffffff'
			,position: 'fixed'
			,zIndex: 9999999
			,top: 0
			,left: 0
		}).appendTo('html');
		
		var image_wrapper = jQuery('<span style="max-width: 120px; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); display: inline-block;"></span>');
		var image = jQuery('<img src="' + ts_loading_screen_opt.loading_image + '"  style="max-width: 120px;" />');
		image_wrapper.append(image).appendTo( this.overlay );
	}
	,get_images: function(){
		this.images = jQuery('body').find('img');
		if( this.images.length ){
			this.load_image_event();
		}
	}
	,load_image_event: function(){
		var win_height = jQuery(window).height();
		for( var i = 0, l = this.images.length; i < l; i++ ){
			if( !this.image_loaded(this.images[i]) ){
				var img = jQuery(this.images[i]);
				if( img.offset().top < win_height ){
					this.image_counter++;
					img.on('load', function(){
						ts_loading_screen.complete_loading_images();
					});
				}
			}
		}
	}
	,image_loaded: function( img ){
		return img.complete && img.naturalHeight !== 0;
	}
	,complete_loading_images: function(){
		this.loaded_image_counter++;
		if( this.image_counter <= this.loaded_image_counter ){
			this.destroy();
		}
	}
	,destroy: function(){
		if( !this.destroyed ){
			this.overlay.fadeOut(200, function(){
				ts_loading_screen.overlay.remove();
			});
			this.destroyed = true;
		}
	}
};

ts_loading_screen.create();

jQuery(function(){
	ts_loading_screen.get_images();
});

jQuery(window).on('load', function(){
	ts_loading_screen.destroy();
});

Youez - 2016 - github.com/yon3zu
LinuXploit