echo $category->name; ?> </li> </ol> </div> </div> <div class="row"> <div class="col-lg-12"> <h4><?php echo $category->description; ?> </h4> </div> </div> <?php $count = 0; $current = isset($_GET['url'][1]) && is_numeric($_GET['url'][1]) ? $_GET['url'][1] : 0; echo '<div class="row">'; foreach ($category->getProductsForPage($current, 9) as $product) { $product->echoProduct(); } echo '</div>'; getPagination($current, '/categorie/' . $_GET['url'][0], ceil($category->getProductCount() / 9)); ?> <hr> </div> <?php include 'php/footer.php';