<?
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><?=$nombre_colegio;?> - Tarifario</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="640"  border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#FFFFFF">
  <tr>
    <td width="357" align="left" valign="top" bgcolor="#FFFFFF"><div align="left" class="parrafo">
      <span class="lbl_campo">
    <?=$nombre_colegio;?>
    </span><br>
    Tarifario<br>
    <br>
    </div></td>
    <td width="276" align="left" valign="top" bgcolor="#FFFFFF"><div align="right"><a href="javascript:print();" target="_self" class="link_parrafo"><img src="../images/printButton.png" width="16" height="16" border="0"> Imprimir</a> <br>
        <span class="parrafo">Fecha:
        <?=fechalarga("$fecha $hora");?>
        </span></div></td>
  </tr>
  <tr>
    <td colspan="2" align="left" valign="top" bgcolor="#FFFFFF">      <div align="right">
        <br>
        <table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <?
              $qgrados=mysql_query("select * from grados order by nivel, jornada, en_numeros");
              while($igrado=mysql_fetch_array($qgrados)){
              ?>
          <tr>
            <td bgcolor="#FFFFFF" class="titulo_seccion" align="left">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>
      </div>
    </td>
  </tr>
</table>
</body>
</html>
