Change index pages into table form