Ver Mensaje Individual
  #17 (permalink)  
Antiguo 07/01/2005, 02:28
mon
 
Fecha de Ingreso: febrero-2003
Mensajes: 506
Antigüedad: 21 años, 2 meses
Puntos: 0
Hola jam1138, de nuevo gracias por tu ayuda, a ver, mira hice lo que dices de sacar el código que genera el php y lo veo igual en texto que como está hecho en javascript, lo copio y llevo a formato html quitando algunas cosas que no valen y veo las direcciones físicas de las imagenes a las que hago referencia y aparentemente está todo bien, pero ejecuto la página html y no funciona, así que no sé donde puede estar el fallo, pongo el código que genera el php tal y como sale
Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<
html>
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<
title>::.. INFORMACI&Oacute;N INMUEBLE ..::</title>


            <!-- 
ZoneLabs Privacy Insertion -->
            <
script language='javascript' src='http://127.0.0.1:1035/js.cgi?pcaw&r=18467'></script>

<script>
var foto=0;
var maxFoto=4; //nº máximo de fotos

function mostrar(num) {
  foto+=num;
  if(foto>maxFoto) foto=1;
  if(foto<1) foto=maxFoto;
  cambiar('imagen'+foto+'.jpg');
}
function cambiar(im) {
  imagen.src=im;
}
</script>
<style type="text/css">
<!--
.botones {    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 9pt;
    color: #FFFFFF;
    background-color: #4388EF;
    font-weight: bold;
    border: 1 #003366;

}
body,td,th {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #000000;
}
body {
    background-image: url(Images/fondo2.gif);
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
}
.Estilo1 {color: #FFFFFF}

-->
</style>
</head>

<body background-image: url(/Images/fondo2.gif)>



<form name="formular" action="./modulos/33201meinteresa2005.php" method="post">
  <table width="630" cellspacing="0" cellpadding="0">
  <tr>
    <td width="326" valign="top"><table  cellspacing="0" cellpadding="0">
      <tr>
        <td width="61"><img src="/Images/logotipo3/logotipo_01.gif" width="178" height="27"></td>
        <td width="83"><div align="left"><img src="/Images/logotipo3/logotipo_02.gif" width="199" height="27"></div></td>
      </tr>
      <tr>
        <td><img src="/Images/logotipo3/logotipo_03.gif" width="178" height="31"></td>
        <td><img src="/Images/logotipo3/logotipo_04.gif" width="199" height="31"></td>
      </tr>
    </table></td>
    <td width="304"><div align="center" class="Estilo1">I<span class="Estilo2">nmobiliaria Los Campinos<BR>
        Plaza de Bego&ntilde;a, 1 - Bajo (Los Patos) <BR>
        Tel&eacute;fono y Fax. 985357716<BR>
    33201 Gij&oacute;n - Principado de Asturias</span></div></td>
  </tr>
</table>
  <table width=630 bgcolor=#A6D9FF align=center border=0 id=tabla><tr><td>  </td></tr>        
           <input type="hidden" name="referencia" value="03/2005"> 
                                 <input type="hidden" name="fecha" value=" 00-00-0000"> 
       </td><tr><td><table width=640 border=0 bordercolor=#00ff00><td valign=top width=400>Ref.03/2005<br><br>Ref.: 140
GIJON.  SANATORIO CARMEN. 80 M2. TOTALMENTE REFORMADO LUJO. ALTURA. EXTERIOR. SOLEADO. ASCENSOR. VENTANAS PVC PORTERIA NUEVA. GRES Y AZULEJOS PRIMERAS CALIDADES. IMPRESIONANTE COCINA AMUEBLADA 13 M2. 3 HABITACIONES. SALA.
Precio: 189.000,00</td>    
     <td align="right"><img src="temporal/thumbs/tn_121-2109_IMG.JPG" name="imagen"/> </td>
</tr></table></td></tr><tr><input type="hidden" name="descripcion" value="Ref.: 140
GIJON.  SANATORIO CARMEN. 80 M2. TOTALMENTE REFORMADO LUJO. ALTURA. EXTERIOR. SOLEADO. ASCENSOR. VENTANAS PVC PORTERIA NUEVA. GRES Y AZULEJOS PRIMERAS CALIDADES. IMPRESIONANTE COCINA AMUEBLADA 13 M2. 3 HABITACIONES. SALA.
Precio: 189.000,00">  
       <td><table>    
   <td><a href="#" onClick="cambiar('temporal/thumbs/tn_121-2109_IMG.JPG');return false"><img src="mini.php?imagen=temporal/thumbs/tn_121-2109_IMG.JPG&tam=55x55" border="0" /></a></td>
   <td> <a href="#" onClick="cambiar('temporal/thumbs/tn_121-2109_IMG.JPG');return false"><img src="mini.php?imagen=temporal/thumbs/tn_121-2109_IMG.JPG&tam=55x55" border="0"/></a></td> 
    <td><a href="#" onClick="cambiar('temporal/thumbs/tn_121-2107_IMG.JPG');return false"><img src="mini.php?imagen=temporal/thumbs/tn_121-2107_IMG.JPG&tam=55x55" border="0"/></a></td>
    <td><a href="#" onClick="cambiar('temporal/thumbs/tn_121-2111_IMG.JPG');return false"><img src="mini.php?imagen=temporal/thumbs/tn_121-2111_IMG.JPG&tam=55x55" border="0"/></a></td></table> 
   <div align="right"><input name="B1" type="button" class="botones" style="border: 1px solid #000080" onclick="this.form.submit()" value="Me Interesa" />
   </tr>

       <tr><td>
     
    
     
     
<input type="button" value="-" onClick="mostrar(-1)" />
      <input type="button" value="+" onClick="mostrar(1)" />
    
  </div></tr>
</form>


<!-- ZoneLabs Popup Blocking Insertion -->
<script language='javascript'>postamble();</script>
</body>
</html> 
Tendré que seguir mirando a ver donde está el error, gracias

Última edición por mon; 07/01/2005 a las 02:40