123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- $use_anonymous = true;
- $language_file[] = "scormdocument";
- $language_file[] = "scorm";
- $language_file[] = "learnpath";
- require_once('back_compat.inc.php');
- require_once('learnpath.class.php');
- require_once('scorm.class.php');
- require_once('aicc.class.php');
- $htmlHeadXtra[] = '<script language="JavaScript" type="text/javascript">
- var dokeos_xajax_handler = window.parent.oxajax;
- </script>';
- $progress_bar = '';
- $navigation_bar = '';
- $display_mode = '';
- $autostart = 'true';
- if(isset($_SESSION['lpobject'])) {
-
- $oLP = unserialize($_SESSION['lpobject']);
- if(is_object($oLP)) {
- $_SESSION['oLP'] = $oLP;
- } else {
-
- die('Could not instanciate lp object');
- }
- $display_mode = $_SESSION['oLP']->mode;
- $scorm_css_header = true;
- $lp_theme_css = $_SESSION['oLP']->get_theme();
-
- include_once('../inc/reduced_header.inc.php');
- if (!empty($lp_theme_css) && !empty($mycourselptheme) && $mycourselptheme!=-1 && $mycourselptheme== 1 ) {
- global $lp_theme_css;
- } else {
- $lp_theme_css=$my_style;
- }
-
- $progress_bar = $_SESSION['oLP']->get_progress_bar('',-1,'',true);
- $navigation_bar = $_SESSION['oLP']->get_navigation_bar();
- $mediaplayer = $_SESSION['oLP']->get_mediaplayer($autostart);
- }
- session_write_close();
- ?>
- <span><?php echo (!empty($mediaplayer))?$mediaplayer:' ' ?></span>
|