Webdev Sucks

After an hour of rants and hating the current state of the internet....
I finally gathered my crap together and brute forced something that
looks somewhat right...

PS. Whoever got rid of php includes can go die