= '$current_date' GROUP BY access_user_id"; $result = Database::query($sql); while($user_list = Database::fetch_array($result)) { $students_online[$user_list['access_user_id']] = $user_list; } } if (count($students_online) > 0) { foreach ($students_online as $student_online) { echo " "; } } else { echo ' '; } } ?>
"; echo $student_online['name']; echo ""; echo $student_online['access_cours_code']; echo ""; if (api_get_setting('show_email_addresses') == 'true') { if (!empty($student_online['email'])) { echo $student_online['email']; } else { echo get_lang('NoEmail'); } } echo " "; echo ' '.get_lang('Chat').' '; echo "
'.get_lang('NoOnlineStudents').'