"); // Adding the main content module here if (!isActionSet()) { if (!isWhatSet()) setWhat('welcome'); } else { $act = getAction(); } // Add the member's menu here... if ((getConfig('member_menu') == 'Y') || (!EXT_IS_ACTIVE('sql_patches', true))) { ADD_MENU('member', getModeAction('member', getWhat()), getWhat()); } // END - if // Menu -> content OUTPUT_HTML(" "); $INC = sprintf("inc/modules/member/action-%s.php", $act); 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') || (!EXT_IS_ACTIVE('sql_patches', true))) { // Right side of content (hint: a good place for 120x600 skyscraper banner!) LOAD_TEMPLATE('member_content_right'); // Some advertising stuff? LOAD_TEMPLATE('member_advert'); } OUTPUT_HTML(" "); // Load same template for 'Goto TOP' LOAD_TEMPLATE('member_goto_top'); // Footer template (Thanx to Mr. Glaus!) LOAD_TEMPLATE('member_footer'); // ?>