<?php
if(!isset($_SESSION)) {
    session_start();
}

require_once($_SERVER['DOCUMENT_ROOT'].'/varios/varios.php');

if( 
    !isset($_SESSION[_SYSTEM_SESIONID.'nombre_completo']) 
) {
    // Sesión no iniciada, Acceso no permitdo
    header('location: /login/logout.php');
    
} else {
  $tituloSubPagina = 'Gestión de Reservas';
  require_once($_SERVER['DOCUMENT_ROOT'].'/varios/header.php');
  require_once($_SERVER['DOCUMENT_ROOT'].'/varios/modal/modal_confirmar.php');
  require_once($_SERVER['DOCUMENT_ROOT'].'/varios/modal/modal_mensaje.php');
  ?>

  <div aria-hidden="true" aria-labelledby="exampleModalLabel" class="modal fade" id="md_modal_informacionReserva" role="dialog" tabindex="-1">
      <div class="modal-dialog modal-lg" role="document">
          <div class="modal-content" id="divInformacionReserva">
              
          </div>
      </div>
  </div>
  
  <div aria-hidden="true" aria-labelledby="exampleModalLabel" class="modal fade" id="md_modal_rechazoReserva" role="dialog" tabindex="-1">
      <div class="modal-dialog modal-lg" role="document">
          <div class="modal-content" id="divRechazoReserva">
              
          </div>
      </div>
  </div>
  
  <div aria-hidden="true" aria-labelledby="exampleModalLabel" class="modal fade" id="md_modal_anularReserva" role="dialog" tabindex="-1">
      <div class="modal-dialog modal-lg" role="document">
          <div class="modal-content" id="divAnularReserva">
              
          </div>
      </div>
  </div>
  
  <div aria-hidden="true" aria-labelledby="exampleModalLabel" class="modal fade" id="md_modal_cerrarReserva" role="dialog" tabindex="-1">
      <div class="modal-dialog modal-lg" role="document">
          <div class="modal-content" id="divCerrarReserva">
              
          </div>
      </div>
  </div>

  <script type="text/javascript" src="/js/gestionReservas/gestionReservas.js"></script>
  <div id="tableContent" name="tableContent">
  </div>
  <?php
  require_once($_SERVER['DOCUMENT_ROOT'].'/varios/footer.php');

}
 ?>


    
