"index.php", "name" => get_lang('MySpace')); Display :: display_header($nameTools); // Database Table Definitions $tbl_course = Database::get_main_table(TABLE_MAIN_COURSE); $tbl_user = Database::get_main_table(TABLE_MAIN_USER); $tbl_session_course = Database::get_main_table(TABLE_MAIN_SESSION_COURSE); $tbl_session = Database::get_main_table(TABLE_MAIN_SESSION); $tbl_track_exercice = Database::get_main_table(TABLE_STATISTIC_TRACK_E_EXERCISES); /* MAIN CODE */ $sql_course = "SELECT title, code, id FROM $tbl_course as course ORDER BY title ASC"; $result_course = Database::query($sql_course); if (Database::num_rows($result_course) > 0) { if (isset($_POST['export'])) { $export_result = export_csv($header, $data, 'test.csv'); // TODO: There is no data for exporting yet. Display :: display_error_message($export_result); } echo '
'.get_lang('Course').' | '.get_lang('TempsFrequentation').' | '.get_lang('Progression').' | '.get_lang('MoyenneTest').' |
---|---|---|---|
'.$a_course['title'].' | '.(is_null($moyenne_test) ? '' : $moyenne_test.'%').' |