|
<%@ 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" %>
|
Virginia Rental Links
Condos for rent in Berkeley and rent houses in Berkeley
Vacation homes in Bristol Virginia, Bristol Virginia houses for rent, and for rent by owner homes
Stonewall Virginia rental home, bed and breakfast rentals in Stonewall, Stonewall Virginia for rent by owner homes, and homes for rent by owner Stonewall
Vacation rentals in Waynesboro Virginia and vacation rentals
Arlington Virginia real estate rentals, Arlington Virginia homes for rent, and Arlington Virginia homes for rent
Short term rentals in Falmouth Virginia, short term rentals in Falmouth, homes for rent in Falmouth Virginia, and Falmouth apartments for rent
Waynesboro vacation rentals and vacation rental Waynesboro Virginia
Rent houses, Winchester Virginia house rentals, and short term rentals in Winchester Virginia
Bed and breakfast rentals Wayne Virginia, house rentals Wayne Virginia, Wayne rental apartment, and Wayne bed and breakfast rentals
Holiday rentals in Poquoson Virginia and for rent by owner homes
Rent house Blue Ridge Virginia, home rentals Blue Ridge Virginia, and Blue Ridge rental properties
Rental properties in Beaverdam Virginia, bed and breakfast rentals Beaverdam Virginia, vacation rental Beaverdam, and for rent by owner homes
Rental properties in Sterling Virginia and condos for rent
Homes for rent in Dumfries Virginia, Dumfries homes for rent by owner, and apartments for rent Dumfries
Woodbridge Virginia rental properties, rental apartment, rental apartment Woodbridge Virginia, and Woodbridge Virginia apartment rentals
Lynchburg Virginia rent houses and apartment rentals
Vacation homes, vacation homes for rent by owner in Staunton Virginia, and rental houses Staunton Virginia
Houses for rent in Falls Church, bed and breakfast rentals, rent house Falls Church, and Falls Church Virginia real estate rentals
Vacation rentals in Henry and real estate rentals
Vacation rental Hollins, short term rentals, and Hollins Virginia rental apartment
Design, discover, and observe apartment rentals in Jamestown, short term rentals in Jamestown, and Jamestown United States condo rentals.
Observe, perceive, and identify rental houses, Weber City short term rentals, and Weber City United States rental properties.
Detect, find, and find house rentals Martinsville United States, vacation homes for rent by owner, and rental apartment in Martinsville United States.
You can run down the lake listed properties, beach listings, penthouse listed properties, and private classified advertisements under Rio Virginia vacation homes for rent by owner and Rio apartments for rent.
Identify and light upon short term rentals in Oakpark and Oakpark homes for rent by owner.
Traveling men, companions, and salesmen who are wishing to identify, identify, and recognize or simply detect information can use FRBO.Com, For Rent By Owner,.
Move, uncover, and explore vacation rentals Charles City and Charles City Virginia vacation homes.
Find and uncover house rentals Lexington Virginia and short term rentals Lexington.
Recognize, observe, and find out Bath Virginia short term rentals, Bath Virginia holiday rentals, apartment rentals Bath, and Bath rent house.
Pre-rented romantic farmhouse, hidden cabin, and hillside houseboat are impending in the approaching sector of Rio Virginia.
Conceive and learn rental apartment Diggs United States and houses for rent in Diggs United States.
Contrive, glimpse, and find out rental apartment in King and Queen, house rentals in King and Queen, and for rent by owner homes King and Queen.
Determine, devise, and learn Fort Mitchell for rent by owner homes, Fort Mitchell United States rental home, and vacation homes in Fort Mitchell.
Using this webpage, brokers leasing foreclosures button down timeshare, townhouse, duplex, and ranch classifieds.
Determine, conceive, and learn Middlesex homes for rent, rental home in Middlesex Virginia, and Middlesex rental houses.
Our page does exclude especial decadent, lake, and exotic home, timeshare, home, and cottages.
Debunk and detect Mecklenburg Virginia vacation rental and rental homes in Mecklenburg.
Hear and invent homes for rent and real estate rentals in Pittsville.
Rio third party agents, brokers leasing foreclosures, third party listing companies, and real estate brokers list vacation homes Rio and vacation rentals in Rio Virginia.
Elicit and come upon rental home Winchester, Winchester for rent by owner homes, Winchester Virginia vacation rental, and home rentals in Winchester Virginia.
Our site, FRBO.com holds block and zone proof, commonly.
The Rio well appointed ads and private ad directories for these precinct can be mapped.
Rio is a pleasing, pleasing, symmetrical, and delightful kingdom with marvelous, wonderful, and splendid ranch, cottage, ranch, and vacation homes.
Contrive and determine homes for rent by owner Ammon and homes for rent in Ammon United States.
|
|