%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.149
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/11584/cwd/html/old/modules/mod_news_pro_gk4/interface/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/11584/cwd/html/old/modules/mod_news_pro_gk4/interface/scripts/engine.portal.mode.5.js
window.addEvent("load", function(){	
    $$('.nspMainPortalMode5').each(function(module){
		var id = module.getProperty('id');
		var $G = $Gavick[id];
		var current_offset = 0;
		var arts = module.getElements('.nspArt');
		var auto_anim = module.hasClass('autoanim');
		var anim_speed = $G['animation_speed'];
		var anim_interval = $G['animation_interval'];
		var animation = false;
		var scrollWrap = module.getElement('.nspArts');
		var scroller = new Fx.Scroll(scrollWrap, {duration: anim_speed, wheelStops: false});
		var dimensions = scrollWrap.getSize();
		var startItem = 0;
		var sizeWrap = scrollWrap.getCoordinates();
		var rtl_mode = module.getProperty('data-direction') == 'rtl' ? true : false;
		
		module.getElement('.nspArtsScroll').setStyle('width', (arts[arts.length-1].getSize().x * arts.length) + 2);
		
		var offset = module.getElement('.nspArt').getSize().x;
		var size = module.getElement('.nspArts').getSize().x;
		var scrollSize = (arts[arts.length-1].getSize().x * arts.length);
		var amountInView = Math.floor(size / offset);
		var totalAmount = module.getElements('.nspArt').length;
		
		// reset
		scroller.start(0,0);
		current_art = amountInView;
		
		if(totalAmount > amountInView) {
			if(module.getElement('.nspPrev')) {
				module.getElement('.nspPrev').addEvent('click', function() {
					animation = true;
					if(rtl_mode) {
						if(current_offset >= 0) {
							current_offset = scrollSize - size;
						} else {
							current_offset += offset;
						}
					} else {
						if(current_offset <= 0) {
							current_offset = scrollSize - size;
						} else {
							current_offset -= offset;
						}	
					}
					
					scroller.start(current_offset, 0);
				});
			}
			
			if(module.getElement('.nspNext')) {
				module.getElement('.nspNext').addEvent('click', function() {
					animation = true;
					if(rtl_mode) {
						if(current_offset <= scrollSize - size) {
							current_offset -= offset;
						} else {
							current_offset = 0;
						}
					} else {
						if(current_offset <= scrollSize - size) {
							current_offset += offset;
						} else {
							current_offset = 0;
						}
					}
					scroller.start(current_offset, 0);
				});
			}
			
			if(auto_anim){
				(function(){
					if(!animation) module.getElement('.nspNext').fireEvent("click");
					else animation = false;
				}).periodical($G['animation_interval'] / 2);
			}
		}
	});
});

Anon7 - 2022
AnonSec Team