%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/kfvehpdt/musculation-relax.com/
Upload File :
Create Path :
Current File : /home/kfvehpdt/musculation-relax.com/fluxmr.js

function upProduit(id) {
  my_ajax(document.getElementById('flux'), 'fluxmr.php?url=' + id, document.getElementById('flux'));

}

function upProduitWA(id) {
  my_ajax(document.getElementById('flux'), 'fluxwa.php?url=' + id, document.getElementById('flux'));

}

function fitboutajax() {
  my_ajax(document.getElementById('espacepub'), 'fitboutespacepub.php', document.getElementById('espacepub'));
  document.getElementById('espacepub').style.display = 'none';
}

function my_ajax(id,url,info) {
 
  info.style.display = 'block';
 
  if(window.XMLHttpRequest) {
   xhr_object = new XMLHttpRequest();
   } else {
  if (window.ActiveXObject) {
   xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
   }
  }
  
  xhr_object.open("GET", url, true);
  xhr_object.onreadystatechange = function(){
   
  if ( xhr_object.readyState == 1 )
  { 
   info.innerHTML = '';
  }  
  if ( xhr_object.readyState == 2 )
  { 
   info.innerHTML = '';
  }
  
  if ( xhr_object.readyState == 3 )
  { 
   info.innerHTML = '';
  }
   
  if ( xhr_object.readyState == 4 )
  {
   info.innerHTML = '';
   id.innerHTML = xhr_object.responseText;
  }
  }
  xhr_object.send(null);
}

Zerion Mini Shell 1.0