api_get_path(WEB_COURSE_PATH).$_course['directory'], 'name' => $_course['title']); $interbreadcrumb[] = array ("url" => "../user/user.php?cidReq=".$cidReq, "name" => get_lang("Users")); } else if(!empty($_GET['origin']) && $_GET['origin'] == 'tracking_course') { $interbreadcrumb[] = array ("url" => api_get_path(WEB_COURSE_PATH).$_course['directory'], 'name' => $_course['title']); $interbreadcrumb[] = array ("url" => "../tracking/courseLog.php?cidReq=".$cidReq.'&studentlist=true&id_session='.$_SESSION['id_session'], "name" => get_lang("Tracking")); } else { $interbreadcrumb[] = array ("url" => "index.php", "name" => get_lang('MySpace')); $interbreadcrumb[] = array ("url" => "student.php", "name" => get_lang("MyStudents")); $interbreadcrumb[] = array ("url" => "myStudents.php?student=".Security::remove_XSS($_GET['student_id']), "name" => get_lang("StudentDetails")); $nameTools=get_lang("DetailsStudentInCourse"); } $interbreadcrumb[] = array("url" => "myStudents.php?student=".Security::remove_XSS($_GET['student_id'])."&course=".$cidReq."&details=true&origin=".Security::remove_XSS($_GET['origin']) , "name" => get_lang("DetailsStudentInCourse")); $nameTools = get_lang('LearningPathDetails'); $htmlHeadXtra[] = ' '; Display :: display_header($nameTools); $lp_id = intval($_GET['lp_id']); $sql = 'SELECT name FROM '.Database::get_course_table(TABLE_LP_MAIN, $_course['db_name']).' WHERE id='.Database::escape_string($lp_id); $rs = Database::query($sql, __FILE__, __LINE__); $lp_title = Database::result($rs, 0, 0); echo '
'.$_course['title'].' - '.$lp_title.' - '.$name.'
 '.get_lang('Print').'  '.get_lang('ExportAsCSV').'
'; $list = learnpath :: get_flat_ordered_items_list($lp_id); $origin = 'tracking'; if ($export_csv) { include_once api_get_path(SYS_CODE_PATH).'newscorm/lp_stats.php'; //Export :: export_table_csv($csv_content, 'reporting_student'); } else { ob_start(); include_once api_get_path(SYS_CODE_PATH).'newscorm/lp_stats.php'; $tracking_content = ob_get_contents(); ob_end_clean(); echo api_utf8_decode($tracking_content, $charset); } Display :: display_footer();