setVariable("TITLE",translate('Welcome to'));
$conttp->setVariable("TITLE_LOGIN",translate('Welcome'));
$conttp->setVariable("LOGIN_TEXT",translate('Please enter your username and password to access NagiosQL.
If you forgot one of them, please contact your Administrator.'));
$conttp->setVariable("USERNAME",translate('Username'));
$conttp->setVariable("PASSWORD",translate('Password'));
$conttp->setVariable("LOGIN",translate('Login'));
if (isset($_SESSION['strLoginMessage']) && ($_SESSION['strLoginMessage'] != "")) {
$conttp->setVariable("MESSAGE",$_SESSION['strLoginMessage']);
} else {
$conttp->setVariable("MESSAGE"," ");
}
$conttp->setVariable("ACTION_INSERT",filter_var($_SERVER['PHP_SELF'], FILTER_SANITIZE_STRING));
$conttp->setVariable("IMAGE_PATH","images/");
$conttp->parse("main");
$conttp->show("main");
//
// Include footer
// ==============
$maintp->setVariable("VERSION_INFO","NagiosQL $setFileVersion");
$maintp->parse("footer");
$maintp->show("footer");
?>