get all pages code