Change split() to explode() and move $page to top