fixed styling, images, links, and php logic