rewrite pagination recalculating
update news.php
update libs-main.php
update products.php