mod to attendance.php in CEST2014