*
 * Author: Stuart McGoldrick
 *
 * Oustanding Issues:
 * 	Need to add handling for Bands and Advertisement tabs.
 * 	Need to add update profile submission handling.
 */
require_once $config->getIncludeURL(Config::INCLUDES_PATH, "constants%location_constants.php");
require_once $config->getIncludeURL(Config::INCLUDES_PATH, "constants%member_edit_constants.php");
//Use the default Site descriptions, keywords.
//TODO: This will need to be updated to reflect the information on the page.
$pageDescription = SiteConstants::SITE_DESCRIPTION;
$pageKeywords = SiteConstants::SITE_KEY_WORDS;
//Include the common CSS files and JS
$pageCssArray = SiteConstants::getSiteCss();
$pageJsArray = SiteConstants::getSiteJs();
//Include the custom CSS files and JS
$pageCssArray[] = "css/splash.css";
$pageCssArray[] = "css/common_form_elements.css";
$pageCssArray[] = "css/member_profile.css";
$pageCssArray[] = "css/musician_instruments.css";
$pageCssArray[] = "css/edit_musician_profile.css";
$pageCssArray[] = "css/modal.css";
$pageJsArray[] = "js/common_form_elements.js";
$pageJsArray[] = "js/edit_musician_profile.js";
$pageJsArray[] = "js/location.js";
$pageJsArray[] = "js/jqModal.js";
$pageJsArray[] = "js/jquery.limit.js";
//Add the users name to the page title.
$pageTitle = SiteConstants::SITE_TITLE . " - " . $memberDetails->getVariable(Member::FIRST_NAME) . " " . $memberDetails->getVariable(Member::LAST_NAME) . " - Edit Profile";
//Output the page header information.