#set( $filename = "poi/${pidIn}.html")
#set( $filename = $Util.prepURL("${filename}","-"))
#set( $pfs = $setup.getProperty("affiliateID") )
#set( $poi = $poia.getPOI($pidIn))
#set( $url = "../continents.html")
#set( $url = $Util.prepURL("${url}","-"))
All Countries
:
#set( $url = "../country/${country.CountryCode}.html")
#set( $url = $Util.prepURL("${url}","-"))
$country.CountryName
#if ($Util.stringHasValue($state.StateProvinceName))
:
#set( $url = "../state/${countryIn} ${state.StateProvince}.html")
#set( $url = $Util.prepURL("${url}","-"))
$state.StateProvinceName
#end
:
#set( $url = "../hotels/${countryIn} ${stateIn} ${cityIn}.html")
#set( $url = $Util.prepURL("${url}","-"))
$city.City
:
$poi.Name
Hotels Closest To $poi.Name - $city.City#if($Util.stringHasValue($state.StateProvinceName)) $state.StateProvinceName#end
#foreach( $hotel in $hotela.getProximity($poi,25) )
#set( $url = "../hotelinfo/${hotel.hotelID}.html")
#set( $chain = $chaina.getChain($hotel.chaincode))
#if ($Util.stringHasValue($hotel.imageURL))
#end
#if (! $Util.stringHasValue($hotel.imageURL))
#if ($Util.stringHasValue($chain.smLogo))
#end
#end
$hotel.Name
$hotel.Address1
$hotel.City, $hotel.StateProvince $hotel.PostalCode
$Util.formatDecimal($hotel.distanceFrom) miles from $poi.Name
Nightly Rates: ( $Util.formatDecimal($hotel.LowRate) - $Util.formatDecimal($hotel.HighRate) )
#if ($hotel.starrating!="-1")
$hotel.starrating Star
#end
#set( $description = "${hotel.PropertyDescription} ${hotel.LocationDescription}")
$Util.substring("${description}",0,250)
#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