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

if($idgrado){
 $qver=mysql_query("select * from grados where id = '$idgrado'");
 if(mysql_num_rows($qver)==0){
  alert("El grado no existe","javascript:history.go(-1)");
 }else{
  $info=mysql_fetch_array($qver);
  $tipo="Update";
 }
}else{
 $tipo="Add";
}
?>
<!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">
</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="#E5E5E5">
      <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>JOSE EFREN MONTERROSO SOLARES<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" bgcolor="#FFFFCC">
        <tr>
          <td valign="top" bgcolor="#FFFFCC">&nbsp;            <div align="right"></div>            <table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#333333">
              <tr align="center" valign="middle" bgcolor="#FFFFCC">
                <td width="75%" height="20" bgcolor="#FFFFCC"><div align="left"><span class="titulo_pagina">REPORTES<img src="../images/flecha_3.jpg" width="9" height="9"> Alumnos por grado de estudio</span> </div>                  <div align="center" class="titulo_pagina"></div></td>
                <td width="25%" bgcolor="#FFFFCC" class="parrafo"><div align="right"><a href="frm_reportes.php" class="link_parrafo">Regresar al men&uacute; de reportes<img src="../images/ic_home.png" width="21" height="21" border="0"></a> </div></td>
              </tr>
              <tr>
                <td colspan="2" align="left" valign="top" bgcolor="#FFFFCC"><div align="left" class="parrafo">
                  <table width="99%"  border="0" align="center" cellpadding="1" cellspacing="0" bgcolor="#3886F0">
                    <tr>
                      <td align="left" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td colspan="3" bgcolor="#FFFFFF" class="titulo_seccion_mn">Nivel: xx </td>
                        </tr>
                        <tr>
                          <td width="3%" bgcolor="#FFFFFF">&nbsp;</td>
                          <td colspan="2" bgcolor="#FFFFFF" class="titulo_pagina">Grado: xx </td>
                        </tr>
                        <tr>
                          <td bgcolor="#FFFFFF">&nbsp;</td>
                          <td width="4%" bgcolor="#FFFFFF">&nbsp;</td>
                          <td width="93%" bgcolor="#FFFFFF"><table width="100%"  border="0" cellpadding="0" cellspacing="1" bgcolor="#E6E6E6">
                            <tr bgcolor="#CFDFEF" class="lbl_campo">
                              <td width="15%"><div align="center"># Carnet </div></td>
                              <td width="85%"><div align="center">Nombre del alumno </div></td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td bgcolor="#FFFFFF"><div align="center">20013276</div></td>
                              <td bgcolor="#FFFFFF"><div align="left">Jose efren </div></td>
                            </tr>
                          </table></td>
                        </tr>
                      </table></td>
                      </tr>
                  </table>
                </div></td>
              </tr>
            </table>
          &nbsp;<br>
          </td>
        </tr>
    </table>    </td>
  </tr>
</table>
</body>
</html>