if ($tracking_is_accepted) { $tracked_user_info['email'] == '' ? $mail_link = get_lang('NoEmail') : ($mail_link = Display::encrypted_mailto_link($tracked_user_info['email'])); echo "<tr><td>"; echo get_lang('informationsAbout') . ' :'; echo "<ul>\n" . "<li>" . get_lang('FirstName') . " : " . $tracked_user_info['firstname'] . "</li>\n" . "<li>" . get_lang('LastName') . " : " . $tracked_user_info['lastname'] . "</li>\n" . "<li>" . get_lang('Email') . " : " . $mail_link . "</li>\n" . "</ul>"; echo "</td></tr>\n"; // show all : number of 1 is equal to or bigger than number of categories // show none : number of 0 is equal to or bigger than number of categories echo "<tr>\n <td>\n [<a href='" . api_get_self() . "?uInfo=" . Security::remove_XSS($uInfo) . "&view=1111111'>" . get_lang('ShowAll') . "</a>]\n [<a href='" . api_get_self() . "?uInfo=" . Security::remove_XSS($uInfo) . "&view=0000000'>" . get_lang('ShowNone') . "</a>]" . "</td>\n </tr>\n "; if (!isset($view)) { $view = '0000000'; } //Logins TrackingUserLog::display_login_tracking_info($view, $uInfo, $courseId); //Exercise results TrackingUserLog::display_exercise_tracking_info($view, $uInfo, $courseId); //Student publications uploaded TrackingUserLog::display_student_publications_tracking_info($view, $uInfo, $courseId); //Links usage TrackingUserLog::display_links_tracking_info($view, $uInfo, $courseId); //Documents downloaded TrackingUserLog::display_document_tracking_info($view, $uInfo, $courseId); } else { echo get_lang('ErrorUserNotInGroup'); } /* * Scorm contents and Learning Path */ if (substr($view, 5, 1) == '1') { $new_view = substr_replace($view, '0', 5, 1); echo "<tr>\n <td valign='top'>\n <font color='#0000FF'>- </font><b>" . get_lang('ScormAccess') . "</b> [<a href='" . api_get_self() . "?view=" . Security::remove_XSS($new_view) . "&uInfo=" . Security::remove_XSS($uInfo) . "'>" . get_lang('Close') . "</a>] [<a href='userLogCSV.php?" . api_get_cidreq() . "&uInfo=" . Security::remove_XSS($_GET['uInfo']) . "&view=000001'>" . get_lang('ExportAsCSV') . "</a>]\n </td>\n </tr>";
if ($tracking_is_accepted) { $tracked_user_info['email'] == '' ? $mail_link = get_lang('NoEmail') : ($mail_link = Display::encrypted_mailto_link($tracked_user_info['email'])); echo "<tr><td>"; echo get_lang('informationsAbout') . ' :'; echo "<ul>\n" . "<li>" . get_lang('FirstName') . " : " . $tracked_user_info['firstname'] . "</li>\n" . "<li>" . get_lang('LastName') . " : " . $tracked_user_info['lastname'] . "</li>\n" . "<li>" . get_lang('Email') . " : " . $mail_link . "</li>\n" . "</ul>"; echo "</td></tr>\n"; // show all : number of 1 is equal to or bigger than number of categories // show none : number of 0 is equal to or bigger than number of categories echo "<tr>\n <td>\n [<a href='" . api_get_self() . "?uInfo=" . Security::remove_XSS($uInfo) . "&view=1111111'>" . get_lang('ShowAll') . "</a>]\n [<a href='" . api_get_self() . "?uInfo=" . Security::remove_XSS($uInfo) . "&view=0000000'>" . get_lang('ShowNone') . "</a>]" . "</td>\n </tr>\n "; if (!isset($view)) { $view = '0000000'; } //Logins TrackingUserLog::display_login_tracking_info($view, $uInfo, $courseId); //Exercise results TrackingUserLog::display_exercise_tracking_info($view, $uInfo, $_cid); //Student publications uploaded TrackingUserLog::display_student_publications_tracking_info($view, $uInfo, $courseId); //Links usage TrackingUserLog::display_links_tracking_info($view, $uInfo, $_cid); //Documents downloaded TrackingUserLog::display_document_tracking_info($view, $uInfo, $_cid); } else { echo get_lang('ErrorUserNotInGroup'); } /* * Scorm contents and Learning Path */ if (substr($view, 5, 1) == '1') { $new_view = substr_replace($view, '0', 5, 1); echo "<tr>\n <td valign='top'>\n <font color='#0000FF'>- </font><b>" . get_lang('ScormAccess') . "</b> [<a href='" . api_get_self() . "?view=" . Security::remove_XSS($new_view) . "&uInfo=" . Security::remove_XSS($uInfo) . "'>" . get_lang('Close') . "</a>] [<a href='userLogCSV.php?" . api_get_cidreq() . "&uInfo=" . Security::remove_XSS($_GET['uInfo']) . "&view=000001'>" . get_lang('ExportAsCSV') . "</a>]\n </td>\n </tr>";