include_once "{$BASE_path}/base_db_common.php"; include_once "{$BASE_path}/base_common.php"; $errorMsg = ""; $displayError = 0; $noDisplayMenu = 1; // Redirect to base_main.php if auth system is off if ($Use_Auth_System == 0) { base_header("Location: base_main.php"); } if (isset($_POST['submit'])) { $debug_mode = 0; // wont login with debug_mode $BASEUSER = new BaseUser(); $user = filterSql($_POST['login']); $pwd = filterSql($_POST['password']); if ($BASEUSER->Authenticate($user, $pwd) == 0) { header("Location: base_main.php"); exit; } } else { $displayError = 1; $errorMsg = gettext("User does not exist or your password was incorrect!<br>Please try again"); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- <?php echo gettext("Forensics Console " . $BASE_installID) . $BASE_VERSION; ?> --> <html>