setAPIKey($GOOGLE_KEYS[$_SERVER['HTTP_HOST']]); $map->disableDirections(); $markers = array(); $db = new DB; $title = ''; $description = ''; $keywords = ''; $intro = ''; $db->query("SELECT * FROM settings"); while ($db->next_record()) { $key = $db->f('setting_key'); if ($key == 'NEI_LIST_FILE_NAME') { $directoryUrl = $db->f('setting_value'); } elseif ($key == 'HEADER_FILE_NAME') { $headerFileName = $db->f('setting_value'); } elseif ($key == 'EMAIL_FORM_URL') { $emailFormUrl = $db->f('setting_value'); } elseif ($key == 'MAP_TITLE') { $title = $db->f('setting_value'); } elseif ($key == 'MAP_DESCRIPTION') { $description = $db->f('setting_value'); } elseif ($key == 'MAP_KEYWORDS') { $keywords = $db->f('setting_value'); } elseif ($key == 'MAP_INTRO') { $intro = $db->f('setting_value'); } } if (!isset($directoryUrl) || !$directoryUrl) { $directoryUrl = '/'; } if (!isset($headerFileName) || !$headerFileName) { $headerFileName = '_header.htm'; } if (!isset($emailFormUrl) || !$emailFormUrl) { $emailFormUrl = '/'; } $db->query("SELECT * FROM loft_and_condo_projects ORDER BY lc_name"); while ($db->next_record()) { $id = $db->f('lc_id'); $popup = '
' . '
' . $db->f('lc_name') . '
' . '
' . $db->f('lc_address') . '
' . $db->f('lc_city') . ', ' . $db->f('lc_state') . ' ' . $db->f('lc_zip') . '
'; $images = array(); $image = getImage($id, 'lc_image'); if ($image) { array_push($images, $image); } $image = getImage($id, 'lc_thumb1'); if ($image) { array_push($images, $image); } $image = getImage($id, 'lc_thumb2'); if ($image) { array_push($images, $image); } $image = getImage($id, 'lc_thumb3'); if ($image) { array_push($images, $image); } $image = getImage($id, 'lc_thumb4'); if ($image) { array_push($images, $image); } $image = getImage($id, 'lc_thumb5'); if ($image) { array_push($images, $image); } if (count($images)) { $popup .= '
'; for ($i = 0; $i < count($images); $i += 2) { $popup .= ''; if (isset($images[$i + 1])) { $popup .= ''; } $popup .= ''; } $popup .= '
'; } $popup .= "
Request Showing/Information
"; if ($db->f('lc_url')) { $popup .= '
Availability/Videos/Neighborhood Info
'; } $popup .= '
View Full Loft and Condo Directory
'; $sidebar = $db->f('lc_name'); $lat = $db->f('lc_lat'); $lng = $db->f('lc_lng'); if ($lat && $lng) { $map->addMarkerByCoords($lng, $lat, $sidebar, $popup); array_push($markers, $id); } } ?> <br /> <b>Notice</b>: Undefined variable: title in <b>/home/www/placeholders/san-antonios-real-estate.com/www/map.php</b> on line <b>130</b><br /> printHeaderJS() ?> printMapJS() ?>


Notice: Undefined variable: title in /home/www/placeholders/san-antonios-real-estate.com/www/map.php on line 176


Notice: Undefined variable: intro in /home/www/placeholders/san-antonios-real-estate.com/www/map.php on line 177
printMap() ?> printSidebar() ?>