<?
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">
<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="#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><?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" background="../images/tema/bg_contenido.png" bgcolor="#FFFFCC">
        <tr>
          <td width="20%" valign="top"><?php include("menu.php"); ?>&nbsp;</td>
          <td width="80%" valign="top" background="../images/tema/bg_contenido.png"><table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#333333">
            <tr align="center" valign="middle" bgcolor="#FFFFCC">
              <td height="20" background="../images/tema/bg_contenido.png" class="titulo_pagina"><div align="center" class="titulo_seccion">
                <div align="left"></div>
              </div></td>
            </tr>
            <tr>
              <td align="left" valign="top" background="../images/tema/bg_contenido.png"><div align="left" class="parrafo">
                <table width="100%"  border="0" cellspacing="0" cellpadding="1">
                  <tr>
                    <td width="100%" align="left" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" background="../images/tema/bg_contenido.png">
                      <tr>
                        <td width="57%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td><div align="center"><strong>ANUNCIOS IMPORTANTES </strong></div></td>
                          </tr>
                          <tr>
                            <td>&nbsp;</td>
                          </tr>
                        </table></td>
                        <td width="43%"><table width="85%"  border="0" align="center" cellpadding="1" cellspacing="0">
                          <tr>
                            <td width="14%"><div align="right"><a href="frm_soporte.php"><img src="../images/soporte.png" width="48" height="48" border="0"></a></div></td>
                            <td width="86%"><div align="left"><a href="frm_soporte.php" class="link_parrafo"><strong>Env&iacute;o de dudas, comentarios o sugerencias </strong></a></div></td>
                          </tr>
                          <tr>
                            <td><div align="right"></div></td>
                            <td>&nbsp;</td>
                          </tr>
                          <tr>
                            <td><div align="right"><a href="frm_perfil.php" class="link_parrafo"><strong><img src="../images/edit_f2.png" width="32" height="32" border="0"> </strong></a></div></td>
                            <td><a href="frm_perfil.php" class="link_parrafo"><strong>Actualizar mi perfil de usuario</strong></a></td>
                          </tr>
                        </table></td>
                      </tr>
                    </table></td>
                  </tr>
                </table>
                </div></td>
              </tr>
          </table></td>
        </tr>
    </table>    </td>
  </tr>
</table>
</body>
</html>