Uname: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
Software: Apache
PHP version: 5.6.40 [ PHP INFO ] PHP os: Linux
Server Ip: 217.160.0.194
Your Ip: 216.73.216.203
User: u72294154 (9179942) | Group: ftpusers (600)
Safe Mode: OFF
Disable Function:
NONE

name : busqueda.js
var t = null;
var UltimaBusqueda = "";
function Conexion(){
	var xmlhttp = false;

	try {
		xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
	} catch (e) {
		try {
			xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		} catch (E) {
			xmlhttp = false;
		}
	}
	if (!xmlhttp && typeof XMLHttpRequest!='undefined') {
		xmlhttp = new XMLHttpRequest();
	}	
	if (!xmlhttp) return null;
	this.Conectar = function(url, metodo, variables, Funcion) {
		if (!xmlhttp) return false;
		metodo = metodo.toUpperCase();
		try {
			if (metodo == "GET") { // GET
				xmlhttp.open(metodo, url+"?"+variables, true);
				variables = "";
			}else{
				return null;
			}
			xmlhttp.onreadystatechange = function(){
				if (xmlhttp.readyState == 4) {
					Funcion(xmlhttp);
				}
			};
			xmlhttp.send(null);	
		} catch(z) { return false; }
		return true;
	};
}
function Buscar(){
	if (t) {
		window.clearTimeout(t);
	}
	t = window.setTimeout("RealizarBusqueda()", 100);
}
function RealizarBusqueda() {
	var consulta = document.getElementById("consulta").value;
	if (UltimaBusqueda != consulta) {
		if ( consulta == "") {
			Ocultar();
			return false;
		}
		var con = new Conexion();
		if (!con) {
			alert("Lo siento, tu navegador no soporta XMLHTTP.");
			Ocultar();
			return;
		}
		var Actualizar = function (oXML) {
			var  sh = document.getElementById("resultados");
				sh.innerHTML = oXML.responseText;
				sh.style.display = "block";
		};
		con.Conectar("resultados.php", "GET", "q="+consulta, Actualizar);
		UltimaBusqueda = consulta;
	}
}
function Ocultar() {
	document.getElementById("resultados").style.display = "none";
}
© 2026 GrazzMean