Page 8 and 28 show the conventional 28 pin DIP (dual in-line package) PIC chip.
On Page 31 the diagram is of a 28 pin carrier (akin to a B@SIC ST@MP in format).
The black boxes in the diagram represent different surface mount components such as the PIC chip, EEPROM, voltage regulator etc.
Have a look at the 28X1/X2 isometric picture and 28X2 layout on page 30 for notes on what the parts are.
I guess that the pinouts differ as the carrier based version permits Rev Ed to change the pin out and they have taken the opporunity to have all the inputs (PortC) on one side and all the Outputs (PortB) on the other side. That way we don't have half the inputs on one side and half on the other side. Instead they split the analogue inputs across the two sides.
These carrier based parts are wide socket configuaration as opposed to the narrow socket configuration for the 28X1 in DIP format so changes to the pin out are not a big issue. (Sure others will disagree here
)