403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/store.tiacyrusxxx.com/public_html/dev/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/store.tiacyrusxxx.com/public_html/dev/mod_ajax.js
var xmlHttp

 function GetXmlHttpObject()
{
var xmlHttp=null;

try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttp=new XMLHttpRequest();
 }
catch (e)
 {
 // Internet Explorer
 try
  {
  xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttp;
}
 
 

function fav(section,action,id) {
	 xmlHttp=GetXmlHttpObject()
 if (xmlHttp==null)
  {
  alert ("Browser does not support HTTP Request")
  return
  } 
	
	var theUL = document.getElementById('favorite_'+id); // the UL
	
	// switch UL with a loading div
	theUL.innerHTML = '...';
	
    xmlHttp.open('get', 'mod_fav_ajax.php?id='+id+'&section='+section+'&action='+action, true);
    xmlHttp.onreadystatechange = handleResponse;
    xmlHttp.send(null);	
}

function rate(id,content_type,rate) {
	 xmlHttp=GetXmlHttpObject()
 if (xmlHttp==null)
  {
  alert ("Browser does not support HTTP Request")
  return
  } 
	
	var theUL = document.getElementById('rate'); // the UL
	
	// switch UL with a loading div
	theUL.innerHTML = '<img src="images/loading.gif" border="0" width="15" height="15">';
	
    xmlHttp.open('get', 'mod_rate_ajax.php?content_id='+id+'&content_type='+content_type+'&rate='+rate, true);
    xmlHttp.onreadystatechange = handleResponse;
    xmlHttp.send(null);	
}

function wishlist(action,id) {
	 xmlHttp=GetXmlHttpObject()
 if (xmlHttp==null)
  {
  alert ("Browser does not support HTTP Request")
  return
  } 
	
	var theUL = document.getElementById('wishlist_'+id); // the UL
	
	// switch UL with a loading div
	theUL.innerHTML = '...';
	
    xmlHttp.open('get', 'mod_wishlist_ajax.php?id='+id+'&action='+action, true);
    xmlHttp.onreadystatechange = handleResponse;
    xmlHttp.send(null);	
}

function handleResponse() {
  if(xmlHttp.readyState == 4 || xmlHttp.readyState=="complete"){

       	
        var response = xmlHttp.responseText;
        var update = new Array();

        if(response.indexOf('|') != -1) {
            update = response.split('|');
            changeDiv(update[0], update[1]);
        }

    }
}

function changeDiv(div,text) {
    // Detect Browser
    var IE = (document.all) ? 1 : 0;
    var DOM = 0; 
    if (parseInt(navigator.appVersion) >=5) {DOM=1};

    // Grab the content from the requested "div" and show it in the "container"
    if (DOM) {
        var viewer = document.getElementById(div);
        viewer.innerHTML = text;
    }  else if(IE) {
        document.all[div].innerHTML = text;
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit