Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux nl-srv-web1396.main-hosting.eu 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User : u107206879 ( 107206879)
PHP Version : 7.2.34
Disable Function : NONE
Directory :  /home/u107206879/domains/annoncelights.dk/public_html/src/buscador/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/u107206879/domains/annoncelights.dk/public_html/src/buscador/js/comun.js
function showList(uiid){
	$('#'+uiid).show();
}

$(function($) {
String.prototype.replaceAt = function(index, char) {
	return this.substr(0, index) + "<b>" + char + "</b>";
};
$.ui.autocomplete.prototype._renderItem = function(ul, item) {
    this.term = this.term.toLowerCase();
    var resultStr = item.label.toLowerCase();
    var t = "";
    while (resultStr.indexOf(this.term) != -1) {
        var index = resultStr.indexOf(this.term);
        t = t + item.label.replaceAt(index, item.label.slice(index, index + this.term.length));
        resultStr = resultStr.substr(index + this.term.length);
        item.label = item.label.substr(index + this.term.length);
    }
    return $("<li></li>").data("item.autocomplete", item).append("<a>" + t + item.label + "</a>").appendTo(ul);
};


if (GetIEVersion() > 0){
	// Is IE
	console.log('Is IE');
	$(".image-svg-loading").addClass("elementHidden");
	$(".tag-svg").remove();
}else {
	// Is not IE
	console.log('Is not IE');
	$(".label-buscando").addClass("elementHidden");
	$(".tag-img").remove();
}

});


function GetIEVersion() {
	  var sAgent = window.navigator.userAgent;
	  var Idx = sAgent.indexOf("MSIE");

	  // If IE, return version number.
	  if (Idx > 0) 
	    return parseInt(sAgent.substring(Idx+ 5, sAgent.indexOf(".", Idx)));

	  // If IE 11 then look for Updated user agent string.
	  else if (!!navigator.userAgent.match(/Trident\/7\./)) 
	    return 11;

	  else
	    return 0; //It is not IE
	}


	

Al-HUWAITI Shell