12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?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';
- if (isset($_SESSION['lpobject'])) {
-
- $oLP = unserialize($_SESSION['lpobject']);
- if (is_object($oLP)) {
- $_SESSION['oLP'] = $oLP;
- } else {
-
- die('Could not instanciate lp object');
- }
- }
- $htmlHeadXtra[] = '<script language="JavaScript" type="text/javascript">
- var dokeos_xajax_handler = window.parent.oxajax;
- </script>';
- $scorm_css_header = true;
- $display_mode = '';
- $lp_theme_css = $_SESSION['oLP']->get_theme();
- include_once '../inc/reduced_header.inc.php';
- ?>
- <body dir="<?php echo api_get_text_direction(); ?>">
- <?php echo $_SESSION['oLP']->get_html_toc();?><br />
- </body>
- </html>
- <?php
- if (!empty($_SESSION['oLP'])) {
- $_SESSION['lpobject'] = serialize($_SESSION['oLP']);
- }
|