<!DOCTYPE html>
<html xmlns:th="https://www.thymeleaf.org">
<head>
	<title>Royal Estate - Free Bootstrap 4 Template by Colorlib</title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

	<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700" rel="stylesheet">

	<link rel="stylesheet" href="css/open-iconic-bootstrap.min.css">
	<link rel="stylesheet" href="css/animate.css">

	<link rel="stylesheet" href="css/owl.carousel.min.css">
	<link rel="stylesheet" href="css/owl.theme.default.min.css">
	<link rel="stylesheet" href="css/magnific-popup.css">

	<link rel="stylesheet" href="css/aos.css">

	<link rel="stylesheet" href="css/ionicons.min.css">

	<link rel="stylesheet" href="css/bootstrap-datepicker.css">
	<link rel="stylesheet" href="css/jquery.timepicker.css">


	<link rel="stylesheet" href="css/flaticon.css">
	<link rel="stylesheet" href="css/icomoon.css">
	<link rel="stylesheet" href="css/style.css">
</head>
<body>


<div class="top">
	<div class="container">
		<div class="row d-flex align-items-center">
			<div class="col">
				<p class="social d-flex">
					<a href="#"><span class="icon-facebook"></span></a>
					<a href="#"><span class="icon-twitter"></span></a>
					<a href="#"><span class="icon-google"></span></a>
					<a href="#"><span class="icon-pinterest"></span></a>
				</p>
			</div>
			<div class="col d-flex justify-content-end">
				<p class="num"><span class="icon-phone"></span> + 1700 12345 6789</p>
			</div>
		</div>
	</div>
</div>

<nav class="navbar navbar-expand-lg navbar-dark ftco_navbar bg-dark ftco-navbar-light" id="ftco-navbar">
	<div class="container">
		<a class="navbar-brand" href="index.html">Royal<span>estate</span></a>
		<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#ftco-nav" aria-controls="ftco-nav" aria-expanded="false" aria-label="Toggle navigation">
			<span class="oi oi-menu"></span> Menu
		</button>

		<div class="collapse navbar-collapse" id="ftco-nav">
			<ul class="navbar-nav ml-auto">
				<li class="nav-item"><a href="index.html" class="nav-link">Home</a></li>
				<li class="nav-item active"><a href="property.html" class="nav-link">Property</a></li>
				<li class="nav-item"><a href="agents.html" class="nav-link">Agents</a></li>
				<li class="nav-item"><a href="about.html" class="nav-link">About</a></li>
				<li class="nav-item"><a href="blog.html" class="nav-link">Blog</a></li>
				<li class="nav-item"><a href="contact.html" class="nav-link">Contact</a></li>
				<li class="nav-item cta"><a href="contact.html" class="nav-link ml-lg-2"><span class="icon-user"></span> Sign-In</a></li>
				<li class="nav-item cta cta-colored"><a href="contact.html" class="nav-link"><span class="icon-pencil"></span> Sign-Up</a></li>

			</ul>
		</div>
	</div>
</nav>
<!-- END nav -->

<div class="hero-wrap" style="background-image: url('images/bg_1.jpg');">
	<div class="overlay"></div>
	<div class="container">
		<div class="row no-gutters slider-text align-items-center justify-content-center">
			<div class="col-md-9 ftco-animate text-center">
				<p class="breadcrumbs"><span class="mr-2"><a href="index.html">Home</a></span> <span>Property</span></p>
				<h1 class="mb-3 bread">Property</h1>
			</div>
		</div>
	</div>
</div>

<section class="ftco-search">
	<div class="container">
		<div class="row">
			<div class="col-md-12 search-wrap">
				<h2 class="heading h5 d-flex align-items-center pr-4"><span class="ion-ios-search mr-3"></span> Search Property</h2>
				<form action="#" class="search-property">
					<div class="row">
						<div class="col-md align-items-end">
							<div class="form-group">
								<label for="#">Keyword</label>
								<div class="form-field">
									<div class="icon"><span class="icon-my_location"></span></div>
									<input type="text" class="form-control" placeholder="Keyword">
								</div>
							</div>
						</div>
						<div class="col-md align-items-end">
							<div class="form-group">
								<label for="#">Location</label>
								<div class="form-field">
									<div class="icon"><span class="icon-my_location"></span></div>
									<input type="text" class="form-control" placeholder="City/Locality Name">
								</div>
							</div>
						</div>
						<div class="col-md align-items-end">
							<div class="form-group">
								<label for="#">Property Type</label>
								<div class="form-field">
									<div class="select-wrap">
										<div class="icon"><span class="ion-ios-arrow-down"></span></div>
										<select name="" id="" class="form-control">
											<option value="">Type</option>
											<option value="">Commercial</option>
											<option value="">- Office</option>
											<option value="">Residential</option>
											<option value="">Villa</option>
											<option value="">Condominium</option>
											<option value="">Apartment</option>
										</select>
									</div>
								</div>
							</div>
						</div>
						<div class="col-md align-items-end">
							<div class="form-group">
								<label for="#">Property Status</label>
								<div class="form-field">
									<div class="select-wrap">
										<div class="icon"><span class="ion-ios-arrow-down"></span></div>
										<select name="" id="" class="form-control">
											<option value="">Type</option>
											<option value="">Rent</option>
											<option value="">Sale</option>
										</select>
									</div>
								</div>
							</div>
						</div>
						<div class="col-md align-items-end">
							<div class="form-group">
								<label for="#">Agents</label>
								<div class="form-field">
									<div class="select-wrap">
										<div class="icon"><span class="ion-ios-arrow-down"></span></div>
										<select name="" id="" class="form-control">
											<option value="">Any</option>
											<option value="">Jonh Doe</option>
											<option value="">Doe Mags</option>
											<option value="">Kenny Scott</option>
											<option value="">Emily Storm</option>
										</select>
									</div>
								</div>
							</div>
						</div>
					</div>

					<div class="row">
						<div class="col-md align-items-end">
							<div class="form-group">
								<label for="#">Min Beds</label>
								<div class="form-field">
									<div class="select-wrap">
										<div class="icon"><span class="ion-ios-arrow-down"></span></div>
										<select name="" id="" class="form-control">
											<option value="">1</option>
											<option value="">2</option>
											<option value="">3</option>
											<option value="">4</option>
											<option value="">5</option>
										</select>
									</div>
								</div>
							</div>
						</div>
						<div class="col-md align-items-end">
							<div class="form-group">
								<label for="#">Min Bathroom</label>
								<div class="form-field">
									<div class="select-wrap">
										<div class="icon"><span class="ion-ios-arrow-down"></span></div>
										<select name="" id="" class="form-control">
											<option value="">1</option>
											<option value="">2</option>
											<option value="">3</option>
											<option value="">4</option>
											<option value="">5</option>
										</select>
									</div>
								</div>
							</div>
						</div>
						<div class="col-md align-items-end">
							<div class="form-group">
								<label for="#">Min Price</label>
								<div class="form-field">
									<div class="select-wrap">
										<div class="icon"><span class="ion-ios-arrow-down"></span></div>
										<select name="" id="" class="form-control">
											<option value="">Min Price</option>
											<option value="">$1,000</option>
											<option value="">$5,000</option>
											<option value="">$10,000</option>
											<option value="">$50,000</option>
											<option value="">$100,000</option>
											<option value="">$200,000</option>
											<option value="">$300,000</option>
											<option value="">$400,000</option>
											<option value="">$500,000</option>
											<option value="">$600,000</option>
											<option value="">$700,000</option>
											<option value="">$800,000</option>
											<option value="">$900,000</option>
											<option value="">$1,000,000</option>
										</select>
									</div>
								</div>
							</div>
						</div>
						<div class="col-md align-items-end">
							<div class="form-group">
								<label for="#">Min Price</label>
								<div class="form-field">
									<div class="select-wrap">
										<div class="icon"><span class="ion-ios-arrow-down"></span></div>
										<select name="" id="" class="form-control">
											<option value="">Min Price</option>
											<option value="">$5,000</option>
											<option value="">$10,000</option>
											<option value="">$50,000</option>
											<option value="">$100,000</option>
											<option value="">$200,000</option>
											<option value="">$300,000</option>
											<option value="">$400,000</option>
											<option value="">$500,000</option>
											<option value="">$600,000</option>
											<option value="">$700,000</option>
											<option value="">$800,000</option>
											<option value="">$900,000</option>
											<option value="">$1,000,000</option>
											<option value="">$2,000,000</option>
										</select>
									</div>
								</div>
							</div>
						</div>
						<div class="col-md align-items-end">
							<div class="form-group">
								<label for="#">Min Area <span>(sq ft)</span></label>
								<div class="form-field">
									<div class="icon"><span class="icon-my_location"></span></div>
									<input type="text" class="form-control" placeholder="Min Area">
								</div>
							</div>
						</div>
						<div class="col-md align-items-end">
							<div class="form-group">
								<label for="#">Max Area <span>(sq ft)</span></label>
								<div class="form-field">
									<div class="icon"><span class="icon-my_location"></span></div>
									<input type="text" class="form-control" placeholder="Max Area">
								</div>
							</div>
						</div>
						<div class="col-md align-self-end">
							<div class="form-group">
								<div class="form-field">
									<input type="submit" value="Search" class="form-control btn btn-primary">
								</div>
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</section>


<section class="ftco-section bg-light">
	<div class="container">
		<div id="oglasi" class="row">






		</div>

	</div>
</section>

<section class="ftco-section-parallax">
	<div class="parallax-img d-flex align-items-center">
		<div class="container">
			<div class="row d-flex justify-content-center">
				<div class="col-md-7 text-center heading-section heading-section-white ftco-animate">
					<h2>Subcribe to our Newsletter</h2>
					<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in</p>
					<div class="row d-flex justify-content-center mt-5">
						<div class="col-md-8">
							<form action="#" class="subscribe-form">
								<div class="form-group d-flex">
									<input type="text" class="form-control" placeholder="Enter email address">
									<input type="submit" value="Subscribe" class="submit px-3">
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</section>

<footer class="ftco-footer ftco-bg-dark ftco-section">
	<div class="container">
		<div class="row mb-5">
			<div class="col-md">
				<div class="ftco-footer-widget mb-4">
					<h2 class="ftco-heading-2">Royalestate</h2>
					<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.</p>
					<ul class="ftco-footer-social list-unstyled float-md-left float-lft mt-5">
						<li class="ftco-animate"><a href="#"><span class="icon-twitter"></span></a></li>
						<li class="ftco-animate"><a href="#"><span class="icon-facebook"></span></a></li>
						<li class="ftco-animate"><a href="#"><span class="icon-instagram"></span></a></li>
					</ul>
				</div>
			</div>
			<div class="col-md">
				<div class="ftco-footer-widget mb-4 ml-md-5">
					<h2 class="ftco-heading-2">Buy</h2>
					<ul class="list-unstyled">
						<li><a href="#" class="py-2 d-block">Home For Sale</a></li>
						<li><a href="#" class="py-2 d-block">Open Houses</a></li>
						<li><a href="#" class="py-2 d-block">New Listing</a></li>
						<li><a href="#" class="py-2 d-block">Recently Reduce</a></li>
						<li><a href="#" class="py-2 d-block">Off-Market Homes</a></li>
					</ul>
				</div>
			</div>
			<div class="col-md">
				<div class="ftco-footer-widget mb-4">
					<h2 class="ftco-heading-2">Sell</h2>
					<ul class="list-unstyled">
						<li><a href="#" class="py-2 d-block">Sell Your Home</a></li>
						<li><a href="#" class="py-2 d-block">Get A Home Valuation</a></li>
						<li><a href="#" class="py-2 d-block">Local Home Prices</a></li>
						<li><a href="#" class="py-2 d-block">Guides &amp; Rules</a></li>
						<li><a href="#" class="py-2 d-block">Others</a></li>
					</ul>
				</div>
			</div>
			<div class="col-md">
				<div class="ftco-footer-widget mb-4">
					<h2 class="ftco-heading-2">Have a Questions?</h2>
					<div class="block-23 mb-3">
						<ul>
							<li><span class="icon icon-map-marker"></span><span class="text">203 Fake St. Mountain View, San Francisco, California, USA</span></li>
							<li><a href="#"><span class="icon icon-phone"></span><span class="text">+2 392 3929 210</span></a></li>
							<li><a href="#"><span class="icon icon-envelope"></span><span class="text">info@yourdomain.com</span></a></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-12 text-center">

				<p><!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
					Copyright &copy;<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made with <i class="icon-heart color-danger" aria-hidden="true"></i> by <a href="https://colorlib.com" target="_blank">Colorlib</a>
					<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. --></p>
			</div>
		</div>
	</div>
</footer>



<!-- loader -->
<div id="ftco-loader" class="show fullscreen"><svg class="circular" width="48px" height="48px"><circle class="path-bg" cx="24" cy="24" r="22" fill="none" stroke-width="4" stroke="#eeeeee"/><circle class="path" cx="24" cy="24" r="22" fill="none" stroke-width="4" stroke-miterlimit="10" stroke="#F96D00"/></svg></div>

<script th:inline="javascript">
	let oglasi = /*[[${oglasi}]]*/ []
	p=""

	for(let i=0;i<oglasi.length;i++)
	{
		s="<div class=\"col-md-4 ftco-animate\">" +
				"<div class=\"properties\">" +
				"<a href=\"property-single.html\" class=\"img img-2 d-flex justify-content-center align-items-center\" style=\"background-image: url(images/properties-5.jpg);\">" +
				"<div class=\"icon d-flex justify-content-center align-items-center\">" +
				"<span class=\"icon-search2\"></span>" +
				"</div>" +
				"</a>" +
				"<div class=\"text p-3\">" +
				"<span class=\"status sale\">Sale</span>" +
				"<div class=\"d-flex\">" +
				"<div class=\"one\">" +
				"<h3><a href=\"property-single.html\">"+oglasi[i].ime +"</a></h3>" +
				"<p>Apartment</p>" +
				"</div>" +
				"<div class=\"two\">" +
				"<span class=\"price\">"+oglasi[i].cena+"$</span>" +
				"</div>" +
				"</div>" +
				"<p>Far far away, behind the word mountains, far from the countries</p>" +
				"<hr>" +
				"<p class=\"bottom-area d-flex\">" +
				"<span><i class=\"flaticon-selection\"></i> 250sqft</span>" +
				"<span class=\"ml-auto\"><i class=\"flaticon-bathtub\"></i> 3</span>" +
				"<span><i class=\"flaticon-bed\"></i> 4</span>" +
				"</p>" +
				"</div>" +
				"</div>" +
				"</div>"
		p+=s
	}


	x=document.getElementById("oglasi")
	console.log("CEVU GLAVA")
	console.log(x)
	x.innerHTML=p
</script>
<script src="js/jquery.min.js"></script>
<script src="js/jquery-migrate-3.0.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/jquery.waypoints.min.js"></script>
<script src="js/jquery.stellar.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/aos.js"></script>
<script src="js/jquery.animateNumber.min.js"></script>
<script src="js/bootstrap-datepicker.js"></script>
<script src="js/jquery.timepicker.min.js"></script>
<script src="js/scrollax.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBVWaKrjvy3MaE7SQ74_uJiULgl1JY0H2s&sensor=false"></script>
<script src="js/google-map.js"></script>
<script src="js/main.js"></script>

</body>
</html>
