Lee la sintaxis básica de PHP, tu problema es al meterlas dentro del echo, y la regla es si solo vas a imprimir mejor cierra el bloque PHP (?>) imprime el HTML, luego abre el bloque PHP e imprimes lo demas.
Algo asi:
Código php:
Ver original<table width='100%' border='0' cellpadding='0' cellspacing='0' class='style1'>
<tr>
<td width='14%'><div align='center'>
<?php
{
echo '<img src="http://bajabloggers.com/anuncios/imagenes/planeta-clasificados.gif">';
}
else
{
//echo "<img src='anuncios/imagenes/".$foto."' width='90' height='68' border='1'>";
echo"<a href='anuncios/imagenes/".$foto."' rel='lightbox'><img src='anuncios/imagenes/".$foto."' width='90' height='68' border='0' ></a>";
}
?></div></td> </tr>
</table>
Saludos