403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/GXModules/Gambio/Hub/Shop/Javascript/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/GXModules/Gambio/Hub/Shop/Javascript/PayPalDropdownCartButton.js
(function() {
	let initPayPalCartButton = function() {
		let buttonConfiguration = {};
		let phrases = {};
		
		let newbutton = document.createElement('div');
		newbutton.classList.add('dropdown-footer');
		newbutton.style.clear = 'both';
		newbutton.style.textAlign = 'center';
		newbutton.style.padding = '1ex 0 1em';
		let separator = document.createElement('div');
		separator.style.borderTop = '1px solid #ccc';
		separator.style.margin = '0 15px 20px';
		separator.style.position = 'relative';
		separator.style.backgroundColor = 'inherit';
		let introLabel = document.createElement('span');
		introLabel.style.display = 'block';
		introLabel.style.position = 'absolute';
		introLabel.style.top = '50%';
		introLabel.style.left = '50%';
		introLabel.style.transform = 'translateX(-50%) translateY(-50%)';
		introLabel.innerText = phrases.separatorLabel;
		introLabel.style.backgroundColor = 'inherit';
		separator.appendChild(introLabel);
		newbutton.appendChild(separator);
		let ppecs = document.createElement('span'),
			logoImg = document.createElement('img'),
			ppImg = document.createElement('img'),
			pplink = document.createElement('a');
		logoImg.src = buttonConfiguration.logoUrl;
		logoImg.style.height = '20px';
		ppImg.src = buttonConfiguration.ppUrl;
		ppImg.style.height = '20px';
		ppecs.style.background = buttonConfiguration.backgroundColor;
		ppecs.style.border = '1px solid ' + buttonConfiguration.borderColor;
		ppecs.style.padding = '7px 2em';
		ppecs.style.marginLeft = '15px';
		ppecs.style.marginRight = '15px';
		ppecs.appendChild(ppImg);
		ppecs.appendChild(document.createTextNode(' '));
		ppecs.appendChild(logoImg);
		pplink.classList.add('paypal-ecs-button');
		pplink.href = 'shopping_cart.php?display_mode=ecs';
		pplink.appendChild(ppecs);
		newbutton.appendChild(pplink);
		let newli = document.createElement('li');
		newli.appendChild(newbutton);
		
		let dropdown = document.querySelector('#cart-container ul.dropdown-menu');
		dropdown.appendChild(newli);
	};
	
	document.addEventListener('DOMContentLoaded', function() {
		initPayPalCartButton();
	});
})();



Youez - 2016 - github.com/yon3zu
LinuXploit