Having trouble controlling 3 Row Seven Segment with 4 shift register 74hc595

Does the code you posted produce the digits shown in your picture? Do the digits change as the code runs?