generateDateTime(time(), 1)));
// Add code-message here
handleCodeMessage();
// Begin menu block here
loadTemplate('member_menu_start');
// Adding the main content module here
if (!isActionSet()) {
if (!isWhatSet()) setWhat('welcome');
} else {
$action = getAction();
}
// Add the member's menu here...
if ((getConfig('member_menu') == 'Y') || (!isExtensionActive('sql_patches', true))) {
addMenu('member', getModeAction('member', getWhat()), getWhat());
} // END - if
// Disable block-mode again
enableBlockMode(false);
// Menu -> content
outputHtml("
");
$inc = sprintf("inc/modules/member/action-%s.php", $action);
if ((isIncludeReadable($inc)) && (isMenuActionValid('member', getAction(), getWhat()))) {
// Requested module is available so we load it
loadInclude($inc);
} else {
// Invalid module specified or not found...
redirectToUrl('modules.php?module=login');
}
if ((getConfig('member_menu') == 'Y') || (!isExtensionActive('sql_patches', true))) {
// Right side of content (hint: a good place for 120x600 skyscraper banner!)
loadTemplate('member_content_right');
// Some advertising stuff?
loadTemplate('member_advert');
}
outputHtml(" |
");
// Load same template for 'Goto TOP'
loadTemplate('member_goto_top');
// Footer template (Thanx to Mr. Glaus!)
loadTemplate('member_footer');
//
?>