//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/MParte.php"; $md = new Parte(); $ID = $_REQUEST['ID']; $i = (int) $ID; $sx = $md->Modificar_P($i); $Nm = ""; $Dc = ""; $Tf = 0; $Cr = ""; while ($row = mysql_fetch_array($sx)) { $Nm = $row['Nombre']; $Dc = $row['Domicilio']; $Tf = $row['Telefono']; } ?> <form action="../Controlador/C_Parte.php" method="POST"> <div class="container" > <h2 style="font-size: 40px; color:black; margin-left: 55px; margin-top: 55px;">Modificar Parte</h2> <section class="content bgcolor-1" style="margin-left: 80px;">