Completed validation

Completed all PHP and JavaScript Validation for both the main site and
the admin control panel