Beispiel #1
0
    }
    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'];
    global $mi;