Tema: Formulario
Ver Mensaje Individual
  #9 (permalink)  
Antiguo 08/12/2008, 11:36
Lorsui
 
Fecha de Ingreso: agosto-2007
Mensajes: 114
Antigüedad: 16 años, 8 meses
Puntos: 1
Respuesta: Formulario

Aquí va otra vez el código, cuando yo lo veo en la 49 me muestra lo que ya les comenté.
Código php:
Ver original
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  4. <title>Formulario</title>
  5. </head>
  6.  
  7. <SCRIPT language=JavaScript
  8. src="scriptsA.js"
  9. type=text/javascript></SCRIPT>
  10.  
  11. <body background="fondo2.gif">
  12. <?php
  13. if(!$email == "" && (!strstr($email,"@") || !strstr($email,".")))
  14. {
  15. echo "<h3></h3>\n";
  16. $badinput = "<h3>Su direccion electronica no es valida o esta mal escrita, reingresela por favor.</h3>\n";
  17. echo $badinput;
  18. }
  19.  
  20. $todayis = date("l, F j, Y, g:i a") ;
  21.  
  22. $asunto = $asunto ;
  23. $subject = $asunto;
  24.  
  25. $nota = stripcslashes($nota);
  26.  
  27. $message = " $todayis [EST] \n
  28. - ASUNTO: $asunto \n
  29. - ESCRIBE: $nombre ($email)\n
  30. - TITULO DEL MENSAJE: $asunto\n
  31. - MENSAJE:
  32. $nota \n
  33.  
  34.  
  35. ------------------------------------------------------------------------------------------------------------------------------------\n
  36. - INFORMACION ADICIONAL: IP = $ipi \n;
  37. - NAVEGADOR USADO: $httpagenti \n;
  38. - SE CONTACTO DESDE LA PAGINA: $httprefi \n;
  39.  
  40. ini_set('sendmail_from','[email protected]');
  41. $from = 'From: Contacto desde la Web $email\r\n';
  42.  
  43. mail('[email protected]', $subject, $message, $from);
  44.  
  45. ?>
  46.  
  47. <p>&nbsp;</p>
  48. <p>&nbsp;</p>
  49. <div align="center">
  50.     <table border="0" id="table1" cellspacing="0" cellpadding="0" width="780">
  51.         <tr>
  52.             <td width="70" height="344">
  53.             <p align="center">
  54.             <br>
  55.             <img border="0" src="dflateral.gif" width="70" height="139"><p align="center">
  56.             <br>
  57.             <font color="#FFFFFF">Home<br>
  58. &nbsp;</font><p align="center">&nbsp;</td>
  59.             <td><br>
  60. &nbsp;</td>
  61.             <td width="640" valign="bottom">
  62.             <table border="0" id="table2" cellspacing="0" cellpadding="0" height="399" width="769">
  63.                 <tr>
  64.                     <td height="15" width="203"></td>
  65.                     <td height="15" width="28"></td>
  66.                     <td height="15" width="5"></td>
  67.                     <td height="15" width="194"></td>
  68.                     <td height="15" width="5"></td>
  69.                     <td height="15" width="194" colspan="2"></td>
  70.                     <td height="15" width="140">
  71.                     <p align="center">
  72.                     <SCRIPT language=JavaScript type=text/javascript>
  73.                                     <!--   
  74.                                         escribir('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="120" HEIGHT="20" id="musica" ALIGN="">');
  75.                                         escribir('<param name="movie" value="musica.swf">');
  76.                                         escribir('<param name="quality" value="high">');
  77.                                         escribir('<embed src="musica.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" WIDTH="120" HEIGHT="20"></embed>');
  78.                                         escribir('</object>');
  79.                                     //-->
  80.                                   </SCRIPT>
  81.                     </td>
  82.                 </tr>
  83.                 <tr>
  84.                     <td height="20" width="203">&nbsp;</td>
  85.                     <td height="20" width="425" colspan="5" align="center">
  86.                     <form method="post" action="sendform.php" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1">
  87.                     <p><font color="#FFFFFF" face="Arial">Confirmaci&#243;n de envío</font><p><br>
  88.        &nbsp;<b><font face="Tahoma" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#FFFFFF">Fecha:</strong><?php echo $todayis ?><strong>
  89. <br />
  90.         Remitente:</strong><?php echo $nombre ?>( <?php echo $email ?> )<strong>
  91.         </strong></font></font>
  92.         <p align="center"><font face="Tahoma" size="2"><strong>
  93.         <font size="2" face="Tahoma" color="#FFFFFF">Su Mensaje:<?php $notesout = str_replace("\r", "<br/>", $nota);echo $notesout; ?> </font>
  94.         </strong></font>
  95.         <p align="center"><font face="Tahoma" size="2">
  96.         <font size="2" face="Tahoma" color="#FFFFFF">
  97.         <strong>
  98. <br />
  99.         Su Direccion IP:<?php echo $ip ?> <br />
  100.         Referido desde:<?php echo $httpref ?> </font>  
  101. <p align="center"><a href="respuesta_ok.php" style="text-decoration: none">
  102. <font color="#FFFFFF" face="Tahoma" size="2">[CONFIRMAR]</font></a></td>
  103.                     <td height="20" width="71" align="center">
  104.                     &nbsp;</td>
  105.                     <td height="20" width="70" align="center">
  106.                     &nbsp;</td>
  107.                 </tr>
  108.                 <tr>
  109.                     <td height="20" width="203">&nbsp;</td>
  110.                     <td height="20" width="28">&nbsp;</td>
  111.                     <td height="20" width="5">&nbsp;</td>
  112.                     <td height="20" width="194">&nbsp;</td>
  113.                     <td height="20" width="5">&nbsp;</td>
  114.                     <td height="20" width="194" colspan="2">&nbsp;</td>
  115.                     <td height="20" valign="bottom" width="140">
  116.                     <img border="0" src="DA.gif" width="167" height="26"></td>
  117.                 </tr>
  118.             </table>
  119.             </td>
  120.         </tr>
  121.         </table>
  122. </div>

Qué bueno eso del resaltador, porque no sabía como hacer para que se vea la numeración.
Saludos

Última edición por GatorV; 08/12/2008 a las 11:46