id)) { error("You are not allowed to look at this page"); } $strreports = get_string('reports'); print_header($course->fullname.': '.$strreports, $course->fullname.': '.$strreports, ''.$course->shortname.' -> '.$strreports); $directories = get_list_of_plugins('course/report'); foreach ($directories as $directory) { echo '
'; include_once($CFG->dirroot.'/course/report/'.$directory.'/mod.php'); // Fragment for listing echo '
'; } print_footer(); ?>