403Webshell
Server IP : 68.178.247.200  /  Your IP : 216.73.217.50
Web Server : Apache
System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : x9dppmxs4rgd ( 8559391)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/x9dppmxs4rgd/www/wp-content/plugins/wp-fastest-cache-premium/pro/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/x9dppmxs4rgd/www/wp-content/plugins/wp-fastest-cache-premium/pro/js/premium.js
var Wpfc_Premium = {
	check_update: function(current_premium_version, wpfc_api_url, plugins_url){
		var self = this;
		
		jQuery("#wpfc-update-premium-button").closest("a").removeAttr("href");

		jQuery.ajax({
			type: 'GET', 
			url: "https://api.wpfastestcache.net/premium/version/",
			cache: false,
			error: function(x, t, m) {
				//alert(t);
			},
			success: function(new_version){
				if(new_version != current_premium_version){
					jQuery("#wpfc-update-premium-button").attr("class", "wpfc-btn primaryCta");

					jQuery("#wpfc-update-premium-button").click(function(){
						jQuery("#revert-loader-toolbar").show();
						jQuery.ajax({
							type: 'GET',
							url: ajaxurl,
							data : {"action": "wpfc_update_premium"},
							dataType : "json",
							cache: false, 
							success: function(data){
								jQuery("#revert-loader-toolbar").hide();
								
								if(data.success){
									jQuery.get(plugins_url + "/update_success.html", function( data ) {
										jQuery("body").append(data);
										Wpfc_Dialog.dialog("wpfc-modal-updatesuccess", {"finish" : 
												function(){
													Wpfc_Dialog.remove();
													location.reload();
												}
											}
										);
									});
								}else{
									jQuery.get(plugins_url + "/update_error.html", function( html ) {
										jQuery("body").append(html);
										jQuery("#wpfc-download-now").attr("href", wpfc_api_url);
										jQuery('#wpfc-update-error-message').text(data.error_message);
										console.log(wpfc_api_url, data.error_message, "wpfc_api_url");
										Wpfc_Dialog.dialog("wpfc-modal-updateerror");
										jQuery("#revert-loader-toolbar").hide();
									});
								}
								console.log(data, "data");
							}
						});
					});

					self.force_update();
				}else{
					jQuery("#wpfc-update-premium-button").text("No Update");
				}
			}
		});
	},
	force_update: function(){
		Wpfc_New_Dialog.dialog("wpfc-modal-updatenow", {close: function(){
			Wpfc_New_Dialog.clone.find("div.window-content input").each(function(){
				if(jQuery(this).attr("checked")){
					var id = jQuery(this).attr("action-id");
					jQuery("div.tab1 div[template-id='wpfc-modal-updatenow'] div.window-content input#" + id).attr("checked", true);
				}
			});

			Wpfc_New_Dialog.clone.remove();
		}});

		Wpfc_New_Dialog.show_button("close");
	}
};

Youez - 2016 - github.com/yon3zu
LinuXploit