"; return $output; } // ######################################################################## // # load the main classes/files used in dotlan # // ######################################################################## debug_info("GLOBAL::include -> config.php"); include_once(dirname(__FILE__)."/config.php"); if($GLOBALS['global']['debug']) debug_info("GLOBAL::include -> class.html.php"); include_once($global['include_path']."class.html.php"); if($GLOBALS['global']['debug']) debug_info("GLOBAL::include -> class.page.php"); include_once($global['include_path']."class.page.php"); if($GLOBALS['global']['debug']) debug_info("GLOBAL::include -> class.session.php"); include_once($global['include_path']."class.session.php"); if($GLOBALS['global']['debug']) debug_info("GLOBAL::include -> class.user.php"); include_once($global['include_path']."class.user.php"); if($GLOBALS['global']['debug']) debug_info("GLOBAL::include -> class.admin.php"); include_once($global['include_path']."class.admin.php"); if($GLOBALS['global']['debug']) debug_info("GLOBAL::include -> class.styles.php"); include_once($global['include_path']."class.styles.php"); if($GLOBALS['global']['debug']) debug_info("GLOBAL::include -> class.encryption.php"); include_once($global['include_path']."class.encryption.php"); // ######################################################################## // # initialise the main classes # // ######################################################################## $HTML = new htmlout; $PAGE = new page; $USER = new user; $CURRENT_USER = new user; // ######################################################################## // # init session subsystem and load current user informations # // ######################################################################## $S = new session; $S->start_session(); $S->load_current_user(); // ######################################################################## // # load and check for adminrights # // ######################################################################## $ADMIN = new adminsystem(); // ######################################################################## // # init style subsystem # // ######################################################################## $ST = new stylesystem(); $ST->load_current_style(); // ######################################################################## // # load user settings # // ######################################################################## $CURRENT_USER->load_settings(); // ######################################################################## // # initialise the rest of the main classes # // ######################################################################## if($global['modules']['messages'] == TRUE) { if($GLOBALS['global']['debug']) debug_info("GLOBAL::include -> class.prvmsg.php"); include_once($global['include_path']."class.prvmsg.php"); $PRVMSG = new prvmsgsystem; } if($global['modules']['event'] == TRUE) { if($GLOBALS['global']['debug']) debug_info("GLOBAL::include -> class.event.php"); include_once($global['include_path']."class.event.php"); $EVENT = new event; } if($global['modules']['sitzplan'] == TRUE) { if($GLOBALS['global']['debug']) debug_info("GLOBAL::include -> class.sitzplan.php"); include_once($global['include_path']."class.sitzplan.php"); $SITZPLAN = new sitzplan; } if($GLOBALS['global']['debug']) debug_info("GLOBAL::end global.php -> ---------------------------------------------"); ?>