//comparamos el tiempo transcurrido if ($tiempo_transcurrido >= 600) { //si pasaron 10 minutos o más session_destroy(); // destruyo la sesión header("Location: ../index.html"); //envío al usuario a la pag. de autenticación //sino, actualizo la fecha de la sesión } else { $_SESSION["ultimoAcceso"] = $ahora; } } require '../header.php'; include_once "../Modelo/M_Delincuente.php"; $md = new Delincuente(); $sx = $md->Cargar_Delincuentes(); ?> <h1 style="margin-top: -60px;">DELINCUENTES</h1> <div class="row" style="margin-top: -200px;"> <table class="table table-striped table-bordered" style="margin-top: 80px;"> <thead> <tr> <th style="background:black; color:white; text-align: center;">ID</th> <th style="background:black; color:white; text-align: center;">Nombre</th> <th style="background:black; color:white; text-align: center;">CI</th> <th style="background:black; color:white; text-align: center;">Alias</th> <th style="background:black; color:white; text-align: center;">Sexo</th> <th style="background:black; color:white; text-align: center;">Estado Civil</th> <th style="background:black; color:white; text-align: center;">Fecha</th> <th style="background:black; color:white; text-align: center;">Acciones</th>