Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 uid=1(daemon) gid=1(daemon) grupos=1(daemon) Safe-mode: OFF (not secure) /opt/apex_led/proyectos/led/www/js/ drwxr-xr-x | |
| Viewing file: Select action/file-type:
imageSlider.thumbnailPreview(function (thumbIndex) { return "<img src='img/fondo_video.png?t=" + (thumbIndex + 1) + "' style='width:180px;height:75px;' />"; });
var inter = function(){
setInterval(
function() {
poll()
}, 1000 * 60 * 1); //cada 1 minutos
}
var poll = function(){
/*$.ajax({
url: 'ajax.php',
timeout: 10000,
dataType: 'JSON',
success: function(respuesta){
//console.log(respuesta);
alert(respuesta);
}
});*/
/* Crea el objeto AJAX. Esta funcion es generica para cualquier utilidad de este tipo, por
lo que se puede copiar tal como esta aqui */
var xmlhttp=false;
try
{
// Creacion del objeto AJAX para navegadores no IE
xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");
}
catch(e)
{
try
{
// Creacion del objet AJAX para IE
xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
}
catch(E) { xmlhttp=false; }
}
if (!xmlhttp && typeof XMLHttpRequest!='undefined') { xmlhttp=new XMLHttpRequest(); }
/* Invocamos */
xmlhttp.open("POST", "aplicacion.php?ai=led||3472&tcm=popup&tm=1", true); //verificar
xmlhttp.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
xmlhttp.send("led=<?php echo $_REQUEST['led']; ?>");
xmlhttp.onreadystatechange=function()
{
if (xmlhttp.readyState==4){ // Respuesta recibida. Coloco el texto plano en la capa correspondiente
var res = xmlhttp.responseText;
//alert(res); //ej. verificar: RO126374846902
if(res == 'reload'){
location.reload();
}
}
}
};
inter();
|
:: Command execute :: | |
--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 1.0508 ]-- |