regError = $regError; $this->longError = $longError; $this->addScript("register.js"); $this->addScript("jquery/fat.js"); $this->setImage("register.png"); //$this->addScript("validation.js"); // only reports error for one problem at a time (unless you do try-catch around each call). $this->returnTo = (getVal($_GET, 'returnTo', getPost('returnTo', getCodePath()."/home.php"))); } public function setReturnTo($returnTo){$this->returnTo = $returnTo;} public function getContent(){ $regCode = ""; ob_start(); if($this->longError != ""){ dispError($this->longError); } $init_username = getPost('dil_signUp_username'); $init_email = getPost('dil_signUp_email'); //$PHP_SELF = $_SERVER['PHP_SELF']; //$action = $PHP_SELF; $action = $this->codePath."/home.php"; // registration's standard landing $checked_indiv = ((getPost('userType') == "individual") ? " checked='checked'":""); $checked_band = ((getPost('userType') == "band") ? " checked='checked'":""); ?>
regError != ''){ dispError($this->regError); } $regCode = ob_get_contents(); ob_end_clean(); return $regCode; } } // end class RegistrationModule ?>