handleUserInit(); writeLogData("messages", "Index: Including the icons"); include_once $include_path . "frontend/icons.lib.php"; writeLogData("messages", "Index: Creating a new frontend object"); } else { handleSetFrontend(false); } @(include_once $include_path . "lang/{$jz_language}-simple.php"); @(include_once $include_path . "lang/{$jz_language}-extended.php"); writeLogData("messages", "Index: Testing the frontend file for security and including"); @(include_once $include_path . 'frontend/frontends/' . $my_frontend . '/settings.php'); // Now let's see what the user was doing? if (isset($_GET['action'])) { if ($_GET['action'] == "logout") { writeLogData("messages", "Index: Logging the user out"); $jzUSER->logout(); } } if ($jzUSER->getName() == "") { $jzUSER->logout(); } // handle changing of settings: // These affect the session, NOT the user settings. // This is handled in general.lib.php: setThisPage(). if (isset($_POST['action'])) { if ($_POST['action'] == "popup") { $_GET['action'] = "popup"; $_GET['ptype'] = $_POST['ptype']; } } if (checkPermission($jzUSER, "view") === false && (!isset($_POST['action']) || $_POST['action'] != "login")) {