2 /************************************************************************/
4 /************************************************************************/
5 /* Copyright (c) 2010 */
6 /* Inclusive Design Institute */
8 /* This program is free software. You can redistribute it and/or */
9 /* modify it under the terms of the GNU General Public License */
10 /* as published by the Free Software Foundation. */
11 /************************************************************************/
14 global $_base_path, $_course_id;
15 global $framed, $popup;
17 if (!defined('TR_INCLUDE_PATH')) { exit; }
19 // get course copyright
22 require_once(TR_INCLUDE_PATH.'classes/DAO/CoursesDAO.class.php');
23 $coursesDAO = new CoursesDAO();
24 $course_row = $coursesDAO->get($_course_id);
25 if ($course_row['copyright'] <> '') $savant->assign('course_copyright', $course_row['copyright']);
28 $savant->assign('course_id', $_course_id);
29 $savant->assign('base_path', $_base_path);
30 $savant->assign('theme', $_SESSION['prefs']['PREF_THEME']);
32 if ($framed || $popup) {
33 $savant->display('include/fm_footer.tmpl.php');
36 $savant->display('include/footer.tmpl.php');