<?
include("../fnc.php");
enlinea_a();
?>
<!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><strong><?echo "$unombre $uapellido";?></strong><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="56%" height="20" bgcolor="#FFFFCC"><div align="left"><span class="titulo_pagina">REPORTES<img src="../images/flecha_3.jpg" width="9" height="9"> Tarifario </span></div>
                  <div align="center" class="titulo_pagina"></div></td>
                <td width="19%" bgcolor="#FFFFCC"><div align="right">
                <a href="#" onClick="window.open('./rpt_tarifario_print.php','reporte','width=800, height=600, location=no,menubar=no,resaizable=no,status=no,menubar=no,scrollbars=yes');" class="link_parrafo"><img src="../images/printButton.png" width="16" height="16" border="0"> Versi&oacute;n imprimible</a>
                </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="3" align="left" valign="top" bgcolor="#FFFFCC"><div align="left">
                  </div></td>
              </tr>
              <tr>
                <td colspan="3" align="left" valign="top" bgcolor="#FFFFCC"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <?
              $qgrados=mysql_query("select * from grados order by jornada, nivel, en_numeros");
              while($igrado=mysql_fetch_array($qgrados)){
              ?>
                  <tr>
                    <td bgcolor="#FFFFFF" class="titulo_seccion">Grado: <?=$igrado[grado].", Nivel: ".gnivel(enc($igrado[nivel])).", Jornada: ".gjornada(enc($igrado[jornada]));?> </td>
                    </tr>
                  <tr>
                    <td><table width="100%"  border="0" cellpadding="1" cellspacing="1" bgcolor="#CFDFEF">
                      <tr bgcolor="#CFDFEF">
                        <td width="150" class="lbl_campo"><div align="center">Matricula</div></td>
                        <td width="118" class="lbl_campo"><div align="center">Mensualidad</div></td>
                        <td width="40" class="lbl_campo"><div align="center">Ene.</div></td>
                        <td width="40" class="lbl_campo"><div align="center">Feb.</div></td>
                        <td width="40" class="lbl_campo"><div align="center">Mar</div></td>
                        <td width="40" class="lbl_campo"><div align="center">Abr</div></td>
                        <td width="40" class="lbl_campo"><div align="center">Mayo</div></td>
                        <td width="40" class="lbl_campo"><div align="center">Junio</div></td>
                        <td width="40" class="lbl_campo"><div align="center">Julio</div></td>
                        <td width="40" class="lbl_campo"><div align="center">Agosto</div></td>
                        <td width="40" class="lbl_campo"><div align="center">Sept.</div></td>
                        <td width="40" class="lbl_campo"><div align="center">Oct.</div></td>
                        <td width="40" class="lbl_campo"><div align="center">Nov.</div></td>
                        <td width="40" class="lbl_campo"><div align="center">Dic.</div></td>
                      </tr>
                      <tr bgcolor="#ECF2F9">
                      <?
                      $img1=$img2=$img3=$img4=$img5=$img6=$img7=$img8=$img9=$img10=$img11=$img12="no";
                      if($igrado[m1]=="S"){$img1="si";}
                      if($igrado[m2]=="S"){$img2="si";}
                      if($igrado[m3]=="S"){$img3="si";}
                      if($igrado[m4]=="S"){$img4="si";}
                      if($igrado[m5]=="S"){$img5="si";}
                      if($igrado[m6]=="S"){$img6="si";}
                      if($igrado[m7]=="S"){$img7="si";}
                      if($igrado[m8]=="S"){$img8="si";}
                      if($igrado[m9]=="S"){$img9="si";}
                      if($igrado[m10]=="S"){$img10="si";}
                      if($igrado[m11]=="S"){$img11="si";}
                      if($igrado[m12]=="S"){$img12="si";}
                      ?>
                        <td class="titulo_pagina"><div align="right"><?=$igrado[vinscripcion];?></div></td>
                        <td class="titulo_pagina"><div align="right"><?=$igrado[vmensualidad];?></div></td>
                        <td><div align="center"><img src="../images/<?=$img1;?>2.gif" width="10" height="15"></div></td>
                        <td><div align="center"><img src="../images/<?=$img2;?>2.gif" width="10" height="15"></div></td>
                        <td><div align="center"><img src="../images/<?=$img3;?>2.gif" width="10" height="15"></div></td>
                        <td><div align="center"><img src="../images/<?=$img4;?>2.gif" width="10" height="15"></div></td>
                        <td><div align="center"><img src="../images/<?=$img5;?>2.gif" width="10" height="15"></div></td>
                        <td><div align="center"><img src="../images/<?=$img6;?>2.gif" width="10" height="15"></div></td>
                        <td><div align="center"><img src="../images/<?=$img7;?>2.gif" width="10" height="15"></div></td>
                        <td><div align="center"><img src="../images/<?=$img8;?>2.gif" width="10" height="15"></div></td>
                        <td><div align="center"><img src="../images/<?=$img9;?>2.gif" width="10" height="15"></div></td>
                        <td><div align="center"><img src="../images/<?=$img10;?>2.gif" width="10" height="15"></div></td>
                        <td><div align="center"><img src="../images/<?=$img11;?>2.gif" width="10" height="15"></div></td>
                        <td><div align="center"><img src="../images/<?=$img12;?>2.gif" width="10" height="15"></div></td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    </tr>
                <?}?>
                </table></td>
              </tr>
            </table>
           </td>
        </tr>
    </table>    </td>
  </tr>
</table>
</body>
</html>
