<?
include("../fnc.php");
enlinea_p();
$pagina="inicio.php";
if($op){
  if(file_exists("{$op}.php")){
    $pagina="{$op}.php";
  }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?=get_nombre_institucion();?> - Padres de familia </title>
<script type="text/javascript" src="../jsincludes/overlib.js"></script>
<link href="../estilo1.css" rel="stylesheet" type="text/css" />
<link REL="SHORTCUT ICON" HREF="http://manosalaobra.edu.gt/educativo/favicon.ico">
<?
include("fnc_js.php");
?>
<?
if($pagina=="academico.php"){
nocopy();
}
?>

<script language="javascript">
function bloqueado(){
  alert("Opcion bloqueada por favor comunicarse a CAJA");
}
</script>
</head>

<body>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td colspan="3"><?include("head.php");?></td>
  </tr>
  <tr>
    <td width="6" background="../images/cat_border_izq.gif">&nbsp;</td>
    <td width="938" background="../images/cat_contenedor_principal.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="10%" align="center" valign="bottom"><div align="center"><a href="index3.php?op=inicio" class="menu_op_padre"><img src="../images/ic_inicio.gif" width="32" height="32" border="0" /><br />
          Inicio<br />
          &nbsp;&nbsp;
        </a></div></td>
        <td width="10%" align="center" valign="bottom"><a href="index3.php?op=circulares" class="menu_op_padre"><img src="../images/ic_circulares1.png" width="32" height="32" border="0" /><br />
          Descargar<br />
          circulares</a></td>
        <td width="10%" align="center" valign="bottom"><a href="index3.php?op=reportes" class="menu_op_padre"><img src="../images/ic_conocimientos.png" width="32" height="32" border="0" /><br />
          Reportes<br />
          del alumno</a></td>
        <td width="10%" align="center" valign="bottom"><a href="index3.php?op=asistencias" class="menu_op_padre"><img src="../images/ic_asistencia.png" width="32" height="32" border="0" /><br />
          Control <br />
          de asistencia </a></td>
        <td width="10%" align="center" valign="bottom"><a href="index3.php?op=calendario" class="menu_op_padre"><img src="../images/ic_calendario2.gif" width="32" height="32" border="0" /><br />
          Calendario<br />
          de actividades </a></td>
        <td width="10%" align="center" valign="bottom"><a href="index3.php?op=estado_cuenta" class="menu_op_padre"><img src="../images/ic_estado_cuenta.png" width="32" height="32" border="0" /><br />
          Estado <br />
          de cuenta </a></td>
        <td width="10%" align="center" valign="bottom"><a href="index3.php?op=notas_finales" class="menu_op_padre"><img src="../images/ic_notas_finales.png" width="32" height="32" border="0" /><br />
          Notas finales<br />
          de unidad </a></td>
        <td width="10%" align="center" valign="bottom">
         <?
          $fechal=date("Y-m-d",mktime(0,0,0,date("m"),date("d")-1,date("Y")));
          if(saldo_alumno($uuser,$fechal)>0){
            $link="javascript:bloqueado();" ;
          }else{
            $link="index3.php?op=academico";
          }
         ?>
          <a href="<?=$link;?>" class="menu_op_padre"><img src="../images/ic_academico3.png" width="32" height="32" border="0" /><br />
          Detalle de <br />
          tareas y notas
          </a>
          </td>
      </tr>
    </table></td>
    <td width="6" background="../images/cat_border_der.gif">&nbsp;</td>
  </tr>
  <tr>
    <td background="../images/cat_border_izq.gif">&nbsp;</td>
    <td background="../images/cat_contenedor_principal.gif">&nbsp;</td>
    <td background="../images/cat_border_der.gif">&nbsp;</td>
  </tr>
  <tr>
    <td width="6" background="../images/cat_border_izq.gif">&nbsp;</td>
    <td width="935" background="../images/cat_contenedor_principal.gif"><?include($pagina);?></td>
    <td width="6" background="../images/cat_border_der.gif">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"><?include("foot.php");?></td>
  </tr>
</table>
</body>
</html>
