Book Accommodation online in {$_GET['town']}\n";
include'linkunit.txt';
//var_dump($xml);
$day = date("d", strtotime("tomorrow"));
$month = date("F", strtotime("tomorrow"));
$year = date("Y", strtotime("tomorrow"));
$days = range(1, 31);
$months= array(1 =>"January","February","March","April","May","June","July","August","September","October","November","December");
$years = array( $year, $year+1, $year+2, $year+3);
echo <<
hotel as $hotel){
$desc = '';
$description = explode(' ', $hotel->hotel_description);
$num = (count($description) < 30) ? count($description) : 30;
for($i=0; $i<$num; $i++){$desc .= $description[$i].' ';}
echo"\n";
if(!empty($hotel->hotel_link)){
$lin = trim($hotel->hotel_link);
echo"
\n";
}
echo"
\n";
if(!empty($hotel->images)){
$im = trim($hotel->images);
echo"
";
}
echo"$desc...
More Prices from £$hotel->prices_from\n";
if(!empty($im)){echo'
';}
echo'
';
}
if(isset($xml->didyoumean)){
echo'Did you mean?
';
foreach($xml->didyoumean->keyword as $keyword){
echo"$keyword->text..id>This one?
\n";
}
}
include'dailyfeature.php';
?>