Example #1
0
                if ($mobile != "") {
                    header("Location: ../statusbar/mobile.php?screen={$mobile}");
                } else {
                    header("Location: ../index.php");
                }
            }
            exit;
        }
    }
}
//
// check if exists "enabled" field or create
//
$db = new ossim_db();
$conn = $db->connect();
Session::check_enabled_field($conn);
$db->close($conn);
$version = $conf->get_conf("ossim_server_version", FALSE);
$opensource = !preg_match("/pro|demo/i", $version) ? true : false;
$demo = preg_match("/.*demo.*/i", $version) ? true : false;
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title> <?php 
echo gettext("AlienVault - " . ($opensource ? "Open Source SIEM" : ($demo ? "Unified SIEM Demo" : "Unified SIEM")));
?>
 </title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
	<meta http-equiv="Pragma" content="no-cache"/>