Trouble with Arrays to control LEDs

where does pin 7 appear twice? And could you provide an example of setting the modes with arrays?