Ver Mensaje Individual
  #16 (permalink)  
Antiguo 30/06/2009, 17:09
sortega
 
Fecha de Ingreso: agosto-2008
Ubicación: Bogotá
Mensajes: 148
Antigüedad: 15 años, 8 meses
Puntos: 2
Respuesta: A ver... ¿Quién lo resuelve y en qué lenguaje?

Ah, no funciona... se me ocurre que quizás haya algún conflicto con otro código. Lo que estoy haciendo es una modificación de una plantilla de correo de google, así que quizás hayan códigos inútiles que no quité, o cualquier cosa que cree conflictos... No sé...

El código completo:

Código:
<html dir="ltr" >
<head>
  <meta name="robots" content="noindex,nofollow" />
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <title>Sistema de correo web GTS S.A.</title>
  <script type="text/javascript">
  <!--
    // Keep login page from being trapped in iframes.
    if (top.location != self.location) { top.location = self.location.href; }
  -->
  </script>
  <script type="text/javascript">
function OnLoad() {
  gaia_setFocus();
}
</script>
  <style type="text/css">
<!--

body  {
  margin: 5px 15px 0px 15px;
  font-family:arial,sans-serif;
  background-color: #ffffff;
  font-size: 80%;
}

table.header {
  margin-bottom: 0.4em;
}

.smallfont {
  font-size: 80%;
  padding: 10px;
}

#gaia_loginbox {
  margin-top: 0.5em;
}

#gaia_loginform {
  margin: 0;
}

a:link, a:active, a:visited {
  color:#0000CC
}

.form-noindent {
  cell-padding:1px;
  }

li {
  margin-bottom: 1em;
}

h1 {
  font-weight: bold;
  font-size: 130%;
}

.header h1 {
  border-bottom: solid 1px #bbbbbb;
  padding-bottom: 5px;
  
    margin: 0 0 0 15px;
  
}

h2 {
  margin: 0 0 0 0;
  font-weight: bold;
  font-size: 120%;
}

.loginBox {
  padding: 0 0 20px;
  margin: 0px;
  text-align: center;
}

.loginBox h2 {
  margin:0 0 0 0;
  font-weight: bold;
  font-size: 120%;
}

.loginBox table {
  margin: 0px auto;
  text-align: left;
}
.loginBox table td {
  padding-bottom: 0.2em;
}

.loginBox .gaia.le.rem {
  font-size: 80%;
}

#alBoxWrap {
  margin-top: 10px;
}

.alBox {
  padding: 5px 10px;
  margin: 0px;
}

.alBox h4 {
  margin: 0px;
  font-size: 80%;
}

.errormsg {
  color: #cc0000
}
.alert {
  color: #FF0000
}
.sites-teaser {
  margin-top: 2em;
  padding: .5em;
  background-color: #e8e8e8;
  border: 1px solid #eeee00;
}



-->
</style>
</head>
<body  class="hostedlogin"

      onLoad="OnLoad()"

>

<script><!--

function gaia_onLoginSubmit() {

  
  if (window.gaiacb_onLoginSubmit) {
    return gaiacb_onLoginSubmit();
  } else {
    return true;
  }

}


function gaia_setFocus() {
  var f = null;
  if (document.getElementById) { 
    f = document.getElementById("gaia_loginform");
  } else if (window.gaia_loginform) { 
    f = window.gaia_loginform;
  } 
  if (f) {
    if (f.Email && (f.Email.value == null || f.Email.value == "")) {
      f.Email.focus();
    } else if (f.Passwd) {
      f.Passwd.focus();
    } 
  }
}
--></script>
<style type="text/css"><!--
  div.errormsg { color: red; font-size: smaller; font-family:arial,sans-serif; }
  font.errormsg { color: red; font-size: smaller; font-family:arial,sans-serif; }  
--></style>
<style type="text/css"><!--
.gaia.le.lbl { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }
.gaia.le.fpwd { font-family: Arial, Helvetica, sans-serif; font-size: 70%; }
.gaia.le.chusr { font-family: Arial, Helvetica, sans-serif; font-size: 70%; }
.gaia.le.val { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }
.gaia.le.button { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }
.gaia.le.rem { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }

.gaia.captchahtml.desc { font-family: arial, sans-serif; font-size: smaller; } 
.gaia.captchahtml.cmt { font-family: arial, sans-serif; font-size: smaller; font-style: italic; }
  
--></style>
<center><img src="logotipo.png"></center>


                <style type="text/css">
  p {color: #676767;
  font-size: 100%; padding-top: 5px; margin-top:15px; margin-bottom:-5px; text-align: center}
  </style>
              <!--  <p style="text-indent:25%; margin-top:-45px; font-family:Brush Script Std; font-size:150%;"><span style="font-size:140%; font-weight:bolder;">10</span> años</p>  -->
                <p>Por favor ingrese su nombre de usuario y contraseña.</p>
<form name="formulario" id="gaia_loginform"
      
        action="https://www.google.com/a/solucionesinformaticas.co.cc/LoginAction2?service=mail" method="post"
      
      onsubmit=
                 "return(gaia_onLoginSubmit());"
                >
                

<div id="gaia_loginbox">
<table  class="form-noindent" cellspacing="3" cellpadding="5" width="100%" border="0">
  <tr>
  <td valign="top" style="text-align:center" nowrap="nowrap"
        >
  <input type="hidden" name="ltmpl"
             value="default">
  <input type="hidden" name="ltmplcache"
             value="2">
  <div class="loginBox">
  <table id="gaia_table" align="center" border="0" cellpadding="1" cellspacing="0">
  <tr>

</tr>
  <script type="text/javascript"><!--
    function onPreCreateAccount() {
    
      return true;
    
    }

    function onPreLogin() {
    
      
      if (window["onlogin"] != null) {
        return onlogin();
      } else {
        return true;
      }
    
    }
  --></script>
<tr>
  <td colspan="2" align="center">
  </td>
</tr>
<tr>
  <td nowrap="nowrap">
  <div align="right">
  <span class="gaia le lbl" style="color: #676767;">
  Usuario:
  </span>
  </div>
  </td>
  <td>
  	
  <input type="hidden" name="continue" id="continue"
           value="https://mail.google.com/a/solucionesinformaticas.co.cc/" />
  <input type="hidden" name="service" id="service"
           value="mail" />
  <input type="hidden" name="rm" id="rm"
           value="false" />
  <input type="hidden" name="ltmpl" id="ltmpl"
           value="default" />
  <input type="hidden" name="ltmpl" id="ltmpl"
           value="default" />
  <input type="hidden" name="ss" id="ss"
           value="1" />
  <input type="hidden"
             name="GALX"
             value="m4mtzPDrmrY" />
  <input  type="text" name="Email"  id="Email"
  size="18" value="Usuario"
  onkeypress="if (this.value == 'Usuario') this.value = ''"
  onblur="if (this.value == '') this.value = 'Usuario'"
    class='gaia le val'
  
  />
  
  
  </td>
</tr>
<tr>
  <td></td>
  <td align="right" style="color: #444444; font-size: 75%; overflow: hidden;"
    dir="ltr">
  <[email protected]>
  </td>
  <td></td>
</tr>
<tr>
  <td></td>
  <td align="left">
  </td>
</tr>
<tr>
  <td align="right">
  <span class="gaia le lbl" style="color: #676767;">
  Contrase&ntilde;a:
  </span>
  </td>
  <td>
  <input  type="password"
   name="Passwd" id="Passwd"
  size="18"
  
    class="gaia le val" 
  
  />
  </td>
</tr>
<tr>
  <td>
  </td>
  <td align="left">
  </td>
</tr>
  <tr>
  <td align="right" valign="top">
  <input  type="checkbox" name="PersistentCookie" id="PersistentCookie"
    value="yes"
  
    
  
  />
  <input type="hidden" name='rmShown' value="1" />
  </td>
  <td>
  <label for="PersistentCookie" class="gaia le rem" style="color: #676767;">
  Recu&eacute;rdame
  </label>
    <input type="submit" class="gaia le button" name="signIn" style="font-size: 76%;"
           value="Acceder"
                  />
  </td>
</tr>
<tr>
  <td>
  </td>
  <td align="left">

  </td>
</tr>
<!--<tr id="ga-fprow">
  <td colspan="2" height="33.0" class="gaia le fpwd"
    align="center" valign="bottom">
  <a href="https://www.google.com/a/solucionesinformaticas.co.cc/DomainContact?service=mail"
       target=_top>
  Olvide mi password.
  </a>
  </td>
</tr>-->
  </table>
  </div>
  </td>
  </tr>
</table>
</div>
<input type="hidden" name="asts"
       id="asts"
       value="">
</form>
<form id="gaia_universallogin"
      action="https://www.google.com/a/solucionesinformaticas.co.cc/LoginAction2?service=mail" method="post"
      onsubmit="return(gaia_onLoginSubmit());">
  <input type="hidden" name="continue" id="continue"
           value="https://mail.google.com/a/solucionesinformaticas.co.cc/" />
  <input type="hidden" name="service" id="service"
           value="mail" />
  <input type="hidden" name="rm" id="rm"
           value="false" />
  <input type="hidden" name="ltmpl" id="ltmpl"
           value="default" />
  <input type="hidden" name="ltmpl" id="ltmpl"
           value="default" />
  <input type="hidden" name="ss" id="ss"
           value="1" />
  <input type="hidden" name="ltmpl" id="ltmpl"
           value="default" />
  <input type="hidden" name="ltmplcache" id="ltmplcache"
           value="2" />
</form>


<script type="text/javascript">
document.formulario.Email.focus();
</script>
  </td>
  
  </tr>
</table>
<style type="text/css">
a:link, a:visited {text-decoration: none; color: #676767}
	a:hover {color: white; background:#676767}
</style>
  <style type="text/css">
  .f {border-top: solid 1px #bbbbbb; color: #676767;
  font-size: 90%; padding-top: 5px; margin-top:0px}
  .f span {position: relative; bottom: 7px}
  </style>
  <style type="text/css">
  .g {color: #676767;
  font-size: 90%; padding-top: 5px; margin-top:0px;}
  .g span {position: relative; bottom: 0px}
  </style>
  <!-- footer -->
    <table border="0" cellpadding="0" cellspacing="0" width="60%" align="center" class="g">

    <tr>
            <td align="right"><a href="http://www.gtscolombia.com/">P&aacute;gina principal</a></td>
        </tr>
  </table>
  
          
</div>
</body>
</html>
Y respecto a lo otro... más tarde lo reviso, ahora voy de salida...