1
0
forked from qwerty/milfs

revision de login

This commit is contained in:
humano 2019-02-19 05:46:49 -05:00
parent 307dc26b04
commit 7da49adf93
3 changed files with 4 additions and 4 deletions

View File

@ -5459,7 +5459,7 @@ $consulta= "SELECT *, $tabla_autenticacion.id AS id_usuario
<div class=' alert alert-success'><h3><b>Hola $_SESSION[username] </b</h3></div>"; <div class=' alert alert-success'><h3><b>Hola $_SESSION[username] </b</h3></div>";
//$url=urlencode('../index.php'); //$url=urlencode('../index.php');
//$respuesta->addRedirect("$_SESSION[site]"); //$respuesta->addRedirect("$_SESSION[site]");
$respuesta->addScript("window.location='../'"); $respuesta->addScript("window.location='./'");
// $respuesta->addAssign($div,"innerHTML",$resultado); // $respuesta->addAssign($div,"innerHTML",$resultado);
//header("Location: ../"); //header("Location: ../");
//return; //return;

View File

@ -33,7 +33,7 @@ if (isset($_REQUEST['consulta'])) {$consulta = $_REQUEST['consulta'];} else {$co
if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";} if (isset($_REQUEST['t'])) {$t = $_REQUEST['t'];} else {$t = "";}
?> ?>
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="es">
<head > <head >
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1"> <meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">

View File

@ -20,11 +20,11 @@ function delayTimer() {
restante = (tiempo - transcurrido_minutos); restante = (tiempo - transcurrido_minutos);
prefin = (tiempo*60)-transcurrido; prefin = (tiempo*60)-transcurrido;
document.form_session.tiempo_session.value = "Cierra en: "+restante+" minutos "; document.form_session.tiempo_session.value = "Cierra en: "+restante+" minutos "+inicio;
if(restante == 1 ){ if(restante == 1 ){
//alert(transcurrido); //alert(transcurrido);
location.href="./salir.php"; location.href="../../salir.php";
}else{ }else{
setTimeout("revisarSession()",2000) ; setTimeout("revisarSession()",2000) ;
} }