Well... I think it ... runs now. Besides the SQL injection holes that need fixing.