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")) { // Now are we in CMS mode or what? if ($cms_type == "standalone" || $cms_type == "false" || $cms_type == "") { writeLogData("messages", "Index: Sending the user to the login page");
?> <tr> <td width="30%" align="right"> Username: </td> <td width="70%"> <?php if ($_GET['subaction'] == "adduser") { // Now let's return our tooltip ?> <input type="input" name="username" class="jz_input"> <?php } else { ?> <input type="input" name="username" class="jz_input" value="<?php echo $jzUSER2->getName(); ?> "> <?php } ?> </td> </tr><?php if ($cms_mode == "false") { ?> <tr> <td width="30%" valign="top" align="right"> <?php echo word("Password"); ?> :