api_get_path(WEB_COURSE_PATH).$course_info['directory'], 'name' => $course_info['name']); $interbreadcrumb[] = array("url" => "../user/user.php?cidReq=".$courseCode, "name" => get_lang("Users")); } else if ($origin == 'tracking_course') { $interbreadcrumb[] = array("url" => "../tracking/courseLog.php?cidReq=".$courseCode.'&id_session='.$session_id, "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=".$user_id, "name" => get_lang("StudentDetails")); $nameTools = get_lang("DetailsStudentInCourse"); } $interbreadcrumb[] = array( "url" => "myStudents.php?student=".$user_id."&course=".$courseCode."&details=true&origin=".$origin, "name" => get_lang("DetailsStudentInCourse"), ); $nameTools = get_lang('LearningPathDetails'); $sql = 'SELECT name FROM '.Database::get_course_table(TABLE_LP_MAIN).' WHERE c_id = '.$course_info['real_id'].' AND id='.$lp_id; $rs = Database::query($sql); $lp_title = Database::result($rs, 0, 0); $origin = 'tracking'; $output = require_once api_get_path(SYS_CODE_PATH).'lp/lp_stats.php'; Display :: display_header($nameTools); echo '
'; echo ''.Display::return_icon('back.png', get_lang('Back'), '', ICON_SIZE_MEDIUM).''; echo ' '.Display::return_icon('printer.png', get_lang('Print'), '', ICON_SIZE_MEDIUM).''; echo ' '.Display::return_icon('export_csv.png', get_lang('ExportAsCSV'), '', ICON_SIZE_MEDIUM).''; echo '
'; echo '
'; $session_name = api_get_session_name($session_id); $table_title = ($session_name ? Display::return_icon('session.png', get_lang('Session'), array(), ICON_SIZE_SMALL).' '.$session_name.' ' : ' '). Display::return_icon('course.png', get_lang('Course'), array(), ICON_SIZE_SMALL).' '.$course_info['name'].' '. Display::return_icon('user.png', get_lang('User'), array(), ICON_SIZE_SMALL).' '.$name; echo Display::page_header($table_title); echo Display::page_subheader( '

'.Display::return_icon( 'learnpath.png', get_lang('ToolLearnpath'), array(), ICON_SIZE_SMALL ).' '.$lp_title.'

' ); echo $output; Display :: display_footer();