made many major changes

notably, added an old backup of viewevent.php because the file seemingly
went missing. locating a newer version would be highly ideal