Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/03/2009, 03:13
Avatar de DIRAB51
DIRAB51
 
Fecha de Ingreso: diciembre-2002
Mensajes: 106
Antigüedad: 21 años, 3 meses
Puntos: 0
Mostrar 2 variables

Hola amigos tengo este script, en el el coloreado de rojo muestra una foto y luego debajo de la foto el coloreado de verde muestra una lista de noticias.

<style type="text/css">
<!--
body {

margin-left: 0px;
margin-top: 0px;
background-repeat: repeat;
}
-->
</style>
<style>
body{
background-repeat: no-repeat;
}
</style>

<title>Diaz de Aguilar</title><div class="ultimas">
<span class="nueva_imagen">
<?php $resultado = mysql_result($res13, 0, 0); echo "<a class=\"entra_c\" href=\"index.php?opcion=noticia&id=$resultado\"tar get=\"51net2\" >"; ?>
<img src="<?php $resultado13 = mysql_result($res13, 0, 2); if ($resultado13 != ""){echo "imagenes_noticias/$resultado13";}else{echo "img/foto1.jpg";} ?>" alt="&Uacute;ltima noticia." name="laimagen" width="60%" height="60%" id="laimagen" title="&Uacute;ltima noticia." /></span>
<div class="contiene_n">
<?php
$marca = 1;
while (list($ids, $entrada)=mysql_fetch_array($res0))
{
echo "<p><a class=\"entra_c\" href=\"index.php?opcion=noticia&id=$ids\"target=\" 51net2\" >$entrada</a></p>";
if ($filas <> $marca){
//Arreglando saltos de línea y tabuladores.
echo "";
}else{ echo "\n";}
$marca++;
}
?>
</div>
</div>
</div>


¿Que tendria que hacer para mostrar la foto y seguido, no abajo el nombre de la noticia?.
Gracias anticipadas.