* @author Jorge Frisancho Jibaja - select between dates * */ // name of the language file that needs to be included $language_file = array ('registration', 'index', 'tracking'); require_once '../inc/global.inc.php'; // including additional libraries require_once api_get_path(LIBRARY_PATH).'pchart/pData.class.php'; require_once api_get_path(LIBRARY_PATH).'pchart/pChart.class.php'; require_once api_get_path(LIBRARY_PATH).'pchart/pCache.class.php'; require_once 'myspace.lib.php'; // the section (for the tabs) $this_section = SECTION_TRACKING; /* MAIN */ $user_id = intval($_REQUEST['student']); $session_id = intval($_GET['id_session']); $type = Security::remove_XSS($_REQUEST['type']); $course_code = Security::remove_XSS($_REQUEST['course']); $connections = MySpace::get_connections_to_course($user_id, $course_code, $session_id); $quote_simple = "'"; $htmlHeadXtra[] = api_get_jquery_ui_js(); $htmlHeadXtra[] = ''; $htmlHeadXtra[] = ''; $htmlHeadXtra[] = ''; $htmlHeadXtra[] = ''; $htmlHeadXtra[] = ''; //Changes END Display :: display_header(''); $tbl_userinfo_def = Database :: get_course_table(TABLE_USER_INFO); $main_user_info = api_get_user_info($user_id); $result_to_print = ''; $main_date_array = array(); $sql_result = MySpace::get_connections_to_course($user_id, $course_code); $result_to_print = convert_to_string($sql_result); api_display_tool_title(get_lang('DetailsStudentInCourse')); ?>
'.get_lang('User').': '.api_get_person_name($main_user_info['firstName'], $main_user_info['lastName']).'
'.get_lang('Course').': '.$course_code; ?>





'.get_lang('Total').': '.$rst['total'].'
'; $foo_stats .= ''.get_lang('Average').': '.$rst['avg'].'
'; $foo_stats .= ''.get_lang('Quantity').' : '.$rst['times'].'
'; echo $foo_stats; } else { echo Display::display_warning_message(get_lang('NoDataAvailable')); } ?>




'); }?>