All (?) pages fixed for php, linked together

Some still need updates, such as settings.