Converted viewsheet.php, report_staff_mem.php, and
editdate.php to CORE compliat