$title, 'link' => null, 'type' => 'misc')))); foreach ($users as $user) { upgrade_profile_image($user->id); $fullname = fullname($user); echo "wwwroot/user/view.php?id=$user->id&course=1\"". "title=\"$fullname\">"; require_once($CFG->libdir.'/filelib.php'); $userpictureurl = get_file_url($user->id.'/f1.jpg', null, 'user'); echo ''.$fullname.''; echo " \n"; } print_footer(); ?>