<?
include("../fnc.php");
enlinea_a();

if(!$idalumno){
  alert("Parámetros incorrectos","javascript:history.go(-1)");
}
if($idalumno){
$qver=mysql_query("select * from alumnos where carnet = '$idalumno'");
 if(mysql_num_rows($qver)==0){
  alert("El número de carnet no existe","javascript:history.go(-1)");
 }else{
  $info=mysql_fetch_array($qver);
  $link_foto="<a href='frm_alumno_foto.php?idalumno={$info[carnet]}' class='link_parrafo'>Agregar/Modificar Foto</a>";
  if(file_exists("../fotos_usr/{$info[carnet]}.jpg")){
   $foto="<img src=\"../fotos_usr/{$info[carnet]}.jpg\" width=\"95\" height=\"125\" border=\"1\">";
  }else{
   $foto="<img src=\"../fotos_usr/sin_foto.jpg\" width=\"95\" height=\"125\" border=\"1\">";
  }
 }
}else{
 $foto="";
 $link_foto="";
}
$qinfoe=mysql_query("select * from expedientes where carnet='$idalumno'");
/*if(mysql_num_rows($qinfoe)==0){
 $tipo="Add";
}else{
  $tipo="Update";
  $infoe=mysql_fetch_array($qinfoe);
} */
  $tipo="Add";
  $infoe=mysql_fetch_array($qinfoe);

?>
<!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 validar(formulario){

  if(document.form1.txtcarnet.value==""){
   alert("Por favor ingrese un número de carné");
   document.form1.txtcarnet.focus();
   return (false);
  }

  return (true);
}
</script>
<style type="text/css">
<!--
body {
	background-image: url(../images/tema/bg_pagina.png);
}
-->
</style></head>

<body>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#333333">
  <tr>
    <td bgcolor="#336699">    <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFCC">
      <tr bgcolor="#FFFFFF">
        <td width="40%"><img src="../images/logo_5.gif" width="300" height="50"></td>
        <td width="60%" background="../images/back_header_admin.gif" bgcolor="#FFFFFF"><div align="right" class="usuario_nombre_enc"><strong><?echo "$unombre $uapellido";?><br>
          </strong>Tiene <?=mensajes($uuser);?> mensaje(s) sin leer</div></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td height="15" colspan="2" background="../images/barra_encabezado.gif">&nbsp;</td>
        </tr>
    </table>
      <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="20%" valign="top" background="../images/tema/bg_contenido.png" bgcolor="#FFFFCC"><?php include("menu.php"); ?>&nbsp;</td>
          <td width="80%" valign="top" bgcolor="#FFFFFF"><table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#333333">
            <tr align="center" valign="middle" bgcolor="#FFFFCC">
              <td width="65" height="20" background="../images/tema/bg_contenido.png" class="titulo_pagina"><div align="center" class="titulo_pagina"></div></td>
              <td width="433" background="../images/tema/bg_contenido.png" class="titulo_pagina"><strong>ADMINISTRACION DE ALUMNOS</strong></td>
              <td width="65" align="center" valign="middle" background="../images/tema/bg_contenido.png" class="titulo_pagina"><a href="inicio.php" class="link_parrafo">Inicio<img src="../images/ic_home.png" width="21" height="21" border="0"></a></td>
            </tr>
            <tr>
              <td colspan="3" align="left" valign="top" background="../images/tema/bg_contenido.png" bgcolor="#FFFFCC"><div align="left" class="parrafo">
                <form name="form2" method="post" action="frm_alumno.php">
                  <table width="99%"  border="0" align="center" cellpadding="1" cellspacing="1" background="../images/tema/bg_frm_campos.png">
                    <tr>
                      <td width="83%"><div align="left" class="font_blue_11"> <strong> MODIFICAR INFORMACION  DE ALUMNOS <br>
                        Ingrese el n&uacute;mero de carnet
                              <input name="idalumno" type="text" class="txt_buscar" id="idalumno3" dir="rtl" size="15" maxlength="15">
                                <input name="Submit3" type="submit" class="boton_modificar" value="Modificar">
</strong> </div></td>
                      <td width="17%"><div align="center"><strong><a href="frm_buscar_alumno.php" class="lbl_buscar">Buscar Alumno </a></strong></div></td>
                    </tr>
                  </table>
                </form>
                                <hr size="1">
                                <form name="form1" method="post" action="mnt_alumno_exp.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="3" class="titulo_seccion"><table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#ECF2F9">
                              <tr bgcolor="#CFDFEF">
                                <td width="3%"><div align="left" class="titulo_formulario">
                                  <div align="center"><img src="../images/tema/ic_formularios.png" width="35" height="32"></div>
                                </div></td>
                                <td width="35%" background="../images/tema/bg_titulo_frm.png" bgcolor="#CFDFEF" class="titulo_formulario"><div align="left" class="titulo_formulario">Expediente del alumno </div></td>
                                <td width="8%" background="../images/tema/bg_titulo_frm.png" bgcolor="#CFDFEF"><div align="left" class="titulo_formulario">
                                  <div align="center"></div>
                                </div></td>
                                <td width="54%" background="../images/tema/bg_titulo_frm.png" bgcolor="#CFDFEF"><div align="right"><a href="frm_alumno.php?idalumno=<?=$idalumno;?>" class="link_parrafo_blanco">[ Editar Informaci&oacute;n general del alumno ] </a>  </div></td>
                              </tr>
                            </table></td>
                          </tr>
                          <tr bgcolor="#E8E8E8">
                            <td width="16%" align="left" valign="middle" background="../images/tema/bg_frm_campos.png" class="lbl_campo">No. de Carnet</td>
                            <td width="70%" background="../images/tema/bg_frm_campos.png"><div align="left">
                              <input name="txtcarnet" type="text" class="textbox" id="txtcarnet3" value="<?=$info[carnet];?>" size="15" maxlength="15" readonly="true" <?if($tipo=="Update"){echo "readonly=\"true\"";}?>>
                            </div>
                              <div align="right"></div></td>
                            <td width="14%" rowspan="4" align="center" valign="top" background="../images/tema/bg_frm_campos.png" bgcolor="#ECF2F9"><?=$foto;?>&nbsp;<br>
                              <?=$link_foto;?></td>
                          </tr>
                          <tr >
                            <td background="../images/tema/bg_frm_campos.png" width="16%" align="left" valign="middle" class="lbl_campo">Nombre(s)</td>
                            <td background="../images/tema/bg_frm_campos.png"><div align="left">
                              <input name="txtnombre" type="text" class="textbox" id="txtnombre" value="<?=$info[nombre];?>" size="60" maxlength="100" readonly="true">
                            </div></td>
                            </tr>
                          <tr >
                            <td width="16%" align="left" valign="middle" class="lbl_campo" background="../images/tema/bg_frm_campos.png">Apellido(s)</td>
                            <td background="../images/tema/bg_frm_campos.png"><div align="left">
                              <input name="txtapellido" type="text" class="textbox" id="txtapellido" value="<?=$info[apellido];?>" size="60" maxlength="100" readonly="true">
                            </div></td>
                            </tr>
                          <tr >
                            <td background="../images/tema/bg_frm_campos.png" colspan="2" align="left" valign="middle" class="lbl_campo">&nbsp;</td>
                            </tr>
                      </table></td>
                    </tr>
                  </table>
                  <br>
                      <table width="99%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#6699CC">
                        <tr>
                          <td bgcolor="#E8E8E8"><table width="100%"  border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#6699CC">
                              <tr bgcolor="#6699CC">
                                <td colspan="2" class="titulo_formulario"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/tema/bg_titulo_frm.png">
                                  <tr>
                                    <td width="2%"><img src="../images/tema/ic_formularios.png" width="35" height="32"></td>
                                    <td width="98%">Primaria</td>
                                  </tr>
                                </table></td>
                              </tr>
                              <tr align="left" valign="middle" bgcolor="#E8E8E8">
                                <td width="18%" bgcolor="#CFDFEF" class="lbl_campo">Primero</td>
                                <td width="82%" bgcolor="#ECF2F9"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                  <tr class="parrafo">
                                    <td width="17%">Matr&iacute;cula</td>
                                    <td width="18%"><input name="txtmp1" type="text" class="textbox" id="txtmp1" value="<?=$infoe[mp1];?>" size="20"></td>
                                    <td width="13%"><div align="right">de fecha</div></td>
                                    <td width="52%"><input name="txtfp1" type="text" class="textbox" value="<?=fecha($infoe[fp1]);?>" size="10"></td>
                                  </tr>
                                  <tr class="parrafo">
                                    <td>
Cursado en</td>
                                    <td colspan="3"><input name="txtcp1" type="text" class="textbox" id="txtcp1" value="<?=$infoe[cp1];?>" size="80" maxlength="100"></td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr align="left" valign="middle" bgcolor="#E8E8E8">
                                <td bgcolor="#CFDFEF" class="lbl_campo">Segundo</td>
                                <td bgcolor="#ECF2F9"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                    <tr class="parrafo">
                                      <td width="17%">Matr&iacute;cula</td>
                                      <td width="18%"><input name="txtmp2" type="text" class="textbox" id="txtmp2" value="<?=$infoe[mp2];?>" size="20"></td>
                                      <td width="13%"><div align="right">de fecha</div></td>
                                      <td width="52%"><input name="txtfp2" type="text" class="textbox" id="txtnombrepadre22" value="<?=fecha($infoe[fp2]);?>" size="10"></td>
                                    </tr>
                                    <tr class="parrafo">
                                      <td> Cursado en</td>
                                      <td colspan="3"><input name="txtcp2" type="text" class="textbox" id="txtcp2" value="<?=$infoe[cp2];?>" size="80"></td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr align="left" valign="middle" bgcolor="#E8E8E8">
                                <td bgcolor="#CFDFEF" class="lbl_campo">Tercero</td>
                                <td bgcolor="#ECF2F9"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                    <tr class="parrafo">
                                      <td width="17%">Matr&iacute;cula</td>
                                      <td width="18%"><input name="txtmp3" type="text" class="textbox" id="txtmp3" value="<?=$infoe[mp3];?>" size="20"></td>
                                      <td width="13%"><div align="right">de fecha</div></td>
                                      <td width="52%"><input name="txtfp3" type="text" class="textbox" id="txtnombrepadre22" value="<?=fecha($infoe[fp3]);?>" size="10"></td>
                                    </tr>
                                    <tr class="parrafo">
                                      <td> Cursado en</td>
                                      <td colspan="3"><input name="txtcp3" type="text" class="textbox" id="txtcp3" value="<?=$infoe[cp3];?>" size="80"></td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr align="left" valign="middle" bgcolor="#E8E8E8">
                                <td bgcolor="#CFDFEF" class="lbl_campo">Cuarto</td>
                                <td bgcolor="#ECF2F9"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                    <tr class="parrafo">
                                      <td width="17%">Matr&iacute;cula</td>
                                      <td width="18%"><input name="txtmp4" type="text" class="textbox" id="txtmp4" value="<?=$infoe[mp4];?>" size="20"></td>
                                      <td width="13%"><div align="right">de fecha</div></td>
                                      <td width="52%"><input name="txtfp4" type="text" class="textbox" id="txtnombrepadre22" value="<?=fecha($infoe[fp4]);?>" size="10"></td>
                                    </tr>
                                    <tr class="parrafo">
                                      <td> Cursado en</td>
                                      <td colspan="3"><input name="txtcp4" type="text" class="textbox" id="txtcp4" value="<?=$infoe[cp4];?>" size="80"></td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr align="left" valign="middle" bgcolor="#E8E8E8">
                                <td bgcolor="#CFDFEF" class="lbl_campo">Quinto</td>
                                <td bgcolor="#ECF2F9"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                                    <tr class="parrafo">
                                      <td width="17%">Matr&iacute;cula</td>
                                      <td width="18%"><input name="txtmp5" type="text" class="textbox" id="txtmp5" value="<?=$infoe[mp5];?>" size="20"></td>
                                      <td width="13%"><div align="right">de fecha</div></td>
                                      <td width="52%"><input name="txtfp5" type="text" class="textbox" id="txtnombrepadre22" value="<?=fecha($infoe[fp5]);?>" size="10"></td>
                                    </tr>
                                    <tr class="parrafo">
                                      <td> Cursado en</td>
                                      <td colspan="3"><input name="txtcp5" type="text" class="textbox" id="txtcp5" value="<?=$infoe[cp5];?>" size="80"></td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr align="left" valign="middle" bgcolor="#E8E8E8">
                                <td bgcolor="#CFDFEF" class="lbl_campo">Sexto</td>
                                <td bgcolor="#ECF2F9"><table width="100%"  border="0" cellspacing="0" cellpadding="1">
                                    <tr class="parrafo">
                                      <td width="17%">Matr&iacute;cula</td>
                                      <td width="18%"><input name="txtmp6" type="text" class="textbox" id="txtmp6" value="<?=$infoe[mp6];?>" size="20"></td>
                                      <td width="13%"><div align="right">de fecha</div></td>
                                      <td width="52%"><input name="txtfp6" type="text" class="textbox" id="txtnombrepadre22" value="<?=fecha($infoe[fp6]);?>" size="10"></td>
                                    </tr>
                                    <tr class="parrafo">
                                      <td> Cursado en</td>
                                      <td colspan="3"><input name="txtcp6" type="text" class="textbox" id="txtcp6" value="<?=$infoe[cp6];?>" size="80"></td>
                                    </tr>
                                    <tr class="parrafo">
                                      <td colspan="4">Diploma de educaci&oacute;n primaria
                                      <?
                                      $chkdipprimaria="";
                                      $chkmecas1="";
                                      $chkmecas2="";
                                      $chkmecas3="";
                                      $chkdipbasicos="";
                                      $chkfichaps5="";
                                      $chkfichaps6="";
                                      if($infoe[dipprimaria]=="S"){$chkdipprimaria="checked";}
                                      if($infoe[dipbasicos]=="S"){$chkdipbasicos="checked";}
                                      if($infoe[mecas1]=="S"){$chkmecas1="checked";}
                                      if($infoe[mecas2]=="S"){$chkmecas2="checked";}
                                      if($infoe[mecas3]=="S"){$chkmecas3="checked";}
                                      if($infoe[fichaps5]=="S"){$chkfichaps5="checked";}
                                      if($infoe[fichaps6]=="S"){$chkfichaps6="checked";}

                                      ?>
                                      <input name="txtdipprimaria" type="checkbox" id="txtdipprimaria" value="S" <?=$chkdipprimaria;?>></td>
                                    </tr>
                                </table></td>
                              </tr>
                          </table></td>
                        </tr>
                      </table>
                      <br>
                      <table width="99%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#6699CC">
                        <tr>
                          <td bgcolor="#E8E8E8"><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#6699CC">
                              <tr bgcolor="#6699CC">
                                <td colspan="2" class="titulo_formulario"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/tema/bg_titulo_frm.png">
                                  <tr>
                                    <td width="2%"><img src="../images/tema/ic_formularios.png" width="35" height="32"></td>
                                    <td width="98%">Secundaria</td>
                                  </tr>
                                </table></td>
                              </tr>
                              <tr align="left" valign="middle" bgcolor="#E8E8E8">
                                <td width="18%" bgcolor="#CFDFEF" class="lbl_campo">Primero</td>
                                <td width="82%" bgcolor="#ECF2F9"><table width="100%"  border="0" cellspacing="0" cellpadding="1">
                                  <tr>
                                    <td> Cursado en</td>
                                    <td colspan="3"><input name="txtcs1" type="text" class="textbox" id="txtcs1" value="<?=$infoe[cs1];?>" size="80"></td>
                                  </tr>
                                    <tr>
                                      <td width="17%">Matr&iacute;cula</td>
                                      <td width="18%"><input name="txtms1" type="text" class="textbox" id="txtms1" value="<?=$infoe[ms1];?>" size="20"></td>
                                      <td width="13%"><div align="right">de fecha</div></td>
                                      <td width="52%"><input name="txtfs1" type="text" class="textbox" id="txtnombrepadre23" value="<?=fecha($infoe[fs1]);?>" size="10"></td>
                                    </tr>
                                    <tr>
                                      <td colspan="4">Certificado de mecanograf&iacute;a
                                      <input name="txtmecas1" type="checkbox" id="txtmecas1" value="S" <?=$chkmecas1;?>></td>
                                    </tr>
                                    <tr>
                                      <td colspan="4"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                        <tr>
                                          <td height="25" background="../images/tema/bg_titulo_frm.png" class="titulo_formulario"><div align="center">Curso</div></td>
                                          <td height="25" background="../images/tema/bg_titulo_frm.png" class="titulo_formulario"><div align="center">Nota</div></td>
                                          <td height="25" background="../images/tema/bg_titulo_frm.png" class="titulo_formulario"><div align="center">Fecha</div></td>
                                        </tr>
                                        <tr>
                                          <td><select name="select" class="textbox">
                                          </select>
                                          </td>
                                          <td><input name="txtnota" type="text" class="textbox" id="txtnota" size="3" maxlength="3"></td>
                                          <td>&nbsp;</td>
                                        </tr>
                                      </table></td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr align="left" valign="middle" bgcolor="#E8E8E8">
                                <td bgcolor="#CFDFEF" class="lbl_campo">Segundo</td>
                                <td bgcolor="#ECF2F9"><table width="100%"  border="0" cellspacing="0" cellpadding="1">
                                    <tr>
                                      <td width="17%" class="parrafo">Matr&iacute;cula</td>
                                      <td width="18%"><input name="txtms2" type="text" class="textbox" id="txtms2" value="<?=$infoe[ms2];?>" size="20"></td>
                                      <td width="13%"><div align="right">de fecha </div></td>
                                      <td width="52%"><input name="txtfs2" type="text" class="textbox" id="txtnombrepadre23" value="<?=fecha($infoe[fs2]);?>" size="10"></td>
                                    </tr>
                                    <tr>
                                      <td> Cursado en</td>
                                      <td colspan="3"><input name="txtcs2" type="text" class="textbox" id="txtcs2" value="<?=$infoe[cs2];?>" size="80"></td>
                                    </tr>
                                    <tr>
                                      <td colspan="4">Certificado de mecanograf&iacute;a
                                      <input name="txtmecas2" type="checkbox" id="txtmecas2" value="S" <?=$chkmecas2;?>></td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr align="left" valign="middle" bgcolor="#E8E8E8">
                                <td bgcolor="#CFDFEF" class="lbl_campo">Tercero</td>
                                <td bgcolor="#ECF2F9"><table width="100%"  border="0" cellspacing="0" cellpadding="1">
                                    <tr>
                                      <td width="17%">Matr&iacute;cula</td>
                                      <td width="18%"><input name="txtms3" type="text" class="textbox" id="txtms3" value="<?=$infoe[ms3];?>" size="20"></td>
                                      <td width="13%"><div align="right">de fecha</div></td>
                                      <td width="52%"><input name="txtfs3" type="text" class="textbox" id="txtnombrepadre23" value="<?=fecha($infoe[fs3]);?>" size="10"></td>
                                    </tr>
                                    <tr>
                                      <td> Cursado en</td>
                                      <td colspan="3"><input name="txtcs1" type="text" class="textbox" id="txtcs1" value="<?=$infoe[cs3];?>" size="80"></td>
                                    </tr>
                                    <tr>
                                      <td colspan="4">Certificado de mecanograf&iacute;a
                                      <input name="txtmecas3" type="checkbox" id="txtmecas3" value="checkbox" <?=$chkmecas3;?>></td>
                                    </tr>
                                    <tr>
                                      <td colspan="4">Diploma de educaci&oacute;n b&aacute;sica
                                        <input name="txtdipbasicos" type="checkbox" id="txtdipbasicos" value="checkbox" <?=$chkdipbasicos;?>></td>
                                    </tr>
                                </table></td>
                              </tr>
                          </table></td>
                        </tr>
                      </table>
                      <br>
                      <table width="99%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#6699CC">
                        <tr>
                          <td bgcolor="#E8E8E8"><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#6699CC">
                              <tr bgcolor="#6699CC">
                                <td colspan="2" class="titulo_formulario"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/tema/bg_titulo_frm.png">
                                  <tr>
                                    <td width="2%"><img src="../images/tema/ic_formularios.png" width="35" height="32"></td>
                                    <td width="98%">Diversificado</td>
                                  </tr>
                                </table></td>
                              </tr>
                              <tr align="left" valign="middle" bgcolor="#E8E8E8">
                                <td width="18%" bgcolor="#CFDFEF" class="lbl_campo">Cuarto</td>
                                <td width="82%" bgcolor="#ECF2F9"><table width="100%"  border="0" cellspacing="0" cellpadding="1">
                                    <tr>
                                      <td width="17%">Matr&iacute;cula</td>
                                      <td width="18%"><input name="txtmd4" type="text" class="textbox" id="txtmd4" value="<?=$infoe[md4];?>" size="20"></td>
                                      <td width="13%"><div align="right">de fecha</div></td>
                                      <td width="52%"><input name="txtfd4" type="text" class="textbox" id="txtfd4" value="<?=fecha($infoe[fd4]);?>" size="10"></td>
                                    </tr>
                                    <tr>
                                      <td> Cursado en</td>
                                      <td colspan="3"><input name="txtcd4" type="text" class="textbox" id="txtcd4" value="<?=$infoe[cd4];?>" size="80"></td>
                                    </tr>
                                    <tr>
                                      <td colspan="4">&nbsp;</td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr align="left" valign="middle" bgcolor="#E8E8E8">
                                <td bgcolor="#CFDFEF" class="lbl_campo">Quinto</td>
                                <td bgcolor="#ECF2F9"><table width="100%"  border="0" cellspacing="0" cellpadding="1">
                                    <tr>
                                      <td width="17%">Matr&iacute;cula</td>
                                      <td width="18%"><input name="txtmd5" type="text" class="textbox" id="txtmd5" value="<?=$infoe[md5];?>" size="20"></td>
                                      <td width="13%"><div align="right">de fecha </div></td>
                                      <td width="52%"><input name="txtfd5" type="text" class="textbox" id="txtfd5" value="<?=fecha($infoe[fd5]);?>" size="10"></td>
                                    </tr>
                                    <tr>
                                      <td> Cursado en</td>
                                      <td colspan="3"><input name="txtcd5" type="text" class="textbox" id="txtcd5" value="<?=$infoe[cd5];?>" size="80"></td>
                                    </tr>
                                    <tr>
                                      <td colspan="4">Ficha de pr&aacute;ctica supervisada
                                        <input name="txtfichaps5" type="checkbox" id="txtfichaps5" value="S" <?=$chkfichaps5;?>></td>
                                    </tr>
                                </table></td>
                              </tr>
                              <tr align="left" valign="middle" bgcolor="#E8E8E8">
                                <td bgcolor="#CFDFEF" class="lbl_campo">Sexto</td>
                                <td bgcolor="#ECF2F9"><table width="100%"  border="0" cellspacing="0" cellpadding="1">
                                    <tr>
                                      <td width="17%">Matr&iacute;cula</td>
                                      <td width="18%"><input name="txtmd6" type="text" class="textbox" id="txtmd6" value="<?=$infoe[md6];?>" size="20"></td>
                                      <td width="13%"><div align="right">de fecha</div></td>
                                      <td width="52%"><input name="txtmf6" type="text" class="textbox" id="txtmf6" value="<?=fecha($infoe[fd6]);?>" size="10"></td>
                                    </tr>
                                    <tr>
                                      <td> Cursado en</td>
                                      <td colspan="3"><input name="txtcd6" type="text" class="textbox" id="txtcd6" value="<?=$infoe[cd6];?>" size="80"></td>
                                    </tr>
                                    <tr>
                                      <td colspan="4">Ficha de pr&aacute;ctica supervisada
                                      <input name="txtfichaps6" type="checkbox" id="txtfichaps6" value="checkbox" <?=$chkfichaps6;?>></td>
                                    </tr>
                                </table></td>
                              </tr>
                          </table></td>
                        </tr>
                      </table>
                  <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 cambios">
                      </div></td>
                      <td width="33%"><div align="center">
                        <input name="Submit2" type="reset" class="boton_deshacer" value="Deshacer los cambios">
                      </div></td>
                      <td width="33%"><div align="center">
                        <button class="boton_salir" onClick="self.location='inicio.php'">Salir<br>
                        (NO guarda cambios)</button>
                      </div></td>
                    </tr>
                  </table>
                  </form>
              </div></td>
              </tr>
          </table></td>
        </tr>
    </table>    </td>
  </tr>
</table>
</body>
</html>