<?php

    include_once('conection.php');

    if(@$_SESSION['rol']!=3){


        

?>

            <script language="JavaScript">
                 window.location="index.php";
            </script>

<?php

}else{

     //$agencia = $_SESSION['usuario']." - ".$_SESSION['agencia'];
     
    
?>
<!DOCTYPE html>

<html lang="es" dir="ltr">


<head>
  <meta charset="UTF-8">

  <link rel="stylesheet" href="bootstrap-4.4.1-dist/css/bootstrap.min.css" >
    <link rel="stylesheet" href="DataTable/css/dataTables.bootstrap4.min.css" >
    <link rel="stylesheet" href="toast/src/jquery.toast.css" type="text/css">
  </head>
  <link rel="stylesheet" href="css/estilos.css" >


  <title>Autoevaluacion</title>

</head>

<body id="cuerpo">

     <ul class="nav nav-pills">
        <li class="nav-item">
          <a class="nav-link " href="index.php">Inicio</a>
        </li>
         <li class="nav-item">
          <a class="nav-link" href="consultar_am.php">Consultar AM</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="consultar_pm.php">Consultar PM</a>
        </li>
         <li class="nav-item">
          <a class="nav-link" href="faltan_am.php">Faltan AM</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="faltan_pm.php">Faltan PM</a>
        </li>
        <li class="nav-item">
          <a class="nav-link active" href="#">Auditoria</a>
        </li>
        <li class="nav-item">
          <a class="nav-link" href="registro_preg.php">Crear preguntas</a>
        </li>        
    </ul>


  




  <div class="container-fluid">

    <div class="row justify-content-md-center">

        <div class="col-12">
            <!-- <h3 class="centrar">Autoevaluacion</h3> -->
            <h3 class="centrar">Cuadro sintomático</h3>
            <h4 class="centrar">Auditoria</h4>
            <!-- <h3 class="centrar">30 Octubre 2020</h3> -->
            <div id="muestra1"> </div>
        </div>

     </div> <!-- <div class="row"> -->

  </div>  <!-- <div class="container"> -->
    


</body>
    <script src="jquery-3.4.1/jquery-3.4.1.min.js" ></script>
    <script src="popper-1.12.9/popper-1.12.9.min.js" ></script>
    <script src="bootstrap-4.4.1-dist/js/bootstrap.min.js" ></script>
    <script src="DataTable/js/dataTables.bootstrap4.min.js"></script>
    <script src="DataTable/js/jquery.dataTables.min.js"></script>
    <script src="toast/src/jquery.toast.js"></script>
   <!--  <script src="jquery_validator_1.10.0/jquery.validate.min.js" ></script>
    <script src="jquery_validator_1.10.0/messages_es.js" ></script> -->


   <!--  <script type="text/javascript">var imgs = '<?php //echo json_encode($imagenes);?>'; </script> -->
    <script src="js/auditoria.js" ></script>

</html>



<!--ventana emergente mensaje wsp-->
          
      <div class="modal fade" id="emergente" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                <div class="modal-dialog">
                  <div class="modal-content">
                    <div class="modal-header">
                      <h4 class="modal-title" id="myModalLabel"><strong>Mensaje:</strong></h4>
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Cerrar</span></button>
                    
                    </div>
                    
                    <div id="muestra" class="modal-body">


                        <!-- <p id="fecha_env" style="text-align: justify; font-size: 20px;"><?php //echo fecha();?></p> -->


                          <div class="d-flex align-items-center justify-content-center h-100">
                            
                            <div id="modal_marcar" style="text-align: justify; font-size: 20px;"></div>                            
                          </div>


                          <br>


                          <div class="d-flex align-items-center justify-content-center h-100">
                            <button type='button' id="listo" class='btn btn-primary'>Listo</button>&nbsp; &nbsp; &nbsp; &nbsp;
                            <!-- <button type='button' id="no" class='btn btn-dark' >no</button> -->
                          </div>


                             <!-- ocultos -->
                          <input type="hidden" id="cons" name="cons" >
                          <input type="hidden" id="wsp" name="wsp" >
                          

                    </div>
                    
                    
                    <div class="modal-footer">
                   <!-- <button type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
                    <button type="button" class="btn btn-default fa fa-print" onClick="forward('formato_pdf.php?id='+$('#fmtid').val())" data-dismiss="modal">Imprimir</button>
                    <a target="_blank" href="javascript:imprSelec('muestra')" id="imp" rel="" class="btn btn-default fa fa-print">Imprimir</a>-->
                    </div>
                  </div>
                </div>
            </div>








            <!--ventana emergente gestion-->
          
      <div class="modal fade" id="emergente3" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
                <div class="modal-dialog">
                  <div class="modal-content">
                    <div class="modal-header">
                      <h4 class="modal-title" id="myModalLabel"><strong id="titulo3"></strong></h4>
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Cerrar</span></button>
                    
                    </div>
                    
                    <div id="muestra" class="modal-body col" style="text-align: center;">


                        <textarea class="col" id="textarea" rows="15" maxlength="500"></textarea>


                          <br>


                          <div class="d-flex align-items-center justify-content-center h-100">
                            <button type='button' id="listo3" class='btn btn-primary'>Listo</button>&nbsp; &nbsp; &nbsp; &nbsp;
                            <!-- <button type='button' id="no" class='btn btn-dark' >no</button> -->
                          </div>


                             <!-- ocultos -->
                          <input type="hidden" id="cons3" name="cons3" >
                          <input type="hidden" id="cedu" name="cedu" >
                          <input type="hidden" id="cuenta" name="cuenta" >
                          

                    </div>
                    
                    
                    <div class="modal-footer">
                   <!-- <button type="button" class="btn btn-default" data-dismiss="modal">Cerrar</button>
                    <button type="button" class="btn btn-default fa fa-print" onClick="forward('formato_pdf.php?id='+$('#fmtid').val())" data-dismiss="modal">Imprimir</button>
                    <a target="_blank" href="javascript:imprSelec('muestra')" id="imp" rel="" class="btn btn-default fa fa-print">Imprimir</a>-->
                    </div>
                  </div>
                </div>
            </div>           

<?php
      }
  ?>


  <!-- //////////////////////////////////////////////////////////////////////// -->