


Sorry, we are experiencing heavy network traffic on our database server. Please try back in about 15 minutes.
"; exit; } $sql= "SELECT count(*) from real_estate WHERE sold='No' and agentID='".$agentID."'"; //print ""; $countNum=$db->getOne($sql); chkSqlError($db); if ($countNum==0) { echo ""; exit; } else { $getAgentInfo="select firstName,lastName, phoneNumber from real_estate_users where agentID=$agentID"; $agentInfo=$db->getRow($getAgentInfo); $agentFirstName=$agentInfo[0]; $agentLastName=$agentInfo[1]; $agentPhone=$agentInfo[2]; if ($hood==""){ $getSQL= "select distinct listingID, listingDate, sold, city, state, listingType, price, bed, bath,sqFeet,mlsID,shortDesc,photo,hood,triumphLinkURL FROM real_estate where agentID='".$agentID."' and sold='No' ORDER BY hood DESC"; } else { $getSQL= "select distinct listingID, listingDate, sold, city, state, listingType, price, bed, bath,sqFeet,mlsID,shortDesc,photo,hood,triumphLinkURL FROM real_estate where agentID='".$agentID."' and sold='No' and hood='".$hood."'ORDER BY bed DESC"; } //print ""; $results=$db->query($getSQL); chkSqlError($db); $howMany=$results->numRows(); if ($howMany!=0) { echo '| Description | Neighborhood | Beds / Baths | Approx Sq Feet* | Price | Contact Info |
$imageTag {$result[11]} |
$neighborhood |
{$result[7]} / {$result[8]} | {$sqFeet} Sq ft* |
{$listPrice} |
Agent: $agentFirstName $agentLastName
$agentPhone Click Here For More Details |
| Description | Neighborhood | Size | Price |
| luxury one bed room on Central Park West ( Upper West Side 90s) | Central Park West | 3/1/1 | $635,000 |
| Spacious One Bed Room with home office on Central Park West | Central Park West | 3/1/1 | $495,000 |
| & PRICE REDUCED & Top Floor CPW Condo w/ Incredible Park View | Morningside Heights | 3/1/1 | $525,000 |