0) $currentpage = $_GET['page']; else $currentpage = 1; // get number of items $numberofitems = Product::getCount("AND active=1"); // calculate number of pages $itemsperpage = 5; $numberofpages = ceil($numberofitems/$itemsperpage); // check if we are beyond the last page if ($numberofitems > 0 && $currentpage > $numberofpages) HTTP_404(); // selection for current page $itemstart = ($currentpage - 1) * $itemsperpage; $products = Product::getSelection("AND active=1", "name", $itemsperpage, $itemstart); // pagenumbers $baselink = "webshop.php?"; $pagelinks = Results_PageNumberLinksHTML($baselink, 'page', $currentpage, $numberofitems, $itemsperpage); // for the detailpagina $_SESSION['products_backlink'] = $_SERVER['REQUEST_URI']; ?> Webshop onderdelen - Global Recovery Systems Holland - De specialist voor hoogwaardige bergingsvoertuigen - Nederland
[T] +31 0 161 225012     [E] info@grsholland.com
GRS - Global Recovery Systems Holland

Onderdelen Webshop

$product): $photos = $product->getPhotos(); ?> getMainPhoto() instanceof Product_Photo): ?>