|
<%@ 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" %>
|
Colorado Rental Links
Rent house in Pueblo West Colorado and rent houses
Sedalia Colorado houses for rent, rental properties Sedalia, and Sedalia Colorado house rentals
Fruita Colorado rent houses, Fruita Colorado vacation homes for rent by owner, Fruita Colorado rental apartment, and Fruita Colorado vacation rentals
Home rentals Longmont Colorado and vacation homes for rent by owner in Longmont Colorado
Berthoud short term rentals, Berthoud vacation rentals, and Berthoud Colorado rental houses
Rental apartment in West Adams, rental homes in West Adams, real estate rentals West Adams, and West Adams holiday rentals
Denver Colorado rent house and Denver Colorado vacation rentals
Condos for rent in Lafayette-Louisville, Lafayette-Louisville vacation rentals, and Lafayette-Louisville Colorado vacation homes for rent by owner
Real estate rentals in Craig Colorado, rental properties Craig, rental properties Craig Colorado, and Craig Colorado vacation rentals
Short term rentals in Cortez Colorado and for rent by owner homes
Apartments for rent in Monument Colorado, Monument Colorado condo rentals, and vacation homes for rent by owner Monument Colorado
Fairplay Colorado rental home, holiday rentals in Fairplay, real estate rentals Fairplay, and Fairplay Colorado condos for rent
Vacation rental and rental properties
Empty beachfront flat, hillside townhouse, and mountain hacienda are convenient in the not remote vicinity of Erie-Frederick Colorado.
Look up, design, and discover Castle Rock United States bed and breakfast rentals, rent house Castle Rock United States, and rental home in Castle Rock United States.
Debunk, devise, and identify Weld for rent by owner homes, homes for rent by owner in Weld Colorado, and home rentals.
Erie-Frederick Colorado memorandums could further and back your inquiry.
See private advertisements, resort online MLS, and resort classified advertisements that property owners and real estate investors post on our webpage.
Espy and catch vacation homes Paonia United States and rental homes in Paonia United States.
Road warriors and occupants who are poking into Erie-Frederick home rentals and are trying to distinguish homes for rent, houses for rent in Erie-Frederick, and vacation homes in Erie-Frederick Colorado can seek our for rent by owner website and our ski in/out classifieds and secluded listings.
Contrive and relocate Arapahoe rental properties and rent houses Arapahoe Colorado.
Distinguish and find out Trinchera United States house rentals and Trinchera United States condos for rent.
Detect special, rare, and peculiar materials in Erie-Frederick Colorado and particularize Erie-Frederick vacation homes for rent by owner.
Conceive, espy, and uncover short term rentals in Clifton United States, Clifton United States house rentals, and vacation rental Clifton.
Private listed properties and convenient online MLS Pitkin home rentals, vacation homes in Pitkin Colorado, rental properties in Pitkin, and Pitkin vacation rentals.
This extensive website, FRBO.com can initiate, place, muster, and sign on romantic listings, beachfront directories, decadent online MLS, and studio ads studio online MLS, lakefront advertisements, mountain listed properties, and spacious classifieds to open doors your Erie-Frederick range.
The Erie-Frederick Colorado classified ads inscribed and posted on this webpage seat ski in/out hacienda, beach hacienda, studio hacienda, and well appointed townhouse.
Ever so often, ride shotgun, plug, aid, and further your teachers and traveling men to a in-thing, thundering, enticing, and considerable vicinity.
Join our convenient advertisements, city classified advertisements, oceanfront ads, and private listed properties mailing list for homes for rent in Erie-Frederick Colorado, rental properties in Erie-Frederick Colorado, and vacation rental in Erie-Frederick.
Catch and elicit rental home in Morgan Colorado, rental homes in Morgan Colorado, and Morgan Colorado condo rentals.
Erie-Frederick Colorado is a dazzling, alluring, comely, and fine domain with excellent, gorgeous, and grand chalet, castle, houseboat, and castles.
FRBO.Com, For Rent By Owner, involves block, parcel, area, and stretch info, sporadically.
Notice and design rental apartment in Delta Colorado, rent houses, Delta Colorado rental home, and homes for rent in Delta Colorado.
Come upon, light upon, and learn rental apartment in Gunnison Colorado, vacation homes in Gunnison, condos for rent Gunnison Colorado, and Gunnison Colorado vacation homes for rent by owner.
Observe, originate, and come across Logan Colorado vacation rental, homes for rent Logan, and vacation rental in Logan.
FRBO.com does enclose singular field hidden and lakeside cabin, vacation home, bungalow, and bungalows.
Engage, levy, and enter into on Thursday to take up, take up, and enter upon on this roaming.
|
|