
<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>

<patTemplate:tmpl name="property_details" unusedvars="strip">
	<div class="jomres_property_list_propertywrapper" id="{UID}">
		<div class="panel {BUDGET_BORDER_CLASS} {FEATURED_LISTINGS_CLASS}">
			<div class="panel-heading">
				<div class="row">
					<div class="col-md-10">
						<h2 class="panel-title"><a href="{MOREINFORMATIONLINK}" title="{PROPERTY_NAME_FULL}" >{PROPERTYNAME}</a></h2> 
					</div>
					<div class="col-md-2">
						<div class="hidden-xs hidden-sm plist-compare" align="right">
							<label>
								<input type="checkbox" name="compare" value="{UID}" autocomplete="off"/>
								{_JOMRES_COMPARE}
							</label>
						</div>
					</div>
				</div>
			</div>
			<div class="panel-body">
				<div class="row">
					<div class="col-md-3">
						{PROPERTY_IMAGE_OR_SLIDESHOW}
					</div>
					<div class="col-md-6">
						<span class="label label-default">{PROPERTY_TYPE}</span> <span>{STARS} {SUPERIOR}</span> <span class="label label-info">{_JOMRES_REVIEWS_AVERAGE_RATING} {AVERAGE_RATING}</span>
						<p class="small"><i>{PROP_TOWN}, {PROP_REGION}, {PROP_COUNTRY}</i></p>
						<div>{PROPERTYDESC}</div>
						<div class="jomres_message">{LASTMINUTE}</div>
						<div class="row">{GATEWAYS}</div>
					</div>
					<!--<div class="col-md-3">
						{REVIEWS_SNIPPET}
					</div>-->
					<div class="col-md-3">
						<div class="well align-center">
							{PRICE_PRE_TEXT}
							<span class="big-price">{PRICE_PRICE}</span>
							{PRICE_POST_TEXT}
							<span class="big-price">{PRICE_CUMULATIVE}</span>
							{FOR} {STAY_DAYS} {NIGHTS_TEXT}
						</div>
					</div>
				</div>

				<div id="effect{UID}" class="hide">
					<p>&nbsp;</p>
					<div class="row">
						<div class="col-md-2 ">
							<div><strong>{_JOMRES_AGENT}</strong></div>
							<div>{AGENT_LINK}</div>
						</div>
						<div class="col-md-5 ">
							<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>
						<div class="col-md-5 ">
							{CUSTOM_PROPERTY_FIELDS_DATA_SNIPPET}
							<div class="clearfix"></div>
							<div>&nbsp;</div>
							<div class="{LASTBOOKING_STYLE}">{LASTBOOKED}</div>
						</div>
					</div>
				</div>
			</div>
			<div class="panel-footer">
				<a href="{LINK}" class="btn btn-success pull-right"><i class="fa fa-shopping-cart"></i> {BOOKTHIS_TEXT}</a>
				<a href="{MOREINFORMATIONLINK}" class="btn btn-info"><i class="fa fa-info"></i> {MOREINFORMATION}</a>
				<a href="javascript:void(0);" onclick="quick_info({UID});" class="btn btn-default hidden-xs hidden-sm"><i class="fa fa-info"></i> {_JOMRES_QUICK_INFO}</a>
				<a href="#property_reviews{UID}" ajax_task="show_property_reviews" data-toggle="modal" random_identifier="{UID}" property_name="{PROPERTYNAME}" property_uid="{UID}" class="btn btn-default hidden-xs hidden-sm"><i class="fa fa-thumbs-o-up"></i> {_JOMRES_REVIEWS_CLICKTOSHOW}</a> 
				<a href="javascript:void(0);" id="shortlist_{UID}" onclick="shortlist('{UID}')" class="btn btn-default hidden-xs hidden-sm">{SHORTLIST}</a>
			</div>
		</div>
	</div>
	<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 id = "livescrolling_results" ></div>

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

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