#set( $filename = "hotelinfo/${hotelidIn}.html") #set( $filename = $Util.prepURL("${filename}","-")) #set( $pfs = $setup.getProperty("affiliateID") ) $hotel.Name $hotel.City#if($Util.stringHasValue($state.StateProvinceName)) $state.StateProvinceName#end
#set( $chain = $chaina.getChain($hotel.chaincode))

$hotel.Name

#if ($Util.stringHasValue($hotel.imageURL))
#end #if (! $Util.stringHasValue($hotel.imageURL)) #if ($Util.stringHasValue($chain.smLogo))
#end #end

$hotel.Address1
$hotel.City, $hotel.StateProvince $hotel.PostalCode
Nightly Rates: ( $Util.formatDecimal($hotel.LowRate) - $Util.formatDecimal($hotel.HighRate) )
#if ($hotel.starrating!="-1") $hotel.starrating Star
#end


#if ($Util.stringHasValue($hotelinfo.getChild("propertyDescription").getText()))

Property Description

$hotelinfo.getChild("propertyDescription").getText()

#end #if ($hotelinfo.getChildren("Media").size()>0) #set( $isfirst = true ) #foreach( $media in $hotelinfo.getChildren("Media") ) #if ($isfirst && $Util.stringHasValue($media.getChild("link").getText())) #if ($Util.stringHasValue($media.getChild("description").getText()))

$media.getChild("description").getText()

#end

#set( $isfirst = false ) #end #end #end #if ($hotelinfo.getChildren("Amenity").size()>0) #set( $numAmenities = $hotelinfo.getChildren("Amenity").size() ) #set( $numRows = ($numAmenities / 2) + 1 ) #set( $pos = 0 )

Amenities

#foreach( $amenity in $hotelinfo.getChildren("Amenity") ) #set( $pos = $pos + 1 ) #if ( $pos <= $numRows ) · $amenity.getChild("description").getText()
#end #end #set( $pos = 0 ) #foreach( $amenity in $hotelinfo.getChildren("Amenity") ) #set( $pos = $pos + 1 ) #if ( $pos >= $numRows ) · $amenity.getChild("description").getText()
#end #end
#end #if ($hotelinfo.getChildren("RoomInfo").size()>0)

Room Information

#foreach( $roominfo in $hotelinfo.getChildren("RoomInfo") ) #if ( $Util.stringHasValue($roominfo.getChild("name").getText()) ) $roominfo.getChild("name").getText()
#end #if ( $Util.stringHasValue($roominfo.getChild("description").getText()) ) $roominfo.getChild("description").getText()
#end #if ( $Util.stringHasValue($roominfo.getChild("Media").getChild("Media").getChild("link").getText()) ) #if ( $Util.stringHasValue($roominfo.getChild("Media").getChild("Media").getChild("description").getText()) ) $roominfo.getChild("Media").getChild("Media").getChild("description").getText()
#end

#end #end #end #if ($Util.stringHasValue($hotelinfo.getChild("rateDisclaimer").getText()))

Rate Disclaimer

$hotelinfo.getChild("rateDisclaimer").getText()

#end #if ( $Util.stringHasValue($hotelinfo.getChild("nativeCurrencyName").getText()) || $Util.stringHasValue($hotelinfo.getChild("depositCreditCardsAccepted").getText()) || $Util.stringHasValue($hotelinfo.getChild("checkIn").getText()) || $Util.stringHasValue($hotelinfo.getChild("checkOut").getText()) || $Util.stringHasValue($hotelinfo.getChild("timeZone").getText()) || $Util.stringHasValue($hotelinfo.getChild("yearOpened").getText()) || $Util.stringHasValue($hotelinfo.getChild("yearRenovated").getText()) || $Util.stringHasValue($hotelinfo.getChild("numberOfRooms").getText()) || $Util.stringHasValue($hotelinfo.getChild("numberOfSuites").getText()) || $Util.stringHasValue($hotelinfo.getChild("numberOfFloors").getText()) )

Miscellaneous Information

#if ( $Util.stringHasValue($hotelinfo.getChild("nativeCurrencyName").getText()) ) · $hotelinfo.getChild("nativeCurrencyName").getText() is the native currency.
#end #if ( $Util.stringHasValue($hotelinfo.getChild("depositCreditCardsAccepted").getText()) ) · The following credit cards are accepted: $hotelinfo.getChild("depositCreditCardsAccepted").getText() 
#end #if ( $Util.stringHasValue($hotelinfo.getChild("checkIn").getText()) ) · Check in time is $hotelinfo.getChild("checkIn").getText()
#end #if ( $Util.stringHasValue($hotelinfo.getChild("checkOut").getText()) ) · Check out time is $hotelinfo.getChild("checkOut").getText()
#end #if ( $Util.stringHasValue($hotelinfo.getChild("timeZone").getText()) ) · Time Zone is $hotelinfo.getChild("timeZone").getText()
#end #if ( $Util.stringHasValue($hotelinfo.getChild("yearOpened").getText()) ) · Opened in $hotelinfo.getChild("yearOpened").getText()
#end #if ( $Util.stringHasValue($hotelinfo.getChild("yearRenovated").getText()) ) · Renovated in $hotelinfo.getChild("yearRenovated").getText()
#end #if ( $Util.stringHasValue($hotelinfo.getChild("numberOfRooms").getText()) ) · $hotelinfo.getChild("numberOfRooms").getText() rooms.
#end #if ( $Util.stringHasValue($hotelinfo.getChild("numberOfSuites").getText()) ) · $hotelinfo.getChild("numberOfSuites").getText() suites.
#end #if ( $Util.stringHasValue($hotelinfo.getChild("numberOfFloors").getText()) ) · $hotelinfo.getChild("numberOfFloors").getText() floors.
#end

#end #if ($hotelinfo.getChildren("Directions").size()>0 || $Util.stringHasValue($hotelinfo.getChild("locationDescription").getText()) )

Directions

#foreach( $direction in $hotelinfo.getChildren("Directions") ) #if ( $Util.stringHasValue($direction.getChild("text").getText()) )

$direction.getChild("text").getText()

#end #end #if ( $Util.stringHasValue($hotelinfo.getChild("locationDescription").getText()) )

$hotelinfo.getChild("locationDescription").getText()

#end #if ( $Util.stringHasValue($hotelinfo.getChild("airportText").getText()) )

$hotelinfo.getChild("airportText").getText()

#end #end #if ($Util.stringHasValue($hotelinfo.getChild("guaranteePolicyDescription").getText()))

Guarantee Policy

$hotelinfo.getChild("guaranteePolicyDescription").getText()

#end #if ($Util.stringHasValue($hotelinfo.getChild("cancelPolicyDescription").getText()))

Cancellation Policy

$hotelinfo.getChild("cancelPolicyDescription").getText()

#end #if ($hotelinfo.getChildren("Restaurant").size()>0)

Restaurant Information

#foreach( $restaurant in $hotelinfo.getChildren("Restaurant") ) #if ( $Util.stringHasValue($restaurant.getChild("name").getText()) ) $restaurant.getChild("name").getText() #end #if ( $Util.stringHasValue($restaurant.getChild("description").getText()) )

$restaurant.getChild("description").getText()

#end #if ( $Util.stringHasValue($restaurant.getChild("Media").getChild("link").getText()) )
#if ( $Util.stringHasValue($restaurant.getChild("Media").getChild("description").getText()) )

$restaurant.getChild("Media").getChild("description").getText()

#end #end #end #end #if ($hotelinfo.getChildren("MeetingFacility").size()>0)

Meeting Facility

#foreach( $facility in $hotelinfo.getChildren("MeetingFacility") ) #if ( $Util.stringHasValue($facility.getChild("Media").getChild("link").getText()) )
#if ( $Util.stringHasValue($facility.getChild("Media").getChild("description").getText()) )

$facility.getChild("Media").getChild("description").getText()

#end #end #if ( $Util.stringHasValue($facility.getChild("name").getText()) ) $facility.getChild("name").getText() #end #if ( $Util.stringHasValue($facility.getChild("description").getText()) )

$facility.getChild("description").getText()

#end #end #end #if ($hotelinfo.getChildren("Recreation").size()>0)

Recreation Information

#if ( $Util.objectHasValue($hotelinfo.getChildren("Recreation")) ) #foreach( $recreation in $hotelinfo.getChildren("Recreation") ) #if ( $Util.stringHasValue($recreation.getChild("Media").getChild("link").getText()) )
#end #if ( $Util.stringHasValue($recreation.getChild("name").getText()) ) $recreation.getChild("name").getText() #end #if ( $Util.stringHasValue($recreation.getChild("description").getText()) )

$recreation.getChild("description").getText()

#end #end #end #end #if ( $Util.objectHasValue($hotelinfo.getChildren("AreaAttraction")) )

Area Attractions

#foreach( $area in $hotelinfo.getChildren("AreaAttraction") ) #if ( $Util.stringHasValue($area.getChild("Media").getChild("link").getText()) )
#end #if ( $Util.stringHasValue($area.getChild("name").getText()) ) $area.getChild("name").getText() #end #if ( $Util.stringHasValue($area.getChild("description").getText()) )

$area.getChild("description").getText()

#end #end #end

$city.City Hotel Chains

#foreach( $citychain in $citychaina.getCity($cityIn,$stateIn,$countryIn) ) #set( $url = "../chain/${citychain.CountryCode} ${citychain.StateProvince} ${citychain.City} ${citychain.ChainCode}.html") #set( $url = $Util.prepURL("${url}","-")) $citychain.ChainName
#end

Cities Near $city.City

#set( $isFirst = true ) #foreach( $nearbycity in $citya.getProximity($city, 25, true) ) #set( $url = "../hotels/${nearbycity.CountryCode} ${nearbycity.StateProvince} ${nearbycity.City}.html") #set( $url = $Util.prepURL("${url}","-")) $nearbycity.City
#set( $isFirst = false ) #end
#set( $cat = "") #foreach( $poi in $poia.getCity($city) ) #if (!$cat.equals("${poi.TypeName}"))

$poi.TypeName

#end #set( $cat = "${poi.TypeName}") #set( $url = "../poi/${poi.PID}.html") #set( $url = $Util.prepURL("${url}","-")) $poi.Name
#end

Get Room Rates

Arrival Date

Departure Date
Adults
Children