Backcountry Deals, Sales, Coupons
Backcountry Deal of the Day
BackcountryHigh end gear for hard core outdoor enthusiasts This is where it all started. Our roots were simple but our vision was and still is clear; Backcountry.com is dedicated to being the best online retailer of the best built outdoor and backcountry gear on the planet. From the start our founders were intent on selling quality gear over the Web and what they found was that if the content is good and the products of the finest quality that people will come. If you’re as intense about your gear as you are about your adventures then you’re in the right store. Our buyers have been intense about scouring the planet for the top gear you demand. In our store, you’ll find the best gear from top brands like The North Face, Black Diamond, Petzl, Mountain Hardware, Arc Teryx, Salomon, and more. With over 250 brands and nearly 50,000 products, Backcountry.com offers a wide array of the absolute best made gear including backpacking, camping, skiing, snowboarding, rock climbing, kayaking, mountaineering gear and more, all at competitive prices. If you can’t find a piece of gear on Backcountry.com, it’s likely not a piece of gear you really need. The type of gear found on Backcountry.com is indicative of the types of employees we have and attract. This passion for climbing, skiing, snowboarding, trail running, and a list of other outdoor sports crosses over to our desire to excel and succeed as a company team. It’s evident in all we do and has translated to our continued success. |
Backcountry Sales and Coupons
Backcountry Sale Items 50% and more off!
// If you change the boolean in the function call from true to false it will output full pagination links (eg. < Prev | 1 | 2 | 3 | Next >)
$strHtml = str_replace(““, getPawPagination($strHtml, true), $strHtml);
// Stream back the response
echo $strHtml;
function getPawPagination($strHtml, $blnSimpleStyle)
{
$strPaginationHtml = “”;
$intPaginationStart = strpos($strHtml, ““);
$intPaginationStart = ($intPaginationStart + 24);
$intLength = $intPaginationEnd – $intPaginationStart;
$strPagination = substr($strHtml, $intPaginationStart, $intLength);
$arrPagination = explode(“|”, $strPagination);
$intProductsPerPage = intval($arrPagination[0]);
$intProductCount = intval($arrPagination[1]);
$intPage = intval($arrPagination[2]);
if ($intPage == 0) { $intPage = 1; }
// Find the root URL for this page
if (isset($_SERVER[“REQUEST_URI”])) {
$strRootUrl = $_SERVER[“REQUEST_URI”];
// Strip off any parameters from our root URL, those will
// be re-added correctly below
$intPos = strpos($strRootUrl, “?”);
if ($intPos !== false) {
$strRootUrl = substr($strRootUrl, 0, $intPos);
}
}
else {
$strRootUrl = $_SERVER[“PHP_SELF”];
}
$strParams = “?”;
$intParamCount = 0;
foreach ($_GET as $key => $value) {
if ($key != “paw_page”) {
if ($intParamCount == 0) { $strParams .= $key . “=” . $value; }
else { $strParams .= “&” . $key . “=” . $value; }
}
$intParamCount++;
}
if ($strParams == “?”) { $strPaginationUrl = $strRootUrl . $strParams . “paw_page=”; }
else { $strPaginationUrl = $strRootUrl . $strParams . “&paw_page=”; }
if ($intProductCount > $intProductsPerPage) {
$intTotalPages = ceil($intProductCount/$intProductsPerPage);
}
else { $intTotalPages = 0; }
if ($intTotalPages > 0) {
if ($intPage > 1) { $strPaginationHtml = “< Prev “; }
else { $strPaginationHtml = “< Prev "; }
if (!$blnSimpleStyle) {
for ($i=1; $i<=($intTotalPages); $i++)
{
if ($intPage == $i) { $strPaginationHtml .= " | " . $i . " "; }
else { $strPaginationHtml .= " | ” . $i . “ “; }
}
$strPaginationHtml .= ” | “;
}
if (($intPage + 1) <= $intTotalPages) { $strPaginationHtml .= " Next >“; }
else { $strPaginationHtml .= ” Next >”; }
}
return($strPaginationHtml);
}
?>