<?
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">
<script type="text/javascript" src="../jsincludes/overlib.js"></script>
<script language="javascript">
function contador(){
  var str;
  str = document.form1.txtmensaje.value;

  if( (125 -str.length) <= 0){
   str = document.form1.txtmensaje.value;
   document.form1.txtmensaje.value=str.substr(0,125);
  }

  document.form1.txtmaxcar.value=125-str.length;
}

function valida(forma){
  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="#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><?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"><?php include("menu.php"); ?>&nbsp;</td>
          <td width="80%" valign="top" background="../images/tema/bg_contenido.png"><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">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="65" background="../images/tema/bg_contenido.png">&nbsp;</td>
                    <td background="../images/tema/bg_contenido.png"><div align="center" class="titulo_pagina">CONOCIMIENTOS - BUENA O MALA CONDUCTA - </div></td>
                    <td width="65" background="../images/tema/bg_contenido.png"><div align="right"><a href="inicio.php" class="link_parrafo">Inicio<img src="../images/ic_home.png" width="21" height="21" border="0"></a></div></td>
                  </tr>
                </table>
              </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 background="../images/tema/bg_contenido.png"><form name="form1" method="post" action="mnt_sms.php" onsubmit="return validar()">
                      <table width="90%"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000099">
                        <tr>
                          <td><table width="100%" border="0" align="center" cellpadding="2" cellspacing="0" bgcolor="#E2E8EF">
                              <tr >
                                <td height="25" colspan="2" bgcolor="#CFDFEF" class="lbl_campo"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td width="7%" background="../images/tema/ic_encuestas.png"><img src="../images/tema/ic_sms.png" width="35" height="32"></td>
                                    <td width="93%" background="../images/tema/bg_titulo_frm.png" class="titulo_formulario">ENVIO DE MENSAJES DE TEXTO A CELULARES (SOLO APLICA A GUATEMALA)</td>
                                  </tr>
                                </table></td>
                              </tr>
                              <tr bgcolor="#FFFFFF">
                                <td width="146" background="../images/tema/bg_frm_campos.png" class="lbl_campo">Para (tel&eacute;fono):</td>
                                <td width="627" background="../images/tema/bg_frm_campos.png" class="etiquetaazul"><input name="txtnumero" type="text" class="textbox" id="txtnick2" size="10" maxlength="8">
                                  8 d&iacute;gitos</td>
                              </tr>
                              <tr bgcolor="#FFFFFF">
                                <td background="../images/tema/bg_frm_campos.png" class="lbl_campo">Mensaje:</td>
                                <td background="../images/tema/bg_frm_campos.png" class="etiqueta"><textarea name="txtmensaje" cols="40" rows="5" class="textbox" id="txtmensaje" onkeyup="contador();"></textarea>
                                    <br>
                                  Caracteres disponibles
                                  <input name="txtmaxcar" type="text" id="txtmaxcar" size="3" maxlength="3"></td>
                              </tr>
                              <tr bgcolor="#FFFFFF">
                                <td background="../images/tema/bg_frm_campos.png" class="lbl_campo">Tu nombre :</td>
                                <td background="../images/tema/bg_frm_campos.png"><input name="txtnombre" type="text" class="textbox" id="txtnombre" size="20" maxlength="20" value="<?=$uuser;?>">
                                </td>
                              </tr>
                              <tr>
                                <td colspan="2" background="../images/tema/bg_frm_campos.png" class="etiqueta"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                      <td width="50%" bgcolor="#CFDFEF"><div align="center">
                                          <input name="Submit" type="submit" class="boton_guardar" value="Enviar Mensaje">
                                      </div></td>
                                      <td width="50%" bgcolor="#CFDFEF"><div align="center">
                                          <input name="Submit2" type="button" class="boton_guardar" onClick="self.location='perfil.php'" value="Salir">
                                          <input name="trn" type="hidden" id="trn" value="Edit">
                                      </div></td>
                                    </tr>
                                </table></td>
                              </tr>
                          </table></td>
                        </tr>
                      </table>
                    </form></td>
                  </tr>
                </table>
              </div></td>
              </tr>
          </table></td>
        </tr>
    </table>    </td>
  </tr>
</table>
</body>
</html>
