get_module(); $AuthUser = new Login(); /* |--------------------------------------------------------------- | LOGOUT |--------------------------------------------------------------- */ if(isset($_POST["log_out"])) $AuthUser->LogOut(); /* |--------------------------------------------------------------- | IS LOG |--------------------------------------------------------------- */ $AuthUser->is_log(); $Controller->show_errors(); $Controller->set_headers(); include(SITE_PATH . "modules/common/header.php"); //headerul site-ului if(is_file("modules/".$Module)) @include(SITE_PATH . "modules/{$Module}"); else @include(SITE_PATH . "modules/404.php"); include(SITE_PATH . "modules/common/footer.php"); //footer-ul ?>