
<patTemplate:tmpl name="pageoutput" unusedvars="strip">
{JOMRES_POPUPURL_GLOBALVAR}

{HEADER}

<patTemplate:comment>
<div class="row">
	<div class="col-md-12">
		{PAGING}
	</div>
</div>
</patTemplate:comment>

<div class="row">
	<patTemplate:tmpl name="property_details" unusedvars="strip">
		<div class="jomres_property_list_propertywrapper photo-view col-xs-12 col-sm-12 col-md-6 col-lg-4" id="{UID}">
			<div class="panel {BUDGET_BORDER_CLASS} {FEATURED_LISTINGS_CLASS}">
				<div class="panel-heading">
					<h2 class="panel-title"><a href="{MOREINFORMATIONLINK}" title="{PROPERTY_NAME_FULL}" >{PROPERTYNAME}</a><span class="pull-right"><a href="javascript:void(0);" id="shortlist_{UID}" onclick="shortlist('{UID}')" class="hidden-xs" style="color:#333;">{SHORTLIST}</a></span></h2>
				</div>
				<div class="panel-body">
					<span class="label label-default">{PROPERTY_TYPE}</span> <span>{STARS} {SUPERIOR}</span>
					<p class="small"><i>{PROP_TOWN}, {PROP_REGION}, {PROP_COUNTRY}</i></p>
					{PROPERTY_IMAGE_OR_SLIDESHOW}
					<!--<div align="center">{PRICE_PRE_TEXT}</div>-->
					<div class="well">
						<div class="row" align="center">
							<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
								<span class="big-price">{PRICE_PRICE}</span>
								{PRICE_POST_TEXT}
							</div>
							<div class="col-xs-6 col-sm-6 col-md-6 col-lg-6">
								<span class="big-price">{PRICE_CUMULATIVE}</span>
								{FOR} {STAY_DAYS} {NIGHTS_TEXT}
								{DISCOUNT_OVERLAY}
							</div>
						</div>
					</div>
				</div>
				<div class="panel-footer clearfix">
					<a href="{LINK}" class="btn btn-success pull-right"><i class="fa fa-shopping-cart"></i> {BOOKTHIS_TEXT}</a>
					<div class="hidden-xs hidden-sm photoview-compare">
						<label>
							<input type="checkbox" name="compare" value="{UID}" autocomplete="off"/>
							{_JOMRES_COMPARE}
						</label>
					</div>
				</div>
			</div>
		</div>
	
		<patTemplate:comment>
			<div id="effect{UID}" class="quick-info ui-helper-hidden">
				<div class="ui-widget-content ui-corner-all">
					<div class="property-desc">{PROPERTYDESC}</div>
					<div class="jomres_message property-desc">{LASTMINUTE}</div>
					<div><strong>{_JOMRES_FRONT_ROOMTYPES}</strong></div>
					<div>{ROOMTYPES}</div>
					<div style="clear:both;"></div>
					<div><strong>{_JOMRES_COM_MR_VRCT_ROOM_HEADER_FEATURES}</strong></div>
					<div>{FEATURELIST}</div>
					<div style="clear:both;"></div>
					<div>&nbsp;</div>
					<div><strong>{_JOMRES_REVIEWS}</strong></div>
					<div><strong>{_JOMRES_REVIEWS_TOTAL_VOTES}</strong> {NUMBER_OF_REVIEWS}</div>
					<div><strong>{_JOMRES_REVIEWS_AVERAGE_RATING}</strong>{AVERAGE_RATING}</div>
					<a href="#property_reviews{UID}" ajax_task="show_property_reviews" data-toggle="modal" random_identifier="{UID}" property_name="{PROPERTYNAME}" property_uid="{UID}">{_JOMRES_REVIEWS_CLICKTOSHOW}</a>
	
					<div>&nbsp;</div>
					<div class="{LASTBOOKING_STYLE}">{LASTBOOKED}</div>
				</div>
			</div>
		</patTemplate:comment>
	
	<script>
	   jomresJquery(document).ready(function(){
		 jomresJquery('#module_{RANDOM_IDENTIFIER}_popup', '#property_reviews{UID}').appendTo("body");
		});
	</script>
	<div class="modal fade" id="module_{RANDOM_IDENTIFIER}_popup"></div><!-- /.modal info -->
	<div class="modal fade" id="property_reviews{UID}"></div><!-- /.modal reviews -->
	</patTemplate:tmpl>
</div>

<div id = "livescrolling_results" ></div>

<div class="row">
	<div class="col-md-12">
		{PAGING}
	</div>
</div>

<patTemplate:comment>{HEADER}</patTemplate:comment>
</patTemplate:tmpl>