add_inserts(array('GREENLIGHTSEARCH' => 'greenlightsearchBlock')); $page->add_inserts(array('DTD' => 'strictdtd')); $page->add_inserts(array('ADVERTSINAREA' => 'advertsInArea')); $page->set_title('Interhike - Camping, Hostels, Travel and Outdoors in Europe'); $page->set_description('Camping and Hostel accommodation in Europe. Travel and Outdoor equipment price comparison.'); $page->set_keywords('camping,campsites,camping in europe,hiking,hostels,hostelling,travel,outdoors'); #$page->set_title('Interhike - Camping, Hostels, Skiing, Snowboarding, Travel and Outdoors'); #$page->set_description('Interhike specialises in skiing, snowboarding, travel and outdoor equipment. Including hostel and camping accommodation around Europe'); #$page->set_keywords('skiing,snowboarding,ski,snowboard,skis,snowboard,travel,outdoor,camping,hostels'); $page->set_head(' '); $translations = new LG_Translations_Database($page, $db, 'translations_view', 'id', 'groupid', 'languagecode', 'languagelocal', 'countrycode', 'countrytranslationid', 'text', 'EN', 'GB', 'Shop.Products.Categories', 'Products'); $page->print_header(); if ($handle = mysql_fetch_array($db->sql("SELECT COUNT(*) AS total FROM products"))) { $productsTotal = preg_replace('/(.*)(\d)(\d{3})/', '$1$2,$3', $handle[total]); } else { $productsTotal = '200,000+'; } if ($handle = mysql_fetch_array($db->sql("SELECT COUNT(*) AS total FROM camping"))) { $campingTotal = preg_replace('/(.*)(\d)(\d{3})/', '$1$2,$3', $handle[total]); } else { $campingTotal = '19,000+'; } if ($handle = mysql_fetch_array($db->sql("SELECT COUNT(*) AS total FROM hostels"))) { $hostelsTotal = preg_replace('/(.*)(\d)(\d{3})/', '$1$2,$3', $handle[total]); } else { $hostelsTotal = '16,000+'; } ?>

Camping, Travel & Outdoors

You can search through our price comparing database to find the cheapest of camping, outdoor and travel products from all over the internet. You can book hostels in Europe online and you can find information about camping sites in Europe . Please note that we do not own or run any of the camping sites or hostels advertised.

This week's most popular products
"SET NAMES utf8")); $country_handle = $pdo->prepare('SELECT country_id FROM countries WHERE countrycode = :countrycode'); if ($country_handle->execute(array(':countrycode' => strtoupper($page->get_countrycode())))) { if ($country_pointer = $country_handle->fetch(PDO::FETCH_ASSOC)) { $country_id = $country_pointer['country_id']; } else { //TODO error } } else { //TODO error } $popular_handle = $pdo->prepare(' SELECT product_id FROM product_clicks WHERE clicktime > date_sub( NOW( ) , INTERVAL 1 WEEK ) AND country_id = :country_id GROUP BY product_id ORDER BY count( product_id ) DESC LIMIT 0,4'); if ($popular_handle->execute(array(':country_id' => $country_id))) { while ($popular_pointer = $popular_handle->fetch(PDO::FETCH_ASSOC)) { $product_ids[] = $popular_pointer['product_id']; } $in_query = implode(',', array_fill(0, count($product_ids), '?')); $products_handle = $pdo->prepare('SELECT p.*, s.*, COUNT(*) AS num_items, MIN(price) AS min_price, MAX(price) AS max_price FROM products p INNER JOIN items i ON i.product_id = p.product_id INNER JOIN suppliers s ON s.supplier_id = i.supplier_id WHERE p.product_id IN ('.$in_query.') GROUP BY i.product_id ORDER BY price_uk LIMIT 0, 12'); foreach ($product_ids as $k => $product_id) { $products_handle->bindValue(($k+1), $product_id); } if ($products_handle->execute()) { //TODO grid <-> list view //TODO grid tooltip description $results = format_products($pdo, $products_handle, $translations/*, $edit_categories, $index*/); } echo implode($results); //while ($handle = mysql_fetch_array($result)) { // $productHandle = mysql_fetch_array($db->sql('SELECT product_name,image,product_link FROM products WHERE product_id = \''.$popular_pointer[product_id].'\'')); // $productHandle[product_link] = preg_replace('/&(?!amp;)/', '&', $productHandle[product_link]); // echo ''; // } } ?>

Interhike News

Follow us on Twitter Find us on Facebook Interhike News Feed Interhike News Feed

Join the newsletter to receive Interhike news like this and more special offers straight to your inbox.


sql("SELECT * FROM news ORDER BY added DESC LIMIT 0,5"); $n = 1; while($news = mysql_fetch_array($result)) { $news[title] = preg_replace('/&(?![#\w\d]+;)/', '&', $news[title]); $news_text = str_replace('<\/p>', "\n", $news[news]); $news_text = preg_replace('/<[^>]+>/', '', $news_text); if (250 > strlen($news_text)) { echo "$news[title] $news[news]"; } else { $news_cut_off = substr($news_text, 0, 250); $news_cut_off = str_replace("\n", '

', $news_cut_off); echo "$news[title]

".$news_cut_off."... more

"; } if (5 == $n) { break; } else { echo "
"; } $n++; } ?>

Current Discount Codes

sql('SELECT dc.supplier, s.link, dc.code, dc.description, dc.expires FROM discountcodes dc INNER JOIN suppliers s on dc.supplier = s.supplier WHERE dc.expires >= CURDATE() ORDER BY dc.supplier'); $discountcodes_found = 0; while ($myrow = mysql_fetch_array($discountcode_handle)) { $myrow[link] = preg_replace('/&(?!amp;)/', '&', $myrow[link]); echo '"; $discountcodes_found = 1; } if (!$discountcodes_found) { echo ''; } ?>
SupplierDescriptionDiscount CodeExpires
$myrow[supplier]$myrow[description]$myrow[code]$myrow[expires]
No current discount codes found.

Travel News

CDATA = 'strip'; # eUKHost won't seem to open this RSS address #$rss = $lastRSS->Get('http://feeds.feedburner.com/FlightlineTravelNews'); $rss = $lastRSS->Get($websiteURL.'/'.$cgibin.'/rss.pl?externalOnly=1'); for ($i = 0; $i < $rss[items_count] && $i < 10; $i++) { echo '

'.$rss[items][$i][title].'
'.$rss[items][$i][description].($rss[items][$i][guid] ? '...more' : '').'

'; } ?>
print_footer(); function greenlightsearchBlock($page, $match) { return ''; # return str_replace('
Are you looking for amazing holidays online?
'; } ?>