Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (12 sloc) 520 Bytes
<?php
include(dirname(__FILE__).'/config/config.inc.php');
include(dirname(__FILE__).'/header.php');
include(dirname(__FILE__).'/product-sort.php');
$nbProducts = intval(ProductSale::getNbSales());
include(dirname(__FILE__).'/pagination.php');
$smarty->assign(array(
'products' => ProductSale::getBestSales(intval($cookie->id_lang), intval($p) - 1, intval($n), $orderBy, $orderWay),
'nbProducts' => $nbProducts));
$smarty->display(_PS_THEME_DIR_.'best-sales.tpl');
include(dirname(__FILE__).'/footer.php');
?>