add page nums,modify pages cgi