I do believe this is all derived from as the other user suggested missing or corrupt files as indicated by the coding posts below, I would suggest check the content on the remote side to see if you have the file intact and reupload, if not it would be advise to try and find the coding from where you downloaded it in its entirety.
Looks like it is missing some content which could not post the whole content however the issue of it being like this a snipet and how the code ends is not correct.
<?php