assign('network', getNetwork()); getDates(); $budget = getFeaturedAccommodation(5, "budget"); $luxury = getFeaturedAccommodation(5, "luxury"); $smarty->assign('featured_budget', $budget['locations']); $smarty->assign('featured_luxury', $luxury['locations']); @shuffle($luxury['locations']); $smarty->assign('featured_left', $luxury['locations'][0]); $smarty->assign('featured_right', $luxury['locations'][1]); if(is_file("blurb.txt")) $smarty->assign('blurb', nl2br(file_get_contents("blurb.txt"))); $smarty->assign('title', ""); $smarty->assign('type', $config['type']); $smarty->assign('domain', $config['domain']); $smarty->display('header.tpl'); $smarty->display('main.tpl'); $smarty->display('footer.tpl'); ?>