Ver Mensaje Individual
  #2 (permalink)  
Antiguo 01/05/2008, 10:31
Scarlet_781
 
Fecha de Ingreso: abril-2008
Mensajes: 9
Antigüedad: 16 años
Puntos: 0
Pagina con 3 formularios el 3ro no lo puedo ver 2da parte

<!--******************************* Div para el remember -->
<form action="envia_contrasena.php?idioma=<?php echo $_POST['idioma']; ?>" method="post" name="form2" target="_self" id="form2">
<script>
document.write('<div id="forget" style="position:absolute; width:300; top:350px; left:'+left+'px; visibility:hidden" align="center">');
</script>
<p>&nbsp;</p>
<table style="table-layout:fixed" border="0" class="txt_login">
<tr>
<table style="table-layout:fixed" border="0" class="txt_login">
<tr>
<th width="182" height="37" align="center" ><?php echo $row_objetos['olvidaste']; ?>&nbsp;
</th>

</tr>
</table>
<table style="table-layout:fixed" border="0" class="txt_login">
<tr>
<th align="left" scope="col"><?php echo $row_objetos['email']; ?><input name="email" type="text" class="formulario" id="email" size="27" maxlength="150" /></th>
</tr>
</table>
<table style="table-layout:fixed" border="0" class="txt_login">
<tr>&nbsp;
<th align="center" valign="middle" scope="col"><input name="Submit2" type="submit" class="formulario" value="<?php echo $row_objetos['enviar']; ?>" />
<input name="usuario" type="hidden" id="usuario" value="<?php echo $row_objetos['usuario']; ?>" />
<input name="contrasena" type="hidden" id="contrasena" value="<?php echo $row_objetos['contrasena']; ?>" /></th>
</tr>
</table>
<th width="20" align="left" valign="middle" scope="col">&nbsp;</th>
</tr>
</table>

<div>
</form>
<!--**************************** Div para register -->
<form action= "register.php?idioma=<?php echo $_POST['registro']; ?>" method="post" target="_self"name="form3" id="form3">
<script>
var ancho=document.body.offsetWidth;
left = (ancho-350)/2;
document.write('<div id="register" style="position:absolute; width:300; top:350px; left:'+left+'px; visibility:hidden" align="center">');
</script>
<table width=277 height="157" border=0 cellpadding=0 cellspacing=0 cols=2><?php echo $row_uuarios['username']; ?>
<tr>
<td width=170 height="32"><?php echo $row_registro['username']; ?></td>
<td width=107>
<input name="username" type="hidden" class="formulario" id="username" size="15" maxlength="15" />
<tr>
<td width=170 height="32"><?php echo $row_registro['password']; ?></td>
<td width=107>
<input name="password" type="hidden" class="formulario" id="password" size="15" maxlength="15" />
</td>
</tr>
<tr>
<td width=170 height="32"><?php echo $row_registro['password']; ?></td>
<td width=107>
<input name="cpassword" type="hidden" class="formulario" id="cpassword" size="15" maxlength="15" />
</td>
</tr>
<tr>
<td width=170 height="34"><?php echo $row_registro['name']; ?></td>
<td width=107><input name="name" type="hidden" class="formulario" id="name" size="15" maxlength="15" />
</td>
</tr>
<tr>
<td width=170 height="34"><?php echo $row_registro['zipcode']; ?></td>
<td width=107>
<input name="zipcode" type="hidden" class="formulario" id="zipecode" size="15" maxlength="15" />
</td>
</tr>
<tr>
<td width=170 height="33"><?php echo $row_registro['number']; ?></td>
<td width=107>
<input name="number" type="hidden" class="formulario" id="number" size="15" maxlength="15" />
</td>
</tr>
<tr>
<td width=170 height="33"><?php echo $row_registro['email']; ?></td>
<td width=107><input name="number" type="hidden" class="formulario" id="number" size="15" maxlength="15" />
</td>
</tr>
<tr>
<td colspan=2 align=center>
<input name="Submit3" type="submit" class="formulario" value="<?php echo $row_registro['boton']; ?>" />
<input name="registro" type="hidden" id="idioma" value="<?php echo $_POST['registro']; ?>" />
<input name="registro" type="hidden" id="opcion" value="<?php echo $_POST['opcion']; ?>" />
<input name="MM_login" type="hidden" id="MM_login" value="form3" />

</td>
</tr>
</table>
</form>



</body>
</html>
<?php
switch ($_GET['opcion'])
{
case "1": echo '<script>login.style.visibility="visible";forget.s tyle.visibility="hidden"</script>';break;
case "2": echo '<script>login.style.visibility="hidden";forget.st yle.visibility="visible"</script>';break;
case "3": echo '<script>login.style.visibility="hidden";forget.st yle.visibility="visible"</script>';break;
}
mysql_free_result($objetos);
mysql_free_result($princ);
mysql_free_result($registro);
?>


De antemano mil gracias