"); // 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 (($_CONFIG['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_ACTION = sprintf("%sinc/modules/member/action-%s.php", PATH, $act); if ((FILE_READABLE($INC_ACTION)) && (VALIDATE_MENU_ACTION("member", GET_ACTION("member", $GLOBALS['what']), $GLOBALS['what']))) { // Requested module is available so we load it include ($INC_ACTION); } else { // Invalid module specified or not found... LOAD_URL("modules.php?module=login"); } if (($_CONFIG['member_menu'] == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) { OUTPUT_HTML("
"); // 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"); // ?>