Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) Safe-mode: OFF (not secure) /var/www/html/site/ipanel/js/ drwxr-xr-x |
Viewing file: Select action/file-type: function conecta() { if (typeof XMLHttpRequest != "undefined") return new XMLHttpRequest(); else if (window.ActiveXObject) { var versoes = ["MSXML2.XMLHttp.5.0", "MSXML2.XMLHttp.4.0", "MSXML2.XMLHttp.3.0", "MSXML2.XMLHttp", "Microsoft.XMLHttp"]; } for (var i = 0; i < versoes.length; i++) { try{ return new ActiveXObject(versoes[i]); }catch(e){} } throw new Error("Seu browser nao suporta AJAX"); } function getCidades(uf, campo){ url = "inc/getCidades.php?uf="+uf; obj = document.getElementById(campo); removeOptions(obj); adicionaOption(obj, "", "Carregando ...", true, true); req = conecta(); req.open("GET", url, true); req.onreadystatechange = function() { if(req.readyState == 4) { if(req.status == 200){ removeOptions(obj); adicionaOption(obj, "", "Selecione", true, true); var jsonData = eval('(' + req.responseText + ')'); cidades = jsonData.cidades; for(var i =0; i < cidades.length; i++){ cidadeNome = cidades[i].cidade; if(cidadeNome != null) adicionaOption(obj, cidadeNome, cidadeNome, false, false); } } } } req.send(null); } function removeOptions(obj){ for(i = obj.length - 1; i >= 0; i--) obj.remove(i); } function adicionaOption(obj, valor, label, selectedDefault, selected){ var novaOpcao = new Option(label, valor, selectedDefault, selected); obj.options[obj.length] = novaOpcao; } |
:: Command execute :: | |
--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0043 ]-- |