v4.6 Update to PHP 7

Migrated the site onto a new server which uses PHP7. Many pages got a quick and dirty rewrite. Hard to believe that after 15 years, this site still mostly runs 😉