|
<%@ 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" %>
|
Ohio Rental Links
Rent houses in Bay Village Ohio and Bay Village Ohio real estate rentals
Apartment rentals, Prairie real estate rentals, and rental houses
Rental homes Dover Ohio, Dover Ohio home rentals, Dover Ohio vacation homes, and rent houses Dover Ohio
Huber Heights Ohio vacation homes and Huber Heights rental apartment
Rent house in Norwood Ohio, house rentals, and rental homes in Norwood
Rental properties, vacation homes for rent by owner in Hubbard, Hubbard Ohio for rent by owner homes, and rent house in Hubbard Ohio
Condos for rent Painesville Ohio and vacation rentals in Painesville Ohio
Houses for rent in Broadview Heights Ohio, rental home in Broadview Heights Ohio, and houses for rent in Broadview Heights Ohio
Vacation homes for rent by owner in American Ohio, American Ohio holiday rentals, condos for rent in American, and rent houses in American Ohio
Home rentals Canton and holiday rentals in Canton Ohio
Real estate rentals, vacation homes Lake Ohio, and apartments for rent in Lake
Vacation rental Circleville Ohio, Circleville Ohio rental properties, Circleville apartment rentals, and Circleville bed and breakfast rentals
Vacation homes for rent by owner in Falls Ohio and homes for rent by owner
Vacation homes for rent by owner, real estate rentals Lancaster Ohio, and Lancaster Ohio home rentals
Coventry Ohio rent houses, Coventry apartments for rent, rental apartment Coventry Ohio, and holiday rentals in Coventry Ohio
Englewood Ohio for rent by owner homes and homes for rent by owner
Rental homes in Sharonville, rent houses, and Sharonville Ohio rental home
Find and find out Wauseon United States rental houses and condos for rent Wauseon United States.
Observe, invent, and recognize vacation rental Bettsville, Bettsville United States holiday rentals, and vacation homes Bettsville United States.
FRBO.Com, For Rent By Owner, does comprise special lakefront, resort, hidden, and log condominium, bungalow, condominium, and flats.
Portsmouth Ohio picture could run interference and bail out your research.
See loft listings and decadent online MLS that land owners and town home owners post on our website, FRBO.com.
Dig up, come upon, and come across vacation homes in Henry, vacation rentals in Henry, Henry Ohio vacation homes for rent by owner, and real estate rentals in Henry Ohio.
Identify and devise Cameron United States real estate rentals and apartment rentals in Cameron United States.
Pre-leased city villa and lakefront villa are nearby in the not faraway domain of Portsmouth.
Our for rent by owner site, FRBO.com comprises vicinity, precinct, sector, and plot results, spasmodically.
Find, discern, and recognize vacation homes in Fort Jennings, Fort Jennings United States apartments for rent, and home rentals Fort Jennings.
Look up, identify, and notice bed and breakfast rentals in Jackson Ohio, Jackson bed and breakfast rentals, and homes for rent by owner Jackson Ohio.
Elicit and catch apartment rentals in North Jackson United States and rental homes in North Jackson.
Send refined, fascinating, cute, and good-looking poop regarding rental apartment Portsmouth and Portsmouth Ohio condos for rent found on our for rent by owner website.
Hear and come upon Gallia rent houses and short term rentals in Gallia Ohio.
Originate special, some, sundry, and particular materials in Portsmouth and specialize short term rentals Portsmouth.
Disclose and light upon for rent by owner homes Lower Salem United States and rent houses in Lower Salem United States.
Join our city lists of marked properties, lake classified ads, and lake classifieds mailing list for homes for rent and real estate rentals Portsmouth Ohio.
Portsmouth is a sublime, well-formed, statuesque, and stunning zone with bewitching and divine timeshare, flat, bungalow, and haciendas.
Invent and discern holiday rentals in Putnam Ohio, apartments for rent Putnam, and holiday rentals.
Sign on and hire in the next few days to begin and launch on this passage.
Exclusive ad directories and ski in/out advertisements vacation rental in Auglaize Ohio, bed and breakfast rentals, rental apartment in Auglaize Ohio, and houses for rent Auglaize.
We reared, originated, and invested our site, FRBO.com to be pulchritudinous, resplendent, pretty, and delightful.
Now and again, open doors, abet, and expedite your occupiers, salesmen, and collegiates to a gigantic and husky area.
Discover and distinguish Adams apartments for rent, real estate rentals Adams, Adams Ohio vacation rentals, and Adams Ohio vacation homes for rent by owner.
Portsmouth sector employs many brokers leasing foreclosures, real estate brokers, real estate investors, and land owners.
Ascertain, distinguish, and conceive home rentals Champaign Ohio, vacation homes Champaign Ohio, and Champaign Ohio rental homes.
Observe, discern, and light upon vacation homes in Edison United States, apartments for rent in Edison, and Edison homes for rent by owner.
|
|