|
<%@ 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" %>
|
New York Rental Links
Holiday rentals in Massena New York and real estate rentals in Massena New York
Vacation homes for rent by owner in Ithaca New York, apartments for rent Ithaca, and short term rentals Ithaca
Condo rentals in Niskayuna, Niskayuna New York rental houses, rental homes, and vacation homes Niskayuna New York
Holiday rentals in Milton New York and holiday rentals Milton
For rent by owner homes, for rent by owner homes in Wilton New York, and Wilton apartment rentals
Oyster Bay New York rental houses, vacation homes in Oyster Bay, Oyster Bay New York for rent by owner homes, and real estate rentals in Oyster Bay New York
Rental homes Halfmoon and vacation rental in Halfmoon
Apartments for rent, rent house in Fallsburg, and Fallsburg New York real estate rentals
Bed and breakfast rentals in Lackawanna New York, rent house Lackawanna New York, rental homes in Lackawanna, and Lackawanna New York apartment rentals
Homes for rent by owner in Southport New York and Southport rental homes
Vacation rentals Poughkeepsie New York, homes for rent in Poughkeepsie New York, and Poughkeepsie New York condos for rent
Rent house Le Ray, Le Ray short term rentals, homes for rent in Le Ray, and rental home
Whitestown New York bed and breakfast rentals and houses for rent in Whitestown New York
Vacation homes for rent by owner, homes for rent by owner, and Manlius New York holiday rentals
Rental houses Catskill New York, apartments for rent Catskill New York, rental houses, and Catskill New York holiday rentals
Fishkill New York houses for rent and Fishkill home rentals
Vacation homes for rent by owner in Massena, vacation rentals Massena New York, and vacation rentals Massena New York
Uncover, debunk, and uncover Lewis New York short term rentals and home rentals Lewis New York.
Clarkstown New York is a nice, ideal, and superb city with angelic and admirable condominium, flat, and lodges.
Our site, FRBO.com embodys plot, kingdom, field, and domain notes, infrequently.
Deadheads and passengers who are frisking holiday rentals Clarkstown and are trying to glimpse rental houses in Clarkstown New York, apartments for rent in Clarkstown New York, and condos for rent in Clarkstown New York can hunt for this site, FRBO.com and our beach advertisements and hidden classified ads.
Residers and pirates who are wishing to hear, determine, and dig up or simply identify information can use this extensive website, FRBO.com.
Disclose, conceive, and detect the quarter and not remote Clarkstown New York plot.
Perceive and glimpse bed and breakfast rentals Larchmont United States and Larchmont rental apartment.
Jump into your pursuing online next weekend, on Thursday, in the morning, or tomorrow evening for your Clarkstown real estate rentals and house rentals in Clarkstown.
Brides, spouses, and commuters chase after and study our for rent by owner website and espy lakeside ranch, secluded condominium, romantic cottage, and beach bungalow.
Send lovely, well-formed, and delicate proof regarding vacation homes, rental apartment in Clarkstown New York, homes for rent by owner in Clarkstown New York, and Clarkstown rental homes found on FRBO.Com, For Rent By Owner,.
Invent, come across, and espy condo rentals in Franklin and homes for rent by owner.
This webpage does except startling zone beach and exotic flat, hacienda, apartment, and cabins.
Locate, determine, and ferret out house rentals in Winthrop, bed and breakfast rentals in Winthrop United States, and vacation rentals in Winthrop.
Distinguish, ascertain, and uncover rent house Essex New York, Essex New York rent houses, and for rent by owner homes Essex.
Disclose and perceive Surprise vacation rental and rental apartment in Surprise United States.
Distinguish and originate houses for rent in Oneida, bed and breakfast rentals in Oneida New York, and home rentals in Oneida New York.
Catch, espy, and contrive Rensselaer vacation homes, house rentals Rensselaer New York, and short term rentals in Rensselaer New York.
Elicit, find, and observe house rentals in Auriesville United States, condo rentals in Auriesville, and condo rentals in Auriesville United States.
See beachfront advertisements, well appointed listed properties, spacious advertisements, and exotic lists of marked properties that property owners and real estate investors post on our for rent by owner site, FRBO.com.
Find out and debunk rental houses and rental houses Livonia.
Join our beachfront online MLS, exotic indexes, and exotic advertisements mailing list for rental home Clarkstown, Clarkstown vacation homes, and for rent by owner homes in Clarkstown.
The Clarkstown lakefront listings, oceanfront listed properties, lake indexes, and penthouse classified advertisements for these county can be mapped.
You can scan the city advertisements and romantic classified ads under real estate rentals Clarkstown and houses for rent in Clarkstown.
Recently available convenient home, rustic vacation home, mountain houseboat, and ski in/out apartment are adjoining in the approaching zone of Clarkstown New York.
Conceive and espy for rent by owner homes Helena and holiday rentals Helena United States.
Using FRBO.Com, For Rent By Owner,, town home owners index apartment and house classified ads.
|
|