<?
include("./fnc.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>e-Ducativo - Bienvenido</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="estilo1.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="jsincludes/overlib.js"></script>
<script language="javascript">
function foco(){
 document.form1.txtcodigo.focus();
}
function MM_jumpMenu2(targ,selObj,restore){ //v3.0
   eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"&grado="+document.form1.txtgrado.value+"&nombre="+document.form1.txtnombre.value+"&apellido="+document.form1.txtapellido.value+"&calleavenida="+document.form1.txtdcalleavenida.value+"&numcasa="+document.form1.txtdnumcasa.value+"&zona="+document.form1.txtdzona.value+"&colonia="+document.form1.txtdcolonia.value+"&telefono="+document.form1.txttelefono.value+"&idi=<?=$idi."&upd=$upd";?>'");
   if (restore) selObj.selectedIndex=0;
}

function validar(formulario){
 if(document.form1.txtcodigo.value=="SV"){
   alert("Ingrese un código de usuario");
   document.form1.txtcodigo.focus();
   return (false);
 }

 return (true);
}
</script>
<style type="text/css">
<!--
body {
        background-color: #006699;
}
-->
</style></head>

<body onload="foco();">
<table width="780"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#333333">
  <tr align="center" valign="middle" bgcolor="#FFFFCC">
    <td height="20" class="titulo_pagina"><strong>TOMA ELECTR&Oacute;NICA DE ASISTENCIA</strong></td>
  </tr>
  <tr align="center" valign="middle" bgcolor="#FFFFCC">
    <td height="20" class="titulo_pagina"><div align="center" class="titulo_pagina"></div>
    <div align="center" class="font_red_11"></div></td>
  </tr>
  <tr>
    <td align="left" valign="top" bgcolor="#FFFFCC"><div align="left" class="parrafo">
      <form name="form1" method="post" action="mnt_asistencia.php" onSubmit="return validar(this.form)">
        <table width="99%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000099">
            <tr>
              <td bgcolor="#ECE9D8"><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
                  <tr bgcolor="#6699CC">
                    <td colspan="2" class="titulo_seccion"><table width="100%"  border="0" cellpadding="1" cellspacing="1" bgcolor="#CFDFEF">
                        <tr bgcolor="#6699CC">
                          <td bgcolor="#6699CC" class="titulo_formulario">Toma de asistencia </td>
                        </tr>
                    </table></td>
                  </tr>
                  <tr bgcolor="#E8E8E8">
                    <td width="15%" align="left" valign="middle" bgcolor="#CFDFEF" class="lbl_campo">C&oacute;digo:</td>
                    <td width="85%" bgcolor="#ECF2F9"><div align="left">
                        <input name="txtcodigo" type="password" class="lbl_campo" id="txtcodigo" size="50" maxlength="50">
</div></td>
                  </tr>
              </table></td>
            </tr>
          </table>
          <br>
          <table width="99%"  border="0" align="center" cellpadding="5" cellspacing="1">
            <tr>
              <td width="33%">
                <div align="center">
                  <input name="Submit" type="submit" class="boton_guardar" value="Guardar los datos">
              </div></td>
              <td width="33%"><div align="center">
              </div></td>
              <td width="33%"><div align="center">
                  <button class="boton_salir" onClick="self.location='inicio.php'">SALIR</button>
              </div></td>
            </tr>
          </table>
        </form>
    </div></td>
  </tr>
</table>
</body>
</html>