Problem with IR Sensor

I know, i changed the reciver pin in my code, but Why does not agree with the image?. The only difference is the reciver pin.