$topics['total_pages'] = ceil($total['total'] / $items_per_page);