pageNumber(); $published = $dbPages->getList($pageNumber, $amountOfItems, $onlyPublished); // Check if out of range the pageNumber if (empty($published)) { Redirect::page('pages'); } // List of drafts pages $drafts = $dbPages->getDraftDB(); $scheduled = $dbPages->getScheduledDB(); $static = $dbPages->getStaticDB(); // Title of the page $layout['title'] .= ' - '.$Language->g('Manage Content');