"); // Adding the main content module here if (empty($GLOBALS['action'])) { if (empty($GLOBALS['what'])) $GLOBALS['what'] = 'welcome'; } else { $act = SQL_ESCAPE($GLOBALS['action']); } // Add the member's menu here... if ((getConfig('member_menu') == 'Y') || (!EXT_IS_ACTIVE('sql_patches', true))) { ADD_MENU('member', GET_ACTION('member', $GLOBALS['what']), $GLOBALS['what']); } // END - if // Menu -> content OUTPUT_HTML(" "); $INC = sprintf("inc/modules/member/action-%s.php", $act); if ((INCLUDE_READABLE($INC)) && (VALIDATE_MENU_ACTION('member', $GLOBALS['action'], $GLOBALS['what']))) { // Requested module is available so we load it LOAD_INC($INC); } else { // Invalid module specified or not found... LOAD_URL('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'); // ?>