require "../Modelo/MOficial.php"; require "../Modelo/MD_Partes.php"; require "../Modelo/MD_Investigador.php"; date_default_timezone_set("America/Asuncion"); $fecha = date("Y/m/d"); $hora = date("h:i:s"); $ID = $_REQUEST['ID']; $Denunciante = "Denunciante"; $Imputado = "Imputado"; $Testigo = "Testigo"; $Victima = "Victima"; $md = new Denuncia(); $mo = new Oficial(); $mdp = new Detalle_Partes(); $mdi = new Detalle_Investigador(); $sx = $md->Cargar_Denuncias($ID); while ($row = mysql_fetch_array($sx)) { $ID_C = $row['ID_D']; $Fecha = $row['FH']; $CI_Servicio = $row['CI_S']; $Tipo = $row['TD']; $CI_Investigador = $row['CI_I']; $Lugar = $row['Lugar']; $Descripcion = $row['Descripcion']; $Estado = $row['Estado']; } $sy = $mo->Modificar_O($CI_Servicio); while ($row = mysql_fetch_array($sy)) { $Nombre_Serv = $row['Nombre']; } $sz = $mo->Modificar_O($CI_Investigador);
//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'; require "../Modelo/MDenuncia.php"; $md = new Denuncia(); $sx = $md->Cargar_Denuncias(); ?> <h1 style="margin-top: -60px;">Denuncias Registradas</h1> <div class="row" style="margin-top: -90px;"> <table class="table table-striped table-bordered"> <thead> <tr> <th style="background:black; color:white; text-align: center;">Caso</th> <th style="background:black; color:white; text-align: center;">Denuncia</th> <th style="background:black; color:white; text-align: center;">Lugar</th> <th style="background:black; color:white; text-align: center;">Distrito Policial</th> <th style="background:black; color:white; text-align: center;">Fecha y Hora</th> <th style="background:black; color:white; text-align: center;">Estado</th> <th style="background:black; color:white; text-align: center;">Acciones</th> </tr>