<?
include("../fnc.php");
enlinea_a();
$qgral=mysql_query("select boleta_deposito from general where id = 1");
$igral=mysql_fetch_array($qgral);
?>
<!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">
<script type="text/javascript" src="../jsincludes/overlib.js"></script>
<script language="javascript">
<!--
function validar(formulario){

  if(document.form1.txtboletai.value==""){
   alert("Por favor ingrese el número de boleta inicial");
   document.form1.txtboletai.focus();
   return (false);
  }

  return (true);
}//-->
</script>
<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="#FFFFCC">
      <tr bgcolor="#FFFFFF">
        <td width="40%" bgcolor="#FFFFCC"><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">
        <tr>
          <td width="20%" valign="top" background="../images/tema/bg_contenido.png" bgcolor="#FFFFCC"><?php include("menu.php"); ?>&nbsp;</td>
          <td width="80%" valign="top" background="../images/tema/bg_contenido.png" bgcolor="#FFFFCC"><table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#333333">
            <tr align="center" valign="middle" bgcolor="#FFFFCC">
              <td width="65" height="20" background="../images/tema/bg_contenido.png" class="titulo_pagina"><div align="center" class="titulo_pagina"></div></td>
              <td width="433" background="../images/tema/bg_contenido.png" class="titulo_pagina"><strong>IMPRESION DE BOLETAS DE DEP&Oacute;SITO - BI</strong></td>
              <td width="65" align="center" valign="middle" background="../images/tema/bg_contenido.png" class="titulo_pagina"><a href="inicio.php" class="link_parrafo">Inicio<img src="../images/ic_home.png" width="21" height="21" border="0"></a></td>
            </tr>
            <tr>
              <td colspan="3" align="left" valign="top" background="../images/tema/bg_contenido.png" bgcolor="#FFFFCC"><div align="left" class="parrafo">
<form name="form1" method="post" action="boleta.php" onSubmit="return validar(this.form)">
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
                        <tr bgcolor="#6699CC">
                          <td colspan="2" class="titulo_formulario"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                              <td width="6%" background="../images/tema/bg_titulo_frm.png"><img src="../images/tema/ic_formularios.png" width="35" height="32"></td>
                              <td width="94%" background="../images/tema/bg_titulo_frm.png">Impresi&oacute;n de Boletas de dep&oacute;sito
                                <input name="idalumno" type="hidden" id="idalumno" value="<?=$idalumno;?>">
                                <input name="tipo" type="hidden" id="idalumno3" value="<?=$tipo;?>"></td>
                            </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td width="25%" background="../images/tema/bg_frm_campos.png" bgcolor="#CFDFEF" class="lbl_campo">N&uacute;mero de boleta inicial: </td>
                          <td width="75%" background="../images/tema/bg_frm_campos.png" bgcolor="#ECF2F9"><input name="txtboletai" type="text" class="textbox" id="txtboletai" value="<?=$igral[boleta_deposito]+1;?>"></td>
                        </tr>
                        <tr>
                          <td colspan="2" background="../images/tema/bg_frm_campos.png" bgcolor="#CFDFEF"><input name="Submit" type="submit" class="boton_guardar" value="Generar Boletas">
                          <input name="Submit2" type="button" class="boton_deshacer" onClick="self.location='frm_preinscripcion.php?idalumno=<?=$idalumno;?>'" value="Salir"></td>
                        </tr>
                      </table>
                      <br>
                    </form>
              </div></td>
              </tr>
          </table></td>
        </tr>
    </table>    </td>
  </tr>
</table>
</body>
</html>