|
<%@ include file="../WEB-INF/jsp/city_side_menu2.jspf" %>
|
|
<%@ include file="../WEB-INF/jsp/top_menu.jspf" %>
|
<%=city_name%>, <%=region_name%>
Filter the results on the map and on the property list by changing criteria.
All properties meeting criteria are shown automatically.
|
|
Properties in <%=city_name%>
| Property ID |
Address |
City |
Bedrooms |
Bathrooms |
Square feet |
<%@ include file="/WEB-INF/jsp/radius_function.jsp" %>
<%
Connection con = null;
try {
// lat and lng definition are on file city_scriptlet.jspf
double[] cords = getRadiusCords(60, lat, lng);
Class.forName("com.mysql.jdbc.Driver");
con = DriverManager.getConnection("jdbc:mysql://localhost/sstrehli1?user=sstrehli1&password=frboadmin2007");
String query = "SELECT property_id, address, country_id, country_name, bedrooms, bathrooms, sqft, property.latitude, property.longitude, cities.city, property.city_id FROM property, cities WHERE property.city_id = cities.city_id AND property.enabled = 1 AND property.latitude >= " + cords[0] + " AND property.longitude >= " + cords[1] + " AND property.latitude <= " +cords[2] + " AND property.longitude <= " +cords[3];
PreparedStatement Ps = con.prepareStatement(query);
//Ps.setInt(1,city_id);
ResultSet Rs = Ps.executeQuery();
while(Rs.next()) {
long property_id = Rs.getLong("property_id");
int country_id = Rs.getInt("country_id");
double latitude = Rs.getDouble("latitude");
double longitude = Rs.getDouble("longitude");
String address = Rs.getString("address");
String country_name = Rs.getString("country_name");
String city_name2 = Rs.getString("city");
int city_id2 = Rs.getInt("city_id");
int bedrooms = Rs.getInt("bedrooms");
int bathrooms = Rs.getInt("bathrooms");
int sqft = Rs.getInt("sqft");
String query2 = "SELECT date_in, date_out FROM rates WHERE property_id = ?";
PreparedStatement Ps2 = con.prepareStatement(query2);
Ps2.setLong(1, property_id);
ResultSet Rs2 = Ps2.executeQuery();
%>
| #<%=property_id%> |
<%=address%> |
<%=city_name2%> |
<%=bedrooms%> |
<%=bathrooms%> |
<%=sqft%> |
<%
Rs2.close();
Ps2.close();
}
Rs.close();
Ps.close();
con.close();
con = null;
} catch(Exception e) {out.print(e.toString()); out.print(e.getMessage());
}
finally {
if(con!=null) {
con.close();
con = null;
}
}
%>
| |
|
|
|
|
|
<%@ include file="../WEB-INF/jsp/footer.jspf" %>
|
Florida Rental Links
Eglin Florida homes for rent by owner and Eglin Florida rental homes
Rent house, Haines City rental properties, and condo rentals in Haines City Florida
Bed and breakfast rentals Arcadia West, Arcadia West Florida rental properties, homes for rent by owner in Arcadia West, and rent houses Arcadia West
For rent by owner homes Central Pasco Florida and Central Pasco Florida home rentals
House rentals Kissimmee Florida, homes for rent in Kissimmee Florida, and vacation homes in Kissimmee Florida
Milton rental properties, holiday rentals, Milton Florida short term rentals, and Milton Florida real estate rentals
Deerfield Beach Florida vacation homes for rent by owner and Deerfield Beach Florida rent house
Key West Florida rental apartment, Key West Florida house rentals, and short term rentals
Apartments for rent Cross City North, rental properties in Cross City North Florida, Cross City North Florida apartments for rent, and rental apartment Cross City North
Belle Glade-Pahokee vacation homes for rent by owner and Belle Glade-Pahokee Florida vacation homes for rent by owner
Casselberry-Altamonte Springs Florida rental houses, bed and breakfast rentals Casselberry-Altamonte Springs, and Casselberry-Altamonte Springs houses for rent
Vacation rental, homes for rent by owner in North Westside Florida, vacation rental North Westside Florida, and rental properties in North Westside
This site, For Rent By Owner (FRBO.com) embodys county and domain scoop, ordinarily.
Every now and then, serve, root for, cooperate, and work with your entrepreneurs and sisters-in-law to a celebrated, enormous, fetching, and prepossessing vicinity.
Vero Beach Florida vicinity employs many property managers and property owners.
Disclose and perceive apartment rentals in Indian Rocks Beach and Indian Rocks Beach United States rental home.
Interest and recruit day after tomorrow to initiate and inaugurate on this saunter.
Espy and perceive for rent by owner homes in coconut creek United States and rental home coconut creek United States.
Look up, come upon, and devise Calhoun Florida vacation homes, Calhoun rental homes, Calhoun Florida house rentals, and Calhoun Florida homes for rent.
Locate, disclose, and devise for rent by owner homes in Baker Florida and rental home Baker.
Hear and elicit rental houses and homes for rent Zellwood.
Locate, look up, and identify rent houses in Liberty Florida, short term rentals in Liberty Florida, and apartments for rent.
Observe, ascertain, and locate the dominion and approaching Vero Beach Florida domain.
Using this site, FRBO.com, real estate agents enumerate hacienda and cabin lists of marked properties.
|
|