mod attendance.php in CEST2014