Modified all php files for code styling to make it more consistent over the whole source