|
|
|
@ -121,7 +121,11 @@ if (!empty($course)) { |
|
|
|
|
$status = CourseManager::is_course_teacher($user['user_id'], $_SESSION['_course']['id']) ? 1 : 5; |
|
|
|
|
} |
|
|
|
|
$userImage = UserManager::get_user_picture_path_by_id($user['user_id'], 'web', false, true); |
|
|
|
|
$fileUrl = $userImage['dir'].'medium_'.$userImage['file']; |
|
|
|
|
if (substr($userImage['file'],0,7) != 'unknown') { |
|
|
|
|
$fileUrl = $userImage['dir'].'medium_'.$userImage['file']; |
|
|
|
|
} else { |
|
|
|
|
$fileUrl = $userImage['dir'].$userImage['file']; |
|
|
|
|
} |
|
|
|
|
$email = $user['email']; |
|
|
|
|
$url_user_profile=api_get_path(WEB_CODE_PATH).'social/profile.php?u='.$user['user_id'].'&'; |
|
|
|
|
?> |
|
|
|
@ -144,4 +148,4 @@ if (!empty($course)) { |
|
|
|
|
</div></div></div></div> |
|
|
|
|
<?php |
|
|
|
|
} |
|
|
|
|
require 'footer_frame.inc.php'; |
|
|
|
|
require 'footer_frame.inc.php'; |
|
|
|
|