<?
include("../fnc.php");
enlinea_alumno();
$qusr=mysql_query("select * from alumnos where carnet = '$uuser'");
$info=mysql_fetch_array($qusr);
?>
<!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_alumno.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" bgcolor="#FFFFCC"><?php include("menu.php"); ?>&nbsp;</td>
          <td width="80%" valign="top" bgcolor="#FFFFCC"><table width="100%"  border="0" cellpadding="0" cellspacing="0" bgcolor="#333333">
            <tr align="center" valign="middle" bgcolor="#FFFFCC">
              <td height="20" class="titulo_pagina"><div align="center" class="titulo_pagina"><strong>MODIFICAR MI INFORMACION DE USUARIO</strong></div></td>
            </tr>
            <tr>
              <td align="left" valign="top" bgcolor="#FFFFCC"><div align="left" class="parrafo">
                <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td>
                      <table width="99%"  border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="#333333">
                            <tr>
                              <td valign="top" bgcolor="#FFFFFF"><div align="center">
                                <form name="form1" method="post" action="mnt_perfil.php">
                                  <table width="100%"  border="0" cellspacing="1" cellpadding="1">
                                    <tr bgcolor="#6699CC">
                                      <td colspan="2" class="titulo_seccion_blanco"><div align="left">Informaci&oacute;n de usuario</div></td>
                                    </tr>
                                    <tr>
                                      <td width="20%" align="left" valign="middle" bgcolor="#CFDFEF" class="parrafo"><strong>Clave actual </strong></td>
                                      <td width="80%" bgcolor="#ECF2F9"><div align="left">
                                            <input name="txtoc" type="password" class="textbox" id="txtoc" size="25" maxlength="25">
                                        Llene este campo si desea cambiar su clave de acceso</div></td>
                                    </tr>
                                    <tr>
                                      <td align="left" valign="middle" bgcolor="#CFDFEF" class="parrafo"><strong>Nueva Clave </strong></td>
                                      <td bgcolor="#ECF2F9"><div align="left">
                                            <input name="txtnc" type="password" class="textbox" id="txtnc" size="25" maxlength="25">
                                        Llene este campo si desea cambiar su clave de acceso</div></td>
                                    </tr>
                                    <tr>
                                      <td align="left" valign="middle" bgcolor="#CFDFEF" class="parrafo"><strong>Confirmar clave </strong></td>
                                      <td bgcolor="#ECF2F9"><div align="left">
                                            <input name="txtcc" type="password" class="textbox" id="txtcc" size="25" maxlength="25">
                                        Llene este campo si desea cambiar su clave de acceso</div></td>
                                    </tr>
                                    <tr>
                                      <td align="left" valign="middle" bgcolor="#CFDFEF" class="parrafo">&nbsp;</td>
                                      <td bgcolor="#ECF2F9"><div align="left"></div></td>
                                    </tr>
                                    <tr>
                                      <td align="left" valign="middle" bgcolor="#CFDFEF" class="parrafo"><strong>Correo electr&oacute;nico</strong></td>
                                      <td bgcolor="#ECF2F9"><div align="left">
                                        <input name="txtmail" type="text" class="textbox" id="txtmail" size="60" maxlength="60" value="<?=$info['mail'];?>">
                                      </div></td>
                                    </tr>
                                    <tr>
                                      <td align="left" valign="middle" bgcolor="#CFDFEF" class="parrafo"><strong>Tel&eacute;fono</strong></td>
                                      <td bgcolor="#ECF2F9"><div align="left">
                                        <input name="txttelefono" type="text" class="textbox" id="txttelefono" size="30" maxlength="30" value="<?=$info['telefono'];?>">
                                      </div></td>
                                    </tr>
                                    <tr bgcolor="#CFDFEF">
                                      <td colspan="2"><div align="center">
                                        <input name="Submit" type="submit" class="boton_guardar" value="Guardar los cambios">
                                      </div></td>
                                      </tr>
                                  </table>
<br>
                                </form>
                                <div align="left"><a href="inicio.php"><img src="../images/regresar_c.png" alt="Salir sin guardar los cambios" width="32" height="32" border="0"></a><br>
                                  <span class="lbl_formulario">Salir</span></div>
                              </div>                                </td>
                            </tr>
                      </table>
                      <br></td>
                  </tr>
                </table>
              </div></td>
              </tr>
          </table></td>
        </tr>
    </table>    </td>
  </tr>
</table>
</body>
</html>