useChat ()) { include Instance::singleton ()->getCorePath () .'system/chat.php'; ob_start (); $chat->printStyle (); $chat->printJavascript (); $_CHAT ['HEADER'] = ob_get_clean (); ob_start (); $chat->printChat (); $_CHAT ['BODY'] = ob_get_clean (); } $user = User::singleton (); if ($user->getType ()->useLdap () && $user->getType ()->getLdap ()->updateOnLogon ()) { $cSection = Business::singleton ()->getSection (Section::TCURRENT); $cAction = Business::singleton ()->getAction (Action::TCURRENT); try { Business::singleton ()->setCurrent ($user->getType ()->getName (), '_modify'); $files = array ($user->getType ()->getLdapForm (), $user->getType ()->getModify (), 'edit.xml', 'all.xml'); $form = new Form ($files); if (!$form->load ($user->getId ())) throw new Exception ('Unable to load your register data!'); if (!$form->loadFromLdap ($user->getLogin (), $user->getType ()->getLdap ())) throw new Exception ('Unable to load your data from the server LDAP!'); if (!$form->save ($user->getId (), FALSE)) throw new Exception ('Unable to save in Database'); User::singleton ()->update (); $_SESSION ['_TITAN_LDAP_USER_CONTROL_'][$user->getId ()] = TRUE; } catch (Exception $e) { Message::singleton ()->addWarning ($e->getMessage ()); Message::singleton ()->save (); } Business::singleton ()->setCurrent ($cSection->getName (), $cAction->getName ()); } if (!(bool) ini_get ('zlib.output_compression')) ob_start ('ob_gzhandler'); header ('Content-type: text/html; charset: UTF-8'); header ('Content-Encoding: gzip'); ?> <?= $instance->getName () ?>
getLogo ()) == '' || !file_exists ($skin->getLogo ()) ? '

'. $instance->getName () .'

' : ''. $instance->getName () .'' ?>
<?= __ ('Start Page') ?>   useChat ()) { ?> Chat   getType ()->getProfile (); if ($profile) { ?> <?=__ ('Profile') ?>   <?= __ ('Your shopping cart is empty!') ?>   <?= __ ('No alerts!') ?>   <?= __ ('Language') ?>   <?= __ ('Bug Report') ?>   isAdmin () && Backup::singleton ()->isActive ()) { if (!isset ($_SESSION['_TITAN_BACKUP_FREE_'])) $_SESSION['_TITAN_BACKUP_FREE_'] = floor (disk_free_space (Backup::singleton ()->getRealPath ()) / (1024 * 1024)); if (!isset ($_SESSION['_TITAN_BACKUP_DB_'])) $_SESSION['_TITAN_BACKUP_DB_'] = ceil (Database::size () / (1024 * 1024)); if (!isset ($_SESSION['_TITAN_BACKUP_FILE_'])) $_SESSION['_TITAN_BACKUP_FILE_'] = ceil (dirSize (realpath (Archive::singleton ()->getDataPath ())) / (1024 * 1024)); if (!isset ($_SESSION['_TITAN_BACKUP_CACHE_'])) $_SESSION['_TITAN_BACKUP_CACHE_'] = ceil (dirSize (realpath (Instance::singleton ()->getCachePath ())) / (1024 * 1024)); ?> <?= __ ('Backup') ?>   <?= __ ('Get Help') ?>   <?= __ ('Logoff') ?>
getType ()->getLabel () ?>
isActive ()) { ?>