setValue('language', $_REQUEST[setLanguage]);
$User->setValue('Lang', $_REQUEST[setLanguage]);
}
$shine = new softHostIntranetEngine;
$oDictionary = new XMLLabelsParser($_APP['adminLang']);
$shine->aLabels = & $oDictionary->aLabels;
if (!$User->isLoggedIn() || !$shine->getModule())
echo $shine->displayPage('login');
else {
echo $shine->displayPage();
}
$User->setValue('pageRand', $_APP['rand']);
if ($_APP[debugLevel] > 0) {
echo '
======debug info======
';
echo 'User: '.$User->getValue('Name').'
';
echo 'Module: '.$shine->getModule().'
';
echo 'Execution time: '.$shine->getExecutionTime(). ' seconds.
';
echo '$_SESSION :
'; print_r($_SESSION); } if ($_REQUEST['setActionNames']) require_once '../includes/setActionNames.php'; /* * /Main */ ?>