Visible schools and other changes

Moved all the php in the result page,that way it works fine. The schools
are now shown in the html's body.