//
function GET_LANGUAGE()
{
- global $_SESSION, $_GET;
-
if (!empty($_GET['mx_lang']))
{
// Accept only first 2 chars
//
function OUTPUT_ADVANCED_OVERVIEW (&$result_main)
{
- global $_SESSION, $_CONFIG;
+ global $_CONFIG;
// Init variables/arrays
$EXTRAS = ""; $OUT = ""; $SQLs = array(); $WHATs = array(); $DESCRs = array(); $TITLEs = array();
//
function IS_LOGGED_IN()
{
- global $_SESSION, $status, $LAST;
+ global $status, $LAST;
if (!is_array($LAST)) $LAST = array();
$ret = false;
}
}
//
-function IS_DEMO()
-{
- global $_SESSION;
+function IS_DEMO() {
return ((EXT_IS_ACTIVE("demo")) && ($_SESSION['admin_login'] == "demo"));
}
//