-
$i=1; ?>
while ($rec = $record->next()): ?>
EDIT CONDO INFORMATION:
=$rec[BLDG_NAME]?> |
Condo Name : |
=FValue($rec,'BLDG_NAME')?>
|
Condo Features Description |
|
|
Property Image List:
if (file_exists($_SERVER['DOCUMENT_ROOT'].'/images/'.$rec[BLDG_ID])) {
$FdirPath = dir($_SERVER['DOCUMENT_ROOT'].'/images/'.$rec[BLDG_ID]);
$FimgArray = array();
while (($file = $FdirPath->read()) !== false)
{
if ((substr($file, -3)=="gif") || (substr($file, -3)=="jpg") || (substr($file, -3)=="png") || (substr($file, -3)=="GIF") || (substr($file, -3)=="JPG") || (substr($file, -3)=="PNG"))
{
$FimgArray[ ] = trim($file);
}
}
$FdirPath->close();
rsort($FimgArray);
}
$Farr_photos = array();
$Farr_p = array();
$Fpcount = count($FimgArray);
if($Fpcount>0) {
$img_w = 110;
$img_h = 82;
$i2=1;
echo '';
for($i=0;$i<$Fpcount;$i++) {
$Fimg = "/images/".$rec[BLDG_ID]."/".$FimgArray[$i];
echo '';
}
echo ' | ';
}
?>
Condo Key Floor Plans:
Floor Plan Image List:
if (file_exists($_SERVER['DOCUMENT_ROOT'].'/images/F_'.$rec[BLDG_ID])) {
$FCdirPath = dir($_SERVER['DOCUMENT_ROOT'].'/images/F_'.$rec[BLDG_ID]);
$FCimgArray = array();
while (($file = $FCdirPath->read()) !== false)
{
if ((substr($file, -3)=="gif") || (substr($file, -3)=="jpg") || (substr($file, -3)=="png") || (substr($file, -3)=="GIF") || (substr($file, -3)=="JPG") || (substr($file, -3)=="PNG"))
{
$FCimgArray[ ] = trim($file);
}
}
$FCdirPath->close();
rsort($FCimgArray);
}
$FCarr_photos = array();
$FCarr_p = array();
$FCpcount = count($FCimgArray);
if($FCpcount>0) {
$img_w = 110;
$img_h = 82;
$i2=1;
echo '';
for($i=0;$i<$FCpcount;$i++) {
$FCimg = "/images/F_".$rec[BLDG_ID]."/".$FCimgArray[$i];
echo '
javascript:PopupPic(\''.$FCimg.'\')
Delete ';
}
echo ' | ';
}
?>
|
|
endwhile ?> |
include 'right_nav.php'; ?>