Bucks County, PA
Montgomery County, PA
The Lehigh Valley
Western New Jersey
Northeast Philadelphia
Agent Search
"; echo ""; $query = "Select * from CBH_OFFICE WHERE CBHOFFICE_ID != '7022940' AND CBHOFFICE_ID != '121045-0017' AND CBHOFFICE_ID != 'management' ORDER BY CBHOFFICE_NAME"; $result = mysql_query($query); $num_offices = mysql_num_rows($result); for ($i=0; $i<$num_offices; $i++) { $row = mysql_fetch_array($result); $tmpOffice = new CbhOffice(); $tmpOffice = $tmpOffice -> load($row); $offices[$i] = $tmpOffice; } // add BMS and Commerical Properties //$tmpOffice = new CbhOffice(); //$tmpOffice->setOfficeId("121045-0017"); //$tmpOffice->setOfficeName("Builder Marketing Services"); //$offices[count($offices)] = $tmpOffice; $tmpOffice = new CbhOffice(); $tmpOffice->setOfficeId("7022940"); $tmpOffice->setOfficeName("Commercial Properties"); $offices[count($offices)] = $tmpOffice; foreach ($offices as $office) { echo "\n"; } } else { echo "

More options

Real Estate Right Now Blog\n"; $url = "http://cbhrealestate.blogspot.com/feeds/posts/default"; $rss = fetch_rss( $url ); echo "
    "; $loop = 1; foreach ($rss->items as $item) { $href = $item['link']; $title = $item['title']; $title = CleanupSmartQuotes($title); //$summary = $item['atom_content']; echo "
  • "; echo ""; echo $title; echo ""; //echo $summary; echo "
  • \n"; $loop++; if ($loop > 5) { break; } } echo "
"; echo "

Read more

\n"; } ?>