Thanks a mil
B
Code: Select all
<?php do { ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tblproperty">
<tr>
<td>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="tblbg">Description</td>
</tr>
<tr>
<td><?php echo nl2br($row_getProperties['description']); ?></td>
</tr>
<tr>
<td class="tblbg">Prices</td>
</tr>
<tr>
<td><?php echo nl2br($row_getProperties['prices']); ?></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<?php do {
if (isset($row_rstThumbs['ThumbName']) && file_exists('images/apartments/'.$row_rstThumbs['ThumbName'])) {
$image_info_1 = getimagesize('images/apartments/'.$row_rstThumbs['ThumbName']);
}$dims_1 = isset($image_info_1) ? $image_info_1[3] : '';
if (isset($row_rstThumbs['ImageName']) && file_exists('images/apartments/'.$row_rstThumbs['ImageName'])) {
$image_info_large = getimagesize('images/apartments/'.$row_rstThumbs['ImageName']);
}$dims_2 = isset($image_info_large) ? $image_info_large[3] : '';
echo $row_rstThumbs['id'];
if ($dims_1) { ?>
<a href="gallery_pop.php?image_id=<?php echo $row_rstThumbs['id']; ?>" title="Mogan Puerto"><img src="images/apartments/<?php echo $row_rstThumbs['ThumbName']; ?>" <?php echo $dims_1; }?> alt="Click for a larger image" border="0" onClick="dpSmartLink('gallery_pop.php?image_id=<?php echo $row_rstThumbs['id']; ?>','newWin','<?php echo $image_info_large[0]+ '20'; ?>','<?php echo $image_info_large[1]+ '50'; ?>','100:0',0);return document.MM_returnValue"></a>
<?php } while ($row_rstThumbs = mysql_fetch_assoc($rstThumbs)); ?>
</td>
</tr>
</table>
<?php } while ($row_getProperties = mysql_fetch_assoc($getProper