<!doctype html>
<html>
	<head>
		<title><?php 
echo $page->page_version_title;
?>
</title>
		<meta content="text/html; charset=utf-8" http-equiv="content-type"/>
		<?php 
HTMLHead::getInstance()->outputHead();
?>
	</head>
	<body>
		<div id="page_container">
			<?php 
echo implode("\n", $children);
?>
		</div>
	</body>
</html>
Exemple #2
0
        $remember_me = "n";
    }
    require_once $dr . "modules/core/classes/login.php";
    $login = new Login();
    $setparameter_result = $login->SetParameters($_POST['username'], $_POST['password'], $remember_me);
    if ($setparameter_result) {
        $result = $login->Verify();
        if (!$result) {
            echo Alert("2");
        }
    }
}
/* OTHER CLASSES AND COMMON INCLUDES */
require_once "common_config.php";
/********* CONTENT ALL GETS CALLED HERE ***********/
$head = new HTMLHead();
$head->IncludeFile("css");
/* CALL THE BODY AND FOOT FIRST */
$html_body = Body();
$html_foot = HTMLFoot();
/* SINCE THIS HANDLES DYNAMIC INCLUDES WE CALL IT LAST */
$html_head = $head->DrawHead();
echo $html_head;
echo $html_body;
echo $html_foot;
/********* CONTENT ALL GETS CALLED HERE ***********/
/* THIS IS THE BODY FUNCTION */
function Body()
{
    $dr = $GLOBALS['dr'];
    $wb = $GLOBALS['wb'];