예제 #1
0
 protected function ShowForm()
 {
     $this->set('extrafields', RegistrationData::GetCustomFields());
     $this->set('allairlines', OperationsData::GetAllAirlines(true));
     $this->set('allhubs', OperationsData::GetAllHubs());
     $this->set('countries', Countries::getAllCountries());
     $this->render('registration_mainform.tpl');
 }
예제 #2
0
 protected function ShowForm()
 {
     $field_list = RegistrationData::GetCustomFields();
     $this->set('extrafields', $field_list);
     $this->set('field_list', $field_list);
     $airline_list = OperationsData::getAllAirlines(true);
     $this->set('allairlines', $airline_list);
     $this->set('airline_list', $airline_list);
     $hub_list = OperationsData::getAllHubs();
     $this->set('allhubs', $hub_list);
     $this->set('hub_list', $hub_list);
     $country_list = Countries::getAllCountries();
     $this->set('countries', $country_list);
     $this->set('country_list', $country_list);
     $this->render('registration_mainform.tpl');
 }
예제 #3
0
 protected function ShowForm()
 {
     //Google reCaptcha
     //updated to Google noCaptcha 1/15
     $this->set('sitekey', RECAPTCHA_PUBLIC_KEY);
     $this->set('lang', 'en');
     $field_list = RegistrationData::GetCustomFields();
     $this->set('extrafields', $field_list);
     $this->set('field_list', $field_list);
     $airline_list = OperationsData::getAllAirlines(true);
     $this->set('allairlines', $airline_list);
     $this->set('airline_list', $airline_list);
     $hub_list = OperationsData::getAllHubs();
     $this->set('allhubs', $hub_list);
     $this->set('hub_list', $hub_list);
     $country_list = Countries::getAllCountries();
     $this->set('countries', $country_list);
     $this->set('country_list', $country_list);
     $this->render('registration_mainform.tpl');
 }