php
end to end, php fixes, styling