<?php
  include('../seguridad.php')
?>
<html>

    <head><meta http-equiv='expires' content='0'><meta http-equiv='Cache-Control' content='no-cache'><meta http-equiv='Pragma' CONTENT='no-cache'>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>FALTAS GRUPOS</title>

         <link rel="stylesheet" href="https://code.jquery.com/ui/1.9.1/themes/base/jquery-ui.css" />
        <script src="https://code.jquery.com/jquery-1.8.2.js"></script>
        <script src="/resources/demos/external/jquery.bgiframe-2.1.2.js"></script>
        <script src="https://code.jquery.com/ui/1.9.1/jquery-ui.js"></script>

        <link rel="stylesheet" type="text/css" href="../css/capas.css"/>
        <script type="text/javascript" src="faltas_grupos.js"></script>
        <link rel="stylesheet" type="text/css" href="estilo.css"/>
        
    </head>
    <body>
        
    
    <div id="gn">

    <div id="cp1">
        <center>
           <img src="../imagenes/encabezado.jpg" width=50% height=50%>&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;
           <img src="../imagenes/escudo.png" width=10% height=70%>
        </center>
    </div>    
        
    <div id="cp2">
    <h4 ALIGN="CENTER">INGRESAR FALTAS DISCIPLINARIAS POR GRUPO</h4>
    <center>
        <form>
        <table  border='1' align='center'  cellspacing="2" cellpadding="3" style='background:#FAFAFA'>
            <tr>   
                <TD style='font-weight:bold;font-size: 12px;background-color: #dfdcdc'>               
 
     <b>PERIODO</b>
    <input style='font-weight:bold;text-align:center;font-size:12px;' onclick="mostrar5('per_id1','per_id2','periodos',250,190)" type='text' id='per_id1' size='2'>
    <input style='color:#DF0101;font-weight:bold;text-align:center;font-size:12px;' type='text' id='per_id2' size='10' readonly="readonly">

    <b>GRADO</b>
    <input style='font-weight:bold;text-align:center;font-size:12px;' onclick="mostrar_grados_profes('gr_id1','gr_id2',250,190)" type='text' id='gr_id1' size='2'>
    <input style='color:#DF0101;font-weight:bold;text-align:center;font-size:12px;' type='text' id='gr_id2' size='10' readonly="readonly">

    <b>CURSO</b>
    <input style='font-weight:bold;text-align:center;font-size:12px;' onclick="mostrar_cursos_profes('cur_id1','cur_id2',250,190)" type='text' id='cur_id1' size='2'>
    <input style='color:#DF0101;font-weight:bold;text-align:center;font-size:12px;' type='text' id='cur_id2' size='10' readonly="readonly">

                FECHA
                <input  style="font-weight:bold;text-align:center;" type="text" value="" id="fecha" size="12" >

                <script>
                var mydate=new Date();
                var year=mydate.getYear();
                if (year < 1000)
                year+=1900;
                var day=mydate.getDay();
                var month=mydate.getMonth()+1;
                if (month<10)
                month="0"+month;
                var daym=mydate.getDate();
                if (daym<10)
                daym="0"+daym;
                document.getElementById("fecha").value=daym+"/"+month+"/"+year;
                </script>


                </TD>
            </tr>

            <tr>
                <TD style='font-weight:bold;font-size: 12px;background-color: #dfdcdc'>

                ASIGN.
                <input  style="font-weight:bold;text-align:center;" onclick="mostrar_asign_profes('asign_id1','asign_id2',450,250)" type="text" id="asign_id1" size="2">&nbsp;&nbsp;
                <input  style='color:#DF0101;font-weight:bold;text-align:center;font-size:12px;' type="text" id="asign_id2" size="68" readonly="readonly">

                <input type="checkbox" id ="casilla" onclick="marcar(this);" /> Marcar/Desmarcar
                </TD>

            </tr>
            
            <tr>
                <TD style='font-weight:bold;font-size: 12px;background-color: #dfdcdc'>

                FALTA  &nbsp;
                <input  style="font-weight:bold;text-align:center;" onclick="mostrar('f_id1','f_id2','faltas',700,250)" type="text" id="f_id1" size="2">&nbsp;&nbsp;
                <input  style='color:#DF0101;font-weight:bold;font-size:11px;' type="text" id="f_id2" size="68" readonly="readonly">

                <input type='button' name='btngrabar' class="button small green" onclick='Grabar()' value='Grabar'>&nbsp;
                <input type='button' name='btnlimpiar' class="button small green" onclick='limpiar()' value='Limpiar'>

                </TD>

            </tr>

            <tr>
                <TD style='font-weight:bold;font-size: 12px;background-color: #dfdcdc'>
                OBSERVACI&Oacute;N
                <input style='color:#DF0101;font-weight:bold;font-size:11px;' type="text" id="descrip"  size="69">&emsp;&nbsp;&nbsp;&nbsp;&nbsp;
              
                 <input type='button' name='btnlimpiar' class="button small green" onclick='retornar()' value='Retornar'>
   
               </TD>
            </tr>

        </table>
 
     <div id='dialog' style='background-color:#003366; ' title='SELECCIONE ITEM' style="display:none;"></div>
     

	<div class="cuadro">
  <div id="alumnos"></div>
  </div>

     </form>

    </center>

    </div>
        
    <div id="cp3">
       <center>
       <img src="../imagenes/pie.jpg" />
       </center>
    </div>


    </div>

</body>
</html>
