forceLogin(); $auth->startSession(); } else { $auth->startSession(); } if (empty($contentfile)) { if ($ondemand_ready) { $contentfile = 'content-ondemand.html'; } else { $contentfile = 'content-ondemand_too_early.html'; } } if (! empty($test)) { $contentfile = 'content-ondemand.html'; } $archives = $_GET['archives']; if (empty($archives)) { $archives = 'windowsmedia'; } if ($site_expired and ! $is_archive) { $contentfile = 'content-site-expired.html'; } //require_once('Cache/Lite/Output.php'); //$options = array( // 'cacheDir' => './cachefiles/', //// 'lifeTime' => (60*60) // 'lifeTime' => (7*24*60*60) //); //$cache = new Cache_Lite_Output($options); //$cache_group = 'presentations'; //$cache_id = (basename($_SERVER['PHP_SELF']) . '?archives=' . $archives . '&ondemand_ready=' . $ondemand_ready); //$cache_id .= '#' . $_SERVER['HTTP_USER_AGENT']; //if (substr($auth->user['email'], -15) == '@mapdigital.com') //{ // $cache_id .= '#ismap'; //} //if (!($cache->start($cache_id, $cache_group))) //{ // $title = 'On-Demand Webcasts'; // $title = 'Presentations'; $title = 'On-Demand Webcast'; $custom_page_style = ''; $custom_head_file = 'head-ondemand.inc'; include './makepage.html'; // $cache->end(); //} ?>