Skip to content

VER - Video Equipment Rentals
Search
Customer Service

800-794-1407

24/7 Technical Support

888-584-TECH

Products

Mounts

"; // we have at least one page so we show the paging if ($pageCount) { // get the page we are currently on if ($viewAll) $currentPage = 0; else $currentPage = ($resultStartPosition) ? ceil(($resultStartPosition+1)/$perPage) : 1; echo ""; if(!$viewAll) echo "Page $currentPage of $pageCount"; else echo "All Pages"; echo ""; if($currentPage > 1) { $startItem = $perPage * ($currentPage-2); echo "« Previous"; } else echo "« Previous"; echo " | "; if(($currentPage != $pageCount) && !($viewAll)) { $startItem = $perPage * ($currentPage); echo "Next »"; } else echo "Next »"; echo ""; if($pageCount > 15){ for($p=($currentPage<=5?1:$currentPage-5);$p<=($currentPage<=5?10:(($currentPage+5)>$pageCount?$pageCount:($currentPage+5)));$p++) { // get the startItem if this page is chosen $startItem = ($p > 1) ? $perPage * ($p-1) : 0; if($p == $currentPage) echo "$p | "; else echo "$p | "; } }else{ for($p=1;$p<$pageCount;$p++) { // get the startItem if this page is chosen $startItem = ($p > 1) ? $perPage * ($p-1) : 0; if($p == $currentPage) echo "$p | "; else echo "$p | "; } } if (!$viewAll) echo "View All"; else echo "View All"; } echo ""; } function renderPrevNext($resultStartPosition, $itemCount, $perPage, $viewAll){ $pageCount = ceil($itemCount/$perPage); $currentUri = stripPage($_SERVER['REQUEST_URI']); if ($pageCount && $pageCount != 1) { // we have at least one page so we show the previous/next // get the page we are currently on echo ""; if ($viewAll) $currentPage = 0; else $currentPage = ($resultStartPosition) ? ceil(($resultStartPosition+1)/$perPage) : 1; echo "
"; if($currentPage > 1) { $startItem = $perPage * ($currentPage-2); echo "« Previous"; } else echo "« Previous"; echo " | "; if(($currentPage != $pageCount) && !($viewAll)) { $startItem = $perPage * ($currentPage); echo "Next »"; } else echo "Next »"; echo "
"; } } function renderPagingNoPrevNext($resultStartPosition, $itemCount, $perPage, $viewAll){ $pageCount = ceil($itemCount/$perPage); $currentUri = stripPage($_SERVER['REQUEST_URI']); echo ""; // we have at least one page so we show the paging if ($pageCount) { // get the page we are currently on if ($viewAll) $currentPage = 0; else $currentPage = ($resultStartPosition) ? ceil(($resultStartPosition+1)/$perPage) : 1; echo ""; if ($pageCount != 1) { echo ""; } } echo "
"; if(!$viewAll) echo "Page $currentPage of $pageCount"; else echo "All Pages"; echo ""; if($pageCount > 15){ for($p=($currentPage<=5?1:$currentPage-5);$p<=($currentPage<=5?10:(($currentPage+5)>$pageCount?$pageCount:($currentPage+5)));$p++) { // get the startItem if this page is chosen $startItem = ($p > 1) ? $perPage * ($p-1) : 0; if($p == $currentPage) echo "$p | "; else echo "$p | "; } }else{ for($p=1;$p<=$pageCount;$p++) { // get the startItem if this page is chosen $startItem = ($p > 1) ? $perPage * ($p-1) : 0; if($p == $currentPage) echo "$p | "; else echo "$p | "; } } if (!$viewAll) echo "View All"; else echo "View All"; echo "
"; } function stripPage($uri){ if (strstr($uri,'startPos=')){ $uri = preg_replace('/[?&]startPos=[^=&]+/', '', $uri); } return $uri; } ?> array ( 'thumbnailWidth' => 86, 'thumbnail' => '/assets/035/10248_86wh.jpg', 'thumbPath' => '/var/www/sites/cms_hosting/site/sites/1_verrentscom/assets/035/10248_86wh.jpg', 'thumbnailHeight' => 65, 'path' => '/products/cameras/cine-accessories/tripods/mounts/stasis-flex-ex1.htm', 'Manufacturer' => 'Anton/Bauer', 'productName' => 'Stasis Flex ', 'summary' => 'Anton/Bauer Stasis Flex Camera Mount', 'hasMoreInfo' => true, ), ); ?> Sort By:  '; $manufacturerLink = 'Manufacturer  |  '; echo $manufacturerLink; $modelLink = 'Model'; echo $modelLink; echo '

'; //************************************************************************** // PRINTING //************************************************************************** // If view all, show all items in array, else show only per page amount $sliced = array(); if (isset($entireDataStruct['items']) && !empty($entireDataStruct['items'])) { if($viewAll) { $sliced = $entireDataStruct['items']; } else { $sliced = array_slice($entireDataStruct['items'], $resultStartPosition, $perPage); } } ?> \n"; if(isset($slice['thumbnail']) && isset($slice['thumbnailWidth']) && isset($slice['thumbnailHeight']) && !empty($slice)) { if ($slice['thumbnailWidth'] > 86) $slice['thumbnailWidth'] = 86; echo ""; } else { echo ""; } echo "\n"; echo "\n"; } ?>
"; if ($hasDetailLink) echo ""; echo "\"\""; if ($hasDetailLink) echo ""; echo " Manufacturer:  "; if ($hasDetailLink) echo ""; echo $slice['Manufacturer']; if ($hasDetailLink) echo ""; echo "
\n"; if ($slice['productName'] != 'Model Unspecified') { echo "Model:  "; if ($hasDetailLink) echo ""; echo $slice['productName']; if ($hasDetailLink) echo ""; echo "
\n"; } echo "" . $slice['summary'] . "