replaced php

Used some of the php from the acf website. not sure if I have the
correct info in there, probably not since nothing is showing up