<?php include_once 'classes/Constants.php'; include_once 'classes/SessionUtil.php'; include_once 'classes/DBUtil.php'; include_once 'classes/UsuarioDTO.php'; include_once "includes/header.php"; if (!SessionUtil::checkIfUserIsLogged()) { $_SESSION[Constants::$KEY_MESSAGE_OPERATION] = Constants::$TEXT_MUST_BE_LOGGED; header("Location: index.php"); } if (SessionUtil::userReachInactivity()) { header("Location: index.php"); } ?> <tr> <td colspan="2" align="center"> <form action="" method="post" enctype="application/x-www-form-urlencoded"> <table> <tr> <td colspan="2" align="right"> <div id="loginErrorMsg"> <?php if (isset($_SESSION[Constants::$KEY_MESSAGE_OPERATION])) { ?> <h3><?php echo $_SESSION[Constants::$KEY_MESSAGE_OPERATION]; ?> </h3> <?php unset($_SESSION[Constants::$KEY_MESSAGE_OPERATION]);