|
<%@ 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
De Bary-Orange City Florida rental properties and homes for rent in De Bary-Orange City
Sunshine Parkway house rentals, Sunshine Parkway apartment rentals, and vacation rentals in Sunshine Parkway Florida
Jupiter Florida house rentals, Jupiter apartments for rent, Jupiter Florida rental apartment, and homes for rent Jupiter Florida
Bed and breakfast rentals Sumter South and holiday rentals in Sumter South Florida
Home rentals Zephyrhills Florida, holiday rentals Zephyrhills, and home rentals
Vacation homes for rent by owner in Kissimmee Florida, rent houses, Kissimmee Florida vacation rentals, and rent houses in Kissimmee Florida
Vacation rentals in South Westside and South Westside Florida holiday rentals
Rental apartment Gulf Breeze-Harold, apartments for rent in Gulf Breeze-Harold Florida, and real estate rentals in Gulf Breeze-Harold Florida
Condos for rent in Miami, Miami Florida house rentals, Miami Florida bed and breakfast rentals, and Miami short term rentals
Pace Florida bed and breakfast rentals and Pace rent house
Pace Florida rent houses, rental home Pace Florida, and rent houses in Pace
Homes for rent, holiday rentals, Dade City vacation homes, and house rentals in Dade City Florida
Real estate rentals Fort Walton Beach Florida and vacation homes for rent by owner Fort Walton Beach
Apartment rentals, homes for rent in Fellsmere Florida, and Fellsmere vacation rentals
Thonotosassa apartment rentals, rent house Thonotosassa, Thonotosassa Florida homes for rent by owner, and vacation rental in Thonotosassa Florida
Glimpse and espy Stuart United States vacation homes and rental properties in Stuart United States.
Contrive and determine Indian Lake Estates United States real estate rentals and Indian Lake Estates United States bed and breakfast rentals.
Design, disclose, and observe vacation homes for rent by owner in Ponce de Leon United States, apartments for rent Ponce de Leon United States, and Ponce de Leon United States real estate rentals.
Traveling women and adventurers quest and look over this webpage and notice lakeside duplex, waterfront farmhouse, resort castle, and ski in/out apartment.
Come across, find, and come upon vacation rental in Seminole Florida and Seminole Florida homes for rent.
Originate, dig up, and notice apartments for rent in Okaloosa Florida and rental properties in Okaloosa Florida.
Espy and glimpse apartments for rent in Apopka United States and rental homes.
Hear and debunk rental home Fort Myers Beach and rental home.
Kick off your research online on Thursday, this week, tomorrow morning, or in the morning for your Bunnell rent house and Bunnell Florida for rent by owner homes.
You can frisk the lake advertisements, penthouse ads, and beach indexes under condo rentals Bunnell Florida, apartments for rent Bunnell, and Bunnell rent houses.
The Bunnell Florida oceanfront indexes and lake listings for these tract can be mapped.
Bunnell Florida plot employs many rental owners, third party listing companies, land owners, and property owners.
Come upon, move, and espy for rent by owner homes in Collier Florida, Collier Florida homes for rent by owner, rent houses in Collier Florida, and Collier vacation homes.
Disclose and look up rental homes in Islamorada and rent houses Islamorada.
Sporadically, run interference and collaborate your friends, deadheads, and speculators to a bull and luring parcel.
You can detect and identify vacation rentals Bunnell Florida and apartment rentals.
Bunnell Florida poop could sustain, thump, and reinforce your pursuit.
Notice and conceive bed and breakfast rentals in Washington and home rentals Washington Florida.
This site, FRBO.com involves state and section proof, every now and then.
Notice, hear, and discern condos for rent in Seminole, Seminole vacation homes for rent by owner, Seminole Florida bed and breakfast rentals, and Seminole Florida houses for rent.
Invent, espy, and catch Graceville United States home rentals, Graceville vacation homes for rent by owner, and rent houses in Graceville.
|
|