|
|
|
|
#set($listingTemplate = $req.getAttribute("listingDetailTemplate"))
#set($templatePath = "/predesign/default/content/detail_templates/" + $listingTemplate.template)
#set($commonTemplatePath = "/predesign/default/content/detail_templates/common")
#set($listing = $listingTemplate.listing)
#set($options = $listingTemplate.options)
#set($photosURL = $listingTemplate.photosURL)
#set($contactPhone = $listingTemplate.contactPhone)
#set($contactEmail = $listingTemplate.contactEmail)
#set($contact1 = $listingTemplate.contactName1)
#set($contact2 = $listingTemplate.contactName2)
#set($contact1URL = $listingTemplate.contact1URL)
#set($contact2URL = $listingTemplate.contact2URL)
#set($agentPhotoURL = $listingTemplate.agentPhotoURL)
#set($homeType = $listing.formatHomeType)
#set($theSite = $listingTemplate.site)
#set($theAgent = $listingTemplate.agent)
#set($theOffice = $listingTemplate.office)
#set($listingDetailMap = $listingTemplate.getDisplayableListingDetailMap())
#set($showingtimeString = "javascript:popappt('/popup/appt.htm?listing_id=" + $listing.id + "');")
#set($listingTitle = $!{listing.street} + " " + $!{listing.city} + ", " + $!{listing.state} + " " + $!{listing.zipcode})
#if("$!{homeType}" == "null" || "$!{homeType}" == "")
#set($homeType = "")
#end
$req.setAttribute("calc_property_value", "${listing.price.intValue()}")
#*
*#
#**#
#if($!{listingTemplate.hasVirtualTour()})
#end
#if($!{listingTemplate.hasYoutubeTour()})
#end
#if($listingTemplate.isPropertyAddedForCompare())
#if($listingTemplate.isPropertyAddedForCompare())
#else
#end
#if($listingTemplate.isPropertySavedForConsumer())
#else
#end
#foreach($photo in $photosURL)

#end
#if($listingTemplate.isCourtesyEnable())
$!{listingTemplate.courtesyOfLabel} #if($listingTemplate.isCourtesyAgentNameEnable())$!{listingTemplate.agent.forename} $!{listingTemplate.agent.surname} #end$!{listingTemplate.courtesyMap.courtesy}
#else
#end
Description of $!{listingTitle}
$!{listing.getDisplayableListingRemakrs(false)}
#if($!listingTemplate.hasOpenHouses())
OPEN HOUSE
#set($first = true)
#foreach($oh in $listingTemplate.openHouses)
#if($!first)#end Next: #if($!first)#end $velocityTemplateUtility.getDateForGiveFormat(${oh.date}, "MM/dd/yyyy"), $velocityTemplateUtility.getDateForGiveFormat(${oh.start_time}, "hh:mm a") - $velocityTemplateUtility.getDateForGiveFormat(${oh.end_time}, "hh:mm a")
#end
#end
$!{contact1}
#if("$!{agentPhotoURL}" != "" && "$!{agentPhotoURL}" != "null")

#end
$!{contact2}
Office: $!{listingTemplate.getDisplayableOfficePhone()}
#if("$!{listingTemplate.getDisplayableAgentPhone()}" != "")
Mobile: $!{listingTemplate.getDisplayableAgentPhone()}
#end
#if("$!{theSite.is_agentsite()}" == "true" && "$!{listingTemplate.isIDXListing()}" == "true")
#else
#end
#if($options.showHomeType())- $!{listing.hometype_txt}
#end
- MLS Number:
- $!{listing.mls_id}
- Status:
- ${listingTemplate.listingStatus}
- Price:
- $$NumberTool.format($listing.price)
#if($options.showBeds())
- Bedrooms:
- $!{listing.bedRoomString}
#end
#if($options.showBaths())
- Bathrooms:
- $!{listing.bathString}
#end
- Size:
- $!{listingTemplate.listingSizeString}
##
- Built:
- $!{listing.year_built}
- $!{listingTemplate.fieldsConfig.listedDaysLabel}:
- $!{listing.listedDays} day(s) ago
#set($taxes = $listingTemplate.taxes)
#set($taxesValue = "")
#if("$!{taxes}" != "")
#set($taxesValue = "$ "+$NumberTool.format($taxes))
#end
- Garage Size:
- $!{listingTemplate.garageSize}
#set($subdivision = $listing.subdivision)
#set($development = $listing.development)
#set($association_fees = $listing.association_fees)
#if("$!{subdivision}" != "null" && "$!{subdivision}" != "")
- Subdivision:
- $!{listing.subdivision}
#end
#if("$!{development}" != "null" && "$!{development}" != "")
- Development:
- $!{listing.development}
#end
#if("$!{association_fees}" != "null" && "$!{association_fees}" != "0" && "$!{association_fees}" != "")
- Association Fees:$!{association_fees}
- $$NumberTool.format($association_fees)
#end
Map of $!{listingTitle}
$req.setAttribute("hideSchoolInfoList", "true")
$velocityTemplateUtility.getSchoolInfoListContent($req, $res, "","","$!{listing.zipcode}")
Features of $!{listingTitle}
#set($index = 0)
#foreach($detailMapEntry in $listingDetailMap.entrySet())
#set($detailMapEntryValue = $detailMapEntry.getValue())
$listingTemplate.getListingDetailFormattedKey($!{detailMapEntry.getKey().toUpperCase()})
#foreach($detailEntry in $detailMapEntryValue.entrySet())
-
$listingTemplate.getListingDetailFormattedKey($!{detailEntry.getKey()}):
$!{detailEntry.getValue()}
#set($index = $index+1)
#end
#end
$req.getAttribute("disclaimerContent")
Loading Recently Viewed Properties
|
|
|
|