initSession(); if ($mosConfig_lang=='') { $mosConfig_lang='english'; } include_once ('language/'.$mosConfig_lang.'.php'); if ($mosConfig_offline == 1){ include( 'offline.php' ); exit(); } if ($option == "login") { $mainframe->login(); mosRedirect('index.php'); } else if ($option == "logout") { $mainframe->logout(); mosRedirect( "index.php" ); } if (isset($do_pdf) && $do_pdf!=""){ include ("includes/pdf.php"); exit(); } $acl = new gacl_api(); // get the information about the current user from the sessions table $my = $mainframe->getUser(); $mainframe->detect(); $gid = intval( $my->gid ); /** Bug #39 fixed //$t = new mosTemplate( $database ); //$t->load( 0 ); //$cur_template = $t->cur_template; **/ $cur_template = $mainframe->getTemplate(); ob_start(); // start basic HTML if ($no_html==0) {?> "; ?>